2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.1cvs.
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-2007 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.1cvs'
719 PACKAGE_STRING
='llvm 2.1cvs'
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
833 ENABLE_EXPENSIVE_CHECKS
888 CONVENIENCE_LTDL_TRUE
889 CONVENIENCE_LTDL_FALSE
928 ac_precious_vars
='build_alias
944 ac_subdirs_all
='projects/sample
946 projects/llvm-stacker
952 projects/llvm-poolalloc
953 projects/llvm-kernel'
955 # Initialize some variables set by options.
957 ac_init_version
=false
958 # The variables have the same names as the options, with
959 # dashes changed to underlines.
967 program_transform_name
=s
,x
,x
,
975 # Installation directory options.
976 # These are left unexpanded so users can "make install exec_prefix=/foo"
977 # and all the variables that are supposed to be based on exec_prefix
978 # by default will actually change.
979 # Use braces instead of parens because sh, perl, etc. also accept them.
980 # (The list follows the same order as the GNU Coding Standards.)
981 bindir
='${exec_prefix}/bin'
982 sbindir
='${exec_prefix}/sbin'
983 libexecdir
='${exec_prefix}/libexec'
984 datarootdir
='${prefix}/share'
985 datadir
='${datarootdir}'
986 sysconfdir
='${prefix}/etc'
987 sharedstatedir
='${prefix}/com'
988 localstatedir
='${prefix}/var'
989 includedir
='${prefix}/include'
990 oldincludedir
='/usr/include'
991 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
992 infodir
='${datarootdir}/info'
997 libdir
='${exec_prefix}/lib'
998 localedir
='${datarootdir}/locale'
999 mandir
='${datarootdir}/man'
1005 # If the previous option needs an argument, assign it.
1006 if test -n "$ac_prev"; then
1007 eval $ac_prev=\
$ac_option
1013 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1025 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1026 bindir
=$ac_optarg ;;
1028 -build |
--build |
--buil |
--bui |
--bu)
1029 ac_prev
=build_alias
;;
1030 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1031 build_alias
=$ac_optarg ;;
1033 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1034 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1035 ac_prev
=cache_file
;;
1036 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1037 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1038 cache_file
=$ac_optarg ;;
1040 --config-cache |
-C)
1041 cache_file
=config.cache
;;
1043 -datadir |
--datadir |
--datadi |
--datad)
1045 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1046 datadir
=$ac_optarg ;;
1048 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1049 |
--dataroo |
--dataro |
--datar)
1050 ac_prev
=datarootdir
;;
1051 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1052 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1053 datarootdir
=$ac_optarg ;;
1055 -disable-* |
--disable-*)
1056 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1059 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1062 eval enable_
$ac_feature=no
;;
1064 -docdir |
--docdir |
--docdi |
--doc |
--do)
1066 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1067 docdir
=$ac_optarg ;;
1069 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1071 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1072 dvidir
=$ac_optarg ;;
1074 -enable-* |
--enable-*)
1075 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1078 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1079 { (exit 1); exit 1; }; }
1080 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1081 eval enable_
$ac_feature=\
$ac_optarg ;;
1083 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1084 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1085 |
--exec |
--exe |
--ex)
1086 ac_prev
=exec_prefix
;;
1087 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1088 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1089 |
--exec=* |
--exe=* |
--ex=*)
1090 exec_prefix
=$ac_optarg ;;
1092 -gas |
--gas |
--ga |
--g)
1093 # Obsolete; use --with-gas.
1096 -help |
--help |
--hel |
--he |
-h)
1097 ac_init_help
=long
;;
1098 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1099 ac_init_help
=recursive
;;
1100 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1101 ac_init_help
=short
;;
1103 -host |
--host |
--hos |
--ho)
1104 ac_prev
=host_alias
;;
1105 -host=* |
--host=* |
--hos=* |
--ho=*)
1106 host_alias
=$ac_optarg ;;
1108 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1110 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1112 htmldir
=$ac_optarg ;;
1114 -includedir |
--includedir |
--includedi |
--included |
--include \
1115 |
--includ |
--inclu |
--incl |
--inc)
1116 ac_prev
=includedir
;;
1117 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1118 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1119 includedir
=$ac_optarg ;;
1121 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1123 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1124 infodir
=$ac_optarg ;;
1126 -libdir |
--libdir |
--libdi |
--libd)
1128 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1129 libdir
=$ac_optarg ;;
1131 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1132 |
--libexe |
--libex |
--libe)
1133 ac_prev
=libexecdir
;;
1134 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1135 |
--libexe=* |
--libex=* |
--libe=*)
1136 libexecdir
=$ac_optarg ;;
1138 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1139 ac_prev
=localedir
;;
1140 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1141 localedir
=$ac_optarg ;;
1143 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1144 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1145 ac_prev
=localstatedir
;;
1146 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1147 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1148 localstatedir
=$ac_optarg ;;
1150 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1152 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1153 mandir
=$ac_optarg ;;
1155 -nfp |
--nfp |
--nf)
1156 # Obsolete; use --without-fp.
1159 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1160 |
--no-cr |
--no-c |
-n)
1163 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1164 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1167 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1168 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1169 |
--oldin |
--oldi |
--old |
--ol |
--o)
1170 ac_prev
=oldincludedir
;;
1171 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1172 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1173 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1174 oldincludedir
=$ac_optarg ;;
1176 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1178 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1179 prefix
=$ac_optarg ;;
1181 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1182 |
--program-pre |
--program-pr |
--program-p)
1183 ac_prev
=program_prefix
;;
1184 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1185 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1186 program_prefix
=$ac_optarg ;;
1188 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1189 |
--program-suf |
--program-su |
--program-s)
1190 ac_prev
=program_suffix
;;
1191 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1192 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1193 program_suffix
=$ac_optarg ;;
1195 -program-transform-name |
--program-transform-name \
1196 |
--program-transform-nam |
--program-transform-na \
1197 |
--program-transform-n |
--program-transform- \
1198 |
--program-transform |
--program-transfor \
1199 |
--program-transfo |
--program-transf \
1200 |
--program-trans |
--program-tran \
1201 |
--progr-tra |
--program-tr |
--program-t)
1202 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1212 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1214 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1215 pdfdir
=$ac_optarg ;;
1217 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1219 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1223 |
-silent |
--silent |
--silen |
--sile |
--sil)
1226 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1228 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1230 sbindir
=$ac_optarg ;;
1232 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1233 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1234 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1236 ac_prev
=sharedstatedir
;;
1237 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1238 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1239 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1241 sharedstatedir
=$ac_optarg ;;
1243 -site |
--site |
--sit)
1245 -site=* |
--site=* |
--sit=*)
1248 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1250 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1251 srcdir
=$ac_optarg ;;
1253 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1254 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1255 ac_prev
=sysconfdir
;;
1256 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1257 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1258 sysconfdir
=$ac_optarg ;;
1260 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1261 ac_prev
=target_alias
;;
1262 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1263 target_alias
=$ac_optarg ;;
1265 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1268 -version |
--version |
--versio |
--versi |
--vers |
-V)
1269 ac_init_version
=: ;;
1272 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1275 { echo "$as_me: error: invalid package name: $ac_package" >&2
1276 { (exit 1); exit 1; }; }
1277 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1278 eval with_
$ac_package=\
$ac_optarg ;;
1280 -without-* |
--without-*)
1281 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1287 eval with_
$ac_package=no
;;
1290 # Obsolete; use --with-x.
1293 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1294 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1295 ac_prev
=x_includes
;;
1296 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1297 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1298 x_includes
=$ac_optarg ;;
1300 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1301 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1302 ac_prev
=x_libraries
;;
1303 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1304 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1305 x_libraries
=$ac_optarg ;;
1307 -*) { echo "$as_me: error: unrecognized option: $ac_option
1308 Try \`$0 --help' for more information." >&2
1309 { (exit 1); exit 1; }; }
1313 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1316 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1317 { (exit 1); exit 1; }; }
1318 eval $ac_envvar=\
$ac_optarg
1319 export $ac_envvar ;;
1322 # FIXME: should be removed in autoconf 3.0.
1323 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1324 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1325 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1326 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1332 if test -n "$ac_prev"; then
1333 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1334 { echo "$as_me: error: missing argument to $ac_option" >&2
1335 { (exit 1); exit 1; }; }
1338 # Be sure to have absolute directory names.
1339 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340 datadir sysconfdir sharedstatedir localstatedir includedir \
1341 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342 libdir localedir mandir
1344 eval ac_val
=\$
$ac_var
1346 [\\/$
]* | ?
:[\\/]* ) continue;;
1347 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1349 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1350 { (exit 1); exit 1; }; }
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1358 target
=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x
; then
1362 if test "x$build_alias" = x
; then
1363 cross_compiling
=maybe
1364 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1372 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1374 test "$silent" = yes && exec 6>/dev
/null
1377 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di
=`ls -di .` &&
1379 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1380 { echo "$as_me: error: Working directory cannot be determined" >&2
1381 { (exit 1); exit 1; }; }
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 { echo "$as_me: error: pwd does not report name of working directory" >&2
1384 { (exit 1); exit 1; }; }
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted
=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir
=`$as_dirname -- "$0" ||
1392 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$0" : 'X\(//\)[^/]' \| \
1394 X"$0" : 'X\(//\)$' \| \
1395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1419 ac_srcdir_defaulted
=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1423 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1424 { (exit 1); exit 1; }; }
1426 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1429 { (exit 1); exit 1; }; }
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1439 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 for ac_var
in $ac_precious_vars; do
1442 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1444 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1455 \`configure' configures llvm 2.1cvs to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1513 --build=BUILD configure
for building on BUILD
[guessed
]
1514 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1515 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1519 if test -n "$ac_init_help"; then
1520 case $ac_init_help in
1521 short | recursive
) echo "Configuration of llvm 2.1cvs:";;
1526 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1527 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1530 --enable-expensive-checks
1532 --enable-debug-runtime
1533 --enable-jit Enable Just In Time Compiling
(default is YES
)
1534 --enable-doxygen Build doxygen documentation
(default is NO
)
1535 --enable-threads Use threads
if available
(default is YES
)
1536 --enable-pic Build LLVM with Position Independent Code
(default
1538 --enable-targets Build specific
host targets
:
1539 all
,host-only
,{target-name
} (default
=all
)
1540 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1542 --enable-ltdl-install install libltdl
1543 --enable-shared[=PKGS
] build shared libraries
1544 [default
=enable_shared_default
]
1545 --enable-static[=PKGS
] build static libraries
1546 [default
=enable_static_default
]
1547 --enable-fast-install[=PKGS
]
1548 optimize
for fast installation
1549 [default
=enable_Fast_install_default
]
1550 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1553 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1554 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1555 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1557 --with-extra-options Specify addtional options to compile LLVM with
1558 --with-tclinclude directory where tcl headers are
1559 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1560 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1562 --with-tags[=TAGS
] include additional configurations
[automatic
]
1563 --with-udis86=<path
> Use udis86 external x86 disassembler library
1565 Some influential environment variables
:
1566 CC C compiler
command
1567 CFLAGS C compiler flags
1568 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1569 nonstandard directory
<lib dir
>
1570 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1571 you have headers
in a nonstandard directory
<include dir
>
1573 CXX C
++ compiler
command
1574 CXXFLAGS C
++ compiler flags
1575 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1576 the first program found out of: `bison
-y', `byacc', `yacc'.
1577 YFLAGS The list of arguments that will be passed by default to $YACC.
1578 This script will default YFLAGS to the empty string to avoid a
1579 default value of `-d' given by some make applications.
1580 CXXCPP C++ preprocessor
1581 F77 Fortran 77 compiler command
1582 FFLAGS Fortran 77 compiler flags
1584 Use these variables to override the choices made by `configure' or to
help
1585 it to
find libraries and programs with nonstandard names
/locations.
1587 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1595 test -d "$ac_dir" ||
continue
1599 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1601 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1602 # A ".." for each directory in $ac_dir_suffix.
1603 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1604 case $ac_top_builddir_sub in
1605 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1606 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1609 ac_abs_top_builddir
=$ac_pwd
1610 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1611 # for backward compatibility:
1612 ac_top_builddir
=$ac_top_build_prefix
1615 .
) # We are building in place.
1617 ac_top_srcdir
=$ac_top_builddir_sub
1618 ac_abs_top_srcdir
=$ac_pwd ;;
1619 [\\/]* | ?
:[\\/]* ) # Absolute name.
1620 ac_srcdir
=$srcdir$ac_dir_suffix;
1621 ac_top_srcdir
=$srcdir
1622 ac_abs_top_srcdir
=$srcdir ;;
1624 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1626 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1628 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1630 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1631 # Check for guested configure.
1632 if test -f "$ac_srcdir/configure.gnu"; then
1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635 elif test -f "$ac_srcdir/configure"; then
1637 $SHELL "$ac_srcdir/configure" --help=recursive
1639 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1641 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1645 test -n "$ac_init_help" && exit $ac_status
1646 if $ac_init_version; then
1648 llvm configure
2.1cvs
1649 generated by GNU Autoconf
2.60
1651 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1652 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1653 This configure
script is free software
; the Free Software Foundation
1654 gives unlimited permission to copy
, distribute and modify it.
1656 Copyright
(c
) 2003-2007 University of Illinois
at Urbana-Champaign.
1660 cat >config.log
<<_ACEOF
1661 This file contains any messages produced by compilers while
1662 running configure, to aid debugging if configure makes a mistake.
1664 It was created by llvm $as_me 2.1cvs, which was
1665 generated by GNU Autoconf 2.60. Invocation command line was
1677 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1678 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1679 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1680 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1681 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1683 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1684 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1686 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1687 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1688 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1689 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1690 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1691 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1692 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir
=.
1701 echo "PATH: $as_dir"
1717 # Keep a trace of the command line.
1718 # Strip out --no-create and --no-recursion so they do not pile up.
1719 # Strip out --silent because we don't want to record it for future runs.
1720 # Also quote any args containing shell meta-characters.
1721 # Make two passes to allow for proper duplicate-argument suppression.
1725 ac_must_keep_next
=false
1731 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1733 |
-silent |
--silent |
--silen |
--sile |
--sil)
1736 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1739 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1741 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1742 if test $ac_must_keep_next = true
; then
1743 ac_must_keep_next
=false
# Got value, back to normal.
1746 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1747 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1748 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1749 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1750 case "$ac_configure_args0 " in
1751 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1754 -* ) ac_must_keep_next
=true
;;
1757 ac_configure_args
="$ac_configure_args '$ac_arg'"
1762 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1763 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1765 # When interrupted or exit'd, cleanup temporary files, and complete
1766 # config.log. We remove comments because anyway the quotes in there
1767 # would cause problems or look ugly.
1768 # WARNING: Use '\'' to represent an apostrophe within the trap.
1769 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1770 trap 'exit_status=$?
1771 # Save into config.log some information that might help in debugging.
1776 ## ---------------- ##
1777 ## Cache variables. ##
1778 ## ---------------- ##
1781 # The following way of writing the cache mishandles newlines in values,
1783 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1784 eval ac_val=\$$ac_var
1788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1792 _ | IFS | as_nl) ;; #(
1793 *) $as_unset $ac_var ;;
1798 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1799 *${as_nl}ac_space=\ *)
1801 "s/'\''/'\''\\\\'\'''\''/g;
1802 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1805 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1813 ## ----------------- ##
1814 ## Output variables. ##
1815 ## ----------------- ##
1818 for ac_var in $ac_subst_vars
1820 eval ac_val=\$$ac_var
1822 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1824 echo "$ac_var='\''$ac_val'\''"
1828 if test -n "$ac_subst_files"; then
1830 ## ------------------- ##
1831 ## File substitutions. ##
1832 ## ------------------- ##
1835 for ac_var
in $ac_subst_files
1837 eval ac_val
=\$
$ac_var
1839 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1841 echo "$ac_var='\''$ac_val'\''"
1846 if test -s confdefs.h; then
1856 test "$ac_signal" != 0 &&
1857 echo "$as_me: caught signal $ac_signal"
1858 echo "$as_me: exit $exit_status"
1860 rm -f core *.core core.conftest.* &&
1861 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1864 for ac_signal
in 1 2 13 15; do
1865 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1869 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1870 rm -f -r conftest
* confdefs.h
1872 # Predefined preprocessor variables.
1874 cat >>confdefs.h
<<_ACEOF
1875 #define PACKAGE_NAME "$PACKAGE_NAME"
1879 cat >>confdefs.h
<<_ACEOF
1880 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1884 cat >>confdefs.h
<<_ACEOF
1885 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1889 cat >>confdefs.h
<<_ACEOF
1890 #define PACKAGE_STRING "$PACKAGE_STRING"
1894 cat >>confdefs.h
<<_ACEOF
1895 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1899 # Let the site file select an alternate cache file if it wants to.
1900 # Prefer explicitly selected file to automatically selected ones.
1901 if test -n "$CONFIG_SITE"; then
1902 set x
"$CONFIG_SITE"
1903 elif test "x$prefix" != xNONE
; then
1904 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1906 set x
"$ac_default_prefix/share/config.site" \
1907 "$ac_default_prefix/etc/config.site"
1912 if test -r "$ac_site_file"; then
1913 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1914 echo "$as_me: loading site script $ac_site_file" >&6;}
1915 sed 's/^/| /' "$ac_site_file" >&5
1920 if test -r "$cache_file"; then
1921 # Some versions of bash will fail to source /dev/null (special
1922 # files actually), so we avoid doing that.
1923 if test -f "$cache_file"; then
1924 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1925 echo "$as_me: loading cache $cache_file" >&6;}
1927 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1928 *) .
"./$cache_file";;
1932 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1933 echo "$as_me: creating cache $cache_file" >&6;}
1937 # Check that the precious variables saved in the cache have kept the same
1939 ac_cache_corrupted
=false
1940 for ac_var
in $ac_precious_vars; do
1941 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1942 eval ac_new_set
=\
$ac_env_${ac_var}_set
1943 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1944 eval ac_new_val
=\
$ac_env_${ac_var}_value
1945 case $ac_old_set,$ac_new_set in
1947 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1948 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1949 ac_cache_corrupted
=: ;;
1951 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1952 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1953 ac_cache_corrupted
=: ;;
1956 if test "x$ac_old_val" != "x$ac_new_val"; then
1957 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1958 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1959 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1960 echo "$as_me: former value: $ac_old_val" >&2;}
1961 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1962 echo "$as_me: current value: $ac_new_val" >&2;}
1963 ac_cache_corrupted
=:
1966 # Pass precious variables to config.status.
1967 if test "$ac_new_set" = set; then
1969 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1970 *) ac_arg
=$ac_var=$ac_new_val ;;
1972 case " $ac_configure_args " in
1973 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1974 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1978 if $ac_cache_corrupted; then
1979 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1980 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1981 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1982 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1983 { (exit 1); exit 1; }; }
2011 ac_cpp
='$CPP $CPPFLAGS'
2012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2018 LLVM_COPYRIGHT
="Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign."
2027 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2028 if test -f "$ac_dir/install-sh"; then
2030 ac_install_sh
="$ac_aux_dir/install-sh -c"
2032 elif test -f "$ac_dir/install.sh"; then
2034 ac_install_sh
="$ac_aux_dir/install.sh -c"
2036 elif test -f "$ac_dir/shtool"; then
2038 ac_install_sh
="$ac_aux_dir/shtool install -c"
2042 if test -z "$ac_aux_dir"; then
2043 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2044 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2045 { (exit 1); exit 1; }; }
2048 # These three variables are undocumented and unsupported,
2049 # and are intended to be withdrawn in a future Autoconf release.
2050 # They can cause serious problems if a builder's source tree is in a directory
2051 # whose full name contains unusual characters.
2052 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2053 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2054 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2058 if test ${srcdir} != "." ; then
2059 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
2060 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2061 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2062 { (exit 1); exit 1; }; }
2066 for i
in `ls ${srcdir}/projects`
2068 if test -d ${srcdir}/projects
/${i} ; then
2071 sample
) subdirs
="$subdirs projects/sample"
2073 privbracket
) subdirs
="$subdirs projects/privbracket"
2075 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2077 llvm-test
) subdirs
="$subdirs projects/llvm-test"
2079 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2081 llvm-gcc
) subdirs
="$subdirs projects/llvm-gcc"
2083 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2085 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2087 llvm-poolalloc
) subdirs
="$subdirs projects/llvm-poolalloc"
2089 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2092 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2093 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2100 # Make sure we can run config.sub.
2101 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2102 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2103 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2104 { (exit 1); exit 1; }; }
2106 { echo "$as_me:$LINENO: checking build system type" >&5
2107 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2108 if test "${ac_cv_build+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 ac_build_alias
=$build_alias
2112 test "x$ac_build_alias" = x
&&
2113 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2114 test "x$ac_build_alias" = x
&&
2115 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2116 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2117 { (exit 1); exit 1; }; }
2118 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2119 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2120 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2121 { (exit 1); exit 1; }; }
2124 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2125 echo "${ECHO_T}$ac_cv_build" >&6; }
2126 case $ac_cv_build in
2128 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2129 echo "$as_me: error: invalid value of canonical build" >&2;}
2130 { (exit 1); exit 1; }; };;
2133 ac_save_IFS
=$IFS; IFS
='-'
2139 # Remember, the first character of IFS is used to create $*,
2140 # except with old shells:
2143 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2146 { echo "$as_me:$LINENO: checking host system type" >&5
2147 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2148 if test "${ac_cv_host+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test "x$host_alias" = x
; then
2152 ac_cv_host
=$ac_cv_build
2154 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2155 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2156 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2157 { (exit 1); exit 1; }; }
2161 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2162 echo "${ECHO_T}$ac_cv_host" >&6; }
2165 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2166 echo "$as_me: error: invalid value of canonical host" >&2;}
2167 { (exit 1); exit 1; }; };;
2170 ac_save_IFS
=$IFS; IFS
='-'
2176 # Remember, the first character of IFS is used to create $*,
2177 # except with old shells:
2180 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2183 { echo "$as_me:$LINENO: checking target system type" >&5
2184 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2185 if test "${ac_cv_target+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test "x$target_alias" = x
; then
2189 ac_cv_target
=$ac_cv_host
2191 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2192 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2193 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2194 { (exit 1); exit 1; }; }
2198 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2199 echo "${ECHO_T}$ac_cv_target" >&6; }
2200 case $ac_cv_target in
2202 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2203 echo "$as_me: error: invalid value of canonical target" >&2;}
2204 { (exit 1); exit 1; }; };;
2206 target
=$ac_cv_target
2207 ac_save_IFS
=$IFS; IFS
='-'
2213 # Remember, the first character of IFS is used to create $*,
2214 # except with old shells:
2217 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2220 # The aliases save the names the user supplied, while $host etc.
2221 # will get canonicalized.
2222 test -n "$target_alias" &&
2223 test "$program_prefix$program_suffix$program_transform_name" = \
2225 program_prefix
=${target_alias}-
2227 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2228 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2229 if test "${llvm_cv_os_type+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 llvm_cv_link_all_option
="-Wl,--whole-archive"
2235 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2236 llvm_cv_os_type
="AIX"
2237 llvm_cv_platform_type
="Unix" ;;
2239 llvm_cv_link_all_option
="-Wl,--whole-archive"
2240 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2241 llvm_cv_os_type
="IRIX"
2242 llvm_cv_platform_type
="Unix" ;;
2244 llvm_cv_link_all_option
="-Wl,--whole-archive"
2245 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2246 llvm_cv_os_type
="Cygwin"
2247 llvm_cv_platform_type
="Unix" ;;
2249 llvm_cv_link_all_option
="-Wl,-all_load"
2250 llvm_cv_link_all_option
="-Wl,-noall_load"
2251 llvm_cv_os_type
="Darwin"
2252 llvm_cv_platform_type
="Unix" ;;
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
="FreeBSD"
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
="OpenBSD"
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
="NetBSD"
2267 llvm_cv_platform_type
="Unix" ;;
2269 llvm_cv_link_all_option
="-Wl,--whole-archive"
2270 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2271 llvm_cv_os_type
="HP-UX"
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
="Interix"
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
="Linux"
2282 llvm_cv_platform_type
="Unix" ;;
2284 llvm_cv_link_all_option
="-Wl,-z,allextract"
2285 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2286 llvm_cv_os_type
="SunOS"
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
="Win32"
2292 llvm_cv_platform_type
="Win32" ;;
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
="MingW"
2297 llvm_cv_platform_type
="Win32" ;;
2299 llvm_cv_link_all_option
=""
2300 llvm_cv_no_link_all_option
=""
2301 llvm_cv_os_type
="Unknown"
2302 llvm_cv_platform_type
="Unknown" ;;
2305 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2306 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2308 if test "$llvm_cv_os_type" = "Unknown" ; then
2309 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2310 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2311 { (exit 1); exit 1; }; }
2317 LINKALL
=$llvm_cv_link_all_option
2319 NOLINKALL
=$llvm_cv_no_link_all_option
2322 case $llvm_cv_platform_type in
2325 cat >>confdefs.h
<<\_ACEOF
2326 #define LLVM_ON_UNIX 1
2336 cat >>confdefs.h
<<\_ACEOF
2337 #define LLVM_ON_WIN32 1
2347 { echo "$as_me:$LINENO: checking target architecture" >&5
2348 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2349 if test "${llvm_cv_target_arch+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2353 i?
86-*) llvm_cv_target_arch
="x86" ;;
2354 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2355 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2356 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2357 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2358 ia64-
*) llvm_cv_target_arch
="IA64" ;;
2359 arm-
*) llvm_cv_target_arch
="ARM" ;;
2360 *) llvm_cv_target_arch
="Unknown" ;;
2363 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2364 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2366 if test "$llvm_cv_target_arch" = "Unknown" ; then
2367 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2368 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2371 ARCH
=$llvm_cv_target_arch
2375 ac_cpp
='$CPP $CPPFLAGS'
2376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2381 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2384 if test "${ac_cv_prog_CC+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC
="$CC" # Let the user override the test.
2390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir
=.
2395 for ac_exec_ext
in '' $ac_executable_extensions; do
2396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2397 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test -n "$CC"; then
2409 { echo "$as_me:$LINENO: result: $CC" >&5
2410 echo "${ECHO_T}$CC" >&6; }
2412 { echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6; }
2418 if test -z "$ac_cv_prog_CC"; then
2420 # Extract the first word of "gcc", so it can be a program name with args.
2421 set dummy gcc
; ac_word
=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$ac_ct_CC"; then
2428 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_ac_ct_CC
="gcc"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2448 if test -n "$ac_ct_CC"; then
2449 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2450 echo "${ECHO_T}$ac_ct_CC" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2456 if test "x$ac_ct_CC" = x
; then
2459 case $cross_compiling:$ac_tool_warned in
2461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2462 whose name does not start with the host triplet. If you think this
2463 configuration is useful to you, please write to autoconf@gnu.org." >&5
2464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2465 whose name does not start with the host triplet. If you think this
2466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2467 ac_tool_warned
=yes ;;
2475 if test -z "$CC"; then
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2478 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2481 if test "${ac_cv_prog_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC
="$CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test -n "$CC"; then
2506 { echo "$as_me:$LINENO: result: $CC" >&5
2507 echo "${ECHO_T}$CC" >&6; }
2509 { echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6; }
2516 if test -z "$CC"; then
2517 # Extract the first word of "cc", so it can be a program name with args.
2518 set dummy cc
; ac_word
=$2
2519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC
="$CC" # Let the user override the test.
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 for ac_exec_ext
in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2536 ac_prog_rejected
=yes
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 if test $ac_prog_rejected = yes; then
2548 # We found a bogon in the path, so make sure we never use it.
2549 set dummy
$ac_cv_prog_CC
2551 if test $# != 0; then
2552 # We chose a different compiler from the bogus one.
2553 # However, it has the same basename, so the bogon will be chosen
2554 # first if we set CC to just the basename; use the full file name.
2556 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2562 if test -n "$CC"; then
2563 { echo "$as_me:$LINENO: result: $CC" >&5
2564 echo "${ECHO_T}$CC" >&6; }
2566 { echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6; }
2572 if test -z "$CC"; then
2573 if test -n "$ac_tool_prefix"; then
2574 for ac_prog
in cl.exe
2576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2577 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2580 if test "${ac_cv_prog_CC+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC
="$CC" # Let the user override the test.
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir
=.
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$CC"; then
2605 { echo "$as_me:$LINENO: result: $CC" >&5
2606 echo "${ECHO_T}$CC" >&6; }
2608 { echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6; }
2613 test -n "$CC" && break
2616 if test -z "$CC"; then
2618 for ac_prog
in cl.exe
2620 # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 set dummy
$ac_prog; ac_word
=$2
2622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir
=.
2635 for ac_exec_ext
in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_ac_ct_CC
="$ac_prog"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2648 if test -n "$ac_ct_CC"; then
2649 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2650 echo "${ECHO_T}$ac_ct_CC" >&6; }
2652 { echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6; }
2657 test -n "$ac_ct_CC" && break
2660 if test "x$ac_ct_CC" = x
; then
2663 case $cross_compiling:$ac_tool_warned in
2665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2666 whose name does not start with the host triplet. If you think this
2667 configuration is useful to you, please write to autoconf@gnu.org." >&5
2668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2669 whose name does not start with the host triplet. If you think this
2670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2671 ac_tool_warned
=yes ;;
2680 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2681 See \`config.log' for more details." >&5
2682 echo "$as_me: error: no acceptable C compiler found in \$PATH
2683 See \`config.log' for more details." >&2;}
2684 { (exit 1); exit 1; }; }
2686 # Provide some information about the compiler.
2687 echo "$as_me:$LINENO: checking for C compiler version" >&5
2688 ac_compiler
=`set X $ac_compile; echo $2`
2689 { (ac_try
="$ac_compiler --version >&5"
2691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2695 (eval "$ac_compiler --version >&5") 2>&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }
2699 { (ac_try="$ac_compiler -v >&5"
2701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2702 *) ac_try_echo
=$ac_try;;
2704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705 (eval "$ac_compiler -v >&5") 2>&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }
2709 { (ac_try
="$ac_compiler -V >&5"
2711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compiler -V >&5") 2>&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }
2720 cat >conftest.$ac_ext <<_ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2735 ac_clean_files_save=$ac_clean_files
2736 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2737 # Try to create an executable without -o first, disregard a.out.
2738 # It will help us diagnose broken compilers, and finding out an intuition
2740 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2741 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2742 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2744 # List of possible output files, starting from the most likely.
2745 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2746 # only as a last resort. b.out is created by i960 compilers.
2747 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2749 # The IRIX 6 linker writes into existing files which may not be
2750 # executable, retaining their permissions. Remove them first so a
2751 # subsequent execution test works.
2753 for ac_file in $ac_files
2756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2757 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2762 if { (ac_try="$ac_link_default"
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_link_default") 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; then
2772 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2774 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2775 # so that the user can short-circuit this test for compilers unknown to
2777 for ac_file
in $ac_files
2779 test -f "$ac_file" ||
continue
2781 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2784 # We found the default executable, but exeext='' is most
2788 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2790 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2792 # We set ac_cv_exeext here because the later test for it is not
2793 # safe: cross compilers may not add the suffix if given an `-o'
2794 # argument, so we may need to know it at that point already.
2795 # Even if this section looks crufty: it has the advantage of
2802 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.
$ac_ext >&5
2808 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2809 See \`config.log' for more details." >&5
2810 echo "$as_me: error: C compiler cannot create executables
2811 See \`config.log' for more details." >&2;}
2812 { (exit 77); exit 77; }; }
2815 ac_exeext
=$ac_cv_exeext
2816 { echo "$as_me:$LINENO: result: $ac_file" >&5
2817 echo "${ECHO_T}$ac_file" >&6; }
2819 # Check that the compiler produces executables we can run. If not, either
2820 # the compiler is broken, or we cross compile.
2821 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2822 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2823 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2824 # If not cross compiling, check that we can run a simple program.
2825 if test "$cross_compiling" != yes; then
2826 if { ac_try
='./$ac_file'
2827 { (case "(($ac_try" in
2828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_try") 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; }; then
2838 if test "$cross_compiling" = maybe; then
2841 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2842 If you meant to cross compile, use \`--host'.
2843 See \`config.log' for more details.
" >&5
2844 echo "$as_me: error
: cannot run C compiled programs.
2845 If you meant to cross compile
, use \
`--host'.
2846 See \`config.log
' for more details." >&2;}
2847 { (exit 1); exit 1; }; }
2851 { echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6; }
2854 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2855 ac_clean_files=$ac_clean_files_save
2856 # Check that the compiler produces executables we can run. If not, either
2857 # the compiler is broken, or we cross compile.
2858 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2859 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2860 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2861 echo "${ECHO_T}$cross_compiling" >&6; }
2863 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2864 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2865 if { (ac_try="$ac_link"
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_link") 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2876 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2877 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2879 for ac_file
in conftest.exe conftest conftest.
*; do
2880 test -f "$ac_file" ||
continue
2882 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2883 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2889 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2892 See \`config.log' for more details." >&2;}
2893 { (exit 1); exit 1; }; }
2896 rm -f conftest
$ac_cv_exeext
2897 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2898 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2900 rm -f conftest.
$ac_ext
2901 EXEEXT
=$ac_cv_exeext
2903 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2904 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2905 if test "${ac_cv_objext+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.
$ac_ext <<_ACEOF
2911 cat confdefs.h
>>conftest.
$ac_ext
2912 cat >>conftest.
$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2923 rm -f conftest.o conftest.obj
2924 if { (ac_try
="$ac_compile"
2926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_compile") 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; then
2934 for ac_file in conftest.o conftest.obj conftest.*; do
2935 test -f "$ac_file" || continue;
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2947 See \`config.log
' for more details." >&5
2948 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2949 See \`config.log' for more details.
" >&2;}
2950 { (exit 1); exit 1; }; }
2953 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2955 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2956 echo "${ECHO_T}$ac_cv_objext" >&6; }
2957 OBJEXT=$ac_cv_objext
2959 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2960 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2961 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2962 echo $ECHO_N "(cached
) $ECHO_C" >&6
2964 cat >conftest.$ac_ext <<_ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2982 rm -f conftest.$ac_objext
2983 if { (ac_try="$ac_compile"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_compile") 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2995 (exit $ac_status); } &&
2996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2997 { (case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3002 (eval "$ac_try") 2>&5
3004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3005 (exit $ac_status); }; } &&
3006 { ac_try='test -s conftest.$ac_objext'
3007 { (case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3012 (eval "$ac_try") 2>&5
3014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3015 (exit $ac_status); }; }; then
3018 echo "$as_me: failed program was
:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3028 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3030 GCC=`test $ac_compiler_gnu = yes && echo yes`
3031 ac_test_CFLAGS=${CFLAGS+set}
3032 ac_save_CFLAGS=$CFLAGS
3033 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3034 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3035 if test "${ac_cv_prog_cc_g+set}" = set; then
3036 echo $ECHO_N "(cached
) $ECHO_C" >&6
3038 ac_save_c_werror_flag=$ac_c_werror_flag
3039 ac_c_werror_flag=yes
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3057 rm -f conftest.$ac_objext
3058 if { (ac_try="$ac_compile"
3060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061 *) ac_try_echo=$ac_try;;
3063 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3064 (eval "$ac_compile") 2>conftest.er1
3066 grep -v '^ *+' conftest.er1 >conftest.err
3068 cat conftest.err >&5
3069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3072 { (case "(($ac_try" in
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_try") 2>&5
3079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3080 (exit $ac_status); }; } &&
3081 { ac_try='test -s conftest.$ac_objext'
3082 { (case "(($ac_try" in
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_try") 2>&5
3089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3090 (exit $ac_status); }; }; then
3093 echo "$as_me: failed program was
:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3112 rm -f conftest.$ac_objext
3113 if { (ac_try="$ac_compile"
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3119 (eval "$ac_compile") 2>conftest.er1
3121 grep -v '^ *+' conftest.er1 >conftest.err
3123 cat conftest.err >&5
3124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3127 { (case "(($ac_try" in
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_try") 2>&5
3134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3135 (exit $ac_status); }; } &&
3136 { ac_try='test -s conftest.$ac_objext'
3137 { (case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_try") 2>&5
3144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3145 (exit $ac_status); }; }; then
3148 echo "$as_me: failed program was
:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (ac_try="$ac_compile"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3175 (eval "$ac_compile") 2>conftest.er1
3177 grep -v '^ *+' conftest.er1 >conftest.err
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3183 { (case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_try") 2>&5
3190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_try") 2>&5
3200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3201 (exit $ac_status); }; }; then
3204 echo "$as_me: failed program was
:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 ac_c_werror_flag=$ac_save_c_werror_flag
3219 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3220 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3221 if test "$ac_test_CFLAGS" = set; then
3222 CFLAGS=$ac_save_CFLAGS
3223 elif test $ac_cv_prog_cc_g = yes; then
3224 if test "$GCC" = yes; then
3230 if test "$GCC" = yes; then
3236 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3237 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3238 if test "${ac_cv_prog_cc_c89+set}" = set; then
3239 echo $ECHO_N "(cached
) $ECHO_C" >&6
3241 ac_cv_prog_cc_c89=no
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3251 #include <sys/types.h>
3252 #include <sys/stat.h>
3253 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3254 struct buf { int x; };
3255 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3256 static char *e (p, i)
3262 static char *f (char * (*g) (char **, int), char **p, ...)
3267 s = g (p, va_arg (v,int));
3272 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3273 function prototypes and stuff, but not '\xHH' hex character constants.
3274 These don't provoke an error unfortunately, instead are silently treated
3275 as 'x'. The following induces an error, until -std is added to get
3276 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3277 array size at least. It's necessary to write '\x00'==0 to get something
3278 that's true only with -std. */
3279 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3281 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3282 inside strings and character constants. */
3284 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3286 int test (int i, double x);
3287 struct s1 {int (*f) (int a);};
3288 struct s2 {int (*f) (double a);};
3289 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3295 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3300 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3301 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3303 CC="$ac_save_CC $ac_arg"
3304 rm -f conftest.$ac_objext
3305 if { (ac_try="$ac_compile"
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3319 { (case "(($ac_try" in
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_try") 2>&5
3326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try='test -s conftest.$ac_objext'
3329 { (case "(($ac_try" in
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3334 (eval "$ac_try") 2>&5
3336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3337 (exit $ac_status); }; }; then
3338 ac_cv_prog_cc_c89=$ac_arg
3340 echo "$as_me: failed program was
:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3346 rm -f core conftest.err conftest.$ac_objext
3347 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3349 rm -f conftest.$ac_ext
3354 case "x
$ac_cv_prog_cc_c89" in
3356 { echo "$as_me:$LINENO: result
: none needed
" >&5
3357 echo "${ECHO_T}none needed
" >&6; } ;;
3359 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3360 echo "${ECHO_T}unsupported
" >&6; } ;;
3362 CC="$CC $ac_cv_prog_cc_c89"
3363 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3364 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3381 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3382 # On Suns, sometimes $CPP names a directory.
3383 if test -n "$CPP" && test -d "$CPP"; then
3386 if test -z "$CPP"; then
3387 if test "${ac_cv_prog_CPP+set}" = set; then
3388 echo $ECHO_N "(cached
) $ECHO_C" >&6
3390 # Double quotes because CPP needs to be expanded
3391 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3394 for ac_c_preproc_warn_flag in '' yes
3396 # Use a header file that comes with gcc, so configuring glibc
3397 # with a fresh cross-compiler works.
3398 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3399 # <limits.h> exists even on freestanding compilers.
3400 # On the NeXT, cc -E runs the code through the compiler's parser,
3401 # not just through cpp. "Syntax error
" is here to catch this case.
3402 cat >conftest.$ac_ext <<_ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3409 # include <limits.h>
3411 # include <assert.h>
3415 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3423 grep -v '^ *+' conftest.er1 >conftest.err
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3427 (exit $ac_status); } >/dev/null; then
3428 if test -s conftest.err; then
3429 ac_cpp_err=$ac_c_preproc_warn_flag
3430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3437 if test -z "$ac_cpp_err"; then
3440 echo "$as_me: failed program was
:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 # Broken: fails on valid input.
3447 rm -f conftest.err conftest.$ac_ext
3449 # OK, works on sane cases. Now check whether nonexistent headers
3450 # can be detected and how.
3451 cat >conftest.$ac_ext <<_ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3457 #include <ac_nonexistent.h>
3459 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3465 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3467 grep -v '^ *+' conftest.er1 >conftest.err
3469 cat conftest.err >&5
3470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3471 (exit $ac_status); } >/dev/null; then
3472 if test -s conftest.err; then
3473 ac_cpp_err=$ac_c_preproc_warn_flag
3474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3481 if test -z "$ac_cpp_err"; then
3482 # Broken: success on invalid input.
3485 echo "$as_me: failed program was
:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 # Passes both tests.
3493 rm -f conftest.err conftest.$ac_ext
3496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3497 rm -f conftest.err conftest.$ac_ext
3498 if $ac_preproc_ok; then
3510 { echo "$as_me:$LINENO: result
: $CPP" >&5
3511 echo "${ECHO_T}$CPP" >&6; }
3513 for ac_c_preproc_warn_flag in '' yes
3515 # Use a header file that comes with gcc, so configuring glibc
3516 # with a fresh cross-compiler works.
3517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3518 # <limits.h> exists even on freestanding compilers.
3519 # On the NeXT, cc -E runs the code through the compiler's parser,
3520 # not just through cpp. "Syntax error
" is here to catch this case.
3521 cat >conftest.$ac_ext <<_ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3528 # include <limits.h>
3530 # include <assert.h>
3534 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537 *) ac_try_echo=$ac_try;;
3539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3540 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3542 grep -v '^ *+' conftest.er1 >conftest.err
3544 cat conftest.err >&5
3545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3546 (exit $ac_status); } >/dev/null; then
3547 if test -s conftest.err; then
3548 ac_cpp_err=$ac_c_preproc_warn_flag
3549 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3556 if test -z "$ac_cpp_err"; then
3559 echo "$as_me: failed program was
:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 # Broken: fails on valid input.
3566 rm -f conftest.err conftest.$ac_ext
3568 # OK, works on sane cases. Now check whether nonexistent headers
3569 # can be detected and how.
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3576 #include <ac_nonexistent.h>
3578 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3584 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3586 grep -v '^ *+' conftest.er1 >conftest.err
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3590 (exit $ac_status); } >/dev/null; then
3591 if test -s conftest.err; then
3592 ac_cpp_err=$ac_c_preproc_warn_flag
3593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3600 if test -z "$ac_cpp_err"; then
3601 # Broken: success on invalid input.
3604 echo "$as_me: failed program was
:" >&5
3605 sed 's/^/| /' conftest.$ac_ext >&5
3607 # Passes both tests.
3612 rm -f conftest.err conftest.$ac_ext
3615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3616 rm -f conftest.err conftest.$ac_ext
3617 if $ac_preproc_ok; then
3620 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3621 See \
`config.log' for more details." >&5
3622 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3623 See \`config.log
' for more details." >&2;}
3624 { (exit 1); exit 1; }; }
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3630 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3635 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3636 if test "${ac_cv_path_GREP+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 # Extract the first word of "grep ggrep" to use in msg output
3640 if test -z "$GREP"; then
3641 set dummy grep ggrep; ac_prog_name=$2
3642 if test "${ac_cv_path_GREP+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 ac_path_GREP_found=false
3646 # Loop through the user's path and
test for each of PROGNAME-LIST
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3648 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_prog
in grep ggrep
; do
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3655 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3656 # Check for GNU ac_path_GREP and select it if it is found.
3657 # Check for GNU $ac_path_GREP
3658 case `"$ac_path_GREP" --version 2>&1` in
3660 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3663 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3666 cat "conftest.in" "conftest.in" >"conftest.tmp"
3667 mv "conftest.tmp" "conftest.in"
3668 cp "conftest.in" "conftest.nl"
3669 echo 'GREP' >> "conftest.nl"
3670 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3672 ac_count
=`expr $ac_count + 1`
3673 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3674 # Best one so far, save it but keep looking for a better one
3675 ac_cv_path_GREP
="$ac_path_GREP"
3676 ac_path_GREP_max
=$ac_count
3678 # 10*(2^10) chars as input seems more than enough
3679 test $ac_count -gt 10 && break
3681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3685 $ac_path_GREP_found && break 3
3695 GREP
="$ac_cv_path_GREP"
3696 if test -z "$GREP"; then
3697 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3698 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3699 { (exit 1); exit 1; }; }
3703 ac_cv_path_GREP
=$GREP
3708 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3709 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3710 GREP
="$ac_cv_path_GREP"
3713 { echo "$as_me:$LINENO: checking for egrep" >&5
3714 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3715 if test "${ac_cv_path_EGREP+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3718 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3719 then ac_cv_path_EGREP
="$GREP -E"
3721 # Extract the first word of "egrep" to use in msg output
3722 if test -z "$EGREP"; then
3723 set dummy
egrep; ac_prog_name
=$2
3724 if test "${ac_cv_path_EGREP+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 ac_path_EGREP_found
=false
3728 # Loop through the user's path and test for each of PROGNAME-LIST
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3733 test -z "$as_dir" && as_dir
=.
3734 for ac_prog
in egrep; do
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3737 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3738 # Check for GNU ac_path_EGREP and select it if it is found.
3739 # Check for GNU $ac_path_EGREP
3740 case `"$ac_path_EGREP" --version 2>&1` in
3742 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3745 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3748 cat "conftest.in" "conftest.in" >"conftest.tmp"
3749 mv "conftest.tmp" "conftest.in"
3750 cp "conftest.in" "conftest.nl"
3751 echo 'EGREP' >> "conftest.nl"
3752 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3754 ac_count
=`expr $ac_count + 1`
3755 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3756 # Best one so far, save it but keep looking for a better one
3757 ac_cv_path_EGREP
="$ac_path_EGREP"
3758 ac_path_EGREP_max
=$ac_count
3760 # 10*(2^10) chars as input seems more than enough
3761 test $ac_count -gt 10 && break
3763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3767 $ac_path_EGREP_found && break 3
3777 EGREP
="$ac_cv_path_EGREP"
3778 if test -z "$EGREP"; then
3779 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3780 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3781 { (exit 1); exit 1; }; }
3785 ac_cv_path_EGREP
=$EGREP
3791 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3792 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3793 EGREP
="$ac_cv_path_EGREP"
3796 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3797 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3798 if test "${ac_cv_header_stdc+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 cat >conftest.
$ac_ext <<_ACEOF
3804 cat confdefs.h
>>conftest.
$ac_ext
3805 cat >>conftest.
$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3820 rm -f conftest.
$ac_objext
3821 if { (ac_try
="$ac_compile"
3823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827 (eval "$ac_compile") 2>conftest.er1
3829 grep -v '^ *+' conftest.er1 >conftest.err
3831 cat conftest.err >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3835 { (case "(($ac_try" in
3836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3837 *) ac_try_echo
=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_try") 2>&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; } &&
3844 { ac_try
='test -s conftest.$ac_objext'
3845 { (case "(($ac_try" in
3846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_try") 2>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; }; then
3854 ac_cv_header_stdc=yes
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 ac_cv_header_stdc=no
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 if test $ac_cv_header_stdc = yes; then
3865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3866 cat >conftest.$ac_ext <<_ACEOF
3869 cat confdefs.h >>conftest.$ac_ext
3870 cat >>conftest.$ac_ext <<_ACEOF
3871 /* end confdefs.h. */
3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3876 $EGREP "memchr" >/dev/null 2>&1; then
3879 ac_cv_header_stdc=no
3885 if test $ac_cv_header_stdc = yes; then
3886 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3887 cat >conftest.$ac_ext <<_ACEOF
3890 cat confdefs.h >>conftest.$ac_ext
3891 cat >>conftest.$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3897 $EGREP "free" >/dev/null 2>&1; then
3900 ac_cv_header_stdc=no
3906 if test $ac_cv_header_stdc = yes; then
3907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3908 if test "$cross_compiling" = yes; then
3911 cat >conftest.$ac_ext <<_ACEOF
3914 cat confdefs.h >>conftest.$ac_ext
3915 cat >>conftest.$ac_ext <<_ACEOF
3916 /* end confdefs.h. */
3919 #if ((' ' & 0x0FF) == 0x020)
3920 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3921 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3923 # define ISLOWER(c) \
3924 (('a' <= (c) && (c) <= 'i') \
3925 || ('j' <= (c) && (c) <= 'r') \
3926 || ('s' <= (c) && (c) <= 'z'))
3927 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3930 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3935 for (i = 0; i < 256; i++)
3936 if (XOR (islower (i), ISLOWER (i))
3937 || toupper (i) != TOUPPER (i))
3942 rm -f conftest$ac_exeext
3943 if { (ac_try="$ac_link"
3945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3946 *) ac_try_echo
=$ac_try;;
3948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949 (eval "$ac_link") 2>&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3953 { (case "(($ac_try" in
3954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3958 (eval "$ac_try") 2>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3964 echo "$as_me: program exited with status $ac_status" >&5
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3969 ac_cv_header_stdc=no
3971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3977 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3978 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3979 if test $ac_cv_header_stdc = yes; then
3981 cat >>confdefs.h <<\_ACEOF
3982 #define STDC_HEADERS 1
3987 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3997 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3998 inttypes.h stdint.h unistd.h
4000 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4001 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 cat >conftest.$ac_ext <<_ACEOF
4009 cat confdefs.h >>conftest.$ac_ext
4010 cat >>conftest.$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 $ac_includes_default
4014 #include <$ac_header>
4016 rm -f conftest.$ac_objext
4017 if { (ac_try="$ac_compile"
4019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4020 *) ac_try_echo
=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_compile") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1
>conftest.err
4027 cat conftest.err
>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try='test -s conftest.$ac_objext'
4041 { (case "(($ac_try" in
4042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4043 *) ac_try_echo
=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4050 eval "$as_ac_Header=yes"
4052 echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.
$ac_ext >&5
4055 eval "$as_ac_Header=no"
4058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4060 ac_res
=`eval echo '${'$as_ac_Header'}'`
4061 { echo "$as_me:$LINENO: result: $ac_res" >&5
4062 echo "${ECHO_T}$ac_res" >&6; }
4063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4064 cat >>confdefs.h
<<_ACEOF
4065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4073 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4074 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4075 if test "${ac_cv_c_bigendian+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 # See if sys/param.h defines the BYTE_ORDER macro.
4079 cat >conftest.
$ac_ext <<_ACEOF
4082 cat confdefs.h
>>conftest.
$ac_ext
4083 cat >>conftest.
$ac_ext <<_ACEOF
4084 /* end confdefs.h. */
4085 #include <sys/types.h>
4086 #include <sys/param.h>
4091 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4099 rm -f conftest.
$ac_objext
4100 if { (ac_try
="$ac_compile"
4102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106 (eval "$ac_compile") 2>conftest.er1
4108 grep -v '^ *+' conftest.er1 >conftest.err
4110 cat conftest.err >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } &&
4113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4114 { (case "(($ac_try" in
4115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4116 *) ac_try_echo
=$ac_try;;
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4119 (eval "$ac_try") 2>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; } &&
4123 { ac_try
='test -s conftest.$ac_objext'
4124 { (case "(($ac_try" in
4125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_try") 2>&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; }; then
4133 # It does; now see whether it defined to BIG_ENDIAN or not.
4134 cat >conftest.$ac_ext <<_ACEOF
4137 cat confdefs.h >>conftest.$ac_ext
4138 cat >>conftest.$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4140 #include <sys/types.h>
4141 #include <sys/param.h>
4146 #if BYTE_ORDER != BIG_ENDIAN
4154 rm -f conftest.$ac_objext
4155 if { (ac_try="$ac_compile"
4157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4158 *) ac_try_echo
=$ac_try;;
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_compile") 2>conftest.er1
4163 grep -v '^ *+' conftest.er1
>conftest.err
4165 cat conftest.err
>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } &&
4168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4169 { (case "(($ac_try" in
4170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_try") 2>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; } &&
4178 { ac_try='test -s conftest.$ac_objext'
4179 { (case "(($ac_try" in
4180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4181 *) ac_try_echo
=$ac_try;;
4183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4184 (eval "$ac_try") 2>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; }; then
4188 ac_cv_c_bigendian
=yes
4190 echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.
$ac_ext >&5
4193 ac_cv_c_bigendian
=no
4196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.
$ac_ext >&5
4201 # It does not; compile a test program.
4202 if test "$cross_compiling" = yes; then
4203 # try to guess the endianness by grepping values into an object file
4204 ac_cv_c_bigendian
=unknown
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4211 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4212 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4213 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4214 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4215 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4216 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4220 _ascii (); _ebcdic ();
4225 rm -f conftest.
$ac_objext
4226 if { (ac_try
="$ac_compile"
4228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_compile") 2>conftest.er1
4234 grep -v '^ *+' conftest.er1 >conftest.err
4236 cat conftest.err >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } &&
4239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4240 { (case "(($ac_try" in
4241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4242 *) ac_try_echo
=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_try") 2>&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; } &&
4249 { ac_try
='test -s conftest.$ac_objext'
4250 { (case "(($ac_try" in
4251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4255 (eval "$ac_try") 2>&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; }; then
4259 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4260 ac_cv_c_bigendian=yes
4262 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4263 if test "$ac_cv_c_bigendian" = unknown; then
4264 ac_cv_c_bigendian=no
4266 # finding both strings is unlikely to happen, but who knows?
4267 ac_cv_c_bigendian=unknown
4271 echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.$ac_ext >&5
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 cat >conftest.$ac_ext <<_ACEOF
4282 cat confdefs.h >>conftest.$ac_ext
4283 cat >>conftest.$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4285 $ac_includes_default
4290 /* Are we little or big endian? From Harbison&Steele. */
4294 char c[sizeof (long int)];
4297 return u.c[sizeof (long int) - 1] == 1;
4303 rm -f conftest$ac_exeext
4304 if { (ac_try="$ac_link"
4306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4307 *) ac_try_echo
=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_link") 2>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4314 { (case "(($ac_try" in
4315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4319 (eval "$ac_try") 2>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; }; then
4323 ac_cv_c_bigendian=no
4325 echo "$as_me: program exited with status $ac_status" >&5
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4330 ac_cv_c_bigendian=yes
4332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4341 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4342 case $ac_cv_c_bigendian in
4350 { { echo "$as_me:$LINENO: error: unknown endianness
4351 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4352 echo "$as_me: error: unknown endianness
4353 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4354 { (exit 1); exit 1; }; } ;;
4358 if test "$cross_compiling" = yes; then
4359 LLVM_CROSS_COMPILING=1
4362 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4363 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4364 if test "${ac_cv_build_exeext+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4367 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4368 ac_cv_build_exeext=.exe
4370 ac_build_prefix=${build_alias}-
4372 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4373 set dummy ${ac_build_prefix}gcc; ac_word=$2
4374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4376 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 if test -n "$BUILD_CC"; then
4380 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4389 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 BUILD_CC=$ac_cv_prog_BUILD_CC
4400 if test -n "$BUILD_CC"; then
4401 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4402 echo "${ECHO_T}$BUILD_CC" >&6; }
4404 { echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6; }
4409 if test -z "$BUILD_CC"; then
4410 # Extract the first word of "gcc", so it can be a program name with args.
4411 set dummy gcc; ac_word=$2
4412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4414 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 if test -n "$BUILD_CC"; then
4418 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4427 ac_cv_prog_BUILD_CC="gcc"
4428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 BUILD_CC=$ac_cv_prog_BUILD_CC
4438 if test -n "$BUILD_CC"; then
4439 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4440 echo "${ECHO_T}$BUILD_CC" >&6; }
4442 { echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6; }
4447 if test -z "$BUILD_CC"; then
4448 # Extract the first word of "cc", so it can be a program name with args.
4449 set dummy cc; ac_word=$2
4450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4452 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 if test -n "$BUILD_CC"; then
4456 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4467 ac_prog_rejected=yes
4470 ac_cv_prog_BUILD_CC="cc"
4471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 if test $ac_prog_rejected = yes; then
4479 # We found a bogon in the path, so make sure we never use it.
4480 set dummy $ac_cv_prog_BUILD_CC
4482 if test $# != 0; then
4483 # We chose a different compiler from the bogus one.
4484 # However, it has the same basename, so the bogon will be chosen
4485 # first if we set BUILD_CC to just the basename; use the full file name.
4487 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4492 BUILD_CC=$ac_cv_prog_BUILD_CC
4493 if test -n "$BUILD_CC"; then
4494 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4495 echo "${ECHO_T}$BUILD_CC" >&6; }
4497 { echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6; }
4504 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4505 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4506 { (exit 1); exit 1; }; }
4507 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4509 echo 'int main () { return 0; }' > conftest.$ac_ext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4512 (eval $ac_build_link) 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; then
4516 for file in conftest.*; do
4518 *.c | *.o | *.obj) ;;
4519 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4523 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4524 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4525 { (exit 1); exit 1; }; }
4528 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4533 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4534 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4535 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4536 ac_build_exeext=$BUILD_EXEEXT
4539 LLVM_CROSS_COMPILING=0
4543 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
4554 # Check whether --enable-optimized was given.
4555 if test "${enable_optimized+set}" = set; then
4556 enableval=$enable_optimized;
4561 if test ${enableval} = "no" ; then
4565 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4569 # Check whether --enable-assertions was given.
4570 if test "${enable_assertions+set}" = set; then
4571 enableval=$enable_assertions;
4576 if test ${enableval} = "yes" ; then
4580 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4584 # Check whether --enable-expensive-checks was given.
4585 if test "${enable_expensive_checks+set}" = set; then
4586 enableval=$enable_expensive_checks;
4591 if test ${enableval} = "yes" ; then
4592 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4594 EXPENSIVE_CHECKS=yes
4597 ENABLE_EXPENSIVE_CHECKS=
4603 # Check whether --enable-debug-runtime was given.
4604 if test "${enable_debug_runtime+set}" = set; then
4605 enableval=$enable_debug_runtime;
4610 if test ${enableval} = "no" ; then
4614 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4618 # Check whether --enable-jit was given.
4619 if test "${enable_jit+set}" = set; then
4620 enableval=$enable_jit;
4625 if test ${enableval} = "no"
4630 case "$llvm_cv_target_arch" in
4631 x86) TARGET_HAS_JIT=1
4633 Sparc) TARGET_HAS_JIT=0
4635 PowerPC) TARGET_HAS_JIT=1
4637 x86_64) TARGET_HAS_JIT=1
4639 Alpha) TARGET_HAS_JIT=1
4641 IA64) TARGET_HAS_JIT=0
4643 ARM) TARGET_HAS_JIT=0
4650 # Check whether --enable-doxygen was given.
4651 if test "${enable_doxygen+set}" = set; then
4652 enableval=$enable_doxygen;
4657 case "$enableval" in
4658 yes) ENABLE_DOXYGEN=1
4660 no) ENABLE_DOXYGEN=0
4662 default) ENABLE_DOXYGEN=0
4664 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4665 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4666 { (exit 1); exit 1; }; } ;;
4669 # Check whether --enable-threads was given.
4670 if test "${enable_threads+set}" = set; then
4671 enableval=$enable_threads;
4676 case "$enableval" in
4677 yes) ENABLE_THREADS=1
4679 no) ENABLE_THREADS=0
4681 default) ENABLE_THREADS=1
4683 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4684 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4685 { (exit 1); exit 1; }; } ;;
4688 cat >>confdefs.h <<_ACEOF
4689 #define ENABLE_THREADS $ENABLE_THREADS
4693 # Check whether --enable-pic was given.
4694 if test "${enable_pic+set}" = set; then
4695 enableval=$enable_pic;
4700 case "$enableval" in
4705 default) ENABLE_PIC=0
4707 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4708 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4709 { (exit 1); exit 1; }; } ;;
4712 cat >>confdefs.h <<_ACEOF
4713 #define ENABLE_PIC $ENABLE_PIC
4718 # Check whether --enable-targets was given.
4719 if test "${enable_targets+set}" = set; then
4720 enableval=$enable_targets;
4725 case "$enableval" in
4726 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM" ;;
4728 case "$llvm_cv_target_arch" in
4729 x86) TARGETS_TO_BUILD="X86" ;;
4730 x86_64) TARGETS_TO_BUILD="X86" ;;
4731 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4732 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4733 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4734 IA64) TARGETS_TO_BUILD="IA64" ;;
4735 ARM) TARGETS_TO_BUILD="ARM" ;;
4736 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4737 echo "$as_me: error: Can not set target to build" >&2;}
4738 { (exit 1); exit 1; }; } ;;
4741 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4743 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4744 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4745 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4746 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4747 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4748 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4749 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4750 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4751 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4752 { (exit 1); exit 1; }; } ;;
4757 TARGETS_TO_BUILD="CBackend MSIL $TARGETS_TO_BUILD"
4758 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4761 # Check whether --enable-cbe-printf-a was given.
4762 if test "${enable_cbe_printf_a+set}" = set; then
4763 enableval=$enable_cbe_printf_a;
4768 case "$enableval" in
4769 yes) ENABLE_CBE_PRINTF_A=1
4771 no) ENABLE_CBE_PRINTF_A=0
4773 default) ENABLE_CBE_PRINTF_A=1
4775 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4776 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4777 { (exit 1); exit 1; }; } ;;
4780 cat >>confdefs.h <<_ACEOF
4781 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4786 # Check whether --with-llvmgccdir was given.
4787 if test "${with_llvmgccdir+set}" = set; then
4788 withval=$with_llvmgccdir;
4794 default) WITH_LLVMGCCDIR=default ;;
4795 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4796 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4797 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4798 { (exit 1); exit 1; }; } ;;
4802 # Check whether --with-extra-options was given.
4803 if test "${with_extra_options+set}" = set; then
4804 withval=$with_extra_options;
4810 default) EXTRA_OPTIONS= ;;
4811 *) EXTRA_OPTIONS=$withval ;;
4813 EXTRA_OPTIONS=$EXTRA_OPTIONS
4818 ac_cpp='$CPP $CPPFLAGS'
4819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4823 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4824 # On Suns, sometimes $CPP names a directory.
4825 if test -n "$CPP" && test -d "$CPP"; then
4828 if test -z "$CPP"; then
4829 if test "${ac_cv_prog_CPP+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 # Double quotes because CPP needs to be expanded
4833 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4836 for ac_c_preproc_warn_flag in '' yes
4838 # Use a header file that comes with gcc, so configuring glibc
4839 # with a fresh cross-compiler works.
4840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4841 # <limits.h> exists even on freestanding compilers.
4842 # On the NeXT, cc -E runs the code through the compiler's parser,
4843 # not just through cpp. "Syntax error" is here to catch this case.
4844 cat >conftest.$ac_ext <<_ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4851 # include <limits.h>
4853 # include <assert.h>
4857 if { (ac_try="$ac_cpp conftest.$ac_ext"
4859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4860 *) ac_try_echo
=$ac_try;;
4862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4865 grep -v '^ *+' conftest.er1
>conftest.err
4867 cat conftest.err
>&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } >/dev
/null
; then
4870 if test -s conftest.err
; then
4871 ac_cpp_err
=$ac_c_preproc_warn_flag
4872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4879 if test -z "$ac_cpp_err"; then
4882 echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.
$ac_ext >&5
4885 # Broken: fails on valid input.
4889 rm -f conftest.err conftest.
$ac_ext
4891 # OK, works on sane cases. Now check whether nonexistent headers
4892 # can be detected and how.
4893 cat >conftest.
$ac_ext <<_ACEOF
4896 cat confdefs.h
>>conftest.
$ac_ext
4897 cat >>conftest.
$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 #include <ac_nonexistent.h>
4901 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4909 grep -v '^ *+' conftest.er1 >conftest.err
4911 cat conftest.err >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } >/dev/null; then
4914 if test -s conftest.err; then
4915 ac_cpp_err=$ac_c_preproc_warn_flag
4916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4923 if test -z "$ac_cpp_err"; then
4924 # Broken: success on invalid input.
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.$ac_ext >&5
4930 # Passes both tests.
4935 rm -f conftest.err conftest.$ac_ext
4938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4939 rm -f conftest.err conftest.
$ac_ext
4940 if $ac_preproc_ok; then
4952 { echo "$as_me:$LINENO: result: $CPP" >&5
4953 echo "${ECHO_T}$CPP" >&6; }
4955 for ac_c_preproc_warn_flag
in '' yes
4957 # Use a header file that comes with gcc, so configuring glibc
4958 # with a fresh cross-compiler works.
4959 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4960 # <limits.h> exists even on freestanding compilers.
4961 # On the NeXT, cc -E runs the code through the compiler's parser,
4962 # not just through cpp. "Syntax error" is here to catch this case.
4963 cat >conftest.
$ac_ext <<_ACEOF
4966 cat confdefs.h
>>conftest.
$ac_ext
4967 cat >>conftest.
$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4970 # include <limits.h>
4972 # include <assert.h>
4976 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1 >conftest.err
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } >/dev/null; then
4989 if test -s conftest.err; then
4990 ac_cpp_err=$ac_c_preproc_warn_flag
4991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4998 if test -z "$ac_cpp_err"; then
5001 echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.$ac_ext >&5
5004 # Broken: fails on valid input.
5008 rm -f conftest.err conftest.$ac_ext
5010 # OK, works on sane cases. Now check whether nonexistent headers
5011 # can be detected and how.
5012 cat >conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h >>conftest.$ac_ext
5016 cat >>conftest.$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <ac_nonexistent.h>
5020 if { (ac_try="$ac_cpp conftest.$ac_ext"
5022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5023 *) ac_try_echo
=$ac_try;;
5025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5028 grep -v '^ *+' conftest.er1
>conftest.err
5030 cat conftest.err
>&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } >/dev
/null
; then
5033 if test -s conftest.err
; then
5034 ac_cpp_err
=$ac_c_preproc_warn_flag
5035 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5042 if test -z "$ac_cpp_err"; then
5043 # Broken: success on invalid input.
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.
$ac_ext >&5
5049 # Passes both tests.
5054 rm -f conftest.err conftest.
$ac_ext
5057 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5058 rm -f conftest.err conftest.
$ac_ext
5059 if $ac_preproc_ok; then
5062 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5063 See \`config.log' for more details." >&5
5064 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5065 See \`config.log' for more details." >&2;}
5066 { (exit 1); exit 1; }; }
5070 ac_cpp
='$CPP $CPPFLAGS'
5071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5076 ac_cpp
='$CPP $CPPFLAGS'
5077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5080 if test -n "$ac_tool_prefix"; then
5083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5084 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5087 if test "${ac_cv_prog_CC+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 if test -n "$CC"; then
5091 ac_cv_prog_CC
="$CC" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5100 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 if test -n "$CC"; then
5112 { echo "$as_me:$LINENO: result: $CC" >&5
5113 echo "${ECHO_T}$CC" >&6; }
5115 { echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6; }
5120 test -n "$CC" && break
5123 if test -z "$CC"; then
5127 # Extract the first word of "$ac_prog", so it can be a program name with args.
5128 set dummy
$ac_prog; ac_word
=$2
5129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 if test -n "$ac_ct_CC"; then
5135 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_ac_ct_CC
="$ac_prog"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5155 if test -n "$ac_ct_CC"; then
5156 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5157 echo "${ECHO_T}$ac_ct_CC" >&6; }
5159 { echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6; }
5164 test -n "$ac_ct_CC" && break
5167 if test "x$ac_ct_CC" = x
; then
5170 case $cross_compiling:$ac_tool_warned in
5172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5173 whose name does not start with the host triplet. If you think this
5174 configuration is useful to you, please write to autoconf@gnu.org." >&5
5175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5176 whose name does not start with the host triplet. If you think this
5177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5178 ac_tool_warned
=yes ;;
5185 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5186 See \`config.log' for more details." >&5
5187 echo "$as_me: error: no acceptable C compiler found in \$PATH
5188 See \`config.log' for more details." >&2;}
5189 { (exit 1); exit 1; }; }
5191 # Provide some information about the compiler.
5192 echo "$as_me:$LINENO: checking for C compiler version" >&5
5193 ac_compiler
=`set X $ac_compile; echo $2`
5194 { (ac_try
="$ac_compiler --version >&5"
5196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5197 *) ac_try_echo=$ac_try;;
5199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5200 (eval "$ac_compiler --version >&5") 2>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); }
5204 { (ac_try="$ac_compiler -v >&5"
5206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5207 *) ac_try_echo
=$ac_try;;
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_compiler -v >&5") 2>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }
5214 { (ac_try
="$ac_compiler -V >&5"
5216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_compiler -V >&5") 2>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }
5225 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 cat >conftest.$ac_ext <<_ACEOF
5233 cat confdefs.h >>conftest.$ac_ext
5234 cat >>conftest.$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5248 rm -f conftest.$ac_objext
5249 if { (ac_try="$ac_compile"
5251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5252 *) ac_try_echo
=$ac_try;;
5254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255 (eval "$ac_compile") 2>conftest.er1
5257 grep -v '^ *+' conftest.er1
>conftest.err
5259 cat conftest.err
>&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } &&
5262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5263 { (case "(($ac_try" in
5264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5268 (eval "$ac_try") 2>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; } &&
5272 { ac_try='test -s conftest.$ac_objext'
5273 { (case "(($ac_try" in
5274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5275 *) ac_try_echo
=$ac_try;;
5277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5278 (eval "$ac_try") 2>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5291 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5294 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5295 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5296 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5297 ac_test_CFLAGS
=${CFLAGS+set}
5298 ac_save_CFLAGS
=$CFLAGS
5299 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5300 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5301 if test "${ac_cv_prog_cc_g+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 ac_save_c_werror_flag
=$ac_c_werror_flag
5305 ac_c_werror_flag
=yes
5308 cat >conftest.
$ac_ext <<_ACEOF
5311 cat confdefs.h
>>conftest.
$ac_ext
5312 cat >>conftest.
$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5323 rm -f conftest.
$ac_objext
5324 if { (ac_try
="$ac_compile"
5326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5327 *) ac_try_echo=$ac_try;;
5329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5330 (eval "$ac_compile") 2>conftest.er1
5332 grep -v '^ *+' conftest.er1 >conftest.err
5334 cat conftest.err >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5338 { (case "(($ac_try" in
5339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5340 *) ac_try_echo
=$ac_try;;
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_try") 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; } &&
5347 { ac_try
='test -s conftest.$ac_objext'
5348 { (case "(($ac_try" in
5349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5350 *) ac_try_echo=$ac_try;;
5352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353 (eval "$ac_try") 2>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }; }; then
5359 echo "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.$ac_ext >&5
5363 cat >conftest.$ac_ext <<_ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5378 rm -f conftest.$ac_objext
5379 if { (ac_try="$ac_compile"
5381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5382 *) ac_try_echo
=$ac_try;;
5384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5385 (eval "$ac_compile") 2>conftest.er1
5387 grep -v '^ *+' conftest.er1
>conftest.err
5389 cat conftest.err
>&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); } &&
5392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5393 { (case "(($ac_try" in
5394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_try") 2>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; } &&
5402 { ac_try='test -s conftest.$ac_objext'
5403 { (case "(($ac_try" in
5404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5405 *) ac_try_echo
=$ac_try;;
5407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5408 (eval "$ac_try") 2>&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); }; }; then
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.
$ac_ext >&5
5417 ac_c_werror_flag
=$ac_save_c_werror_flag
5419 cat >conftest.
$ac_ext <<_ACEOF
5422 cat confdefs.h
>>conftest.
$ac_ext
5423 cat >>conftest.
$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5434 rm -f conftest.
$ac_objext
5435 if { (ac_try
="$ac_compile"
5437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5438 *) ac_try_echo=$ac_try;;
5440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5441 (eval "$ac_compile") 2>conftest.er1
5443 grep -v '^ *+' conftest.er1 >conftest.err
5445 cat conftest.err >&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); } &&
5448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5449 { (case "(($ac_try" in
5450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5451 *) ac_try_echo
=$ac_try;;
5453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5454 (eval "$ac_try") 2>&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; } &&
5458 { ac_try
='test -s conftest.$ac_objext'
5459 { (case "(($ac_try" in
5460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5464 (eval "$ac_try") 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.$ac_ext >&5
5476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5483 ac_c_werror_flag=$ac_save_c_werror_flag
5485 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5486 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5487 if test "$ac_test_CFLAGS" = set; then
5488 CFLAGS=$ac_save_CFLAGS
5489 elif test $ac_cv_prog_cc_g = yes; then
5490 if test "$GCC" = yes; then
5496 if test "$GCC" = yes; then
5502 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5503 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5504 if test "${ac_cv_prog_cc_c89+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 ac_cv_prog_cc_c89=no
5509 cat >conftest.$ac_ext <<_ACEOF
5512 cat confdefs.h >>conftest.$ac_ext
5513 cat >>conftest.$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5517 #include <sys/types.h>
5518 #include <sys/stat.h>
5519 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5520 struct buf { int x; };
5521 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5522 static char *e (p, i)
5528 static char *f (char * (*g) (char **, int), char **p, ...)
5533 s = g (p, va_arg (v,int));
5538 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5539 function prototypes and stuff, but not '\xHH' hex character constants.
5540 These don't provoke an error unfortunately, instead are silently treated
5541 as 'x'. The following induces an error, until -std is added to get
5542 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5543 array size at least. It's necessary to write '\x00'==0 to get something
5544 that's true only with -std. */
5545 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5547 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5548 inside strings and character constants. */
5550 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5552 int test (int i, double x);
5553 struct s1 {int (*f) (int a);};
5554 struct s2 {int (*f) (double a);};
5555 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5561 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5566 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5567 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5569 CC="$ac_save_CC $ac_arg"
5570 rm -f conftest.$ac_objext
5571 if { (ac_try="$ac_compile"
5573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5574 *) ac_try_echo
=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_compile") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1
>conftest.err
5581 cat conftest.err
>&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } &&
5584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5585 { (case "(($ac_try" in
5586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5587 *) ac_try_echo=$ac_try;;
5589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5590 (eval "$ac_try") 2>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); }; } &&
5594 { ac_try='test -s conftest.$ac_objext'
5595 { (case "(($ac_try" in
5596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5597 *) ac_try_echo
=$ac_try;;
5599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600 (eval "$ac_try") 2>&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5604 ac_cv_prog_cc_c89
=$ac_arg
5606 echo "$as_me: failed program was:" >&5
5607 sed 's/^/| /' conftest.
$ac_ext >&5
5612 rm -f core conftest.err conftest.
$ac_objext
5613 test "x$ac_cv_prog_cc_c89" != "xno" && break
5615 rm -f conftest.
$ac_ext
5620 case "x$ac_cv_prog_cc_c89" in
5622 { echo "$as_me:$LINENO: result: none needed" >&5
5623 echo "${ECHO_T}none needed" >&6; } ;;
5625 { echo "$as_me:$LINENO: result: unsupported" >&5
5626 echo "${ECHO_T}unsupported" >&6; } ;;
5628 CC
="$CC $ac_cv_prog_cc_c89"
5629 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5630 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5635 ac_cpp
='$CPP $CPPFLAGS'
5636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5641 ac_cpp
='$CXXCPP $CPPFLAGS'
5642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5645 if test -z "$CXX"; then
5646 if test -n "$CCC"; then
5649 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5653 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5656 if test "${ac_cv_prog_CXX+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 if test -n "$CXX"; then
5660 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir
=.
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5669 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 if test -n "$CXX"; then
5681 { echo "$as_me:$LINENO: result: $CXX" >&5
5682 echo "${ECHO_T}$CXX" >&6; }
5684 { echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6; }
5689 test -n "$CXX" && break
5692 if test -z "$CXX"; then
5696 # Extract the first word of "$ac_prog", so it can be a program name with args.
5697 set dummy
$ac_prog; ac_word
=$2
5698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5700 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 if test -n "$ac_ct_CXX"; then
5704 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir
=.
5711 for ac_exec_ext
in '' $ac_executable_extensions; do
5712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5713 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5724 if test -n "$ac_ct_CXX"; then
5725 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5726 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5728 { echo "$as_me:$LINENO: result: no" >&5
5729 echo "${ECHO_T}no" >&6; }
5733 test -n "$ac_ct_CXX" && break
5736 if test "x$ac_ct_CXX" = x
; then
5739 case $cross_compiling:$ac_tool_warned in
5741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5742 whose name does not start with the host triplet. If you think this
5743 configuration is useful to you, please write to autoconf@gnu.org." >&5
5744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5745 whose name does not start with the host triplet. If you think this
5746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5747 ac_tool_warned
=yes ;;
5755 # Provide some information about the compiler.
5756 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5757 ac_compiler
=`set X $ac_compile; echo $2`
5758 { (ac_try
="$ac_compiler --version >&5"
5760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5761 *) ac_try_echo=$ac_try;;
5763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5764 (eval "$ac_compiler --version >&5") 2>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }
5768 { (ac_try="$ac_compiler -v >&5"
5770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5771 *) ac_try_echo
=$ac_try;;
5773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5774 (eval "$ac_compiler -v >&5") 2>&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }
5778 { (ac_try
="$ac_compiler -V >&5"
5780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5781 *) ac_try_echo=$ac_try;;
5783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5784 (eval "$ac_compiler -V >&5") 2>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }
5789 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5790 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5791 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5792 echo $ECHO_N "(cached) $ECHO_C" >&6
5794 cat >conftest.$ac_ext <<_ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5812 rm -f conftest.$ac_objext
5813 if { (ac_try="$ac_compile"
5815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5816 *) ac_try_echo
=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_compile") 2>conftest.er1
5821 grep -v '^ *+' conftest.er1
>conftest.err
5823 cat conftest.err
>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } &&
5826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5827 { (case "(($ac_try" in
5828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5829 *) ac_try_echo=$ac_try;;
5831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5832 (eval "$ac_try") 2>&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; } &&
5836 { ac_try='test -s conftest.$ac_objext'
5837 { (case "(($ac_try" in
5838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5839 *) ac_try_echo
=$ac_try;;
5841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5842 (eval "$ac_try") 2>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5848 echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.
$ac_ext >&5
5854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5855 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5858 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5859 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5860 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5861 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5862 ac_save_CXXFLAGS
=$CXXFLAGS
5863 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5864 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5865 if test "${ac_cv_prog_cxx_g+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5869 ac_cxx_werror_flag
=yes
5872 cat >conftest.
$ac_ext <<_ACEOF
5875 cat confdefs.h
>>conftest.
$ac_ext
5876 cat >>conftest.
$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5887 rm -f conftest.
$ac_objext
5888 if { (ac_try
="$ac_compile"
5890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5891 *) ac_try_echo=$ac_try;;
5893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5894 (eval "$ac_compile") 2>conftest.er1
5896 grep -v '^ *+' conftest.er1 >conftest.err
5898 cat conftest.err >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } &&
5901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5902 { (case "(($ac_try" in
5903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5904 *) ac_try_echo
=$ac_try;;
5906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5907 (eval "$ac_try") 2>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try
='test -s conftest.$ac_objext'
5912 { (case "(($ac_try" in
5913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5914 *) ac_try_echo=$ac_try;;
5916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5917 (eval "$ac_try") 2>&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; }; then
5921 ac_cv_prog_cxx_g=yes
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5927 cat >conftest.$ac_ext <<_ACEOF
5930 cat confdefs.h >>conftest.$ac_ext
5931 cat >>conftest.$ac_ext <<_ACEOF
5932 /* end confdefs.h. */
5942 rm -f conftest.$ac_objext
5943 if { (ac_try="$ac_compile"
5945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5946 *) ac_try_echo
=$ac_try;;
5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 (eval "$ac_compile") 2>conftest.er1
5951 grep -v '^ *+' conftest.er1
>conftest.err
5953 cat conftest.err
>&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } &&
5956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5957 { (case "(($ac_try" in
5958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5959 *) ac_try_echo=$ac_try;;
5961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5962 (eval "$ac_try") 2>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; } &&
5966 { ac_try='test -s conftest.$ac_objext'
5967 { (case "(($ac_try" in
5968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5969 *) ac_try_echo
=$ac_try;;
5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5972 (eval "$ac_try") 2>&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; }; then
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.
$ac_ext >&5
5981 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5983 cat >conftest.
$ac_ext <<_ACEOF
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5998 rm -f conftest.
$ac_objext
5999 if { (ac_try
="$ac_compile"
6001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6002 *) ac_try_echo=$ac_try;;
6004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005 (eval "$ac_compile") 2>conftest.er1
6007 grep -v '^ *+' conftest.er1 >conftest.err
6009 cat conftest.err >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); } &&
6012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6013 { (case "(($ac_try" in
6014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6015 *) ac_try_echo
=$ac_try;;
6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018 (eval "$ac_try") 2>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; } &&
6022 { ac_try
='test -s conftest.$ac_objext'
6023 { (case "(($ac_try" in
6024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6025 *) ac_try_echo=$ac_try;;
6027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6028 (eval "$ac_try") 2>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 ac_cv_prog_cxx_g=yes
6034 echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.$ac_ext >&5
6040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6047 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6049 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6050 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6051 if test "$ac_test_CXXFLAGS" = set; then
6052 CXXFLAGS=$ac_save_CXXFLAGS
6053 elif test $ac_cv_prog_cxx_g = yes; then
6054 if test "$GXX" = yes; then
6060 if test "$GXX" = yes; then
6067 ac_cpp='$CPP $CPPFLAGS'
6068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6072 { echo "$as_me:$LINENO: checking " >&5
6073 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6074 if test "${ac_cv_has_flex+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 for ac_prog in flex lex
6079 # Extract the first word of "$ac_prog", so it can be a program name with args.
6080 set dummy $ac_prog; ac_word=$2
6081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6083 if test "${ac_cv_prog_LEX+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 if test -n "$LEX"; then
6087 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_LEX="$ac_prog"
6097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 if test -n "$LEX"; then
6108 { echo "$as_me:$LINENO: result: $LEX" >&5
6109 echo "${ECHO_T}$LEX" >&6; }
6111 { echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6; }
6116 test -n "$LEX" && break
6118 test -n "$LEX" || LEX=":"
6120 if test -z "$LEXLIB"
6122 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6123 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
6124 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6125 echo $ECHO_N "(cached) $ECHO_C" >&6
6127 ac_check_lib_save_LIBS=$LIBS
6129 cat >conftest.$ac_ext <<_ACEOF
6132 cat confdefs.h >>conftest.$ac_ext
6133 cat >>conftest.$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6136 /* Override any GCC internal prototype to avoid an error.
6137 Use char because int might match the return type of a GCC
6138 builtin and then its argument prototype would still apply. */
6151 rm -f conftest.$ac_objext conftest$ac_exeext
6152 if { (ac_try="$ac_link"
6154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6155 *) ac_try_echo
=$ac_try;;
6157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6158 (eval "$ac_link") 2>conftest.er1
6160 grep -v '^ *+' conftest.er1
>conftest.err
6162 cat conftest.err
>&5
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); } &&
6165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6166 { (case "(($ac_try" in
6167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6168 *) ac_try_echo=$ac_try;;
6170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6171 (eval "$ac_try") 2>&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; } &&
6175 { ac_try='test -s conftest$ac_exeext'
6176 { (case "(($ac_try" in
6177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6178 *) ac_try_echo
=$ac_try;;
6180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6181 (eval "$ac_try") 2>&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; }; then
6185 ac_cv_lib_fl_yywrap
=yes
6187 echo "$as_me: failed program was:" >&5
6188 sed 's/^/| /' conftest.
$ac_ext >&5
6190 ac_cv_lib_fl_yywrap
=no
6193 rm -f core conftest.err conftest.
$ac_objext \
6194 conftest
$ac_exeext conftest.
$ac_ext
6195 LIBS
=$ac_check_lib_save_LIBS
6197 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6198 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
6199 if test $ac_cv_lib_fl_yywrap = yes; then
6202 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6203 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
6204 if test "${ac_cv_lib_l_yywrap+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 ac_check_lib_save_LIBS
=$LIBS
6209 cat >conftest.
$ac_ext <<_ACEOF
6212 cat confdefs.h
>>conftest.
$ac_ext
6213 cat >>conftest.
$ac_ext <<_ACEOF
6214 /* end confdefs.h. */
6216 /* Override any GCC internal prototype to avoid an error.
6217 Use char because int might match the return type of a GCC
6218 builtin and then its argument prototype would still apply. */
6231 rm -f conftest.
$ac_objext conftest
$ac_exeext
6232 if { (ac_try
="$ac_link"
6234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6238 (eval "$ac_link") 2>conftest.er1
6240 grep -v '^ *+' conftest.er1 >conftest.err
6242 cat conftest.err >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } &&
6245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6246 { (case "(($ac_try" in
6247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6248 *) ac_try_echo
=$ac_try;;
6250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6251 (eval "$ac_try") 2>&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; } &&
6255 { ac_try
='test -s conftest$ac_exeext'
6256 { (case "(($ac_try" in
6257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6258 *) ac_try_echo=$ac_try;;
6260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6261 (eval "$ac_try") 2>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; }; then
6265 ac_cv_lib_l_yywrap=yes
6267 echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6270 ac_cv_lib_l_yywrap=no
6273 rm -f core conftest.err conftest.$ac_objext \
6274 conftest$ac_exeext conftest.$ac_ext
6275 LIBS=$ac_check_lib_save_LIBS
6277 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6278 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
6279 if test $ac_cv_lib_l_yywrap = yes; then
6287 if test "x$LEX" != "x:"; then
6288 { echo "$as_me:$LINENO: checking lex output file root" >&5
6289 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
6290 if test "${ac_cv_prog_lex_root+set}" = set; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 # The minimal lex program is just a single line: %%. But some broken lexes
6294 # (Solaris, I think it was) want two %% lines, so accommodate them.
6295 cat >conftest.l <<_ACEOF
6299 { (ac_try="$LEX conftest.l"
6301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6302 *) ac_try_echo
=$ac_try;;
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$LEX conftest.l") 2>&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }
6309 if test -f lex.yy.c
; then
6310 ac_cv_prog_lex_root
=lex.yy
6311 elif test -f lexyy.c
; then
6312 ac_cv_prog_lex_root
=lexyy
6314 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6315 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6316 { (exit 1); exit 1; }; }
6319 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6320 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
6322 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
6324 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6325 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
6326 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 # POSIX says lex can declare yytext either as a pointer or an array; the
6330 # default is implementation-dependent. Figure out which it is, since
6331 # not all implementations provide the %pointer and %array declarations.
6332 ac_cv_prog_lex_yytext_pointer
=no
6333 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6335 LIBS
="$LIBS $LEXLIB"
6336 cat >conftest.
$ac_ext <<_ACEOF
6337 `cat $LEX_OUTPUT_ROOT.c`
6339 rm -f conftest.
$ac_objext conftest
$ac_exeext
6340 if { (ac_try
="$ac_link"
6342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6343 *) ac_try_echo=$ac_try;;
6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6346 (eval "$ac_link") 2>conftest.er1
6348 grep -v '^ *+' conftest.er1 >conftest.err
6350 cat conftest.err >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } &&
6353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6354 { (case "(($ac_try" in
6355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6356 *) ac_try_echo
=$ac_try;;
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_try") 2>&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; } &&
6363 { ac_try
='test -s conftest$ac_exeext'
6364 { (case "(($ac_try" in
6365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6366 *) ac_try_echo=$ac_try;;
6368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6369 (eval "$ac_try") 2>&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; }; then
6373 ac_cv_prog_lex_yytext_pointer=yes
6375 echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.$ac_ext >&5
6381 rm -f core conftest.err conftest.$ac_objext \
6382 conftest$ac_exeext conftest.$ac_ext
6384 rm -f "${LEX_OUTPUT_ROOT}.c"
6387 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6388 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
6389 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6391 cat >>confdefs.h <<\_ACEOF
6392 #define YYTEXT_POINTER 1
6400 { echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
6401 echo "${ECHO_T}$ac_cv_has_flex" >&6; }
6402 if test "$LEX" != "flex"; then
6403 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
6404 echo "$as_me: error: flex not found but required" >&2;}
6405 { (exit 1); exit 1; }; }
6411 { echo "$as_me:$LINENO: checking " >&5
6412 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6413 if test "${llvm_cv_has_bison+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 for ac_prog in 'bison -y' byacc
6418 # Extract the first word of "$ac_prog", so it can be a program name with args.
6419 set dummy $ac_prog; ac_word=$2
6420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6422 if test "${ac_cv_prog_YACC+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 if test -n "$YACC"; then
6426 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6435 ac_cv_prog_YACC="$ac_prog"
6436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 YACC=$ac_cv_prog_YACC
6446 if test -n "$YACC"; then
6447 { echo "$as_me:$LINENO: result: $YACC" >&5
6448 echo "${ECHO_T}$YACC" >&6; }
6450 { echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6; }
6455 test -n "$YACC" && break
6457 test -n "$YACC" || YACC="yacc"
6460 { echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
6461 echo "${ECHO_T}$llvm_cv_has_bison" >&6; }
6462 if test "$YACC" != "bison -y"; then
6464 { echo "$as_me:$LINENO: WARNING: bison not found, can't rebuild grammars" >&5
6465 echo "$as_me: WARNING: bison not found, can't rebuild grammars" >&2;}
6471 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6472 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6473 if test "${lt_cv_path_NM+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 if test -n "$NM"; then
6477 # Let the user override the test.
6480 lt_nm_to_check="${ac_tool_prefix}nm"
6481 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6482 lt_nm_to_check="$lt_nm_to_check nm"
6484 for lt_tmp_nm in $lt_nm_to_check; do
6485 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6486 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6488 test -z "$ac_dir" && ac_dir=.
6489 tmp_nm="$ac_dir/$lt_tmp_nm"
6490 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6491 # Check to see if the nm accepts a BSD-compat flag.
6492 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6493 # nm: unknown option "B" ignored
6494 # Tru64's nm complains that
/dev
/null is an invalid object
file
6495 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6496 */dev
/null
* |
*'Invalid file or object type'*)
6497 lt_cv_path_NM
="$tmp_nm -B"
6501 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6503 lt_cv_path_NM
="$tmp_nm -p"
6507 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6508 continue # so that we can try to find one that supports BSD flags
6517 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6520 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6521 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6526 { echo "$as_me:$LINENO: checking for GNU make" >&5
6527 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6528 if test "${llvm_cv_gnu_make_command+set}" = set; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 llvm_cv_gnu_make_command
=''
6532 for a
in "$MAKE" make gmake gnumake
; do
6533 if test -z "$a" ; then continue ; fi ;
6534 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6536 llvm_cv_gnu_make_command
=$a ;
6541 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6542 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6543 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6547 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6548 echo "${ECHO_T}\"Not found\"" >&6; };
6552 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6553 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6555 if test "$LN_S" = "ln -s"; then
6556 { echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6; }
6559 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6560 echo "${ECHO_T}no, using $LN_S" >&6; }
6563 # Extract the first word of "cmp", so it can be a program name with args.
6564 set dummy
cmp; ac_word
=$2
6565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6567 if test "${ac_cv_path_CMP+set}" = set; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6572 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir
=.
6580 for ac_exec_ext
in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6595 if test -n "$CMP"; then
6596 { echo "$as_me:$LINENO: result: $CMP" >&5
6597 echo "${ECHO_T}$CMP" >&6; }
6599 { echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6; }
6604 # Extract the first word of "cp", so it can be a program name with args.
6605 set dummy
cp; ac_word
=$2
6606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6608 if test "${ac_cv_path_CP+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6620 test -z "$as_dir" && as_dir
=.
6621 for ac_exec_ext
in '' $ac_executable_extensions; do
6622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6623 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6636 if test -n "$CP"; then
6637 { echo "$as_me:$LINENO: result: $CP" >&5
6638 echo "${ECHO_T}$CP" >&6; }
6640 { echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6; }
6645 # Extract the first word of "date", so it can be a program name with args.
6646 set dummy
date; ac_word
=$2
6647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6649 if test "${ac_cv_path_DATE+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir
=.
6662 for ac_exec_ext
in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6676 DATE
=$ac_cv_path_DATE
6677 if test -n "$DATE"; then
6678 { echo "$as_me:$LINENO: result: $DATE" >&5
6679 echo "${ECHO_T}$DATE" >&6; }
6681 { echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6; }
6686 # Extract the first word of "find", so it can be a program name with args.
6687 set dummy
find; ac_word
=$2
6688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6690 if test "${ac_cv_path_FIND+set}" = set; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6695 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6702 test -z "$as_dir" && as_dir
=.
6703 for ac_exec_ext
in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6713 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6717 FIND
=$ac_cv_path_FIND
6718 if test -n "$FIND"; then
6719 { echo "$as_me:$LINENO: result: $FIND" >&5
6720 echo "${ECHO_T}$FIND" >&6; }
6722 { echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6; }
6727 # Extract the first word of "grep", so it can be a program name with args.
6728 set dummy
grep; ac_word
=$2
6729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6731 if test "${ac_cv_path_GREP+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6736 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir
=.
6744 for ac_exec_ext
in '' $ac_executable_extensions; do
6745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6746 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6758 GREP
=$ac_cv_path_GREP
6759 if test -n "$GREP"; then
6760 { echo "$as_me:$LINENO: result: $GREP" >&5
6761 echo "${ECHO_T}$GREP" >&6; }
6763 { echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6; }
6768 # Extract the first word of "mkdir", so it can be a program name with args.
6769 set dummy mkdir
; ac_word
=$2
6770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6772 if test "${ac_cv_path_MKDIR+set}" = set; then
6773 echo $ECHO_N "(cached) $ECHO_C" >&6
6777 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir
=.
6785 for ac_exec_ext
in '' $ac_executable_extensions; do
6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6787 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6799 MKDIR
=$ac_cv_path_MKDIR
6800 if test -n "$MKDIR"; then
6801 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6802 echo "${ECHO_T}$MKDIR" >&6; }
6804 { echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6; }
6809 # Extract the first word of "mv", so it can be a program name with args.
6810 set dummy
mv; ac_word
=$2
6811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6813 if test "${ac_cv_path_MV+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6818 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir
=.
6826 for ac_exec_ext
in '' $ac_executable_extensions; do
6827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6828 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6841 if test -n "$MV"; then
6842 { echo "$as_me:$LINENO: result: $MV" >&5
6843 echo "${ECHO_T}$MV" >&6; }
6845 { echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6; }
6850 if test -n "$ac_tool_prefix"; then
6851 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6852 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6855 if test "${ac_cv_prog_RANLIB+set}" = set; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 if test -n "$RANLIB"; then
6859 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir
=.
6866 for ac_exec_ext
in '' $ac_executable_extensions; do
6867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6868 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6878 RANLIB
=$ac_cv_prog_RANLIB
6879 if test -n "$RANLIB"; then
6880 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6881 echo "${ECHO_T}$RANLIB" >&6; }
6883 { echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6; }
6889 if test -z "$ac_cv_prog_RANLIB"; then
6890 ac_ct_RANLIB
=$RANLIB
6891 # Extract the first word of "ranlib", so it can be a program name with args.
6892 set dummy ranlib
; ac_word
=$2
6893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6895 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6896 echo $ECHO_N "(cached) $ECHO_C" >&6
6898 if test -n "$ac_ct_RANLIB"; then
6899 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir
=.
6906 for ac_exec_ext
in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6919 if test -n "$ac_ct_RANLIB"; then
6920 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6921 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6923 { echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6; }
6927 if test "x$ac_ct_RANLIB" = x
; then
6930 case $cross_compiling:$ac_tool_warned in
6932 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6933 whose name does not start with the host triplet. If you think this
6934 configuration is useful to you, please write to autoconf@gnu.org." >&5
6935 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6936 whose name does not start with the host triplet. If you think this
6937 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6938 ac_tool_warned
=yes ;;
6940 RANLIB
=$ac_ct_RANLIB
6943 RANLIB
="$ac_cv_prog_RANLIB"
6946 # Extract the first word of "rm", so it can be a program name with args.
6947 set dummy
rm; ac_word
=$2
6948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6950 if test "${ac_cv_path_RM+set}" = set; then
6951 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir
=.
6963 for ac_exec_ext
in '' $ac_executable_extensions; do
6964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6965 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6978 if test -n "$RM"; then
6979 { echo "$as_me:$LINENO: result: $RM" >&5
6980 echo "${ECHO_T}$RM" >&6; }
6982 { echo "$as_me:$LINENO: result: no" >&5
6983 echo "${ECHO_T}no" >&6; }
6987 # Extract the first word of "sed", so it can be a program name with args.
6988 set dummy
sed; ac_word
=$2
6989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6991 if test "${ac_cv_path_SED+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6996 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
6999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir
=.
7004 for ac_exec_ext
in '' $ac_executable_extensions; do
7005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7006 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7019 if test -n "$SED"; then
7020 { echo "$as_me:$LINENO: result: $SED" >&5
7021 echo "${ECHO_T}$SED" >&6; }
7023 { echo "$as_me:$LINENO: result: no" >&5
7024 echo "${ECHO_T}no" >&6; }
7028 # Extract the first word of "tar", so it can be a program name with args.
7029 set dummy
tar; ac_word
=$2
7030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7032 if test "${ac_cv_path_TAR+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7037 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7044 test -z "$as_dir" && as_dir
=.
7045 for ac_exec_ext
in '' $ac_executable_extensions; do
7046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7047 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7060 if test -n "$TAR"; then
7061 { echo "$as_me:$LINENO: result: $TAR" >&5
7062 echo "${ECHO_T}$TAR" >&6; }
7064 { echo "$as_me:$LINENO: result: no" >&5
7065 echo "${ECHO_T}no" >&6; }
7069 # Extract the first word of "pwd", so it can be a program name with args.
7070 set dummy
pwd; ac_word
=$2
7071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7073 if test "${ac_cv_path_BINPWD+set}" = set; then
7074 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir
=.
7086 for ac_exec_ext
in '' $ac_executable_extensions; do
7087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7088 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7096 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7100 BINPWD
=$ac_cv_path_BINPWD
7101 if test -n "$BINPWD"; then
7102 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7103 echo "${ECHO_T}$BINPWD" >&6; }
7105 { echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6; }
7111 # Extract the first word of "Graphviz", so it can be a program name with args.
7112 set dummy Graphviz
; ac_word
=$2
7113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7115 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir
=.
7128 for ac_exec_ext
in '' $ac_executable_extensions; do
7129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7130 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7138 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7142 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7143 if test -n "$GRAPHVIZ"; then
7144 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7145 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7147 { echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6; }
7152 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7154 cat >>confdefs.h
<<\_ACEOF
7155 #define HAVE_GRAPHVIZ 1
7158 if test "$llvm_cv_os_type" = "MingW" ; then
7159 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7162 cat >>confdefs.h
<<_ACEOF
7163 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7167 # Extract the first word of "dot", so it can be a program name with args.
7168 set dummy dot
; ac_word
=$2
7169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7171 if test "${ac_cv_path_DOT+set}" = set; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7199 if test -n "$DOT"; then
7200 { echo "$as_me:$LINENO: result: $DOT" >&5
7201 echo "${ECHO_T}$DOT" >&6; }
7203 { echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6; }
7208 if test "$DOT" != "echo dot" ; then
7210 cat >>confdefs.h
<<\_ACEOF
7214 if test "$llvm_cv_os_type" = "MingW" ; then
7215 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7218 cat >>confdefs.h
<<_ACEOF
7219 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7223 for ac_prog
in gv gsview32
7225 # Extract the first word of "$ac_prog", so it can be a program name with args.
7226 set dummy
$ac_prog; ac_word
=$2
7227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7229 if test "${ac_cv_path_GV+set}" = set; then
7230 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir
=.
7242 for ac_exec_ext
in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 if test -n "$GV"; then
7257 { echo "$as_me:$LINENO: result: $GV" >&5
7258 echo "${ECHO_T}$GV" >&6; }
7260 { echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6; }
7265 test -n "$GV" && break
7267 test -n "$GV" || GV
="echo gv"
7269 if test "$GV" != "echo gv" ; then
7271 cat >>confdefs.h
<<\_ACEOF
7275 if test "$llvm_cv_os_type" = "MingW" ; then
7276 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7279 cat >>confdefs.h
<<_ACEOF
7280 #define LLVM_PATH_GV "$GV${EXEEXT}"
7284 # Extract the first word of "dotty", so it can be a program name with args.
7285 set dummy dotty
; ac_word
=$2
7286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7288 if test "${ac_cv_path_DOTTY+set}" = set; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7300 test -z "$as_dir" && as_dir
=.
7301 for ac_exec_ext
in '' $ac_executable_extensions; do
7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7311 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7315 DOTTY
=$ac_cv_path_DOTTY
7316 if test -n "$DOTTY"; then
7317 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7318 echo "${ECHO_T}$DOTTY" >&6; }
7320 { echo "$as_me:$LINENO: result: no" >&5
7321 echo "${ECHO_T}no" >&6; }
7325 if test "$DOTTY" != "echo dotty" ; then
7327 cat >>confdefs.h
<<\_ACEOF
7328 #define HAVE_DOTTY 1
7331 if test "$llvm_cv_os_type" = "MingW" ; then
7332 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7335 cat >>confdefs.h
<<_ACEOF
7336 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7342 # Extract the first word of "perl", so it can be a program name with args.
7343 set dummy perl
; ac_word
=$2
7344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7346 if test "${ac_cv_path_PERL+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7358 test -z "$as_dir" && as_dir
=.
7359 for ac_exec_ext
in '' $ac_executable_extensions; do
7360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7361 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7373 PERL
=$ac_cv_path_PERL
7374 if test -n "$PERL"; then
7375 { echo "$as_me:$LINENO: result: $PERL" >&5
7376 echo "${ECHO_T}$PERL" >&6; }
7378 { echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6; }
7383 if test "$PERL" != "none"; then
7384 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7385 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7386 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7387 { echo "$as_me:$LINENO: result: yes" >&5
7388 echo "${ECHO_T}yes" >&6; }
7391 { echo "$as_me:$LINENO: result: not found" >&5
7392 echo "${ECHO_T}not found" >&6; }
7397 if test x
"$PERL" = xnone
; then
7400 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7401 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7402 { (exit 1); exit 1; }; }
7408 # Find a good install program. We prefer a C program (faster),
7409 # so one script is as good as another. But avoid the broken or
7410 # incompatible versions:
7411 # SysV /etc/install, /usr/sbin/install
7412 # SunOS /usr/etc/install
7413 # IRIX /sbin/install
7415 # AmigaOS /C/install, which installs bootblocks on floppy discs
7416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7419 # OS/2's system install, which has a completely different semantic
7420 # ./install, which can be erroneously created by make from ./install.sh.
7421 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7422 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7423 if test -z "$INSTALL"; then
7424 if test "${ac_cv_path_install+set}" = set; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir
=.
7432 # Account for people who put trailing slashes in PATH elements.
7434 .
/ | .
// |
/cC
/* | \
7435 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7436 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7439 # OSF1 and SCO ODT 3.0 have their own names for install.
7440 # Don't use installbsd from OSF since it installs stuff as root
7442 for ac_prog
in ginstall scoinst
install; do
7443 for ac_exec_ext
in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7445 if test $ac_prog = install &&
7446 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7447 # AIX install. It has an incompatible calling convention.
7449 elif test $ac_prog = install &&
7450 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7451 # program-specific install script used by HP pwplus--don't use.
7454 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7467 if test "${ac_cv_path_install+set}" = set; then
7468 INSTALL
=$ac_cv_path_install
7470 # As a last resort, use the slow shell script. Don't cache a
7471 # value for INSTALL within a source directory, because that will
7472 # break other packages using the cache if that directory is
7473 # removed, or if the value is a relative name.
7474 INSTALL
=$ac_install_sh
7477 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7478 echo "${ECHO_T}$INSTALL" >&6; }
7480 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7481 # It thinks the first close brace ends the variable substitution.
7482 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7484 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7486 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7489 # Extract the first word of "bzip2", so it can be a program name with args.
7490 set dummy
bzip2; ac_word
=$2
7491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7493 if test "${ac_cv_path_BZIP2+set}" = set; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7498 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir
=.
7506 for ac_exec_ext
in '' $ac_executable_extensions; do
7507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7508 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="echo "Skipped
: bzip2 not found
""
7520 BZIP2
=$ac_cv_path_BZIP2
7521 if test -n "$BZIP2"; then
7522 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7523 echo "${ECHO_T}$BZIP2" >&6; }
7525 { echo "$as_me:$LINENO: result: no" >&5
7526 echo "${ECHO_T}no" >&6; }
7530 # Extract the first word of "doxygen", so it can be a program name with args.
7531 set dummy doxygen
; ac_word
=$2
7532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7534 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7535 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir
=.
7547 for ac_exec_ext
in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="echo "Skipped
: doxygen not found
""
7561 DOXYGEN
=$ac_cv_path_DOXYGEN
7562 if test -n "$DOXYGEN"; then
7563 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7564 echo "${ECHO_T}$DOXYGEN" >&6; }
7566 { echo "$as_me:$LINENO: result: no" >&5
7567 echo "${ECHO_T}no" >&6; }
7571 # Extract the first word of "groff", so it can be a program name with args.
7572 set dummy
groff; ac_word
=$2
7573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7575 if test "${ac_cv_path_GROFF+set}" = set; then
7576 echo $ECHO_N "(cached) $ECHO_C" >&6
7580 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7587 test -z "$as_dir" && as_dir
=.
7588 for ac_exec_ext
in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF
="echo "Skipped
: groff not found
""
7602 GROFF
=$ac_cv_path_GROFF
7603 if test -n "$GROFF"; then
7604 { echo "$as_me:$LINENO: result: $GROFF" >&5
7605 echo "${ECHO_T}$GROFF" >&6; }
7607 { echo "$as_me:$LINENO: result: no" >&5
7608 echo "${ECHO_T}no" >&6; }
7612 # Extract the first word of "gzip", so it can be a program name with args.
7613 set dummy
gzip; ac_word
=$2
7614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7616 if test "${ac_cv_path_GZIP+set}" = set; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7628 test -z "$as_dir" && as_dir
=.
7629 for ac_exec_ext
in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7639 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP
="echo "Skipped
: gzip not found
""
7643 GZIP
=$ac_cv_path_GZIP
7644 if test -n "$GZIP"; then
7645 { echo "$as_me:$LINENO: result: $GZIP" >&5
7646 echo "${ECHO_T}$GZIP" >&6; }
7648 { echo "$as_me:$LINENO: result: no" >&5
7649 echo "${ECHO_T}no" >&6; }
7653 # Extract the first word of "pod2html", so it can be a program name with args.
7654 set dummy pod2html
; ac_word
=$2
7655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7657 if test "${ac_cv_path_POD2HTML+set}" = set; then
7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7669 test -z "$as_dir" && as_dir
=.
7670 for ac_exec_ext
in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7680 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="echo "Skipped
: pod2html not found
""
7684 POD2HTML
=$ac_cv_path_POD2HTML
7685 if test -n "$POD2HTML"; then
7686 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7687 echo "${ECHO_T}$POD2HTML" >&6; }
7689 { echo "$as_me:$LINENO: result: no" >&5
7690 echo "${ECHO_T}no" >&6; }
7694 # Extract the first word of "pod2man", so it can be a program name with args.
7695 set dummy pod2man
; ac_word
=$2
7696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7698 if test "${ac_cv_path_POD2MAN+set}" = set; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir
=.
7711 for ac_exec_ext
in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="echo "Skipped
: pod2man not found
""
7725 POD2MAN
=$ac_cv_path_POD2MAN
7726 if test -n "$POD2MAN"; then
7727 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7728 echo "${ECHO_T}$POD2MAN" >&6; }
7730 { echo "$as_me:$LINENO: result: no" >&5
7731 echo "${ECHO_T}no" >&6; }
7735 # Extract the first word of "runtest", so it can be a program name with args.
7736 set dummy runtest
; ac_word
=$2
7737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7739 if test "${ac_cv_path_RUNTEST+set}" = set; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir
=.
7752 for ac_exec_ext
in '' $ac_executable_extensions; do
7753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7754 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7762 test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST
="echo "Skipped
: runtest not found
""
7766 RUNTEST
=$ac_cv_path_RUNTEST
7767 if test -n "$RUNTEST"; then
7768 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7769 echo "${ECHO_T}$RUNTEST" >&6; }
7771 { echo "$as_me:$LINENO: result: no" >&5
7772 echo "${ECHO_T}no" >&6; }
7778 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7779 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7781 # Check whether --with-tclinclude was given.
7782 if test "${with_tclinclude+set}" = set; then
7783 withval
=$with_tclinclude; with_tclinclude
=${withval}
7788 if test "${ac_cv_path_tclsh+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 if test x
"${with_tclinclude}" != x
; then
7793 if test -f ${with_tclinclude}/tclsh
; then
7794 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7795 elif test -f ${with_tclinclude}/src
/tclsh
; then
7796 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7798 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7799 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7800 { (exit 1); exit 1; }; }
7804 if test x
"${ac_cv_path_tclsh}" = x
; then
7805 { echo "$as_me:$LINENO: result: none" >&5
7806 echo "${ECHO_T}none" >&6; }
7807 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
7809 # Extract the first word of "$ac_prog", so it can be a program name with args.
7810 set dummy
$ac_prog; ac_word
=$2
7811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7813 if test "${ac_cv_path_TCLSH+set}" = set; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir
=.
7826 for ac_exec_ext
in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 TCLSH
=$ac_cv_path_TCLSH
7840 if test -n "$TCLSH"; then
7841 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7842 echo "${ECHO_T}$TCLSH" >&6; }
7844 { echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6; }
7849 test -n "$TCLSH" && break
7852 if test x
"${TCLSH}" = x
; then
7853 ac_cv_path_tclsh
='';
7855 ac_cv_path_tclsh
="${TCLSH}";
7858 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7859 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7860 TCLSH="${ac_cv_path_tclsh}"
7866 # Extract the first word of "zip", so it can be a program name with args.
7867 set dummy zip; ac_word=$2
7868 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7869 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7870 if test "${ac_cv_path_ZIP+set}" = set; then
7871 echo $ECHO_N "(cached
) $ECHO_C" >&6
7875 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 test -z "$as_dir" && as_dir=.
7883 for ac_exec_ext in '' $ac_executable_extensions; do
7884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7885 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7886 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7893 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="echo "Skipped: zip not found""
7898 if test -n "$ZIP"; then
7899 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7900 echo "${ECHO_T}$ZIP" >&6; }
7902 { echo "$as_me:$LINENO: result
: no
" >&5
7903 echo "${ECHO_T}no
" >&6; }
7908 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
7909 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
7910 if test "${llvm_cv_link_use_r+set}" = set; then
7911 echo $ECHO_N "(cached
) $ECHO_C" >&6
7914 ac_cpp='$CPP $CPPFLAGS'
7915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7920 CFLAGS="$CFLAGS -Wl,-R.
"
7921 cat >conftest.$ac_ext <<_ACEOF
7924 cat confdefs.h >>conftest.$ac_ext
7925 cat >>conftest.$ac_ext <<_ACEOF
7926 /* end confdefs.h. */
7931 int main() { return 0; }
7936 rm -f conftest.$ac_objext conftest$ac_exeext
7937 if { (ac_try="$ac_link"
7939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 *) ac_try_echo=$ac_try;;
7942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7943 (eval "$ac_link") 2>conftest.er1
7945 grep -v '^ *+' conftest.er1 >conftest.err
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7951 { (case "(($ac_try" in
7952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7953 *) ac_try_echo=$ac_try;;
7955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7956 (eval "$ac_try") 2>&5
7958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7959 (exit $ac_status); }; } &&
7960 { ac_try='test -s conftest$ac_exeext'
7961 { (case "(($ac_try" in
7962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7963 *) ac_try_echo=$ac_try;;
7965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7966 (eval "$ac_try") 2>&5
7968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 llvm_cv_link_use_r=yes
7972 echo "$as_me: failed program was
:" >&5
7973 sed 's/^/| /' conftest.$ac_ext >&5
7975 llvm_cv_link_use_r=no
7978 rm -f core conftest.err conftest.$ac_objext \
7979 conftest$ac_exeext conftest.$ac_ext
7982 ac_cpp='$CPP $CPPFLAGS'
7983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7989 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
7990 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
7991 if test "$llvm_cv_link_use_r" = yes ; then
7993 cat >>confdefs.h <<\_ACEOF
7994 #define HAVE_LINK_R 1
8002 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8003 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8004 if test "${ac_cv_c_const+set}" = set; then
8005 echo $ECHO_N "(cached
) $ECHO_C" >&6
8007 cat >conftest.$ac_ext <<_ACEOF
8010 cat confdefs.h >>conftest.$ac_ext
8011 cat >>conftest.$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8017 /* FIXME: Include the comments suggested by Paul. */
8019 /* Ultrix mips cc rejects this. */
8020 typedef int charset[2];
8022 /* SunOS 4.1.1 cc rejects this. */
8023 char const *const *ccp;
8025 /* NEC SVR4.0.2 mips cc rejects this. */
8026 struct point {int x, y;};
8027 static struct point const zero = {0,0};
8028 /* AIX XL C 1.02.0.0 rejects this.
8029 It does not let you subtract one const X* pointer from another in
8030 an arm of an if-expression whose if-part is not a constant
8032 const char *g = "string
";
8033 ccp = &g + (g ? g-g : 0);
8034 /* HPUX 7.0 cc rejects these. */
8037 ccp = (char const *const *) p;
8038 { /* SCO 3.2v4 cc rejects this. */
8040 char const *s = 0 ? (char *) 0 : (char const *) 0;
8045 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8047 const int *foo = &x[0];
8050 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8051 typedef const int *iptr;
8055 { /* AIX XL C 1.02.0.0 rejects this saying
8056 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8057 struct s { int j; const int *ap[3]; };
8058 struct s *b; b->j = 5;
8060 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8064 return !x[0] && !zero.x;
8071 rm -f conftest.$ac_objext
8072 if { (ac_try="$ac_compile"
8074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8075 *) ac_try_echo=$ac_try;;
8077 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8078 (eval "$ac_compile") 2>conftest.er1
8080 grep -v '^ *+' conftest.er1 >conftest.err
8082 cat conftest.err >&5
8083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8086 { (case "(($ac_try" in
8087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8088 *) ac_try_echo=$ac_try;;
8090 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8091 (eval "$ac_try") 2>&5
8093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8094 (exit $ac_status); }; } &&
8095 { ac_try='test -s conftest.$ac_objext'
8096 { (case "(($ac_try" in
8097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8098 *) ac_try_echo=$ac_try;;
8100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8101 (eval "$ac_try") 2>&5
8103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8104 (exit $ac_status); }; }; then
8107 echo "$as_me: failed program was
:" >&5
8108 sed 's/^/| /' conftest.$ac_ext >&5
8113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8115 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8116 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8117 if test $ac_cv_c_const = no; then
8119 cat >>confdefs.h <<\_ACEOF
8131 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8132 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8133 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8134 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8135 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8136 echo $ECHO_N "(cached
) $ECHO_C" >&6
8138 cat >conftest.$ac_ext <<_ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8144 #include <sys/types.h>
8156 rm -f conftest.$ac_objext
8157 if { (ac_try="$ac_compile"
8159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8160 *) ac_try_echo=$ac_try;;
8162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8163 (eval "$ac_compile") 2>conftest.er1
8165 grep -v '^ *+' conftest.er1 >conftest.err
8167 cat conftest.err >&5
8168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8169 (exit $ac_status); } &&
8170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8171 { (case "(($ac_try" in
8172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8173 *) ac_try_echo=$ac_try;;
8175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8176 (eval "$ac_try") 2>&5
8178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8179 (exit $ac_status); }; } &&
8180 { ac_try='test -s conftest.$ac_objext'
8181 { (case "(($ac_try" in
8182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8183 *) ac_try_echo=$ac_try;;
8185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8186 (eval "$ac_try") 2>&5
8188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 eval "$as_ac_Header=yes"
8192 echo "$as_me: failed program was
:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8195 eval "$as_ac_Header=no
"
8198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8200 ac_res=`eval echo '${'$as_ac_Header'}'`
8201 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8202 echo "${ECHO_T}$ac_res" >&6; }
8203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8204 cat >>confdefs.h <<_ACEOF
8205 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8208 ac_header_dirent=$ac_hdr; break
8212 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8213 if test $ac_header_dirent = dirent.h; then
8214 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8215 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8216 if test "${ac_cv_search_opendir+set}" = set; then
8217 echo $ECHO_N "(cached
) $ECHO_C" >&6
8219 ac_func_search_save_LIBS=$LIBS
8220 cat >conftest.$ac_ext <<_ACEOF
8223 cat confdefs.h >>conftest.$ac_ext
8224 cat >>conftest.$ac_ext <<_ACEOF
8225 /* end confdefs.h. */
8227 /* Override any GCC internal prototype to avoid an error.
8228 Use char because int might match the return type of a GCC
8229 builtin and then its argument prototype would still apply. */
8242 for ac_lib in '' dir; do
8243 if test -z "$ac_lib"; then
8244 ac_res="none required
"
8247 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8249 rm -f conftest.$ac_objext conftest$ac_exeext
8250 if { (ac_try="$ac_link"
8252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8253 *) ac_try_echo=$ac_try;;
8255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8256 (eval "$ac_link") 2>conftest.er1
8258 grep -v '^ *+' conftest.er1 >conftest.err
8260 cat conftest.err >&5
8261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8262 (exit $ac_status); } &&
8263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8264 { (case "(($ac_try" in
8265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8266 *) ac_try_echo=$ac_try;;
8268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8269 (eval "$ac_try") 2>&5
8271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8272 (exit $ac_status); }; } &&
8273 { ac_try='test -s conftest$ac_exeext'
8274 { (case "(($ac_try" in
8275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8276 *) ac_try_echo=$ac_try;;
8278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_try") 2>&5
8281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8282 (exit $ac_status); }; }; then
8283 ac_cv_search_opendir=$ac_res
8285 echo "$as_me: failed program was
:" >&5
8286 sed 's/^/| /' conftest.$ac_ext >&5
8291 rm -f core conftest.err conftest.$ac_objext \
8293 if test "${ac_cv_search_opendir+set}" = set; then
8297 if test "${ac_cv_search_opendir+set}" = set; then
8300 ac_cv_search_opendir=no
8303 LIBS=$ac_func_search_save_LIBS
8305 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8306 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8307 ac_res=$ac_cv_search_opendir
8308 if test "$ac_res" != no; then
8309 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8314 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8315 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8316 if test "${ac_cv_search_opendir+set}" = set; then
8317 echo $ECHO_N "(cached
) $ECHO_C" >&6
8319 ac_func_search_save_LIBS=$LIBS
8320 cat >conftest.$ac_ext <<_ACEOF
8323 cat confdefs.h >>conftest.$ac_ext
8324 cat >>conftest.$ac_ext <<_ACEOF
8325 /* end confdefs.h. */
8327 /* Override any GCC internal prototype to avoid an error.
8328 Use char because int might match the return type of a GCC
8329 builtin and then its argument prototype would still apply. */
8342 for ac_lib in '' x; do
8343 if test -z "$ac_lib"; then
8344 ac_res="none required
"
8347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8349 rm -f conftest.$ac_objext conftest$ac_exeext
8350 if { (ac_try="$ac_link"
8352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8353 *) ac_try_echo=$ac_try;;
8355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8356 (eval "$ac_link") 2>conftest.er1
8358 grep -v '^ *+' conftest.er1 >conftest.err
8360 cat conftest.err >&5
8361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8364 { (case "(($ac_try" in
8365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8366 *) ac_try_echo=$ac_try;;
8368 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8369 (eval "$ac_try") 2>&5
8371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8372 (exit $ac_status); }; } &&
8373 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
8383 ac_cv_search_opendir=$ac_res
8385 echo "$as_me: failed program was
:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8391 rm -f core conftest.err conftest.$ac_objext \
8393 if test "${ac_cv_search_opendir+set}" = set; then
8397 if test "${ac_cv_search_opendir+set}" = set; then
8400 ac_cv_search_opendir=no
8403 LIBS=$ac_func_search_save_LIBS
8405 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8406 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8407 ac_res=$ac_cv_search_opendir
8408 if test "$ac_res" != no; then
8409 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8416 for ac_header in dlfcn.h
8418 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8419 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8420 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8421 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8422 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8423 echo $ECHO_N "(cached
) $ECHO_C" >&6
8425 ac_res=`eval echo '${'$as_ac_Header'}'`
8426 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8427 echo "${ECHO_T}$ac_res" >&6; }
8429 # Is the header compilable?
8430 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8431 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8432 cat >conftest.$ac_ext <<_ACEOF
8435 cat confdefs.h >>conftest.$ac_ext
8436 cat >>conftest.$ac_ext <<_ACEOF
8437 /* end confdefs.h. */
8438 $ac_includes_default
8439 #include <$ac_header>
8441 rm -f conftest.$ac_objext
8442 if { (ac_try="$ac_compile"
8444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8445 *) ac_try_echo=$ac_try;;
8447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8448 (eval "$ac_compile") 2>conftest.er1
8450 grep -v '^ *+' conftest.er1 >conftest.err
8452 cat conftest.err >&5
8453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8454 (exit $ac_status); } &&
8455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8456 { (case "(($ac_try" in
8457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8458 *) ac_try_echo=$ac_try;;
8460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_try") 2>&5
8463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8464 (exit $ac_status); }; } &&
8465 { ac_try='test -s conftest.$ac_objext'
8466 { (case "(($ac_try" in
8467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8468 *) ac_try_echo=$ac_try;;
8470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8471 (eval "$ac_try") 2>&5
8473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 ac_header_compiler=yes
8477 echo "$as_me: failed program was
:" >&5
8478 sed 's/^/| /' conftest.$ac_ext >&5
8480 ac_header_compiler=no
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8484 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8485 echo "${ECHO_T}$ac_header_compiler" >&6; }
8487 # Is the header present?
8488 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8489 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8490 cat >conftest.$ac_ext <<_ACEOF
8493 cat confdefs.h >>conftest.$ac_ext
8494 cat >>conftest.$ac_ext <<_ACEOF
8495 /* end confdefs.h. */
8496 #include <$ac_header>
8498 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8501 *) ac_try_echo=$ac_try;;
8503 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8504 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8506 grep -v '^ *+' conftest.er1 >conftest.err
8508 cat conftest.err >&5
8509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8510 (exit $ac_status); } >/dev/null; then
8511 if test -s conftest.err; then
8512 ac_cpp_err=$ac_c_preproc_warn_flag
8513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8520 if test -z "$ac_cpp_err"; then
8521 ac_header_preproc=yes
8523 echo "$as_me: failed program was
:" >&5
8524 sed 's/^/| /' conftest.$ac_ext >&5
8526 ac_header_preproc=no
8529 rm -f conftest.err conftest.$ac_ext
8530 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8531 echo "${ECHO_T}$ac_header_preproc" >&6; }
8533 # So? What about this header?
8534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8536 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8537 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8538 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8540 ac_header_preproc=yes
8543 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8544 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8545 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8546 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8547 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8548 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8549 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8550 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8551 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8553 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8554 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8556 ## ----------------------------------- ##
8557 ## Report this to llvmbugs@cs.uiuc.edu ##
8558 ## ----------------------------------- ##
8560 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8563 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8564 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8565 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8566 echo $ECHO_N "(cached
) $ECHO_C" >&6
8568 eval "$as_ac_Header=\
$ac_header_preproc"
8570 ac_res=`eval echo '${'$as_ac_Header'}'`
8571 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8572 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8576 cat >>confdefs.h <<_ACEOF
8577 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8584 # Check whether --enable-ltdl-install was given.
8585 if test "${enable_ltdl_install+set}" = set; then
8586 enableval=$enable_ltdl_install;
8592 if test x"${enable_ltdl_install-no}" != xno; then
8594 INSTALL_LTDL_FALSE='#'
8596 INSTALL_LTDL_TRUE='#'
8602 if test x"${enable_ltdl_convenience-no}" != xno; then
8603 CONVENIENCE_LTDL_TRUE=
8604 CONVENIENCE_LTDL_FALSE='#'
8606 CONVENIENCE_LTDL_TRUE='#'
8607 CONVENIENCE_LTDL_FALSE=
8611 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8612 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8614 libname_spec='lib$name'
8622 shlibpath_overrides_runpath=unknown
8624 dynamic_linker="$host_os ld.so
"
8625 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8626 if test "$GCC" = yes; then
8627 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8628 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8629 # if the path contains ";" then we assume it to be the separator
8630 # otherwise default to the standard path separator (i.e. ":") - it is
8631 # assumed that no part of a normal pathname contains ";" but that should
8632 # okay in the real world where ";" in dirpaths is itself problematic.
8633 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8635 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8638 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8640 need_lib_prefix=unknown
8641 hardcode_into_libs=no
8643 # when you set need_version to no, make sure it does not cause -set_version
8644 # flags to be left without arguments
8645 need_version=unknown
8650 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8651 shlibpath_var=LIBPATH
8653 # AIX 3 has no versioning support, so we append a major version to the name.
8654 soname_spec='${libname}${release}${shared_ext}$major'
8661 hardcode_into_libs=yes
8662 if test "$host_cpu" = ia64; then
8663 # AIX 5 supports IA64
8664 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8665 shlibpath_var=LD_LIBRARY_PATH
8667 # With GCC up to 2.95.x, collect2 would create an import file
8668 # for dependence libraries. The import file would start with
8669 # the line `#! .'. This would cause the generated library to
8670 # depend on `.', always an invalid library. This was fixed in
8671 # development snapshots of GCC prior to 3.0.
8673 aix4 | aix4.[01] | aix4.[01].*)
8674 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8676 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8683 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8684 # soname into executable. Probably we can add versioning support to
8685 # collect2, so additional links can be useful in future.
8686 if test "$aix_use_runtimelinking" = yes; then
8687 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8688 # instead of lib<name>.a to let people know that these are not
8689 # typical AIX shared libraries.
8690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8692 # We preserve .a as extension for shared libraries through AIX4.2
8693 # and later when we are not doing run time linking.
8694 library_names_spec='${libname}${release}.a $libname.a'
8695 soname_spec='${libname}${release}${shared_ext}$major'
8697 shlibpath_var=LIBPATH
8702 library_names_spec='$libname.ixlibrary $libname.a'
8703 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8704 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'
8708 library_names_spec='${libname}${shared_ext}'
8709 dynamic_linker="$host_os ld.so
"
8710 shlibpath_var=LIBRARY_PATH
8716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8717 soname_spec='${libname}${release}${shared_ext}$major'
8718 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8719 shlibpath_var=LD_LIBRARY_PATH
8720 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8721 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8722 # the default ld.so.conf also contains /usr/contrib/lib and
8723 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8724 # libtool to hard-code these into programs
8727 cygwin* | mingw* | pw32*)
8728 version_type=windows
8733 case $GCC,$host_os in
8734 yes,cygwin* | yes,mingw* | yes,pw32*)
8735 library_names_spec='$libname.dll.a'
8736 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8737 postinstall_cmds='base_file=`basename \${file}`~
8738 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8739 dldir=$destdir/`dirname \$dlpath`~
8740 test -d \$dldir || mkdir -p \$dldir~
8741 $install_prog $dir/$dlname \$dldir/$dlname~
8742 chmod a+x \$dldir/$dlname'
8743 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8744 dlpath=$dir/\$dldll~
8746 shlibpath_overrides_runpath=yes
8750 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8751 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8752 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8755 # MinGW DLLs use traditional 'lib' prefix
8756 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8757 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8758 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8759 # It is most probably a Windows format PATH printed by
8760 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8761 # path with ; separators, and with drive letters. We can handle the
8762 # drive letters (cygwin fileutils understands them), so leave them,
8763 # especially as we might pass files found there to a mingw objdump,
8764 # which wouldn't understand a cygwinified path. Ahh.
8765 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8767 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8771 # pw32 DLLs use 'pw' prefix rather than 'lib'
8772 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8778 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8781 dynamic_linker='Win32 ld.exe'
8782 # FIXME: first we should search . and the directory the executable is in
8786 darwin* | rhapsody*)
8787 dynamic_linker="$host_os dyld
"
8791 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8792 soname_spec='${libname}${release}${major}$shared_ext'
8793 shlibpath_overrides_runpath=yes
8794 shlibpath_var=DYLD_LIBRARY_PATH
8795 shrext_cmds='.dylib'
8796 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8797 if test "$GCC" = yes; then
8798 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
"`
8800 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8802 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8810 soname_spec='${libname}${release}${shared_ext}$major'
8811 shlibpath_var=LD_LIBRARY_PATH
8822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8823 soname_spec='${libname}${release}${shared_ext}$major'
8824 shlibpath_var=LD_LIBRARY_PATH
8825 shlibpath_overrides_runpath=no
8826 hardcode_into_libs=yes
8827 dynamic_linker='GNU ld.so'
8830 freebsd* | dragonfly*)
8831 # DragonFly does not have aout. When/if they implement a new
8832 # versioning mechanism, adjust this.
8833 if test -x /usr/bin/objformat; then
8834 objformat=`/usr/bin/objformat`
8837 freebsd[123]*) objformat=aout ;;
8841 version_type=freebsd-$objformat
8842 case $version_type in
8844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8849 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8853 shlibpath_var=LD_LIBRARY_PATH
8856 shlibpath_overrides_runpath=yes
8858 freebsd3.[01]* | freebsdelf3.[01]*)
8859 shlibpath_overrides_runpath=yes
8860 hardcode_into_libs=yes
8862 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8863 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8864 shlibpath_overrides_runpath=no
8865 hardcode_into_libs=yes
8867 freebsd*) # from 4.6 on
8868 shlibpath_overrides_runpath=yes
8869 hardcode_into_libs=yes
8878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8879 soname_spec='${libname}${release}${shared_ext}$major'
8880 shlibpath_var=LD_LIBRARY_PATH
8881 hardcode_into_libs=yes
8884 hpux9* | hpux10* | hpux11*)
8885 # Give a soname corresponding to the major version so that dld.sl refuses to
8886 # link against other versions.
8893 hardcode_into_libs=yes
8894 dynamic_linker="$host_os dld.so
"
8895 shlibpath_var=LD_LIBRARY_PATH
8896 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8898 soname_spec='${libname}${release}${shared_ext}$major'
8899 if test "X
$HPUX_IA64_MODE" = X32; then
8900 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
8902 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
8904 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8908 hardcode_into_libs=yes
8909 dynamic_linker="$host_os dld.sl
"
8910 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8911 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8913 soname_spec='${libname}${release}${shared_ext}$major'
8914 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
8915 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8919 dynamic_linker="$host_os dld.sl
"
8920 shlibpath_var=SHLIB_PATH
8921 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8923 soname_spec='${libname}${release}${shared_ext}$major'
8926 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8927 postinstall_cmds='chmod 555 $lib'
8934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8935 soname_spec='${libname}${release}${shared_ext}$major'
8936 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8937 shlibpath_var=LD_LIBRARY_PATH
8938 shlibpath_overrides_runpath=no
8939 hardcode_into_libs=yes
8942 irix5* | irix6* | nonstopux*)
8944 nonstopux*) version_type=nonstopux ;;
8946 if test "$lt_cv_prog_gnu_ld" = yes; then
8954 soname_spec='${libname}${release}${shared_ext}$major'
8955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8957 irix5* | nonstopux*)
8961 case $LD in # libtool.m4 will add one of these switches to LD
8962 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8963 libsuff= shlibsuff= libmagic=32-bit;;
8964 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8965 libsuff=32 shlibsuff=N32 libmagic=N32;;
8966 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8967 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8968 *) libsuff= shlibsuff= libmagic=never-match;;
8972 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8973 shlibpath_overrides_runpath=no
8974 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8975 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
8976 hardcode_into_libs=yes
8979 # No shared lib support for Linux oldld, aout, or coff.
8980 linux*oldld* | linux*aout* | linux*coff*)
8984 # This must be Linux ELF.
8989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8990 soname_spec='${libname}${release}${shared_ext}$major'
8991 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
8992 shlibpath_var=LD_LIBRARY_PATH
8993 shlibpath_overrides_runpath=no
8994 # This implies no fast_install, which is unacceptable.
8995 # Some rework will be needed to allow for fast_install
8996 # before this can be enabled.
8997 hardcode_into_libs=yes
8999 # Append ld.so.conf contents to the search path
9000 if test -f /etc/ld.so.conf; then
9001 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' ' '`
9002 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9005 # We used to test for /lib/ld.so.1 and disable shared libraries on
9006 # powerpc, because MkLinux only supported shared libraries with the
9007 # GNU dynamic linker. Since this was broken with cross compilers,
9008 # most powerpc-linux boxes support dynamic linking these days and
9009 # people can always --disable-shared, the test was removed, and we
9010 # assume the GNU/Linux dynamic linker is in use.
9011 dynamic_linker='GNU/Linux ld.so'
9018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9019 soname_spec='${libname}${release}${shared_ext}$major'
9020 shlibpath_var=LD_LIBRARY_PATH
9021 shlibpath_overrides_runpath=no
9022 hardcode_into_libs=yes
9023 dynamic_linker='GNU ld.so'
9030 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9032 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9033 dynamic_linker='NetBSD (a.out) ld.so'
9035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9036 soname_spec='${libname}${release}${shared_ext}$major'
9037 dynamic_linker='NetBSD ld.elf_so'
9039 shlibpath_var=LD_LIBRARY_PATH
9040 shlibpath_overrides_runpath=yes
9041 hardcode_into_libs=yes
9046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9047 shlibpath_var=LD_LIBRARY_PATH
9048 shlibpath_overrides_runpath=yes
9055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9056 soname_spec='${libname}${release}${shared_ext}$major'
9057 shlibpath_var=LD_LIBRARY_PATH
9058 shlibpath_overrides_runpath=yes
9063 sys_lib_dlsearch_path_spec="/usr
/lib
"
9065 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9067 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9068 *) need_version=no ;;
9070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9071 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9072 shlibpath_var=LD_LIBRARY_PATH
9073 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9075 openbsd2.[89] | openbsd2.[89].*)
9076 shlibpath_overrides_runpath=no
9079 shlibpath_overrides_runpath=yes
9083 shlibpath_overrides_runpath=yes
9088 libname_spec='$name'
9091 library_names_spec='$libname${shared_ext} $libname.a'
9092 dynamic_linker='OS/2 ld.exe'
9093 shlibpath_var=LIBPATH
9096 osf3* | osf4* | osf5*)
9100 soname_spec='${libname}${release}${shared_ext}$major'
9101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9102 shlibpath_var=LD_LIBRARY_PATH
9103 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9104 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9112 soname_spec='${libname}${release}${shared_ext}$major'
9113 shlibpath_var=LD_LIBRARY_PATH
9114 shlibpath_overrides_runpath=yes
9115 hardcode_into_libs=yes
9116 # ldd complains unless libraries are executable
9117 postinstall_cmds='chmod +x $lib'
9122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9123 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9124 shlibpath_var=LD_LIBRARY_PATH
9125 shlibpath_overrides_runpath=yes
9126 if test "$with_gnu_ld" = yes; then
9134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9135 soname_spec='${libname}${release}${shared_ext}$major'
9136 shlibpath_var=LD_LIBRARY_PATH
9137 case $host_vendor in
9139 shlibpath_overrides_runpath=no
9141 export_dynamic_flag_spec='${wl}-Blargedynsym'
9142 runpath_var=LD_RUN_PATH
9150 shlibpath_overrides_runpath=no
9151 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9157 if test -d /usr/nec ;then
9159 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9160 soname_spec='$libname${shared_ext}.$major'
9161 shlibpath_var=LD_LIBRARY_PATH
9165 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9166 version_type=freebsd-elf
9169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9170 soname_spec='${libname}${release}${shared_ext}$major'
9171 shlibpath_var=LD_LIBRARY_PATH
9172 hardcode_into_libs=yes
9173 if test "$with_gnu_ld" = yes; then
9174 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9175 shlibpath_overrides_runpath=no
9177 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9178 shlibpath_overrides_runpath=yes
9181 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9185 sys_lib_dlsearch_path_spec='/usr/lib'
9190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9191 soname_spec='${libname}${release}${shared_ext}$major'
9192 shlibpath_var=LD_LIBRARY_PATH
9199 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9200 echo "${ECHO_T}$dynamic_linker" >&6; }
9201 test "$dynamic_linker" = no && can_build_shared=no
9203 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9204 if test "$GCC" = yes; then
9205 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9209 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9210 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9211 if test "${libltdl_cv_shlibext+set}" = set; then
9212 echo $ECHO_N "(cached
) $ECHO_C" >&6
9216 eval libltdl_cv_shlibext=$shrext_cmds
9219 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9220 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9221 if test -n "$libltdl_cv_shlibext"; then
9223 cat >>confdefs.h <<_ACEOF
9224 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9230 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9231 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9232 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9233 echo $ECHO_N "(cached
) $ECHO_C" >&6
9235 libltdl_cv_shlibpath_var="$shlibpath_var"
9237 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9238 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9239 if test -n "$libltdl_cv_shlibpath_var"; then
9241 cat >>confdefs.h <<_ACEOF
9242 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9248 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9249 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9250 if test "${libltdl_cv_sys_search_path+set}" = set; then
9251 echo $ECHO_N "(cached
) $ECHO_C" >&6
9253 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9255 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9256 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9257 if test -n "$libltdl_cv_sys_search_path"; then
9259 for dir in $libltdl_cv_sys_search_path; do
9260 if test -z "$sys_search_path"; then
9261 sys_search_path="$dir"
9263 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9267 cat >>confdefs.h <<_ACEOF
9268 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9273 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9274 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9275 if test "${libltdl_cv_objdir+set}" = set; then
9276 echo $ECHO_N "(cached
) $ECHO_C" >&6
9278 libltdl_cv_objdir="$objdir"
9279 if test -n "$objdir"; then
9282 rm -f .libs 2>/dev/null
9283 mkdir .libs 2>/dev/null
9284 if test -d .libs; then
9285 libltdl_cv_objdir=.libs
9287 # MS-DOS does not allow filenames that begin with a dot.
9288 libltdl_cv_objdir=_libs
9290 rmdir .libs 2>/dev/null
9294 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9295 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9297 cat >>confdefs.h <<_ACEOF
9298 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9306 # Check for command to grab the raw symbol name followed by C symbol from nm.
9307 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9308 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9309 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9310 echo $ECHO_N "(cached
) $ECHO_C" >&6
9313 # These are sane defaults that work on at least a few old systems.
9314 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9316 # Character class describing NM global symbol codes.
9317 symcode='[BCDEGRST]'
9319 # Regexp to match symbols that can be accessed directly from C.
9320 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9322 # Transform an extracted symbol line into a proper C declaration
9323 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9325 # Transform an extracted symbol line into symbol name and symbol address
9326 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'"
9328 # Define system-specific variables.
9333 cygwin* | mingw* | pw32*)
9334 symcode='[ABCDGISTW]'
9336 hpux*) # Its linker distinguishes data from code symbols
9337 if test "$host_cpu" = ia64; then
9338 symcode='[ABCDEGRST]'
9340 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9341 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'"
9344 if test "$host_cpu" = ia64; then
9345 symcode='[ABCDGIRSTW]'
9346 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9347 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'"
9351 symcode='[BCDEGRST]'
9354 symcode='[BCDEGQRST]'
9365 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9373 # Handle CRLF in mingw tool chain
9377 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9381 # If we're using GNU nm, then use its standard symbol codes.
9382 case `$NM -V 2>&1` in
9383 *GNU* | *'with BFD'*)
9384 symcode='[ABCDGIRSTW]' ;;
9387 # Try without a prefix undercore, then with it.
9388 for ac_symprfx in "" "_
"; do
9390 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9391 symxfrm="\\1 $ac_symprfx\\2 \\2"
9393 # Write the raw and C identifiers.
9394 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9396 # Check to see that the pipe works correctly.
9400 cat > conftest.$ac_ext <<EOF
9405 void nm_test_func(){}
9409 int main(){nm_test_var='a';nm_test_func();return(0);}
9412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>&5
9415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9416 (exit $ac_status); }; then
9417 # Now try to grab the symbols.
9419 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9420 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9423 (exit $ac_status); } && test -s "$nlist"; then
9424 # Try sorting and uniquifying the output.
9425 if sort "$nlist" | uniq > "$nlist"T; then
9426 mv -f "$nlist"T "$nlist"
9431 # Make sure that we snagged all the symbols we need.
9432 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9433 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9434 cat <<EOF > conftest.$ac_ext
9440 # Now generate the symbol file.
9441 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9443 cat <<EOF >> conftest.$ac_ext
9444 #if defined (__STDC__) && __STDC__
9445 # define lt_ptr_t void *
9447 # define lt_ptr_t char *
9451 /* The mapping between symbol names and symbols. */
9456 lt_preloaded_symbols[] =
9459 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9460 cat <<\EOF >> conftest.$ac_ext
9468 # Now try linking the two files.
9469 mv conftest.$ac_objext conftstm.$ac_objext
9470 lt_save_LIBS="$LIBS"
9471 lt_save_CFLAGS="$CFLAGS"
9472 LIBS="conftstm.
$ac_objext"
9473 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9475 (eval $ac_link) 2>&5
9477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9478 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9481 LIBS="$lt_save_LIBS"
9482 CFLAGS="$lt_save_CFLAGS"
9484 echo "cannot
find nm_test_func
in $nlist" >&5
9487 echo "cannot
find nm_test_var
in $nlist" >&5
9490 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9493 echo "$progname: failed program was
:" >&5
9494 cat conftest.$ac_ext >&5
9496 rm -f conftest* conftst*
9498 # Do not use the global_symbol_pipe unless it works.
9499 if test "$pipe_works" = yes; then
9502 lt_cv_sys_global_symbol_pipe=
9508 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9509 lt_cv_sys_global_symbol_to_cdecl=
9511 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9512 { echo "$as_me:$LINENO: result
: failed
" >&5
9513 echo "${ECHO_T}failed
" >&6; }
9515 { echo "$as_me:$LINENO: result
: ok
" >&5
9516 echo "${ECHO_T}ok
" >&6; }
9520 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9521 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9522 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9523 echo $ECHO_N "(cached
) $ECHO_C" >&6
9525 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9526 libltdl_cv_preloaded_symbols=yes
9528 libltdl_cv_preloaded_symbols=no
9532 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9533 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9534 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9536 cat >>confdefs.h <<\_ACEOF
9537 #define HAVE_PRELOADED_SYMBOLS 1
9545 ac_cpp='$CPP $CPPFLAGS'
9546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9551 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9552 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9553 if test "${ac_cv_func_shl_load+set}" = set; then
9554 echo $ECHO_N "(cached
) $ECHO_C" >&6
9556 cat >conftest.$ac_ext <<_ACEOF
9559 cat confdefs.h >>conftest.$ac_ext
9560 cat >>conftest.$ac_ext <<_ACEOF
9561 /* end confdefs.h. */
9562 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9564 #define shl_load innocuous_shl_load
9566 /* System header to define __stub macros and hopefully few prototypes,
9567 which can conflict with char shl_load (); below.
9568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9569 <limits.h> exists even on freestanding compilers. */
9572 # include <limits.h>
9574 # include <assert.h>
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9586 /* The GNU C library defines this for functions which it implements
9587 to always fail with ENOSYS. Some functions are actually named
9588 something starting with __ and the normal name is an alias. */
9589 #if defined __stub_shl_load || defined __stub___shl_load
9601 rm -f conftest.$ac_objext conftest$ac_exeext
9602 if { (ac_try="$ac_link"
9604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9605 *) ac_try_echo=$ac_try;;
9607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9608 (eval "$ac_link") 2>conftest.er1
9610 grep -v '^ *+' conftest.er1 >conftest.err
9612 cat conftest.err >&5
9613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9614 (exit $ac_status); } &&
9615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9616 { (case "(($ac_try" in
9617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9618 *) ac_try_echo=$ac_try;;
9620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9621 (eval "$ac_try") 2>&5
9623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9624 (exit $ac_status); }; } &&
9625 { ac_try='test -s conftest$ac_exeext'
9626 { (case "(($ac_try" in
9627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9628 *) ac_try_echo=$ac_try;;
9630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9631 (eval "$ac_try") 2>&5
9633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9634 (exit $ac_status); }; }; then
9635 ac_cv_func_shl_load=yes
9637 echo "$as_me: failed program was
:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9640 ac_cv_func_shl_load=no
9643 rm -f core conftest.err conftest.$ac_objext \
9644 conftest$ac_exeext conftest.$ac_ext
9646 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9647 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9648 if test $ac_cv_func_shl_load = yes; then
9650 cat >>confdefs.h <<\_ACEOF
9651 #define HAVE_SHL_LOAD 1
9655 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9656 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9657 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9658 echo $ECHO_N "(cached
) $ECHO_C" >&6
9660 ac_check_lib_save_LIBS=$LIBS
9662 cat >conftest.$ac_ext <<_ACEOF
9665 cat confdefs.h >>conftest.$ac_ext
9666 cat >>conftest.$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9684 rm -f conftest.$ac_objext conftest$ac_exeext
9685 if { (ac_try="$ac_link"
9687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9690 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9691 (eval "$ac_link") 2>conftest.er1
9693 grep -v '^ *+' conftest.er1 >conftest.err
9695 cat conftest.err >&5
9696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9697 (exit $ac_status); } &&
9698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9699 { (case "(($ac_try" in
9700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9701 *) ac_try_echo=$ac_try;;
9703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9704 (eval "$ac_try") 2>&5
9706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9707 (exit $ac_status); }; } &&
9708 { ac_try='test -s conftest$ac_exeext'
9709 { (case "(($ac_try" in
9710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9711 *) ac_try_echo=$ac_try;;
9713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9714 (eval "$ac_try") 2>&5
9716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9717 (exit $ac_status); }; }; then
9718 ac_cv_lib_dld_shl_load=yes
9720 echo "$as_me: failed program was
:" >&5
9721 sed 's/^/| /' conftest.$ac_ext >&5
9723 ac_cv_lib_dld_shl_load=no
9726 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9730 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9731 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9732 if test $ac_cv_lib_dld_shl_load = yes; then
9734 cat >>confdefs.h <<\_ACEOF
9735 #define HAVE_SHL_LOAD 1
9738 LIBADD_DL="$LIBADD_DL -ldld"
9740 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9741 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9743 echo $ECHO_N "(cached
) $ECHO_C" >&6
9745 ac_check_lib_save_LIBS=$LIBS
9747 cat >conftest.$ac_ext <<_ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;;
9775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9778 grep -v '^ *+' conftest.er1 >conftest.err
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9782 (exit $ac_status); } &&
9783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9784 { (case "(($ac_try" in
9785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9786 *) ac_try_echo=$ac_try;;
9788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9789 (eval "$ac_try") 2>&5
9791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9792 (exit $ac_status); }; } &&
9793 { ac_try='test -s conftest$ac_exeext'
9794 { (case "(($ac_try" in
9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_try") 2>&5
9801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9802 (exit $ac_status); }; }; then
9803 ac_cv_lib_dl_dlopen=yes
9805 echo "$as_me: failed program was
:" >&5
9806 sed 's/^/| /' conftest.$ac_ext >&5
9808 ac_cv_lib_dl_dlopen=no
9811 rm -f core conftest.err conftest.$ac_objext \
9812 conftest$ac_exeext conftest.$ac_ext
9813 LIBS=$ac_check_lib_save_LIBS
9815 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
9816 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9817 if test $ac_cv_lib_dl_dlopen = yes; then
9819 cat >>confdefs.h <<\_ACEOF
9820 #define HAVE_LIBDL 1
9823 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
9825 cat >conftest.$ac_ext <<_ACEOF
9828 cat confdefs.h >>conftest.$ac_ext
9829 cat >>conftest.$ac_ext <<_ACEOF
9830 /* end confdefs.h. */
9843 rm -f conftest.$ac_objext conftest$ac_exeext
9844 if { (ac_try="$ac_link"
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_link") 2>conftest.er1
9852 grep -v '^ *+' conftest.er1 >conftest.err
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9856 (exit $ac_status); } &&
9857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9858 { (case "(($ac_try" in
9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_try") 2>&5
9865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9866 (exit $ac_status); }; } &&
9867 { ac_try='test -s conftest$ac_exeext'
9868 { (case "(($ac_try" in
9869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9870 *) ac_try_echo=$ac_try;;
9872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9873 (eval "$ac_try") 2>&5
9875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9876 (exit $ac_status); }; }; then
9878 cat >>confdefs.h <<\_ACEOF
9879 #define HAVE_LIBDL 1
9881 libltdl_cv_func_dlopen="yes"
9883 echo "$as_me: failed program was
:" >&5
9884 sed 's/^/| /' conftest.$ac_ext >&5
9886 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
9887 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
9888 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9889 echo $ECHO_N "(cached
) $ECHO_C" >&6
9891 ac_check_lib_save_LIBS=$LIBS
9893 cat >conftest.$ac_ext <<_ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (ac_try="$ac_link"
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_link") 2>conftest.er1
9924 grep -v '^ *+' conftest.er1 >conftest.err
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9928 (exit $ac_status); } &&
9929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9930 { (case "(($ac_try" in
9931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9932 *) ac_try_echo=$ac_try;;
9934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9935 (eval "$ac_try") 2>&5
9937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9938 (exit $ac_status); }; } &&
9939 { ac_try='test -s conftest$ac_exeext'
9940 { (case "(($ac_try" in
9941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9942 *) ac_try_echo=$ac_try;;
9944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9945 (eval "$ac_try") 2>&5
9947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9948 (exit $ac_status); }; }; then
9949 ac_cv_lib_svld_dlopen=yes
9951 echo "$as_me: failed program was
:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9954 ac_cv_lib_svld_dlopen=no
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_lib_save_LIBS
9961 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
9962 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9963 if test $ac_cv_lib_svld_dlopen = yes; then
9965 cat >>confdefs.h <<\_ACEOF
9966 #define HAVE_LIBDL 1
9969 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
9971 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
9972 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
9973 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9974 echo $ECHO_N "(cached
) $ECHO_C" >&6
9976 ac_check_lib_save_LIBS=$LIBS
9978 cat >conftest.$ac_ext <<_ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
10000 rm -f conftest.$ac_objext conftest$ac_exeext
10001 if { (ac_try="$ac_link"
10002 case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_link") 2>conftest.er1
10009 grep -v '^ *+' conftest.er1 >conftest.err
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10015 { (case "(($ac_try" in
10016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10017 *) ac_try_echo=$ac_try;;
10019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10020 (eval "$ac_try") 2>&5
10022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try='test -s conftest$ac_exeext'
10025 { (case "(($ac_try" in
10026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10027 *) ac_try_echo=$ac_try;;
10029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10030 (eval "$ac_try") 2>&5
10032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10033 (exit $ac_status); }; }; then
10034 ac_cv_lib_dld_dld_link=yes
10036 echo "$as_me: failed program was
:" >&5
10037 sed 's/^/| /' conftest.$ac_ext >&5
10039 ac_cv_lib_dld_dld_link=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 LIBS=$ac_check_lib_save_LIBS
10046 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10047 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10048 if test $ac_cv_lib_dld_dld_link = yes; then
10050 cat >>confdefs.h <<\_ACEOF
10054 LIBADD_DL="$LIBADD_DL -ldld"
10056 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10057 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10058 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10059 echo $ECHO_N "(cached
) $ECHO_C" >&6
10061 cat >conftest.$ac_ext <<_ACEOF
10064 cat confdefs.h >>conftest.$ac_ext
10065 cat >>conftest.$ac_ext <<_ACEOF
10066 /* end confdefs.h. */
10067 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10069 #define _dyld_func_lookup innocuous__dyld_func_lookup
10071 /* System header to define __stub macros and hopefully few prototypes,
10072 which can conflict with char _dyld_func_lookup (); below.
10073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10074 <limits.h> exists even on freestanding compilers. */
10077 # include <limits.h>
10079 # include <assert.h>
10082 #undef _dyld_func_lookup
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10090 char _dyld_func_lookup ();
10091 /* The GNU C library defines this for functions which it implements
10092 to always fail with ENOSYS. Some functions are actually named
10093 something starting with __ and the normal name is an alias. */
10094 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10101 return _dyld_func_lookup ();
10106 rm -f conftest.$ac_objext conftest$ac_exeext
10107 if { (ac_try="$ac_link"
10108 case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_link") 2>conftest.er1
10115 grep -v '^ *+' conftest.er1 >conftest.err
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10119 (exit $ac_status); } &&
10120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10121 { (case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_try") 2>&5
10128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10129 (exit $ac_status); }; } &&
10130 { ac_try='test -s conftest$ac_exeext'
10131 { (case "(($ac_try" in
10132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10133 *) ac_try_echo=$ac_try;;
10135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10136 (eval "$ac_try") 2>&5
10138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10139 (exit $ac_status); }; }; then
10140 ac_cv_func__dyld_func_lookup=yes
10142 echo "$as_me: failed program was
:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 ac_cv_func__dyld_func_lookup=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10151 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10152 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10153 if test $ac_cv_func__dyld_func_lookup = yes; then
10155 cat >>confdefs.h <<\_ACEOF
10156 #define HAVE_DYLD 1
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10182 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10184 lt_save_LIBS="$LIBS"
10185 LIBS="$LIBS $LIBADD_DL"
10187 for ac_func in dlerror
10189 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10190 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10191 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10192 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10193 echo $ECHO_N "(cached
) $ECHO_C" >&6
10195 cat >conftest.$ac_ext <<_ACEOF
10198 cat confdefs.h >>conftest.$ac_ext
10199 cat >>conftest.$ac_ext <<_ACEOF
10200 /* end confdefs.h. */
10201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10203 #define $ac_func innocuous_$ac_func
10205 /* System header to define __stub macros and hopefully few prototypes,
10206 which can conflict with char $ac_func (); below.
10207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10208 <limits.h> exists even on freestanding compilers. */
10211 # include <limits.h>
10213 # include <assert.h>
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10225 /* The GNU C library defines this for functions which it implements
10226 to always fail with ENOSYS. Some functions are actually named
10227 something starting with __ and the normal name is an alias. */
10228 #if defined __stub_$ac_func || defined __stub___$ac_func
10235 return $ac_func ();
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (ac_try="$ac_link"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_link") 2>conftest.er1
10249 grep -v '^ *+' conftest.er1 >conftest.err
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10255 { (case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10259 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_try") 2>&5
10262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10263 (exit $ac_status); }; } &&
10264 { ac_try='test -s conftest$ac_exeext'
10265 { (case "(($ac_try" in
10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10267 *) ac_try_echo=$ac_try;;
10269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10270 (eval "$ac_try") 2>&5
10272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10273 (exit $ac_status); }; }; then
10274 eval "$as_ac_var=yes"
10276 echo "$as_me: failed program was
:" >&5
10277 sed 's/^/| /' conftest.$ac_ext >&5
10279 eval "$as_ac_var=no
"
10282 rm -f core conftest.err conftest.$ac_objext \
10283 conftest$ac_exeext conftest.$ac_ext
10285 ac_res=`eval echo '${'$as_ac_var'}'`
10286 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10287 echo "${ECHO_T}$ac_res" >&6; }
10288 if test `eval echo '${'$as_ac_var'}'` = yes; then
10289 cat >>confdefs.h <<_ACEOF
10290 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10296 LIBS="$lt_save_LIBS"
10299 ac_cpp='$CPP $CPPFLAGS'
10300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10306 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10307 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10308 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10309 echo $ECHO_N "(cached
) $ECHO_C" >&6
10311 ac_cv_sys_symbol_underscore=no
10312 cat > conftest.$ac_ext <<EOF
10313 void nm_test_func(){}
10314 int main(){nm_test_func;return 0;}
10316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10317 (eval $ac_compile) 2>&5
10319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10320 (exit $ac_status); }; then
10321 # Now try to grab the symbols.
10322 ac_nlist=conftest.nm
10323 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10324 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10327 (exit $ac_status); } && test -s "$ac_nlist"; then
10328 # See whether the symbols have a leading underscore.
10329 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10330 ac_cv_sys_symbol_underscore=yes
10332 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10335 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10339 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10342 echo "configure
: failed program was
:" >&5
10348 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10349 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10352 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10353 if test x"$libltdl_cv_func_dlopen" = xyes ||
10354 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10355 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10356 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10357 if test "${libltdl_cv_need_uscore+set}" = set; then
10358 echo $ECHO_N "(cached
) $ECHO_C" >&6
10360 libltdl_cv_need_uscore=unknown
10362 LIBS="$LIBS $LIBADD_DL"
10363 if test "$cross_compiling" = yes; then :
10364 libltdl_cv_need_uscore=cross
10366 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10367 lt_status=$lt_dlunknown
10368 cat > conftest.$ac_ext <<EOF
10369 #line 10369 "configure
"
10370 #include "confdefs.h
"
10379 # define LT_DLGLOBAL RTLD_GLOBAL
10382 # define LT_DLGLOBAL DL_GLOBAL
10384 # define LT_DLGLOBAL 0
10388 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10389 find out it does not work in some platform. */
10390 #ifndef LT_DLLAZY_OR_NOW
10392 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10395 # define LT_DLLAZY_OR_NOW DL_LAZY
10398 # define LT_DLLAZY_OR_NOW RTLD_NOW
10401 # define LT_DLLAZY_OR_NOW DL_NOW
10403 # define LT_DLLAZY_OR_NOW 0
10411 extern "C
" void exit (int);
10414 void fnord() { int i=42;}
10417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10418 int status = $lt_dlunknown;
10422 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10423 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10424 /* dlclose (self); */
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433 (eval $ac_link) 2>&5
10435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10436 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10437 (./conftest; exit; ) >&5 2>/dev/null
10439 case x$lt_status in
10440 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10441 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10442 x$lt_dlunknown|x*) ;;
10445 # compilation failed
10454 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10455 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10459 if test x"$libltdl_cv_need_uscore" = xyes; then
10461 cat >>confdefs.h <<\_ACEOF
10462 #define NEED_USCORE 1
10468 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10469 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10470 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10471 echo $ECHO_N "(cached
) $ECHO_C" >&6
10473 # PORTME does your system automatically load deplibs for dlopen?
10474 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10475 # For now, we just catch OSes we know something about -- in the
10476 # future, we'll try test this programmatically.
10477 libltdl_cv_sys_dlopen_deplibs=unknown
10479 aix3*|aix4.1.*|aix4.2.*)
10480 # Unknown whether this is true for these versions of AIX, but
10481 # we want this `case' here to explicitly catch those versions.
10482 libltdl_cv_sys_dlopen_deplibs=unknown
10485 libltdl_cv_sys_dlopen_deplibs=yes
10488 # Assuming the user has installed a libdl from somewhere, this is true
10489 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10490 libltdl_cv_sys_dlopen_deplibs=yes
10492 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10493 # GNU and its variants, using gnu ld.so (Glibc)
10494 libltdl_cv_sys_dlopen_deplibs=yes
10497 libltdl_cv_sys_dlopen_deplibs=yes
10500 libltdl_cv_sys_dlopen_deplibs=yes
10502 irix[12345]*|irix6.[01]*)
10503 # Catch all versions of IRIX before 6.2, and indicate that we don't
10504 # know how it worked for any of those versions.
10505 libltdl_cv_sys_dlopen_deplibs=unknown
10508 # The case above catches anything before 6.2, and it's known that
10509 # at 6.2 and later dlopen does load deplibs.
10510 libltdl_cv_sys_dlopen_deplibs=yes
10513 libltdl_cv_sys_dlopen_deplibs=yes
10516 libltdl_cv_sys_dlopen_deplibs=yes
10519 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10520 # it did *not* use an RPATH in a shared library to find objects the
10521 # library depends on, so we explictly say `no'.
10522 libltdl_cv_sys_dlopen_deplibs=no
10524 osf5.0|osf5.0a|osf5.1)
10525 # dlopen *does* load deplibs and with the right loader patch applied
10526 # it even uses RPATH in a shared library to search for shared objects
10527 # that the library depends on, but there's no easy way to know if that
10528 # patch is installed. Since this is the case, all we can really
10529 # say is unknown -- it depends on the patch being installed. If
10530 # it is, this changes to `yes'. Without it, it would be `no'.
10531 libltdl_cv_sys_dlopen_deplibs=unknown
10534 # the two cases above should catch all versions of osf <= 5.1. Read
10535 # the comments above for what we know about them.
10536 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10537 # is used to find them so we can finally say `yes'.
10538 libltdl_cv_sys_dlopen_deplibs=yes
10541 libltdl_cv_sys_dlopen_deplibs=yes
10543 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10544 libltdl_cv_sys_dlopen_deplibs=yes
10549 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10550 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10551 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10553 cat >>confdefs.h <<\_ACEOF
10554 #define LTDL_DLOPEN_DEPLIBS 1
10560 for ac_header in argz.h
10562 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10564 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10565 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10566 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10567 echo $ECHO_N "(cached
) $ECHO_C" >&6
10569 ac_res=`eval echo '${'$as_ac_Header'}'`
10570 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10571 echo "${ECHO_T}$ac_res" >&6; }
10573 # Is the header compilable?
10574 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10575 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10576 cat >conftest.$ac_ext <<_ACEOF
10579 cat confdefs.h >>conftest.$ac_ext
10580 cat >>conftest.$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 $ac_includes_default
10583 #include <$ac_header>
10585 rm -f conftest.$ac_objext
10586 if { (ac_try="$ac_compile"
10587 case "(($ac_try" in
10588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10589 *) ac_try_echo=$ac_try;;
10591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10592 (eval "$ac_compile") 2>conftest.er1
10594 grep -v '^ *+' conftest.er1 >conftest.err
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10600 { (case "(($ac_try" in
10601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10602 *) ac_try_echo=$ac_try;;
10604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10605 (eval "$ac_try") 2>&5
10607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try='test -s conftest.$ac_objext'
10610 { (case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_try") 2>&5
10617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10618 (exit $ac_status); }; }; then
10619 ac_header_compiler=yes
10621 echo "$as_me: failed program was
:" >&5
10622 sed 's/^/| /' conftest.$ac_ext >&5
10624 ac_header_compiler=no
10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10628 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10629 echo "${ECHO_T}$ac_header_compiler" >&6; }
10631 # Is the header present?
10632 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10633 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10634 cat >conftest.$ac_ext <<_ACEOF
10637 cat confdefs.h >>conftest.$ac_ext
10638 cat >>conftest.$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10640 #include <$ac_header>
10642 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10643 case "(($ac_try" in
10644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10645 *) ac_try_echo=$ac_try;;
10647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10648 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10650 grep -v '^ *+' conftest.er1 >conftest.err
10652 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10654 (exit $ac_status); } >/dev/null; then
10655 if test -s conftest.err; then
10656 ac_cpp_err=$ac_c_preproc_warn_flag
10657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10664 if test -z "$ac_cpp_err"; then
10665 ac_header_preproc=yes
10667 echo "$as_me: failed program was
:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10670 ac_header_preproc=no
10673 rm -f conftest.err conftest.$ac_ext
10674 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10675 echo "${ECHO_T}$ac_header_preproc" >&6; }
10677 # So? What about this header?
10678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10680 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10681 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10682 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10684 ac_header_preproc=yes
10687 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10688 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10689 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10690 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10691 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10692 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10693 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10694 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10695 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10697 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10698 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10700 ## ----------------------------------- ##
10701 ## Report this to llvmbugs@cs.uiuc.edu ##
10702 ## ----------------------------------- ##
10704 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10707 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10708 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10709 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10710 echo $ECHO_N "(cached
) $ECHO_C" >&6
10712 eval "$as_ac_Header=\
$ac_header_preproc"
10714 ac_res=`eval echo '${'$as_ac_Header'}'`
10715 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10716 echo "${ECHO_T}$ac_res" >&6; }
10719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10720 cat >>confdefs.h <<_ACEOF
10721 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10729 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10730 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10731 if test "${ac_cv_type_error_t+set}" = set; then
10732 echo $ECHO_N "(cached
) $ECHO_C" >&6
10734 cat >conftest.$ac_ext <<_ACEOF
10737 cat confdefs.h >>conftest.$ac_ext
10738 cat >>conftest.$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10744 typedef error_t ac__type_new_;
10748 if ((ac__type_new_ *) 0)
10750 if (sizeof (ac__type_new_))
10756 rm -f conftest.$ac_objext
10757 if { (ac_try="$ac_compile"
10758 case "(($ac_try" in
10759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10760 *) ac_try_echo=$ac_try;;
10762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10763 (eval "$ac_compile") 2>conftest.er1
10765 grep -v '^ *+' conftest.er1 >conftest.err
10767 cat conftest.err >&5
10768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10769 (exit $ac_status); } &&
10770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10771 { (case "(($ac_try" in
10772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10773 *) ac_try_echo=$ac_try;;
10775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10776 (eval "$ac_try") 2>&5
10778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10779 (exit $ac_status); }; } &&
10780 { ac_try='test -s conftest.$ac_objext'
10781 { (case "(($ac_try" in
10782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10783 *) ac_try_echo=$ac_try;;
10785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10786 (eval "$ac_try") 2>&5
10788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 ac_cv_type_error_t=yes
10792 echo "$as_me: failed program was
:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10795 ac_cv_type_error_t=no
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
10801 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10802 if test $ac_cv_type_error_t = yes; then
10804 cat >>confdefs.h <<_ACEOF
10805 #define HAVE_ERROR_T 1
10811 cat >>confdefs.h <<\_ACEOF
10812 #define error_t int
10823 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
10825 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10826 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10827 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10828 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10829 echo $ECHO_N "(cached
) $ECHO_C" >&6
10831 cat >conftest.$ac_ext <<_ACEOF
10834 cat confdefs.h >>conftest.$ac_ext
10835 cat >>conftest.$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10839 #define $ac_func innocuous_$ac_func
10841 /* System header to define __stub macros and hopefully few prototypes,
10842 which can conflict with char $ac_func (); below.
10843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10844 <limits.h> exists even on freestanding compilers. */
10847 # include <limits.h>
10849 # include <assert.h>
10854 /* Override any GCC internal prototype to avoid an error.
10855 Use char because int might match the return type of a GCC
10856 builtin and then its argument prototype would still apply. */
10861 /* The GNU C library defines this for functions which it implements
10862 to always fail with ENOSYS. Some functions are actually named
10863 something starting with __ and the normal name is an alias. */
10864 #if defined __stub_$ac_func || defined __stub___$ac_func
10871 return $ac_func ();
10876 rm -f conftest.$ac_objext conftest$ac_exeext
10877 if { (ac_try="$ac_link"
10878 case "(($ac_try" in
10879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10880 *) ac_try_echo=$ac_try;;
10882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10883 (eval "$ac_link") 2>conftest.er1
10885 grep -v '^ *+' conftest.er1 >conftest.err
10887 cat conftest.err >&5
10888 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10891 { (case "(($ac_try" in
10892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10893 *) ac_try_echo=$ac_try;;
10895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10896 (eval "$ac_try") 2>&5
10898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10899 (exit $ac_status); }; } &&
10900 { ac_try='test -s conftest$ac_exeext'
10901 { (case "(($ac_try" in
10902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10903 *) ac_try_echo=$ac_try;;
10905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_try") 2>&5
10908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10909 (exit $ac_status); }; }; then
10910 eval "$as_ac_var=yes"
10912 echo "$as_me: failed program was
:" >&5
10913 sed 's/^/| /' conftest.$ac_ext >&5
10915 eval "$as_ac_var=no
"
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10921 ac_res=`eval echo '${'$as_ac_var'}'`
10922 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10923 echo "${ECHO_T}$ac_res" >&6; }
10924 if test `eval echo '${'$as_ac_var'}'` = yes; then
10925 cat >>confdefs.h <<_ACEOF
10926 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10959 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
10962 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10963 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10964 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10965 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10966 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10967 echo $ECHO_N "(cached
) $ECHO_C" >&6
10969 ac_res=`eval echo '${'$as_ac_Header'}'`
10970 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10971 echo "${ECHO_T}$ac_res" >&6; }
10973 # Is the header compilable?
10974 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10975 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10976 cat >conftest.$ac_ext <<_ACEOF
10979 cat confdefs.h >>conftest.$ac_ext
10980 cat >>conftest.$ac_ext <<_ACEOF
10981 /* end confdefs.h. */
10982 $ac_includes_default
10983 #include <$ac_header>
10985 rm -f conftest.$ac_objext
10986 if { (ac_try="$ac_compile"
10987 case "(($ac_try" in
10988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_compile") 2>conftest.er1
10994 grep -v '^ *+' conftest.er1 >conftest.err
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11000 { (case "(($ac_try" in
11001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11002 *) ac_try_echo=$ac_try;;
11004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11005 (eval "$ac_try") 2>&5
11007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11008 (exit $ac_status); }; } &&
11009 { ac_try='test -s conftest.$ac_objext'
11010 { (case "(($ac_try" in
11011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11012 *) ac_try_echo=$ac_try;;
11014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11015 (eval "$ac_try") 2>&5
11017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11018 (exit $ac_status); }; }; then
11019 ac_header_compiler=yes
11021 echo "$as_me: failed program was
:" >&5
11022 sed 's/^/| /' conftest.$ac_ext >&5
11024 ac_header_compiler=no
11027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11028 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11029 echo "${ECHO_T}$ac_header_compiler" >&6; }
11031 # Is the header present?
11032 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11033 echo $ECHO_N "checking
$ac_header presence...
$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 #include <$ac_header>
11042 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11043 case "(($ac_try" in
11044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11045 *) ac_try_echo=$ac_try;;
11047 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11048 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11050 grep -v '^ *+' conftest.er1 >conftest.err
11052 cat conftest.err >&5
11053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11054 (exit $ac_status); } >/dev/null; then
11055 if test -s conftest.err; then
11056 ac_cpp_err=$ac_c_preproc_warn_flag
11057 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11064 if test -z "$ac_cpp_err"; then
11065 ac_header_preproc=yes
11067 echo "$as_me: failed program was
:" >&5
11068 sed 's/^/| /' conftest.$ac_ext >&5
11070 ac_header_preproc=no
11073 rm -f conftest.err conftest.$ac_ext
11074 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11075 echo "${ECHO_T}$ac_header_preproc" >&6; }
11077 # So? What about this header?
11078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11080 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11081 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11082 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11084 ac_header_preproc=yes
11087 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11088 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11089 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11090 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11091 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11092 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11093 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11094 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11095 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11097 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11098 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11100 ## ----------------------------------- ##
11101 ## Report this to llvmbugs@cs.uiuc.edu ##
11102 ## ----------------------------------- ##
11104 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11107 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11108 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11109 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11110 echo $ECHO_N "(cached
) $ECHO_C" >&6
11112 eval "$as_ac_Header=\
$ac_header_preproc"
11114 ac_res=`eval echo '${'$as_ac_Header'}'`
11115 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11116 echo "${ECHO_T}$ac_res" >&6; }
11119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11120 cat >>confdefs.h <<_ACEOF
11121 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11132 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11134 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11135 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11136 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11137 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11138 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11139 echo $ECHO_N "(cached
) $ECHO_C" >&6
11141 ac_res=`eval echo '${'$as_ac_Header'}'`
11142 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11143 echo "${ECHO_T}$ac_res" >&6; }
11145 # Is the header compilable?
11146 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11147 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11148 cat >conftest.$ac_ext <<_ACEOF
11151 cat confdefs.h >>conftest.$ac_ext
11152 cat >>conftest.$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11154 $ac_includes_default
11155 #include <$ac_header>
11157 rm -f conftest.$ac_objext
11158 if { (ac_try="$ac_compile"
11159 case "(($ac_try" in
11160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11161 *) ac_try_echo=$ac_try;;
11163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11164 (eval "$ac_compile") 2>conftest.er1
11166 grep -v '^ *+' conftest.er1 >conftest.err
11168 cat conftest.err >&5
11169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11170 (exit $ac_status); } &&
11171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11172 { (case "(($ac_try" in
11173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11174 *) ac_try_echo=$ac_try;;
11176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11177 (eval "$ac_try") 2>&5
11179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11180 (exit $ac_status); }; } &&
11181 { ac_try='test -s conftest.$ac_objext'
11182 { (case "(($ac_try" in
11183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11184 *) ac_try_echo=$ac_try;;
11186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11187 (eval "$ac_try") 2>&5
11189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_header_compiler=yes
11193 echo "$as_me: failed program was
:" >&5
11194 sed 's/^/| /' conftest.$ac_ext >&5
11196 ac_header_compiler=no
11199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11200 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11201 echo "${ECHO_T}$ac_header_compiler" >&6; }
11203 # Is the header present?
11204 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11205 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11206 cat >conftest.$ac_ext <<_ACEOF
11209 cat confdefs.h >>conftest.$ac_ext
11210 cat >>conftest.$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11212 #include <$ac_header>
11214 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11215 case "(($ac_try" in
11216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11217 *) ac_try_echo=$ac_try;;
11219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11220 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11222 grep -v '^ *+' conftest.er1 >conftest.err
11224 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11226 (exit $ac_status); } >/dev/null; then
11227 if test -s conftest.err; then
11228 ac_cpp_err=$ac_c_preproc_warn_flag
11229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11236 if test -z "$ac_cpp_err"; then
11237 ac_header_preproc=yes
11239 echo "$as_me: failed program was
:" >&5
11240 sed 's/^/| /' conftest.$ac_ext >&5
11242 ac_header_preproc=no
11245 rm -f conftest.err conftest.$ac_ext
11246 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11247 echo "${ECHO_T}$ac_header_preproc" >&6; }
11249 # So? What about this header?
11250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11252 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11253 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11254 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11255 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11256 ac_header_preproc=yes
11259 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11260 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11261 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11262 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11263 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11264 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11265 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11266 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11267 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11269 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11270 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11272 ## ----------------------------------- ##
11273 ## Report this to llvmbugs@cs.uiuc.edu ##
11274 ## ----------------------------------- ##
11276 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11279 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11280 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11281 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11282 echo $ECHO_N "(cached
) $ECHO_C" >&6
11284 eval "$as_ac_Header=\
$ac_header_preproc"
11286 ac_res=`eval echo '${'$as_ac_Header'}'`
11287 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11288 echo "${ECHO_T}$ac_res" >&6; }
11291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11292 cat >>confdefs.h <<_ACEOF
11293 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11302 for ac_header in string.h strings.h
11304 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11305 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11306 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11307 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11308 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11309 echo $ECHO_N "(cached
) $ECHO_C" >&6
11311 ac_res=`eval echo '${'$as_ac_Header'}'`
11312 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11313 echo "${ECHO_T}$ac_res" >&6; }
11315 # Is the header compilable?
11316 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11317 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11318 cat >conftest.$ac_ext <<_ACEOF
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11324 $ac_includes_default
11325 #include <$ac_header>
11327 rm -f conftest.$ac_objext
11328 if { (ac_try="$ac_compile"
11329 case "(($ac_try" in
11330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11331 *) ac_try_echo=$ac_try;;
11333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11334 (eval "$ac_compile") 2>conftest.er1
11336 grep -v '^ *+' conftest.er1 >conftest.err
11338 cat conftest.err >&5
11339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11342 { (case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_try") 2>&5
11349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11350 (exit $ac_status); }; } &&
11351 { ac_try='test -s conftest.$ac_objext'
11352 { (case "(($ac_try" in
11353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11354 *) ac_try_echo=$ac_try;;
11356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11357 (eval "$ac_try") 2>&5
11359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_header_compiler=yes
11363 echo "$as_me: failed program was
:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11366 ac_header_compiler=no
11369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11370 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11371 echo "${ECHO_T}$ac_header_compiler" >&6; }
11373 # Is the header present?
11374 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11375 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11376 cat >conftest.$ac_ext <<_ACEOF
11379 cat confdefs.h >>conftest.$ac_ext
11380 cat >>conftest.$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11382 #include <$ac_header>
11384 if { (ac_try="$ac_cpp conftest.
$ac_ext"
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_cpp conftest.
$ac_ext") 2>conftest.er1
11392 grep -v '^ *+' conftest.er1 >conftest.err
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11396 (exit $ac_status); } >/dev/null; then
11397 if test -s conftest.err; then
11398 ac_cpp_err=$ac_c_preproc_warn_flag
11399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11406 if test -z "$ac_cpp_err"; then
11407 ac_header_preproc=yes
11409 echo "$as_me: failed program was
:" >&5
11410 sed 's/^/| /' conftest.$ac_ext >&5
11412 ac_header_preproc=no
11415 rm -f conftest.err conftest.$ac_ext
11416 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11417 echo "${ECHO_T}$ac_header_preproc" >&6; }
11419 # So? What about this header?
11420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11422 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11423 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11424 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11426 ac_header_preproc=yes
11429 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11430 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11431 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11432 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11433 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11434 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11435 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11436 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11437 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11439 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11440 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11442 ## ----------------------------------- ##
11443 ## Report this to llvmbugs@cs.uiuc.edu ##
11444 ## ----------------------------------- ##
11446 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11449 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11450 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11451 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11452 echo $ECHO_N "(cached
) $ECHO_C" >&6
11454 eval "$as_ac_Header=\
$ac_header_preproc"
11456 ac_res=`eval echo '${'$as_ac_Header'}'`
11457 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11458 echo "${ECHO_T}$ac_res" >&6; }
11461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11462 cat >>confdefs.h <<_ACEOF
11463 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11473 for ac_func in strchr index
11475 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11476 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11477 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11478 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11479 echo $ECHO_N "(cached
) $ECHO_C" >&6
11481 cat >conftest.$ac_ext <<_ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11489 #define $ac_func innocuous_$ac_func
11491 /* System header to define __stub macros and hopefully few prototypes,
11492 which can conflict with char $ac_func (); below.
11493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11494 <limits.h> exists even on freestanding compilers. */
11497 # include <limits.h>
11499 # include <assert.h>
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11511 /* The GNU C library defines this for functions which it implements
11512 to always fail with ENOSYS. Some functions are actually named
11513 something starting with __ and the normal name is an alias. */
11514 #if defined __stub_$ac_func || defined __stub___$ac_func
11521 return $ac_func ();
11526 rm -f conftest.$ac_objext conftest$ac_exeext
11527 if { (ac_try="$ac_link"
11528 case "(($ac_try" in
11529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11533 (eval "$ac_link") 2>conftest.er1
11535 grep -v '^ *+' conftest.er1 >conftest.err
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11539 (exit $ac_status); } &&
11540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11541 { (case "(($ac_try" in
11542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11543 *) ac_try_echo=$ac_try;;
11545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11546 (eval "$ac_try") 2>&5
11548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11549 (exit $ac_status); }; } &&
11550 { ac_try='test -s conftest$ac_exeext'
11551 { (case "(($ac_try" in
11552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11556 (eval "$ac_try") 2>&5
11558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11559 (exit $ac_status); }; }; then
11560 eval "$as_ac_var=yes"
11562 echo "$as_me: failed program was
:" >&5
11563 sed 's/^/| /' conftest.$ac_ext >&5
11565 eval "$as_ac_var=no
"
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11571 ac_res=`eval echo '${'$as_ac_var'}'`
11572 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11573 echo "${ECHO_T}$ac_res" >&6; }
11574 if test `eval echo '${'$as_ac_var'}'` = yes; then
11575 cat >>confdefs.h <<_ACEOF
11576 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11584 for ac_func in strrchr rindex
11586 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11587 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11588 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11589 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11590 echo $ECHO_N "(cached
) $ECHO_C" >&6
11592 cat >conftest.$ac_ext <<_ACEOF
11595 cat confdefs.h >>conftest.$ac_ext
11596 cat >>conftest.$ac_ext <<_ACEOF
11597 /* end confdefs.h. */
11598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11600 #define $ac_func innocuous_$ac_func
11602 /* System header to define __stub macros and hopefully few prototypes,
11603 which can conflict with char $ac_func (); below.
11604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11605 <limits.h> exists even on freestanding compilers. */
11608 # include <limits.h>
11610 # include <assert.h>
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11622 /* The GNU C library defines this for functions which it implements
11623 to always fail with ENOSYS. Some functions are actually named
11624 something starting with __ and the normal name is an alias. */
11625 #if defined __stub_$ac_func || defined __stub___$ac_func
11632 return $ac_func ();
11637 rm -f conftest.$ac_objext conftest$ac_exeext
11638 if { (ac_try="$ac_link"
11639 case "(($ac_try" in
11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;;
11643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11644 (eval "$ac_link") 2>conftest.er1
11646 grep -v '^ *+' conftest.er1 >conftest.err
11648 cat conftest.err >&5
11649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11652 { (case "(($ac_try" in
11653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11654 *) ac_try_echo=$ac_try;;
11656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11657 (eval "$ac_try") 2>&5
11659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11660 (exit $ac_status); }; } &&
11661 { ac_try='test -s conftest$ac_exeext'
11662 { (case "(($ac_try" in
11663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11664 *) ac_try_echo=$ac_try;;
11666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11667 (eval "$ac_try") 2>&5
11669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11670 (exit $ac_status); }; }; then
11671 eval "$as_ac_var=yes"
11673 echo "$as_me: failed program was
:" >&5
11674 sed 's/^/| /' conftest.$ac_ext >&5
11676 eval "$as_ac_var=no
"
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11682 ac_res=`eval echo '${'$as_ac_var'}'`
11683 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11684 echo "${ECHO_T}$ac_res" >&6; }
11685 if test `eval echo '${'$as_ac_var'}'` = yes; then
11686 cat >>confdefs.h <<_ACEOF
11687 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11695 for ac_func in memcpy bcopy
11697 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11698 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11699 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11700 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11701 echo $ECHO_N "(cached
) $ECHO_C" >&6
11703 cat >conftest.$ac_ext <<_ACEOF
11706 cat confdefs.h >>conftest.$ac_ext
11707 cat >>conftest.$ac_ext <<_ACEOF
11708 /* end confdefs.h. */
11709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11711 #define $ac_func innocuous_$ac_func
11713 /* System header to define __stub macros and hopefully few prototypes,
11714 which can conflict with char $ac_func (); below.
11715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11716 <limits.h> exists even on freestanding compilers. */
11719 # include <limits.h>
11721 # include <assert.h>
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11733 /* The GNU C library defines this for functions which it implements
11734 to always fail with ENOSYS. Some functions are actually named
11735 something starting with __ and the normal name is an alias. */
11736 #if defined __stub_$ac_func || defined __stub___$ac_func
11743 return $ac_func ();
11748 rm -f conftest.$ac_objext conftest$ac_exeext
11749 if { (ac_try="$ac_link"
11750 case "(($ac_try" in
11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752 *) ac_try_echo=$ac_try;;
11754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11755 (eval "$ac_link") 2>conftest.er1
11757 grep -v '^ *+' conftest.er1 >conftest.err
11759 cat conftest.err >&5
11760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11761 (exit $ac_status); } &&
11762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11763 { (case "(($ac_try" in
11764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11765 *) ac_try_echo=$ac_try;;
11767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11768 (eval "$ac_try") 2>&5
11770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11771 (exit $ac_status); }; } &&
11772 { ac_try='test -s conftest$ac_exeext'
11773 { (case "(($ac_try" in
11774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11775 *) ac_try_echo=$ac_try;;
11777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11778 (eval "$ac_try") 2>&5
11780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11781 (exit $ac_status); }; }; then
11782 eval "$as_ac_var=yes"
11784 echo "$as_me: failed program was
:" >&5
11785 sed 's/^/| /' conftest.$ac_ext >&5
11787 eval "$as_ac_var=no
"
11790 rm -f core conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11793 ac_res=`eval echo '${'$as_ac_var'}'`
11794 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11795 echo "${ECHO_T}$ac_res" >&6; }
11796 if test `eval echo '${'$as_ac_var'}'` = yes; then
11797 cat >>confdefs.h <<_ACEOF
11798 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11806 for ac_func in memmove strcmp
11808 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11809 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11810 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11811 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11812 echo $ECHO_N "(cached
) $ECHO_C" >&6
11814 cat >conftest.$ac_ext <<_ACEOF
11817 cat confdefs.h >>conftest.$ac_ext
11818 cat >>conftest.$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11822 #define $ac_func innocuous_$ac_func
11824 /* System header to define __stub macros and hopefully few prototypes,
11825 which can conflict with char $ac_func (); below.
11826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11827 <limits.h> exists even on freestanding compilers. */
11830 # include <limits.h>
11832 # include <assert.h>
11837 /* Override any GCC internal prototype to avoid an error.
11838 Use char because int might match the return type of a GCC
11839 builtin and then its argument prototype would still apply. */
11844 /* The GNU C library defines this for functions which it implements
11845 to always fail with ENOSYS. Some functions are actually named
11846 something starting with __ and the normal name is an alias. */
11847 #if defined __stub_$ac_func || defined __stub___$ac_func
11854 return $ac_func ();
11859 rm -f conftest.$ac_objext conftest$ac_exeext
11860 if { (ac_try="$ac_link"
11861 case "(($ac_try" in
11862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11863 *) ac_try_echo=$ac_try;;
11865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11866 (eval "$ac_link") 2>conftest.er1
11868 grep -v '^ *+' conftest.er1 >conftest.err
11870 cat conftest.err >&5
11871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11874 { (case "(($ac_try" in
11875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11876 *) ac_try_echo=$ac_try;;
11878 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11879 (eval "$ac_try") 2>&5
11881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11882 (exit $ac_status); }; } &&
11883 { ac_try='test -s conftest$ac_exeext'
11884 { (case "(($ac_try" in
11885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11886 *) ac_try_echo=$ac_try;;
11888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11889 (eval "$ac_try") 2>&5
11891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11892 (exit $ac_status); }; }; then
11893 eval "$as_ac_var=yes"
11895 echo "$as_me: failed program was
:" >&5
11896 sed 's/^/| /' conftest.$ac_ext >&5
11898 eval "$as_ac_var=no
"
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11904 ac_res=`eval echo '${'$as_ac_var'}'`
11905 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11906 echo "${ECHO_T}$ac_res" >&6; }
11907 if test `eval echo '${'$as_ac_var'}'` = yes; then
11908 cat >>confdefs.h <<_ACEOF
11909 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11918 for ac_func in closedir opendir readdir
11920 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11921 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11922 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11923 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11924 echo $ECHO_N "(cached
) $ECHO_C" >&6
11926 cat >conftest.$ac_ext <<_ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11934 #define $ac_func innocuous_$ac_func
11936 /* System header to define __stub macros and hopefully few prototypes,
11937 which can conflict with char $ac_func (); below.
11938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11939 <limits.h> exists even on freestanding compilers. */
11942 # include <limits.h>
11944 # include <assert.h>
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11956 /* The GNU C library defines this for functions which it implements
11957 to always fail with ENOSYS. Some functions are actually named
11958 something starting with __ and the normal name is an alias. */
11959 #if defined __stub_$ac_func || defined __stub___$ac_func
11966 return $ac_func ();
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (ac_try="$ac_link"
11973 case "(($ac_try" in
11974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11975 *) ac_try_echo=$ac_try;;
11977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11978 (eval "$ac_link") 2>conftest.er1
11980 grep -v '^ *+' conftest.er1 >conftest.err
11982 cat conftest.err >&5
11983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11986 { (case "(($ac_try" in
11987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11988 *) ac_try_echo=$ac_try;;
11990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11991 (eval "$ac_try") 2>&5
11993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try='test -s conftest$ac_exeext'
11996 { (case "(($ac_try" in
11997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11998 *) ac_try_echo=$ac_try;;
12000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12001 (eval "$ac_try") 2>&5
12003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 eval "$as_ac_var=yes"
12007 echo "$as_me: failed program was
:" >&5
12008 sed 's/^/| /' conftest.$ac_ext >&5
12010 eval "$as_ac_var=no
"
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12016 ac_res=`eval echo '${'$as_ac_var'}'`
12017 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12018 echo "${ECHO_T}$ac_res" >&6; }
12019 if test `eval echo '${'$as_ac_var'}'` = yes; then
12020 cat >>confdefs.h <<_ACEOF
12021 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12028 # Check whether --enable-shared was given.
12029 if test "${enable_shared+set}" = set; then
12030 enableval=$enable_shared; p=${PACKAGE-default}
12032 yes) enable_shared=yes ;;
12033 no) enable_shared=no ;;
12036 # Look at the argument we got. We use all the common list separators.
12037 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12038 for pkg in $enableval; do
12040 if test "X
$pkg" = "X
$p"; then
12052 # Check whether --enable-static was given.
12053 if test "${enable_static+set}" = set; then
12054 enableval=$enable_static; p=${PACKAGE-default}
12056 yes) enable_static=yes ;;
12057 no) enable_static=no ;;
12060 # Look at the argument we got. We use all the common list separators.
12061 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12062 for pkg in $enableval; do
12064 if test "X
$pkg" = "X
$p"; then
12076 # Check whether --enable-fast-install was given.
12077 if test "${enable_fast_install+set}" = set; then
12078 enableval=$enable_fast_install; p=${PACKAGE-default}
12080 yes) enable_fast_install=yes ;;
12081 no) enable_fast_install=no ;;
12083 enable_fast_install=no
12084 # Look at the argument we got. We use all the common list separators.
12085 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12086 for pkg in $enableval; do
12088 if test "X
$pkg" = "X
$p"; then
12089 enable_fast_install=yes
12096 enable_fast_install=yes
12100 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12101 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12102 if test "${lt_cv_path_SED+set}" = set; then
12103 echo $ECHO_N "(cached
) $ECHO_C" >&6
12105 # Loop through the user's path and test for sed and gsed.
12106 # Then use that list of sed's as ones to test for truncation.
12107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12108 for as_dir in $PATH
12111 test -z "$as_dir" && as_dir=.
12112 for lt_ac_prog in sed gsed; do
12113 for ac_exec_ext in '' $ac_executable_extensions; do
12114 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12115 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12122 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12123 # along with /bin/sed that truncates output.
12124 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12125 test ! -f $lt_ac_sed && continue
12126 cat /dev/null > conftest.in
12128 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12129 # Check for GNU sed and select it if it is found.
12130 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12131 lt_cv_path_SED=$lt_ac_sed
12135 cat conftest.in conftest.in >conftest.tmp
12136 mv conftest.tmp conftest.in
12137 cp conftest.in conftest.nl
12139 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12140 cmp -s conftest.out conftest.nl || break
12141 # 10000 chars as input seems more than enough
12142 test $lt_ac_count -gt 10 && break
12143 lt_ac_count=`expr $lt_ac_count + 1`
12144 if test $lt_ac_count -gt $lt_ac_max; then
12145 lt_ac_max=$lt_ac_count
12146 lt_cv_path_SED=$lt_ac_sed
12153 SED=$lt_cv_path_SED
12154 { echo "$as_me:$LINENO: result
: $SED" >&5
12155 echo "${ECHO_T}$SED" >&6; }
12158 # Check whether --with-gnu-ld was given.
12159 if test "${with_gnu_ld+set}" = set; then
12160 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12166 if test "$GCC" = yes; then
12167 # Check if gcc -print-prog-name=ld gives a path.
12168 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12169 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12172 # gcc leaves a trailing carriage return which upsets mingw
12173 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12175 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12178 # Accept absolute paths.
12180 re_direlt='/[^/][^/]*/\.\./'
12181 # Canonicalize the pathname of ld
12182 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12183 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12184 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12186 test -z "$LD" && LD="$ac_prog"
12189 # If it fails, then pretend we aren't using GCC.
12193 # If it is relative, then search for the first ld in PATH.
12194 with_gnu_ld=unknown
12197 elif test "$with_gnu_ld" = yes; then
12198 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12199 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12201 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12202 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12204 if test "${lt_cv_path_LD+set}" = set; then
12205 echo $ECHO_N "(cached
) $ECHO_C" >&6
12207 if test -z "$LD"; then
12208 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12209 for ac_dir in $PATH; do
12211 test -z "$ac_dir" && ac_dir=.
12212 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12213 lt_cv_path_LD="$ac_dir/$ac_prog"
12214 # Check to see if the program is GNU ld. I'd rather use --version,
12215 # but apparently some variants of GNU ld only accept -v.
12216 # Break only if it was the GNU/non-GNU ld that we prefer.
12217 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12218 *GNU* | *'with BFD'*)
12219 test "$with_gnu_ld" != no && break
12222 test "$with_gnu_ld" != yes && break
12229 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12233 LD="$lt_cv_path_LD"
12234 if test -n "$LD"; then
12235 { echo "$as_me:$LINENO: result
: $LD" >&5
12236 echo "${ECHO_T}$LD" >&6; }
12238 { echo "$as_me:$LINENO: result
: no
" >&5
12239 echo "${ECHO_T}no
" >&6; }
12241 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12242 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12243 { (exit 1); exit 1; }; }
12244 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12245 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12246 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12247 echo $ECHO_N "(cached
) $ECHO_C" >&6
12249 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12250 case `$LD -v 2>&1 </dev/null` in
12251 *GNU* | *'with BFD'*)
12252 lt_cv_prog_gnu_ld=yes
12255 lt_cv_prog_gnu_ld=no
12259 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12260 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12261 with_gnu_ld=$lt_cv_prog_gnu_ld
12264 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12265 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12266 if test "${lt_cv_ld_reload_flag+set}" = set; then
12267 echo $ECHO_N "(cached
) $ECHO_C" >&6
12269 lt_cv_ld_reload_flag='-r'
12271 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12272 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12273 reload_flag=$lt_cv_ld_reload_flag
12274 case $reload_flag in
12276 *) reload_flag=" $reload_flag" ;;
12278 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12281 if test "$GCC" = yes; then
12282 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12284 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12289 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12290 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12291 if test "${lt_cv_deplibs_check_method+set}" = set; then
12292 echo $ECHO_N "(cached
) $ECHO_C" >&6
12294 lt_cv_file_magic_cmd='$MAGIC_CMD'
12295 lt_cv_file_magic_test_file=
12296 lt_cv_deplibs_check_method='unknown'
12297 # Need to set the preceding variable on all platforms that support
12298 # interlibrary dependencies.
12299 # 'none' -- dependencies not supported.
12300 # `unknown' -- same as none, but documents that we really don't know.
12301 # 'pass_all' -- all dependencies passed with no checks.
12302 # 'test_compile' -- check by making test program.
12303 # 'file_magic [[regex]]' -- check by looking for files in library path
12304 # which responds to the $file_magic_cmd with a given extended regex.
12305 # If you have `file' or equivalent on your system and you're not sure
12306 # whether `pass_all' will *always* work, you probably want this one.
12310 lt_cv_deplibs_check_method=pass_all
12314 lt_cv_deplibs_check_method=pass_all
12318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12319 lt_cv_file_magic_cmd='/usr/bin/file -L'
12320 lt_cv_file_magic_test_file=/shlib/libc.so
12324 # func_win32_libid is a shell function defined in ltmain.sh
12325 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12326 lt_cv_file_magic_cmd='func_win32_libid'
12330 # Base MSYS/MinGW do not provide the 'file' command needed by
12331 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12333 lt_cv_file_magic_cmd='$OBJDUMP -f'
12336 darwin* | rhapsody*)
12337 lt_cv_deplibs_check_method=pass_all
12340 freebsd* | kfreebsd*-gnu | dragonfly*)
12341 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12344 # Not sure whether the presence of OpenBSD here was a mistake.
12345 # Let's accept both of them until this is cleared up.
12346 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12347 lt_cv_file_magic_cmd=/usr/bin/file
12348 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12352 lt_cv_deplibs_check_method=pass_all
12357 lt_cv_deplibs_check_method=pass_all
12360 hpux10.20* | hpux11*)
12361 lt_cv_file_magic_cmd=/usr/bin/file
12364 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12365 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12368 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]'
12369 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12372 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12373 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12379 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12383 irix5* | irix6* | nonstopux*)
12385 *-32|*"-32 ") libmagic=32-bit;;
12386 *-n32|*"-n32 ") libmagic=N32;;
12387 *-64|*"-64 ") libmagic=64-bit;;
12388 *) libmagic=never-match;;
12390 lt_cv_deplibs_check_method=pass_all
12393 # This must be Linux ELF.
12395 lt_cv_deplibs_check_method=pass_all
12399 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12400 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12407 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12408 lt_cv_file_magic_cmd=/usr/bin/file
12409 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12413 lt_cv_deplibs_check_method=unknown
12417 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12418 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12420 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12424 osf3* | osf4* | osf5*)
12425 lt_cv_deplibs_check_method=pass_all
12429 lt_cv_deplibs_check_method=pass_all
12433 case $host_vendor in
12435 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]'
12436 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12439 lt_cv_deplibs_check_method=pass_all
12442 lt_cv_file_magic_cmd='/bin/file'
12443 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12446 lt_cv_file_magic_cmd='/bin/file'
12447 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12448 lt_cv_file_magic_test_file=/lib/libc.so
12451 lt_cv_deplibs_check_method=pass_all
12454 lt_cv_deplibs_check_method=pass_all
12459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12460 lt_cv_deplibs_check_method=pass_all
12465 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12466 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12467 file_magic_cmd=$lt_cv_file_magic_cmd
12468 deplibs_check_method=$lt_cv_deplibs_check_method
12469 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12473 # If no C compiler was specified, use CC.
12476 # If no C compiler flags were specified, use CFLAGS.
12477 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12479 # Allow CC to be a program name with arguments.
12482 # Check whether --enable-libtool-lock was given.
12483 if test "${enable_libtool_lock+set}" = set; then
12484 enableval=$enable_libtool_lock;
12487 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12489 # Some flags need to be propagated to the compiler or linker for good
12493 # Find out which ABI we are using.
12494 echo 'int i;' > conftest.$ac_ext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>&5
12498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12499 (exit $ac_status); }; then
12500 case `/usr/bin/file conftest.$ac_objext` in
12502 HPUX_IA64_MODE="32"
12505 HPUX_IA64_MODE="64"
12512 # Find out which ABI we are using.
12513 echo '#line 12513 "configure
"' > conftest.$ac_ext
12514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12515 (eval $ac_compile) 2>&5
12517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12518 (exit $ac_status); }; then
12519 if test "$lt_cv_prog_gnu_ld" = yes; then
12520 case `/usr/bin/file conftest.$ac_objext` in
12522 LD="${LD-ld} -melf32bsmip"
12525 LD="${LD-ld} -melf32bmipn32"
12528 LD="${LD-ld} -melf64bmip"
12532 case `/usr/bin/file conftest.$ac_objext` in
12548 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12549 # Find out which ABI we are using.
12550 echo 'int i;' > conftest.$ac_ext
12551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12552 (eval $ac_compile) 2>&5
12554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12555 (exit $ac_status); }; then
12556 case `/usr/bin/file conftest.o` in
12560 LD="${LD-ld} -m elf_i386
"
12562 ppc64-*linux*|powerpc64-*linux*)
12563 LD="${LD-ld} -m elf32ppclinux
"
12566 LD="${LD-ld} -m elf_s390
"
12569 LD="${LD-ld} -m elf32_sparc
"
12576 LD="${LD-ld} -m elf_x86_64
"
12578 ppc*-*linux*|powerpc*-*linux*)
12579 LD="${LD-ld} -m elf64ppc
"
12582 LD="${LD-ld} -m elf64_s390
"
12585 LD="${LD-ld} -m elf64_sparc
"
12595 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12596 SAVE_CFLAGS="$CFLAGS"
12597 CFLAGS="$CFLAGS -belf"
12598 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12599 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12600 if test "${lt_cv_cc_needs_belf+set}" = set; then
12601 echo $ECHO_N "(cached
) $ECHO_C" >&6
12604 ac_cpp='$CPP $CPPFLAGS'
12605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12609 cat >conftest.$ac_ext <<_ACEOF
12612 cat confdefs.h >>conftest.$ac_ext
12613 cat >>conftest.$ac_ext <<_ACEOF
12614 /* end confdefs.h. */
12624 rm -f conftest.$ac_objext conftest$ac_exeext
12625 if { (ac_try="$ac_link"
12626 case "(($ac_try" in
12627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12628 *) ac_try_echo=$ac_try;;
12630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12631 (eval "$ac_link") 2>conftest.er1
12633 grep -v '^ *+' conftest.er1 >conftest.err
12635 cat conftest.err >&5
12636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12637 (exit $ac_status); } &&
12638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12639 { (case "(($ac_try" in
12640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12641 *) ac_try_echo=$ac_try;;
12643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12644 (eval "$ac_try") 2>&5
12646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try='test -s conftest$ac_exeext'
12649 { (case "(($ac_try" in
12650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12651 *) ac_try_echo=$ac_try;;
12653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12654 (eval "$ac_try") 2>&5
12656 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12657 (exit $ac_status); }; }; then
12658 lt_cv_cc_needs_belf=yes
12660 echo "$as_me: failed program was
:" >&5
12661 sed 's/^/| /' conftest.$ac_ext >&5
12663 lt_cv_cc_needs_belf=no
12666 rm -f core conftest.err conftest.$ac_objext \
12667 conftest$ac_exeext conftest.$ac_ext
12669 ac_cpp='$CPP $CPPFLAGS'
12670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12675 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12676 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12677 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12678 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12679 CFLAGS="$SAVE_CFLAGS"
12683 # Find out which ABI we are using.
12684 echo 'int i;' > conftest.$ac_ext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>&5
12688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12689 (exit $ac_status); }; then
12690 case `/usr/bin/file conftest.o` in
12692 case $lt_cv_prog_gnu_ld in
12693 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12694 *) LD="${LD-ld} -64" ;;
12705 need_locks="$enable_libtool_lock"
12710 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12711 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12712 (test "X
$CXX" != "Xg
++"))) ; then
12714 ac_cpp='$CXXCPP $CPPFLAGS'
12715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12718 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12719 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12720 if test -z "$CXXCPP"; then
12721 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12722 echo $ECHO_N "(cached
) $ECHO_C" >&6
12724 # Double quotes because CXXCPP needs to be expanded
12725 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12727 ac_preproc_ok=false
12728 for ac_cxx_preproc_warn_flag in '' yes
12730 # Use a header file that comes with gcc, so configuring glibc
12731 # with a fresh cross-compiler works.
12732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12733 # <limits.h> exists even on freestanding compilers.
12734 # On the NeXT, cc -E runs the code through the compiler's parser,
12735 # not just through cpp. "Syntax error
" is here to catch this case.
12736 cat >conftest.$ac_ext <<_ACEOF
12739 cat confdefs.h >>conftest.$ac_ext
12740 cat >>conftest.$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12743 # include <limits.h>
12745 # include <assert.h>
12749 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12750 case "(($ac_try" in
12751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12752 *) ac_try_echo=$ac_try;;
12754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12755 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12757 grep -v '^ *+' conftest.er1 >conftest.err
12759 cat conftest.err >&5
12760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12761 (exit $ac_status); } >/dev/null; then
12762 if test -s conftest.err; then
12763 ac_cpp_err=$ac_cxx_preproc_warn_flag
12764 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12771 if test -z "$ac_cpp_err"; then
12774 echo "$as_me: failed program was
:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12777 # Broken: fails on valid input.
12781 rm -f conftest.err conftest.$ac_ext
12783 # OK, works on sane cases. Now check whether nonexistent headers
12784 # can be detected and how.
12785 cat >conftest.$ac_ext <<_ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 #include <ac_nonexistent.h>
12793 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12794 case "(($ac_try" in
12795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12796 *) ac_try_echo=$ac_try;;
12798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12799 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12801 grep -v '^ *+' conftest.er1 >conftest.err
12803 cat conftest.err >&5
12804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12805 (exit $ac_status); } >/dev/null; then
12806 if test -s conftest.err; then
12807 ac_cpp_err=$ac_cxx_preproc_warn_flag
12808 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12815 if test -z "$ac_cpp_err"; then
12816 # Broken: success on invalid input.
12819 echo "$as_me: failed program was
:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12822 # Passes both tests.
12827 rm -f conftest.err conftest.$ac_ext
12830 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12831 rm -f conftest.err conftest.$ac_ext
12832 if $ac_preproc_ok; then
12837 ac_cv_prog_CXXCPP=$CXXCPP
12840 CXXCPP=$ac_cv_prog_CXXCPP
12842 ac_cv_prog_CXXCPP=$CXXCPP
12844 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
12845 echo "${ECHO_T}$CXXCPP" >&6; }
12846 ac_preproc_ok=false
12847 for ac_cxx_preproc_warn_flag in '' yes
12849 # Use a header file that comes with gcc, so configuring glibc
12850 # with a fresh cross-compiler works.
12851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12852 # <limits.h> exists even on freestanding compilers.
12853 # On the NeXT, cc -E runs the code through the compiler's parser,
12854 # not just through cpp. "Syntax error
" is here to catch this case.
12855 cat >conftest.$ac_ext <<_ACEOF
12858 cat confdefs.h >>conftest.$ac_ext
12859 cat >>conftest.$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12862 # include <limits.h>
12864 # include <assert.h>
12868 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12869 case "(($ac_try" in
12870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12871 *) ac_try_echo=$ac_try;;
12873 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12874 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12876 grep -v '^ *+' conftest.er1 >conftest.err
12878 cat conftest.err >&5
12879 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12880 (exit $ac_status); } >/dev/null; then
12881 if test -s conftest.err; then
12882 ac_cpp_err=$ac_cxx_preproc_warn_flag
12883 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12890 if test -z "$ac_cpp_err"; then
12893 echo "$as_me: failed program was
:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12896 # Broken: fails on valid input.
12900 rm -f conftest.err conftest.$ac_ext
12902 # OK, works on sane cases. Now check whether nonexistent headers
12903 # can be detected and how.
12904 cat >conftest.$ac_ext <<_ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910 #include <ac_nonexistent.h>
12912 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12913 case "(($ac_try" in
12914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12915 *) ac_try_echo=$ac_try;;
12917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12918 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12920 grep -v '^ *+' conftest.er1 >conftest.err
12922 cat conftest.err >&5
12923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12924 (exit $ac_status); } >/dev/null; then
12925 if test -s conftest.err; then
12926 ac_cpp_err=$ac_cxx_preproc_warn_flag
12927 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12934 if test -z "$ac_cpp_err"; then
12935 # Broken: success on invalid input.
12938 echo "$as_me: failed program was
:" >&5
12939 sed 's/^/| /' conftest.$ac_ext >&5
12941 # Passes both tests.
12946 rm -f conftest.err conftest.$ac_ext
12949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12950 rm -f conftest.err conftest.$ac_ext
12951 if $ac_preproc_ok; then
12954 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
12955 See \
`config.log' for more details." >&5
12956 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12957 See \`config.log
' for more details." >&2;}
12958 { (exit 1); exit 1; }; }
12962 ac_cpp='$CXXCPP $CPPFLAGS'
12963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12964 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12971 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
12972 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12973 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12974 if test -n "$ac_tool_prefix"; then
12975 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
12977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12981 if test "${ac_cv_prog_F77+set}" = set; then
12982 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 if test -n "$F77"; then
12985 ac_cv_prog_F77="$F77" # Let the user override the test.
12987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12988 for as_dir in $PATH
12991 test -z "$as_dir" && as_dir=.
12992 for ac_exec_ext in '' $ac_executable_extensions; do
12993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12994 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 F77=$ac_cv_prog_F77
13005 if test -n "$F77"; then
13006 { echo "$as_me:$LINENO: result: $F77" >&5
13007 echo "${ECHO_T}$F77" >&6; }
13009 { echo "$as_me:$LINENO: result: no" >&5
13010 echo "${ECHO_T}no" >&6; }
13014 test -n "$F77" && break
13017 if test -z "$F77"; then
13019 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
13021 # Extract the first word of "$ac_prog", so it can be a program name with args.
13022 set dummy $ac_prog; ac_word=$2
13023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13025 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 if test -n "$ac_ct_F77"; then
13029 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13032 for as_dir in $PATH
13035 test -z "$as_dir" && as_dir=.
13036 for ac_exec_ext in '' $ac_executable_extensions; do
13037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13038 ac_cv_prog_ac_ct_F77="$ac_prog"
13039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13049 if test -n "$ac_ct_F77"; then
13050 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13051 echo "${ECHO_T}$ac_ct_F77" >&6; }
13053 { echo "$as_me:$LINENO: result: no" >&5
13054 echo "${ECHO_T}no" >&6; }
13058 test -n "$ac_ct_F77" && break
13061 if test "x$ac_ct_F77" = x; then
13064 case $cross_compiling:$ac_tool_warned in
13066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13067 whose name does not start with the host triplet. If you think this
13068 configuration is useful to you, please write to autoconf@gnu.org." >&5
13069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13070 whose name does not start with the host triplet. If you think this
13071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13072 ac_tool_warned=yes ;;
13079 # Provide some information about the compiler.
13080 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13081 ac_compiler=`set X $ac_compile; echo $2`
13082 { (ac_try="$ac_compiler --version >&5"
13083 case "(($ac_try" in
13084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13085 *) ac_try_echo=$ac_try;;
13087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13088 (eval "$ac_compiler --version >&5") 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }
13092 { (ac_try="$ac_compiler -v >&5"
13093 case "(($ac_try" in
13094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13095 *) ac_try_echo=$ac_try;;
13097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13098 (eval "$ac_compiler -v >&5") 2>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }
13102 { (ac_try="$ac_compiler -V >&5"
13103 case "(($ac_try" in
13104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13105 *) ac_try_echo=$ac_try;;
13107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13108 (eval "$ac_compiler -V >&5") 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }
13114 # If we don't use
`.F' as extension, the preprocessor is not run on the
13115 # input file. (Note that this only needs to work for GNU compilers.)
13116 ac_save_ext=$ac_ext
13118 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13119 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13120 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13123 cat >conftest.$ac_ext <<_ACEOF
13131 rm -f conftest.$ac_objext
13132 if { (ac_try="$ac_compile"
13133 case "(($ac_try" in
13134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13135 *) ac_try_echo
=$ac_try;;
13137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13138 (eval "$ac_compile") 2>conftest.er1
13140 grep -v '^ *+' conftest.er1
>conftest.err
13142 cat conftest.err
>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); } &&
13145 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13146 { (case "(($ac_try" in
13147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13148 *) ac_try_echo=$ac_try;;
13150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13151 (eval "$ac_try") 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try='test -s conftest.$ac_objext'
13156 { (case "(($ac_try" in
13157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13158 *) ac_try_echo
=$ac_try;;
13160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13161 (eval "$ac_try") 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 ac_compiler_gnu
=yes
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13174 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13177 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13178 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13179 ac_ext
=$ac_save_ext
13180 ac_test_FFLAGS
=${FFLAGS+set}
13181 ac_save_FFLAGS
=$FFLAGS
13183 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13184 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13185 if test "${ac_cv_prog_f77_g+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 cat >conftest.
$ac_ext <<_ACEOF
13194 rm -f conftest.
$ac_objext
13195 if { (ac_try
="$ac_compile"
13196 case "(($ac_try" in
13197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13198 *) ac_try_echo=$ac_try;;
13200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13201 (eval "$ac_compile") 2>conftest.er1
13203 grep -v '^ *+' conftest.er1 >conftest.err
13205 cat conftest.err >&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); } &&
13208 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13209 { (case "(($ac_try" in
13210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13211 *) ac_try_echo
=$ac_try;;
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13214 (eval "$ac_try") 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; } &&
13218 { ac_try
='test -s conftest.$ac_objext'
13219 { (case "(($ac_try" in
13220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_try") 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 ac_cv_prog_f77_g=yes
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13233 ac_cv_prog_f77_g=no
13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13239 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13240 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13241 if test "$ac_test_FFLAGS" = set; then
13242 FFLAGS=$ac_save_FFLAGS
13243 elif test $ac_cv_prog_f77_g = yes; then
13244 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13250 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13257 G77=`test $ac_compiler_gnu = yes && echo yes`
13259 ac_cpp='$CPP $CPPFLAGS'
13260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13266 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13268 # find the maximum length of command line arguments
13269 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13270 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13271 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13279 # On DJGPP, this test can blow up pretty badly due to problems in libc
13280 # (any single argument exceeding 2000 bytes causes a buffer overrun
13281 # during glob expansion). Even if it were fixed, the result of this
13282 # check would be larger than it should be.
13283 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13287 # Under GNU Hurd, this test is not required because there is
13288 # no limit to the length of command line arguments.
13289 # Libtool will interpret -1 as no limit whatsoever
13290 lt_cv_sys_max_cmd_len=-1;
13294 # On Win9x/ME, this test blows up -- it succeeds, but takes
13295 # about 5 minutes as the teststring grows exponentially.
13296 # Worse, since 9x/ME are not pre-emptively multitasking,
13297 # you end up with a "frozen" computer, even though with patience
13298 # the test eventually succeeds (with a max line length of 256k).
13299 # Instead, let's just punt: use the minimum linelength reported by
13300 # all of the supported platforms: 8192 (on NT/2K/XP).
13301 lt_cv_sys_max_cmd_len=8192;
13305 # On AmigaOS with pdksh, this test takes hours, literally.
13306 # So we just punt and use a minimum line length of 8192.
13307 lt_cv_sys_max_cmd_len=8192;
13310 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13311 # This has been around since 386BSD, at least. Likely further.
13312 if test -x /sbin/sysctl; then
13313 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13314 elif test -x /usr/sbin/sysctl; then
13315 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13317 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13319 # And add a safety zone
13320 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13321 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13325 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13326 lt_cv_sys_max_cmd_len=196608
13330 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13331 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13332 # nice to cause kernel panics so lets avoid the loop below.
13333 # First set a reasonable default.
13334 lt_cv_sys_max_cmd_len=16384
13336 if test -x /sbin/sysconfig; then
13337 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13338 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13343 lt_cv_sys_max_cmd_len=102400
13345 sysv5* | sco5v6* | sysv4.2uw2*)
13346 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13347 if test -n "$kargmax"; then
13348 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13350 lt_cv_sys_max_cmd_len=32768
13354 # If test is not a shell built-in, we'll probably end up computing a
13355 # maximum length that is only half of the actual maximum length, but
13357 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13358 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13359 = "XX$teststring") >/dev/null 2>&1 &&
13360 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13361 lt_cv_sys_max_cmd_len=$new_result &&
13362 test $i != 17 # 1/2 MB should be enough
13365 teststring=$teststring$teststring
13368 # Add a significant safety factor because C++ compilers can tack on massive
13369 # amounts of additional arguments before passing them to the linker.
13370 # It appears as though 1/2 is a usable value.
13371 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13377 if test -n $lt_cv_sys_max_cmd_len ; then
13378 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13379 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13381 { echo "$as_me:$LINENO: result: none" >&5
13382 echo "${ECHO_T}none" >&6; }
13388 # Check for command to grab the raw symbol name followed by C symbol from nm.
13389 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13390 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13391 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 # These are sane defaults that work on at least a few old systems.
13396 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13398 # Character class describing NM global symbol codes.
13399 symcode='[BCDEGRST]'
13401 # Regexp to match symbols that can be accessed directly from C.
13402 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13404 # Transform an extracted symbol line into a proper C declaration
13405 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13407 # Transform an extracted symbol line into symbol name and symbol address
13408 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'"
13410 # Define system-specific variables.
13415 cygwin* | mingw* | pw32*)
13416 symcode='[ABCDGISTW]'
13418 hpux*) # Its linker distinguishes data from code symbols
13419 if test "$host_cpu" = ia64; then
13420 symcode='[ABCDEGRST]'
13422 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13423 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'"
13426 if test "$host_cpu" = ia64; then
13427 symcode='[ABCDGIRSTW]'
13428 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13429 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'"
13432 irix* | nonstopux*)
13433 symcode='[BCDEGRST]'
13436 symcode='[BCDEGQRST]'
13447 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13455 # Handle CRLF in mingw tool chain
13459 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13463 # If we're using GNU nm, then use its standard symbol codes.
13464 case `$NM -V 2>&1` in
13465 *GNU* | *'with BFD'*)
13466 symcode='[ABCDGIRSTW]' ;;
13469 # Try without a prefix undercore, then with it.
13470 for ac_symprfx in "" "_"; do
13472 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13473 symxfrm="\\1 $ac_symprfx\\2 \\2"
13475 # Write the raw and C identifiers.
13476 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13478 # Check to see that the pipe works correctly.
13482 cat > conftest.$ac_ext <<EOF
13487 void nm_test_func(){}
13491 int main(){nm_test_var='a';nm_test_func();return(0);}
13494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13495 (eval $ac_compile) 2>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; then
13499 # Now try to grab the symbols.
13501 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13502 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); } && test -s "$nlist"; then
13506 # Try sorting and uniquifying the output.
13507 if sort "$nlist" | uniq > "$nlist"T; then
13508 mv -f "$nlist"T "$nlist"
13513 # Make sure that we snagged all the symbols we need.
13514 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13515 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13516 cat <<EOF > conftest.$ac_ext
13522 # Now generate the symbol file.
13523 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13525 cat <<EOF >> conftest.$ac_ext
13526 #if defined (__STDC__) && __STDC__
13527 # define lt_ptr_t void *
13529 # define lt_ptr_t char *
13533 /* The mapping between symbol names and symbols. */
13538 lt_preloaded_symbols[] =
13541 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13542 cat <<\EOF >> conftest.$ac_ext
13550 # Now try linking the two files.
13551 mv conftest.$ac_objext conftstm.$ac_objext
13552 lt_save_LIBS="$LIBS"
13553 lt_save_CFLAGS="$CFLAGS"
13554 LIBS="conftstm.$ac_objext"
13555 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13557 (eval $ac_link) 2>&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13563 LIBS="$lt_save_LIBS"
13564 CFLAGS="$lt_save_CFLAGS"
13566 echo "cannot find nm_test_func in $nlist" >&5
13569 echo "cannot find nm_test_var in $nlist" >&5
13572 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13575 echo "$progname: failed program was:" >&5
13576 cat conftest.$ac_ext >&5
13578 rm -f conftest* conftst*
13580 # Do not use the global_symbol_pipe unless it works.
13581 if test "$pipe_works" = yes; then
13584 lt_cv_sys_global_symbol_pipe=
13590 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13591 lt_cv_sys_global_symbol_to_cdecl=
13593 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13594 { echo "$as_me:$LINENO: result: failed" >&5
13595 echo "${ECHO_T}failed" >&6; }
13597 { echo "$as_me:$LINENO: result: ok" >&5
13598 echo "${ECHO_T}ok" >&6; }
13601 { echo "$as_me:$LINENO: checking for objdir" >&5
13602 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13603 if test "${lt_cv_objdir+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 rm -f .libs 2>/dev/null
13607 mkdir .libs 2>/dev/null
13608 if test -d .libs; then
13611 # MS-DOS does not allow filenames that begin with a dot.
13614 rmdir .libs 2>/dev/null
13616 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13617 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13618 objdir=$lt_cv_objdir
13626 # AIX sometimes has problems with the GCC collect2 program. For some
13627 # reason, if we set the COLLECT_NAMES environment variable, the problems
13628 # vanish in a puff of smoke.
13629 if test "X${COLLECT_NAMES+set}" != Xset; then
13631 export COLLECT_NAMES
13636 # Sed substitution that helps us do robust quoting. It backslashifies
13637 # metacharacters that are still active within double-quoted strings.
13638 Xsed='sed -e 1s/^X//'
13639 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13641 # Same as above, but do not quote variable references.
13642 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13644 # Sed substitution to delay expansion of an escaped shell variable in a
13645 # double_quote_subst'ed string.
13646 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13648 # Sed substitution to avoid accidental globbing in evaled expressions
13649 no_glob_subst='s/\*/\\\*/g'
13654 # Global variables:
13655 default_ofile=mklib
13656 can_build_shared=yes
13658 # All known linkers require a `.a' archive for static linking (except MSVC,
13659 # which needs '.lib').
13661 ltmain="$ac_aux_dir/ltmain.sh
"
13662 ofile="$default_ofile"
13663 with_gnu_ld="$lt_cv_prog_gnu_ld"
13665 if test -n "$ac_tool_prefix"; then
13666 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13667 set dummy ${ac_tool_prefix}ar; ac_word=$2
13668 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13669 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13670 if test "${ac_cv_prog_AR+set}" = set; then
13671 echo $ECHO_N "(cached
) $ECHO_C" >&6
13673 if test -n "$AR"; then
13674 ac_cv_prog_AR="$AR" # Let the user override the test.
13676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13677 for as_dir in $PATH
13680 test -z "$as_dir" && as_dir=.
13681 for ac_exec_ext in '' $ac_executable_extensions; do
13682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13683 ac_cv_prog_AR="${ac_tool_prefix}ar"
13684 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13694 if test -n "$AR"; then
13695 { echo "$as_me:$LINENO: result
: $AR" >&5
13696 echo "${ECHO_T}$AR" >&6; }
13698 { echo "$as_me:$LINENO: result
: no
" >&5
13699 echo "${ECHO_T}no
" >&6; }
13704 if test -z "$ac_cv_prog_AR"; then
13706 # Extract the first word of "ar", so it can be a program name with args.
13707 set dummy ar; ac_word=$2
13708 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13709 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13710 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13711 echo $ECHO_N "(cached
) $ECHO_C" >&6
13713 if test -n "$ac_ct_AR"; then
13714 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13717 for as_dir in $PATH
13720 test -z "$as_dir" && as_dir=.
13721 for ac_exec_ext in '' $ac_executable_extensions; do
13722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13723 ac_cv_prog_ac_ct_AR="ar"
13724 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13733 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13734 if test -n "$ac_ct_AR"; then
13735 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13736 echo "${ECHO_T}$ac_ct_AR" >&6; }
13738 { echo "$as_me:$LINENO: result
: no
" >&5
13739 echo "${ECHO_T}no
" >&6; }
13742 if test "x
$ac_ct_AR" = x; then
13745 case $cross_compiling:$ac_tool_warned in
13747 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13748 whose name does not start with the
host triplet. If you think this
13749 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13750 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13751 whose name does not start with the
host triplet. If you think this
13752 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13753 ac_tool_warned=yes ;;
13758 AR="$ac_cv_prog_AR"
13761 if test -n "$ac_tool_prefix"; then
13762 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13763 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13764 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13765 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13766 if test "${ac_cv_prog_RANLIB+set}" = set; then
13767 echo $ECHO_N "(cached
) $ECHO_C" >&6
13769 if test -n "$RANLIB"; then
13770 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13773 for as_dir in $PATH
13776 test -z "$as_dir" && as_dir=.
13777 for ac_exec_ext in '' $ac_executable_extensions; do
13778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13779 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13780 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13789 RANLIB=$ac_cv_prog_RANLIB
13790 if test -n "$RANLIB"; then
13791 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13792 echo "${ECHO_T}$RANLIB" >&6; }
13794 { echo "$as_me:$LINENO: result
: no
" >&5
13795 echo "${ECHO_T}no
" >&6; }
13800 if test -z "$ac_cv_prog_RANLIB"; then
13801 ac_ct_RANLIB=$RANLIB
13802 # Extract the first word of "ranlib
", so it can be a program name with args.
13803 set dummy ranlib; ac_word=$2
13804 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13805 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13806 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13807 echo $ECHO_N "(cached
) $ECHO_C" >&6
13809 if test -n "$ac_ct_RANLIB"; then
13810 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13813 for as_dir in $PATH
13816 test -z "$as_dir" && as_dir=.
13817 for ac_exec_ext in '' $ac_executable_extensions; do
13818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13819 ac_cv_prog_ac_ct_RANLIB="ranlib
"
13820 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13829 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13830 if test -n "$ac_ct_RANLIB"; then
13831 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
13832 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
13834 { echo "$as_me:$LINENO: result
: no
" >&5
13835 echo "${ECHO_T}no
" >&6; }
13838 if test "x
$ac_ct_RANLIB" = x; then
13841 case $cross_compiling:$ac_tool_warned in
13843 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13844 whose name does not start with the
host triplet. If you think this
13845 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13846 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13847 whose name does not start with the
host triplet. If you think this
13848 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13849 ac_tool_warned=yes ;;
13851 RANLIB=$ac_ct_RANLIB
13854 RANLIB="$ac_cv_prog_RANLIB"
13857 if test -n "$ac_tool_prefix"; then
13858 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
13859 set dummy ${ac_tool_prefix}strip; ac_word=$2
13860 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13861 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13862 if test "${ac_cv_prog_STRIP+set}" = set; then
13863 echo $ECHO_N "(cached
) $ECHO_C" >&6
13865 if test -n "$STRIP"; then
13866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13869 for as_dir in $PATH
13872 test -z "$as_dir" && as_dir=.
13873 for ac_exec_ext in '' $ac_executable_extensions; do
13874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13875 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
13876 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13885 STRIP=$ac_cv_prog_STRIP
13886 if test -n "$STRIP"; then
13887 { echo "$as_me:$LINENO: result
: $STRIP" >&5
13888 echo "${ECHO_T}$STRIP" >&6; }
13890 { echo "$as_me:$LINENO: result
: no
" >&5
13891 echo "${ECHO_T}no
" >&6; }
13896 if test -z "$ac_cv_prog_STRIP"; then
13898 # Extract the first word of "strip
", so it can be a program name with args.
13899 set dummy strip; ac_word=$2
13900 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13901 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13902 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13903 echo $ECHO_N "(cached
) $ECHO_C" >&6
13905 if test -n "$ac_ct_STRIP"; then
13906 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13909 for as_dir in $PATH
13912 test -z "$as_dir" && as_dir=.
13913 for ac_exec_ext in '' $ac_executable_extensions; do
13914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13915 ac_cv_prog_ac_ct_STRIP="strip
"
13916 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13925 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13926 if test -n "$ac_ct_STRIP"; then
13927 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
13928 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
13930 { echo "$as_me:$LINENO: result
: no
" >&5
13931 echo "${ECHO_T}no
" >&6; }
13934 if test "x
$ac_ct_STRIP" = x; then
13937 case $cross_compiling:$ac_tool_warned in
13939 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13940 whose name does not start with the
host triplet. If you think this
13941 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13942 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13943 whose name does not start with the
host triplet. If you think this
13944 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13945 ac_tool_warned=yes ;;
13950 STRIP="$ac_cv_prog_STRIP"
13955 old_CFLAGS="$CFLAGS"
13957 # Set sane defaults for various variables
13958 test -z "$AR" && AR=ar
13959 test -z "$AR_FLAGS" && AR_FLAGS=cru
13960 test -z "$AS" && AS=as
13961 test -z "$CC" && CC=cc
13962 test -z "$LTCC" && LTCC=$CC
13963 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13964 test -z "$DLLTOOL" && DLLTOOL=dlltool
13965 test -z "$LD" && LD=ld
13966 test -z "$LN_S" && LN_S="ln -s"
13967 test -z "$MAGIC_CMD" && MAGIC_CMD=file
13968 test -z "$NM" && NM=nm
13969 test -z "$SED" && SED=sed
13970 test -z "$OBJDUMP" && OBJDUMP=objdump
13971 test -z "$RANLIB" && RANLIB=:
13972 test -z "$STRIP" && STRIP=:
13973 test -z "$ac_objext" && ac_objext=o
13975 # Determine commands to create old-style static archives.
13976 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
13977 old_postinstall_cmds='chmod 644 $oldlib'
13978 old_postuninstall_cmds=
13980 if test -n "$RANLIB"; then
13983 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
13986 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
13989 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
13992 for cc_temp in $compiler""; do
13994 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13995 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14000 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14003 # Only perform the check for file, if the check method requires it
14004 case $deplibs_check_method in
14006 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14007 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14008 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14009 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14010 echo $ECHO_N "(cached
) $ECHO_C" >&6
14014 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14017 lt_save_MAGIC_CMD="$MAGIC_CMD"
14018 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14019 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14020 for ac_dir in $ac_dummy; do
14022 test -z "$ac_dir" && ac_dir=.
14023 if test -f $ac_dir/${ac_tool_prefix}file; then
14024 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14025 if test -n "$file_magic_test_file"; then
14026 case $deplibs_check_method in
14028 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14031 $EGREP "$file_magic_regex" > /dev/null; then
14036 *** Warning: the command libtool uses to detect shared libraries,
14037 *** $file_magic_cmd, produces output that libtool cannot recognize.
14038 *** The result is that libtool may fail to recognize shared libraries
14039 *** as such. This will affect the creation of libtool libraries that
14040 *** depend on shared libraries, but programs linked with such libtool
14041 *** libraries will work regardless of this problem. Nevertheless, you
14042 *** may want to report the problem to your system manager and/or to
14043 *** bug-libtool@gnu.org
14053 MAGIC_CMD="$lt_save_MAGIC_CMD"
14058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14059 if test -n "$MAGIC_CMD"; then
14060 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14061 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14063 { echo "$as_me:$LINENO: result
: no
" >&5
14064 echo "${ECHO_T}no
" >&6; }
14067 if test -z "$lt_cv_path_MAGIC_CMD"; then
14068 if test -n "$ac_tool_prefix"; then
14069 { echo "$as_me:$LINENO: checking
for file" >&5
14070 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14071 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14072 echo $ECHO_N "(cached
) $ECHO_C" >&6
14076 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14079 lt_save_MAGIC_CMD="$MAGIC_CMD"
14080 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14081 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14082 for ac_dir in $ac_dummy; do
14084 test -z "$ac_dir" && ac_dir=.
14085 if test -f $ac_dir/file; then
14086 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14087 if test -n "$file_magic_test_file"; then
14088 case $deplibs_check_method in
14090 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14092 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14093 $EGREP "$file_magic_regex" > /dev/null; then
14098 *** Warning: the command libtool uses to detect shared libraries,
14099 *** $file_magic_cmd, produces output that libtool cannot recognize.
14100 *** The result is that libtool may fail to recognize shared libraries
14101 *** as such. This will affect the creation of libtool libraries that
14102 *** depend on shared libraries, but programs linked with such libtool
14103 *** libraries will work regardless of this problem. Nevertheless, you
14104 *** may want to report the problem to your system manager and/or to
14105 *** bug-libtool@gnu.org
14115 MAGIC_CMD="$lt_save_MAGIC_CMD"
14120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14121 if test -n "$MAGIC_CMD"; then
14122 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14123 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14125 { echo "$as_me:$LINENO: result
: no
" >&5
14126 echo "${ECHO_T}no
" >&6; }
14139 enable_win32_dll=no
14141 # Check whether --enable-libtool-lock was given.
14142 if test "${enable_libtool_lock+set}" = set; then
14143 enableval=$enable_libtool_lock;
14146 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14149 # Check whether --with-pic was given.
14150 if test "${with_pic+set}" = set; then
14151 withval=$with_pic; pic_mode="$withval"
14156 test -z "$pic_mode" && pic_mode=default
14158 # Use C for the default configuration in the libtool script
14162 ac_cpp='$CPP $CPPFLAGS'
14163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14168 # Source file extension for C test sources.
14171 # Object file extension for compiled C test sources.
14175 # Code to be used in simple compile tests
14176 lt_simple_compile_test_code="int some_variable
= 0;\n"
14178 # Code to be used in simple link tests
14179 lt_simple_link_test_code='int main(){return(0);}\n'
14182 # If no C compiler was specified, use CC.
14185 # If no C compiler flags were specified, use CFLAGS.
14186 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14188 # Allow CC to be a program name with arguments.
14192 # save warnings/boilerplate of simple test code
14193 ac_outfile=conftest.$ac_objext
14194 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14195 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14196 _lt_compiler_boilerplate=`cat conftest.err`
14199 ac_outfile=conftest.$ac_objext
14200 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14201 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14202 _lt_linker_boilerplate=`cat conftest.err`
14207 lt_prog_compiler_no_builtin_flag=
14209 if test "$GCC" = yes; then
14210 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14213 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14214 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14215 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14216 echo $ECHO_N "(cached
) $ECHO_C" >&6
14218 lt_cv_prog_compiler_rtti_exceptions=no
14219 ac_outfile=conftest.$ac_objext
14220 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14221 lt_compiler_flag="-fno-rtti -fno-exceptions"
14222 # Insert the option either (1) after the last *FLAGS variable, or
14223 # (2) before a word containing "conftest.
", or (3) at the end.
14224 # Note that $ac_compile itself does not contain backslashes and begins
14225 # with a dollar sign (not a hyphen), so the echo should work correctly.
14226 # The option is referenced via a variable to avoid confusing sed.
14227 lt_compile=`echo "$ac_compile" | $SED \
14228 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14230 -e 's:$: $lt_compiler_flag:'`
14231 (eval echo "\"\
$as_me:14231: $lt_compile\"" >&5)
14232 (eval "$lt_compile" 2>conftest.err)
14234 cat conftest.err >&5
14235 echo "$as_me:14235: \$?
= $ac_status" >&5
14236 if (exit $ac_status) && test -s "$ac_outfile"; then
14237 # The compiler can only warn and ignore the option if not recognized
14238 # So say no if there are warnings other than the usual output.
14239 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14240 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14241 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14242 lt_cv_prog_compiler_rtti_exceptions=yes
14248 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14249 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14251 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14252 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14259 lt_prog_compiler_wl=
14260 lt_prog_compiler_pic=
14261 lt_prog_compiler_static=
14263 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14264 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14266 if test "$GCC" = yes; then
14267 lt_prog_compiler_wl='-Wl,'
14268 lt_prog_compiler_static='-static'
14272 # All AIX code is PIC.
14273 if test "$host_cpu" = ia64; then
14274 # AIX 5 now supports IA64 processor
14275 lt_prog_compiler_static='-Bstatic'
14280 # FIXME: we need at least 68020 code to build shared libraries, but
14281 # adding the `-m68020' flag to GCC prevents building anything better,
14283 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14286 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14287 # PIC is the default for these OSes.
14290 mingw* | pw32* | os2*)
14291 # This hack is so that the source file can tell whether it is being
14292 # built for inclusion in a dll (and should export symbols for example).
14293 lt_prog_compiler_pic='-DDLL_EXPORT'
14296 darwin* | rhapsody*)
14297 # PIC is the default on this platform
14298 # Common symbols not allowed in MH_DYLIB files
14299 lt_prog_compiler_pic='-fno-common'
14303 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14304 # Instead, we relocate shared libraries at runtime.
14308 # Just because we use GCC doesn't mean we suddenly get shared libraries
14309 # on systems that don't support them.
14310 lt_prog_compiler_can_build_shared=no
14315 if test -d /usr/nec; then
14316 lt_prog_compiler_pic=-Kconform_pic
14321 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14322 # not for PA HP-UX.
14328 lt_prog_compiler_pic='-fPIC'
14334 lt_prog_compiler_pic='-fPIC'
14338 # PORTME Check for flag to pass linker flags through the system compiler.
14341 lt_prog_compiler_wl='-Wl,'
14342 if test "$host_cpu" = ia64; then
14343 # AIX 5 now supports IA64 processor
14344 lt_prog_compiler_static='-Bstatic'
14346 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14350 # PIC is the default on this platform
14351 # Common symbols not allowed in MH_DYLIB files
14352 case $cc_basename in
14354 lt_prog_compiler_pic='-qnocommon'
14355 lt_prog_compiler_wl='-Wl,'
14360 mingw* | pw32* | os2*)
14361 # This hack is so that the source file can tell whether it is being
14362 # built for inclusion in a dll (and should export symbols for example).
14363 lt_prog_compiler_pic='-DDLL_EXPORT'
14366 hpux9* | hpux10* | hpux11*)
14367 lt_prog_compiler_wl='-Wl,'
14368 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14369 # not for PA HP-UX.
14375 lt_prog_compiler_pic='+Z'
14378 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14379 lt_prog_compiler_static='${wl}-a ${wl}archive'
14382 irix5* | irix6* | nonstopux*)
14383 lt_prog_compiler_wl='-Wl,'
14384 # PIC (with -KPIC) is the default.
14385 lt_prog_compiler_static='-non_shared'
14389 lt_prog_compiler_pic='-KPIC'
14390 lt_prog_compiler_static='-Bstatic'
14394 case $cc_basename in
14396 lt_prog_compiler_wl='-Wl,'
14397 lt_prog_compiler_pic='-KPIC'
14398 lt_prog_compiler_static='-static'
14400 pgcc* | pgf77* | pgf90* | pgf95*)
14401 # Portland Group compilers (*not* the Pentium gcc compiler,
14402 # which looks to be a dead project)
14403 lt_prog_compiler_wl='-Wl,'
14404 lt_prog_compiler_pic='-fpic'
14405 lt_prog_compiler_static='-Bstatic'
14408 lt_prog_compiler_wl='-Wl,'
14409 # All Alpha code is PIC.
14410 lt_prog_compiler_static='-non_shared'
14415 osf3* | osf4* | osf5*)
14416 lt_prog_compiler_wl='-Wl,'
14417 # All OSF/1 code is PIC.
14418 lt_prog_compiler_static='-non_shared'
14422 lt_prog_compiler_pic='-KPIC'
14423 lt_prog_compiler_static='-Bstatic'
14424 case $cc_basename in
14425 f77* | f90* | f95*)
14426 lt_prog_compiler_wl='-Qoption ld ';;
14428 lt_prog_compiler_wl='-Wl,';;
14433 lt_prog_compiler_wl='-Qoption ld '
14434 lt_prog_compiler_pic='-PIC'
14435 lt_prog_compiler_static='-Bstatic'
14438 sysv4 | sysv4.2uw2* | sysv4.3*)
14439 lt_prog_compiler_wl='-Wl,'
14440 lt_prog_compiler_pic='-KPIC'
14441 lt_prog_compiler_static='-Bstatic'
14445 if test -d /usr/nec ;then
14446 lt_prog_compiler_pic='-Kconform_pic'
14447 lt_prog_compiler_static='-Bstatic'
14451 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14452 lt_prog_compiler_wl='-Wl,'
14453 lt_prog_compiler_pic='-KPIC'
14454 lt_prog_compiler_static='-Bstatic'
14458 lt_prog_compiler_wl='-Wl,'
14459 lt_prog_compiler_can_build_shared=no
14463 lt_prog_compiler_pic='-pic'
14464 lt_prog_compiler_static='-Bstatic'
14468 lt_prog_compiler_can_build_shared=no
14473 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14474 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14477 # Check to make sure the PIC flag actually works.
14479 if test -n "$lt_prog_compiler_pic"; then
14481 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14482 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14483 if test "${lt_prog_compiler_pic_works+set}" = set; then
14484 echo $ECHO_N "(cached
) $ECHO_C" >&6
14486 lt_prog_compiler_pic_works=no
14487 ac_outfile=conftest.$ac_objext
14488 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14489 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14490 # Insert the option either (1) after the last *FLAGS variable, or
14491 # (2) before a word containing "conftest.
", or (3) at the end.
14492 # Note that $ac_compile itself does not contain backslashes and begins
14493 # with a dollar sign (not a hyphen), so the echo should work correctly.
14494 # The option is referenced via a variable to avoid confusing sed.
14495 lt_compile=`echo "$ac_compile" | $SED \
14496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14498 -e 's:$: $lt_compiler_flag:'`
14499 (eval echo "\"\
$as_me:14499: $lt_compile\"" >&5)
14500 (eval "$lt_compile" 2>conftest.err)
14502 cat conftest.err >&5
14503 echo "$as_me:14503: \$?
= $ac_status" >&5
14504 if (exit $ac_status) && test -s "$ac_outfile"; then
14505 # The compiler can only warn and ignore the option if not recognized
14506 # So say no if there are warnings other than the usual output.
14507 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14508 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14509 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14510 lt_prog_compiler_pic_works=yes
14516 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14517 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14519 if test x"$lt_prog_compiler_pic_works" = xyes; then
14520 case $lt_prog_compiler_pic in
14522 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14525 lt_prog_compiler_pic=
14526 lt_prog_compiler_can_build_shared=no
14531 # For platforms which do not support PIC, -DPIC is meaningless:
14533 lt_prog_compiler_pic=
14536 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14541 # Check to make sure the static flag actually works.
14543 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14544 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14545 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14546 if test "${lt_prog_compiler_static_works+set}" = set; then
14547 echo $ECHO_N "(cached
) $ECHO_C" >&6
14549 lt_prog_compiler_static_works=no
14550 save_LDFLAGS="$LDFLAGS"
14551 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14552 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14553 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14554 # The linker can only warn and ignore the option if not recognized
14555 # So say no if there are warnings
14556 if test -s conftest.err; then
14557 # Append any errors to the config.log.
14558 cat conftest.err 1>&5
14559 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14560 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14561 if diff conftest.exp conftest.er2 >/dev/null; then
14562 lt_prog_compiler_static_works=yes
14565 lt_prog_compiler_static_works=yes
14569 LDFLAGS="$save_LDFLAGS"
14572 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14573 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14575 if test x"$lt_prog_compiler_static_works" = xyes; then
14578 lt_prog_compiler_static=
14582 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14583 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14584 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14585 echo $ECHO_N "(cached
) $ECHO_C" >&6
14587 lt_cv_prog_compiler_c_o=no
14588 $rm -r conftest 2>/dev/null
14592 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14594 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14595 # Insert the option either (1) after the last *FLAGS variable, or
14596 # (2) before a word containing "conftest.
", or (3) at the end.
14597 # Note that $ac_compile itself does not contain backslashes and begins
14598 # with a dollar sign (not a hyphen), so the echo should work correctly.
14599 lt_compile=`echo "$ac_compile" | $SED \
14600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14602 -e 's:$: $lt_compiler_flag:'`
14603 (eval echo "\"\
$as_me:14603: $lt_compile\"" >&5)
14604 (eval "$lt_compile" 2>out/conftest.err)
14606 cat out/conftest.err >&5
14607 echo "$as_me:14607: \$?
= $ac_status" >&5
14608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14610 # The compiler can only warn and ignore the option if not recognized
14611 # So say no if there are warnings
14612 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14615 lt_cv_prog_compiler_c_o=yes
14620 # SGI C++ compiler will create directory out/ii_files/ for
14621 # template instantiation
14622 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14623 $rm out/* && rmdir out
14629 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14630 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14633 hard_links="nottested
"
14634 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14635 # do not overwrite the value of need_locks provided by the user
14636 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14637 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14640 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14642 ln conftest.a conftest.b 2>&5 || hard_links=no
14643 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14644 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14645 echo "${ECHO_T}$hard_links" >&6; }
14646 if test "$hard_links" = no; then
14647 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14648 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14655 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14656 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14659 allow_undefined_flag=
14660 enable_shared_with_static_runtimes=no
14662 archive_expsym_cmds=
14663 old_archive_From_new_cmds=
14664 old_archive_from_expsyms_cmds=
14665 export_dynamic_flag_spec=
14666 whole_archive_flag_spec=
14667 thread_safe_flag_spec=
14668 hardcode_libdir_flag_spec=
14669 hardcode_libdir_flag_spec_ld=
14670 hardcode_libdir_separator=
14672 hardcode_minus_L=no
14673 hardcode_shlibpath_var=unsupported
14674 link_all_deplibs=unknown
14675 hardcode_automatic=no
14677 module_expsym_cmds=
14678 always_export_symbols=no
14679 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14680 # include_expsyms should be a list of space-separated symbols to be *always*
14681 # included in the symbol list
14683 # exclude_expsyms can be an extended regexp of symbols to exclude
14684 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14685 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14686 # as well as any symbol that contains `d'.
14687 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14688 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14689 # platforms (ab)use it in PIC code, but their linkers get confused if
14690 # the symbol is explicitly referenced. Since portable code cannot
14691 # rely on this symbol name, it's probably fine to never include it in
14692 # preloaded symbol tables.
14693 extract_expsyms_cmds=
14694 # Just being paranoid about ensuring that cc_basename is set.
14695 for cc_temp in $compiler""; do
14697 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14698 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14703 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14706 cygwin* | mingw* | pw32*)
14707 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14708 # When not using gcc, we currently assume that we are using
14709 # Microsoft Visual C++.
14710 if test "$GCC" != yes; then
14715 # we just hope/assume this is gcc and not c89 (= MSVC++)
14724 if test "$with_gnu_ld" = yes; then
14725 # If archive_cmds runs LD, not CC, wlarc should be empty
14728 # Set some defaults for GNU ld with shared library support. These
14729 # are reset later if shared libraries are not supported. Putting them
14730 # here allows them to be overridden if necessary.
14731 runpath_var=LD_RUN_PATH
14732 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14733 export_dynamic_flag_spec='${wl}--export-dynamic'
14734 # ancient GNU ld didn't support --whole-archive et. al.
14735 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14736 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14738 whole_archive_flag_spec=
14740 supports_anon_versioning=no
14741 case `$LD -v 2>/dev/null` in
14742 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14743 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14744 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14745 *\ 2.11.*) ;; # other 2.11 versions
14746 *) supports_anon_versioning=yes ;;
14749 # See if GNU ld supports shared libraries.
14751 aix3* | aix4* | aix5*)
14752 # On AIX/PPC, the GNU linker is very broken
14753 if test "$host_cpu" != ia64; then
14757 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14758 *** to be unable to reliably create shared libraries on AIX.
14759 *** Therefore, libtool is disabling shared libraries support. If you
14760 *** really care for shared libraries, you may want to modify your PATH
14761 *** so that a non-GNU linker is found, and then restart.
14768 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)'
14769 hardcode_libdir_flag_spec
='-L$libdir'
14770 hardcode_minus_L
=yes
14772 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14773 # that the semantics of dynamic libraries on AmigaOS, at least up
14774 # to version 4, is to share data among multiple programs linked
14775 # with the same dynamic library. Since this doesn't match the
14776 # behavior of shared libraries on other platforms, we can't use
14782 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14783 allow_undefined_flag
=unsupported
14784 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14785 # support --undefined. This deserves some investigation. FIXME
14786 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14792 cygwin
* | mingw
* | pw32
*)
14793 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14794 # as there is no search path for DLLs.
14795 hardcode_libdir_flag_spec
='-L$libdir'
14796 allow_undefined_flag
=unsupported
14797 always_export_symbols
=no
14798 enable_shared_with_static_runtimes
=yes
14799 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14801 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14802 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14803 # If the export-symbols file already is a .def file (1st line
14804 # is EXPORTS), use it as is; otherwise, prepend...
14805 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14806 cp $export_symbols $output_objdir/$soname.def;
14808 echo EXPORTS > $output_objdir/$soname.def;
14809 cat $export_symbols >> $output_objdir/$soname.def;
14811 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14819 hardcode_shlibpath_var
=no
14820 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
14821 export_dynamic_flag_spec
='${wl}-E'
14822 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14823 # Instead, shared libraries are loaded at an image base (0x10000000 by
14824 # default) and relocated if they conflict, which is a slow very memory
14825 # consuming and fragmenting process. To avoid this, we pick a random,
14826 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14827 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14828 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14829 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'
14833 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14835 case $cc_basename,$host_cpu in
14836 pgcc
*) # Portland Group C compiler
14837 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'
14838 tmp_addflag
=' $pic_flag'
14840 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14841 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'
14842 tmp_addflag
=' $pic_flag -Mnomain' ;;
14843 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14844 tmp_addflag
=' -i_dynamic' ;;
14845 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14846 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14847 ifc
* | ifort
*) # Intel Fortran compiler
14848 tmp_addflag
=' -nofor_main' ;;
14850 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14852 if test $supports_anon_versioning = yes; then
14853 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
14854 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14855 $echo "local: *; };" >> $output_objdir/$libname.ver~
14856 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14864 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14865 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14868 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14869 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14874 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14878 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14879 *** create shared libraries on Solaris systems. Therefore, libtool
14880 *** is disabling shared libraries support. We urge you to upgrade GNU
14881 *** binutils to release 2.9.1 or newer. Another option is to modify
14882 *** your PATH or compiler configuration so that the native linker is
14883 *** used, and then restart.
14886 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14888 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14894 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14895 case `$LD -v 2>&1` in
14896 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14900 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14901 *** reliably create shared libraries on SCO systems. Therefore, libtool
14902 *** is disabling shared libraries support. We urge you to upgrade GNU
14903 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14904 *** your PATH or compiler configuration so that the native linker is
14905 *** used, and then restart.
14910 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14911 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14912 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14913 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14922 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14924 hardcode_direct
=yes
14925 hardcode_shlibpath_var
=no
14929 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14930 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14931 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14938 if test "$ld_shlibs" = no
; then
14940 hardcode_libdir_flag_spec
=
14941 export_dynamic_flag_spec
=
14942 whole_archive_flag_spec
=
14945 # PORTME fill in a description of your system's linker (not GNU ld)
14948 allow_undefined_flag
=unsupported
14949 always_export_symbols
=yes
14950 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'
14951 # Note: this linker hardcodes the directories in LIBPATH if there
14952 # are no directories specified by -L.
14953 hardcode_minus_L
=yes
14954 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14955 # Neither direct hardcoding nor static linking is supported with a
14957 hardcode_direct
=unsupported
14962 if test "$host_cpu" = ia64
; then
14963 # On IA64, the linker does run time linking by default, so we don't
14964 # have to do anything special.
14965 aix_use_runtimelinking
=no
14966 exp_sym_flag
='-Bexport'
14969 # If we're using GNU nm, then we don't want the "-C" option.
14970 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14971 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14972 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'
14974 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'
14976 aix_use_runtimelinking
=no
14978 # Test if we are trying to use run time linking or normal
14979 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14980 # need to do runtime linking.
14981 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14982 for ld_flag
in $LDFLAGS; do
14983 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14984 aix_use_runtimelinking
=yes
14991 exp_sym_flag
='-bexport'
14992 no_entry_flag
='-bnoentry'
14995 # When large executables or shared objects are built, AIX ld can
14996 # have problems creating the table of contents. If linking a library
14997 # or program results in "error TOC overflow" add -mminimal-toc to
14998 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14999 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15002 hardcode_direct
=yes
15003 hardcode_libdir_separator
=':'
15004 link_all_deplibs
=yes
15006 if test "$GCC" = yes; then
15007 case $host_os in aix4.
[012]|aix4.
[012].
*)
15008 # We only want to do this on AIX 4.2 and lower, the check
15009 # below for broken collect2 doesn't work under 4.3+
15010 collect2name
=`${CC} -print-prog-name=collect2`
15011 if test -f "$collect2name" && \
15012 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15014 # We have reworked collect2
15015 hardcode_direct
=yes
15017 # We have old collect2
15018 hardcode_direct
=unsupported
15019 # It fails to find uninstalled libraries when the uninstalled
15020 # path is not listed in the libpath. Setting hardcode_minus_L
15021 # to unsupported forces relinking
15022 hardcode_minus_L
=yes
15023 hardcode_libdir_flag_spec
='-L$libdir'
15024 hardcode_libdir_separator
=
15028 shared_flag
='-shared'
15029 if test "$aix_use_runtimelinking" = yes; then
15030 shared_flag
="$shared_flag "'${wl}-G'
15034 if test "$host_cpu" = ia64
; then
15035 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15036 # chokes on -Wl,-G. The following line is correct:
15039 if test "$aix_use_runtimelinking" = yes; then
15040 shared_flag
='${wl}-G'
15042 shared_flag
='${wl}-bM:SRE'
15047 # It seems that -bexpall does not export symbols beginning with
15048 # underscore (_), so it is better to generate a list of symbols to export.
15049 always_export_symbols
=yes
15050 if test "$aix_use_runtimelinking" = yes; then
15051 # Warning - without using the other runtime loading flags (-brtl),
15052 # -berok will link without error, but may produce a broken library.
15053 allow_undefined_flag
='-berok'
15054 # Determine the default libpath from the value encoded in an empty executable.
15055 cat >conftest.
$ac_ext <<_ACEOF
15058 cat confdefs.h
>>conftest.
$ac_ext
15059 cat >>conftest.
$ac_ext <<_ACEOF
15060 /* end confdefs.h. */
15070 rm -f conftest.
$ac_objext conftest
$ac_exeext
15071 if { (ac_try
="$ac_link"
15072 case "(($ac_try" in
15073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_link") 2>conftest.er1
15079 grep -v '^ *+' conftest.er1 >conftest.err
15081 cat conftest.err >&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15085 { (case "(($ac_try" in
15086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15087 *) ac_try_echo
=$ac_try;;
15089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090 (eval "$ac_try") 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try
='test -s conftest$ac_exeext'
15095 { (case "(($ac_try" in
15096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_try") 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15105 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15107 # Check for a 64-bit object if we didn't find anything.
15108 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; }
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.$ac_ext >&5
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext conftest.$ac_ext
15119 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15121 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15122 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"
15124 if test "$host_cpu" = ia64; then
15125 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15126 allow_undefined_flag="-z nodefs"
15127 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"
15129 # Determine the default libpath from the value encoded in an empty executable.
15130 cat >conftest.$ac_ext <<_ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15145 rm -f conftest.$ac_objext conftest$ac_exeext
15146 if { (ac_try="$ac_link"
15147 case "(($ac_try" in
15148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15149 *) ac_try_echo
=$ac_try;;
15151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15152 (eval "$ac_link") 2>conftest.er1
15154 grep -v '^ *+' conftest.er1
>conftest.err
15156 cat conftest.err
>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } &&
15159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15160 { (case "(($ac_try" in
15161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_try") 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; } &&
15169 { ac_try='test -s conftest$ac_exeext'
15170 { (case "(($ac_try" in
15171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15172 *) ac_try_echo
=$ac_try;;
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_try") 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15180 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15182 # Check for a 64-bit object if we didn't find anything.
15183 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; }
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.
$ac_ext >&5
15192 rm -f core conftest.err conftest.
$ac_objext \
15193 conftest
$ac_exeext conftest.
$ac_ext
15194 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15196 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15197 # Warning - without using the other run time loading flags,
15198 # -berok will link without error, but may produce a broken library.
15199 no_undefined_flag
=' ${wl}-bernotok'
15200 allow_undefined_flag
=' ${wl}-berok'
15201 # Exported symbols can be pulled into shared objects from archives
15202 whole_archive_flag_spec
='$convenience'
15203 archive_cmds_need_lc
=yes
15204 # This is similar to how AIX traditionally builds its shared libraries.
15205 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'
15211 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)'
15212 hardcode_libdir_flag_spec
='-L$libdir'
15213 hardcode_minus_L
=yes
15214 # see comment about different semantics on the GNU ld section
15219 export_dynamic_flag_spec
=-rdynamic
15222 cygwin
* | mingw
* | pw32
*)
15223 # When not using gcc, we currently assume that we are using
15224 # Microsoft Visual C++.
15225 # hardcode_libdir_flag_spec is actually meaningless, as there is
15226 # no search path for DLLs.
15227 hardcode_libdir_flag_spec
=' '
15228 allow_undefined_flag
=unsupported
15229 # Tell ltmain to make .lib files, not .a files.
15231 # Tell ltmain to make .dll files, not .so files.
15233 # FIXME: Setting linknames here is a bad hack.
15234 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15235 # The linker will automatically build a .lib file if we build a DLL.
15236 old_archive_From_new_cmds
='true'
15237 # FIXME: Should let the user specify the lib program.
15238 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15239 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15240 enable_shared_with_static_runtimes
=yes
15243 darwin
* | rhapsody
*)
15245 rhapsody
* | darwin1.
[012])
15246 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15249 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15250 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15252 case ${MACOSX_DEPLOYMENT_TARGET} in
15254 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15257 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15263 archive_cmds_need_lc
=no
15265 hardcode_automatic
=yes
15266 hardcode_shlibpath_var
=unsupported
15267 whole_archive_flag_spec
=''
15268 link_all_deplibs
=yes
15269 if test "$GCC" = yes ; then
15270 output_verbose_link_cmd
='echo'
15271 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15272 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15273 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15274 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}'
15275 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}'
15277 case $cc_basename in
15279 output_verbose_link_cmd
='echo'
15280 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15281 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15282 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15283 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}'
15284 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}'
15294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15295 hardcode_libdir_flag_spec
='-L$libdir'
15296 hardcode_shlibpath_var
=no
15303 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15304 # support. Future versions do this automatically, but an explicit c++rt0.o
15305 # does not break anything, and helps significantly (at the cost of a little
15308 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15309 hardcode_libdir_flag_spec
='-R$libdir'
15310 hardcode_direct
=yes
15311 hardcode_shlibpath_var
=no
15314 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15316 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15317 hardcode_direct
=yes
15318 hardcode_minus_L
=yes
15319 hardcode_shlibpath_var
=no
15322 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15323 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15324 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15325 hardcode_libdir_flag_spec
='-R$libdir'
15326 hardcode_direct
=yes
15327 hardcode_shlibpath_var
=no
15331 if test "$GCC" = yes; then
15332 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'
15334 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'
15336 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15337 hardcode_libdir_separator
=:
15338 hardcode_direct
=yes
15340 # hardcode_minus_L: Not really in the search PATH,
15341 # but as the default location of the library.
15342 hardcode_minus_L
=yes
15343 export_dynamic_flag_spec
='${wl}-E'
15347 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15348 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15350 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15352 if test "$with_gnu_ld" = no
; then
15353 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15354 hardcode_libdir_separator
=:
15356 hardcode_direct
=yes
15357 export_dynamic_flag_spec
='${wl}-E'
15359 # hardcode_minus_L: Not really in the search PATH,
15360 # but as the default location of the library.
15361 hardcode_minus_L
=yes
15366 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15369 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15372 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15375 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15381 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15384 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15387 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15391 if test "$with_gnu_ld" = no
; then
15392 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15393 hardcode_libdir_separator
=:
15397 hardcode_libdir_flag_spec_ld
='+b $libdir'
15399 hardcode_shlibpath_var
=no
15402 hardcode_direct
=yes
15403 export_dynamic_flag_spec
='${wl}-E'
15405 # hardcode_minus_L: Not really in the search PATH,
15406 # but as the default location of the library.
15407 hardcode_minus_L
=yes
15413 irix5
* | irix6
* | nonstopux
*)
15414 if test "$GCC" = yes; then
15415 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'
15417 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'
15418 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15420 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15421 hardcode_libdir_separator
=:
15422 link_all_deplibs
=yes
15426 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15427 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15429 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15431 hardcode_libdir_flag_spec
='-R$libdir'
15432 hardcode_direct
=yes
15433 hardcode_shlibpath_var
=no
15437 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15438 hardcode_direct
=yes
15439 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15440 hardcode_libdir_separator
=:
15441 hardcode_shlibpath_var
=no
15445 hardcode_direct
=yes
15446 hardcode_shlibpath_var
=no
15447 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15448 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15449 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15450 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15451 export_dynamic_flag_spec
='${wl}-E'
15454 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15455 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15456 hardcode_libdir_flag_spec
='-R$libdir'
15459 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15460 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15467 hardcode_libdir_flag_spec
='-L$libdir'
15468 hardcode_minus_L
=yes
15469 allow_undefined_flag
=unsupported
15470 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'
15471 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15475 if test "$GCC" = yes; then
15476 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15477 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'
15479 allow_undefined_flag
=' -expect_unresolved \*'
15480 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'
15482 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15483 hardcode_libdir_separator
=:
15486 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15487 if test "$GCC" = yes; then
15488 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15489 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'
15490 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15492 allow_undefined_flag
=' -expect_unresolved \*'
15493 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'
15494 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15495 $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'
15497 # Both c and cxx compiler support -rpath directly
15498 hardcode_libdir_flag_spec
='-rpath $libdir'
15500 hardcode_libdir_separator
=:
15504 no_undefined_flag
=' -z text'
15505 if test "$GCC" = yes; then
15507 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15508 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15509 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15512 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15513 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15514 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15516 hardcode_libdir_flag_spec
='-R$libdir'
15517 hardcode_shlibpath_var
=no
15519 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15521 # The compiler driver will combine linker options so we
15522 # cannot just pass the convience library names through
15523 # without $wl, iff we do not link with $LD.
15524 # Luckily, gcc supports the same syntax we need for Sun Studio.
15525 # Supported since Solaris 2.6 (maybe 2.5.1?)
15528 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15530 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' ;;
15533 link_all_deplibs
=yes
15537 if test "x$host_vendor" = xsequent
; then
15538 # Use $CC to link under sequent, because it throws in some extra .o
15539 # files that make .init and .fini sections work.
15540 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15542 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15544 hardcode_libdir_flag_spec
='-L$libdir'
15545 hardcode_direct
=yes
15546 hardcode_minus_L
=yes
15547 hardcode_shlibpath_var
=no
15551 case $host_vendor in
15553 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15554 hardcode_direct
=yes # is this really true???
15557 ## LD is ld it makes a PLAMLIB
15558 ## CC just makes a GrossModule.
15559 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15560 reload_cmds
='$CC -r -o $output$reload_objs'
15564 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15565 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15568 runpath_var
='LD_RUN_PATH'
15569 hardcode_shlibpath_var
=no
15573 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15574 hardcode_shlibpath_var
=no
15575 export_dynamic_flag_spec
='-Bexport'
15579 if test -d /usr
/nec
; then
15580 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15581 hardcode_shlibpath_var
=no
15582 runpath_var
=LD_RUN_PATH
15583 hardcode_runpath_var
=yes
15588 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15589 no_undefined_flag
='${wl}-z,text'
15590 archive_cmds_need_lc
=no
15591 hardcode_shlibpath_var
=no
15592 runpath_var
='LD_RUN_PATH'
15594 if test "$GCC" = yes; then
15595 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15596 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15598 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15599 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15603 sysv5
* | sco3.2v5
* | sco5v6
*)
15604 # Note: We can NOT use -z defs as we might desire, because we do not
15605 # link with -lc, and that would cause any symbols used from libc to
15606 # always be unresolved, which means just about no library would
15607 # ever link correctly. If we're not using GNU ld we use -z text
15608 # though, which does catch some bad symbols but isn't as heavy-handed
15610 no_undefined_flag
='${wl}-z,text'
15611 allow_undefined_flag
='${wl}-z,nodefs'
15612 archive_cmds_need_lc
=no
15613 hardcode_shlibpath_var
=no
15614 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15615 hardcode_libdir_separator
=':'
15616 link_all_deplibs
=yes
15617 export_dynamic_flag_spec
='${wl}-Bexport'
15618 runpath_var
='LD_RUN_PATH'
15620 if test "$GCC" = yes; then
15621 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15622 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15624 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15625 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15631 hardcode_libdir_flag_spec
='-L$libdir'
15632 hardcode_shlibpath_var
=no
15641 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15642 echo "${ECHO_T}$ld_shlibs" >&6; }
15643 test "$ld_shlibs" = no
&& can_build_shared
=no
15646 # Do we need to explicitly link libc?
15648 case "x$archive_cmds_need_lc" in
15650 # Assume -lc should be added
15651 archive_cmds_need_lc
=yes
15653 if test "$enable_shared" = yes && test "$GCC" = yes; then
15654 case $archive_cmds in
15656 # FIXME: we may have to deal with multi-command sequences.
15659 # Test whether the compiler implicitly links with -lc since on some
15660 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15661 # to ld, don't add -lc before -lgcc.
15662 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15663 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15665 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668 (eval $ac_compile) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } 2>conftest.err
; then
15674 libobjs
=conftest.
$ac_objext
15676 wl
=$lt_prog_compiler_wl
15677 pic_flag
=$lt_prog_compiler_pic
15683 lt_save_allow_undefined_flag
=$allow_undefined_flag
15684 allow_undefined_flag
=
15685 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15686 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }
15691 archive_cmds_need_lc
=no
15693 archive_cmds_need_lc
=yes
15695 allow_undefined_flag
=$lt_save_allow_undefined_flag
15697 cat conftest.err
1>&5
15700 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15701 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15708 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15709 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15710 library_names_spec
=
15711 libname_spec
='lib$name'
15715 postuninstall_cmds
=
15719 shlibpath_overrides_runpath
=unknown
15721 dynamic_linker
="$host_os ld.so"
15722 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15723 if test "$GCC" = yes; then
15724 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15725 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15726 # if the path contains ";" then we assume it to be the separator
15727 # otherwise default to the standard path separator (i.e. ":") - it is
15728 # assumed that no part of a normal pathname contains ";" but that should
15729 # okay in the real world where ";" in dirpaths is itself problematic.
15730 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15732 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15735 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15737 need_lib_prefix
=unknown
15738 hardcode_into_libs
=no
15740 # when you set need_version to no, make sure it does not cause -set_version
15741 # flags to be left without arguments
15742 need_version
=unknown
15747 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15748 shlibpath_var
=LIBPATH
15750 # AIX 3 has no versioning support, so we append a major version to the name.
15751 soname_spec
='${libname}${release}${shared_ext}$major'
15758 hardcode_into_libs
=yes
15759 if test "$host_cpu" = ia64
; then
15760 # AIX 5 supports IA64
15761 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15762 shlibpath_var
=LD_LIBRARY_PATH
15764 # With GCC up to 2.95.x, collect2 would create an import file
15765 # for dependence libraries. The import file would start with
15766 # the line `#! .'. This would cause the generated library to
15767 # depend on `.', always an invalid library. This was fixed in
15768 # development snapshots of GCC prior to 3.0.
15770 aix4 | aix4.
[01] | aix4.
[01].
*)
15771 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15773 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15776 can_build_shared
=no
15780 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15781 # soname into executable. Probably we can add versioning support to
15782 # collect2, so additional links can be useful in future.
15783 if test "$aix_use_runtimelinking" = yes; then
15784 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15785 # instead of lib<name>.a to let people know that these are not
15786 # typical AIX shared libraries.
15787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15789 # We preserve .a as extension for shared libraries through AIX4.2
15790 # and later when we are not doing run time linking.
15791 library_names_spec
='${libname}${release}.a $libname.a'
15792 soname_spec
='${libname}${release}${shared_ext}$major'
15794 shlibpath_var
=LIBPATH
15799 library_names_spec
='$libname.ixlibrary $libname.a'
15800 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15801 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'
15805 library_names_spec
='${libname}${shared_ext}'
15806 dynamic_linker
="$host_os ld.so"
15807 shlibpath_var
=LIBRARY_PATH
15813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15814 soname_spec
='${libname}${release}${shared_ext}$major'
15815 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15816 shlibpath_var
=LD_LIBRARY_PATH
15817 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15818 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15819 # the default ld.so.conf also contains /usr/contrib/lib and
15820 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15821 # libtool to hard-code these into programs
15824 cygwin
* | mingw
* | pw32
*)
15825 version_type
=windows
15830 case $GCC,$host_os in
15831 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15832 library_names_spec
='$libname.dll.a'
15833 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15834 postinstall_cmds
='base_file=`basename \${file}`~
15835 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15836 dldir=$destdir/`dirname \$dlpath`~
15837 test -d \$dldir || mkdir -p \$dldir~
15838 $install_prog $dir/$dlname \$dldir/$dlname~
15839 chmod a+x \$dldir/$dlname'
15840 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15841 dlpath=$dir/\$dldll~
15843 shlibpath_overrides_runpath
=yes
15847 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15848 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15849 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15852 # MinGW DLLs use traditional 'lib' prefix
15853 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15854 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15855 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15856 # It is most probably a Windows format PATH printed by
15857 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15858 # path with ; separators, and with drive letters. We can handle the
15859 # drive letters (cygwin fileutils understands them), so leave them,
15860 # especially as we might pass files found there to a mingw objdump,
15861 # which wouldn't understand a cygwinified path. Ahh.
15862 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15868 # pw32 DLLs use 'pw' prefix rather than 'lib'
15869 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15875 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15878 dynamic_linker
='Win32 ld.exe'
15879 # FIXME: first we should search . and the directory the executable is in
15883 darwin
* | rhapsody
*)
15884 dynamic_linker
="$host_os dyld"
15885 version_type
=darwin
15888 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15889 soname_spec
='${libname}${release}${major}$shared_ext'
15890 shlibpath_overrides_runpath
=yes
15891 shlibpath_var
=DYLD_LIBRARY_PATH
15892 shrext_cmds
='.dylib'
15893 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15894 if test "$GCC" = yes; then
15895 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"`
15897 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15899 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15907 soname_spec
='${libname}${release}${shared_ext}$major'
15908 shlibpath_var
=LD_LIBRARY_PATH
15919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15920 soname_spec
='${libname}${release}${shared_ext}$major'
15921 shlibpath_var
=LD_LIBRARY_PATH
15922 shlibpath_overrides_runpath
=no
15923 hardcode_into_libs
=yes
15924 dynamic_linker
='GNU ld.so'
15927 freebsd
* | dragonfly
*)
15928 # DragonFly does not have aout. When/if they implement a new
15929 # versioning mechanism, adjust this.
15930 if test -x /usr
/bin
/objformat
; then
15931 objformat
=`/usr/bin/objformat`
15934 freebsd
[123]*) objformat
=aout
;;
15935 *) objformat
=elf
;;
15938 version_type
=freebsd-
$objformat
15939 case $version_type in
15941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15946 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15950 shlibpath_var
=LD_LIBRARY_PATH
15953 shlibpath_overrides_runpath
=yes
15955 freebsd3.
[01]* | freebsdelf3.
[01]*)
15956 shlibpath_overrides_runpath
=yes
15957 hardcode_into_libs
=yes
15959 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15960 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15961 shlibpath_overrides_runpath
=no
15962 hardcode_into_libs
=yes
15964 freebsd
*) # from 4.6 on
15965 shlibpath_overrides_runpath
=yes
15966 hardcode_into_libs
=yes
15975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15976 soname_spec
='${libname}${release}${shared_ext}$major'
15977 shlibpath_var
=LD_LIBRARY_PATH
15978 hardcode_into_libs
=yes
15981 hpux9
* | hpux10
* | hpux11
*)
15982 # Give a soname corresponding to the major version so that dld.sl refuses to
15983 # link against other versions.
15990 hardcode_into_libs
=yes
15991 dynamic_linker
="$host_os dld.so"
15992 shlibpath_var
=LD_LIBRARY_PATH
15993 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15995 soname_spec
='${libname}${release}${shared_ext}$major'
15996 if test "X$HPUX_IA64_MODE" = X32
; then
15997 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15999 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16001 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16005 hardcode_into_libs
=yes
16006 dynamic_linker
="$host_os dld.sl"
16007 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16008 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16010 soname_spec
='${libname}${release}${shared_ext}$major'
16011 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16012 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16016 dynamic_linker
="$host_os dld.sl"
16017 shlibpath_var
=SHLIB_PATH
16018 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16020 soname_spec
='${libname}${release}${shared_ext}$major'
16023 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16024 postinstall_cmds
='chmod 555 $lib'
16031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16032 soname_spec
='${libname}${release}${shared_ext}$major'
16033 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16034 shlibpath_var
=LD_LIBRARY_PATH
16035 shlibpath_overrides_runpath
=no
16036 hardcode_into_libs
=yes
16039 irix5
* | irix6
* | nonstopux
*)
16041 nonstopux
*) version_type
=nonstopux
;;
16043 if test "$lt_cv_prog_gnu_ld" = yes; then
16051 soname_spec
='${libname}${release}${shared_ext}$major'
16052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16054 irix5
* | nonstopux
*)
16055 libsuff
= shlibsuff
=
16058 case $LD in # libtool.m4 will add one of these switches to LD
16059 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16060 libsuff
= shlibsuff
= libmagic
=32-bit;;
16061 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16062 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16063 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16064 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16065 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16069 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16070 shlibpath_overrides_runpath
=no
16071 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16072 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16073 hardcode_into_libs
=yes
16076 # No shared lib support for Linux oldld, aout, or coff.
16077 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16081 # This must be Linux ELF.
16086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16087 soname_spec
='${libname}${release}${shared_ext}$major'
16088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16089 shlibpath_var
=LD_LIBRARY_PATH
16090 shlibpath_overrides_runpath
=no
16091 # This implies no fast_install, which is unacceptable.
16092 # Some rework will be needed to allow for fast_install
16093 # before this can be enabled.
16094 hardcode_into_libs
=yes
16096 # Append ld.so.conf contents to the search path
16097 if test -f /etc
/ld.so.conf
; then
16098 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' ' '`
16099 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16102 # We used to test for /lib/ld.so.1 and disable shared libraries on
16103 # powerpc, because MkLinux only supported shared libraries with the
16104 # GNU dynamic linker. Since this was broken with cross compilers,
16105 # most powerpc-linux boxes support dynamic linking these days and
16106 # people can always --disable-shared, the test was removed, and we
16107 # assume the GNU/Linux dynamic linker is in use.
16108 dynamic_linker
='GNU/Linux ld.so'
16115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16116 soname_spec
='${libname}${release}${shared_ext}$major'
16117 shlibpath_var
=LD_LIBRARY_PATH
16118 shlibpath_overrides_runpath
=no
16119 hardcode_into_libs
=yes
16120 dynamic_linker
='GNU ld.so'
16127 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16130 dynamic_linker
='NetBSD (a.out) ld.so'
16132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16133 soname_spec
='${libname}${release}${shared_ext}$major'
16134 dynamic_linker
='NetBSD ld.elf_so'
16136 shlibpath_var
=LD_LIBRARY_PATH
16137 shlibpath_overrides_runpath
=yes
16138 hardcode_into_libs
=yes
16143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16144 shlibpath_var
=LD_LIBRARY_PATH
16145 shlibpath_overrides_runpath
=yes
16152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16153 soname_spec
='${libname}${release}${shared_ext}$major'
16154 shlibpath_var
=LD_LIBRARY_PATH
16155 shlibpath_overrides_runpath
=yes
16160 sys_lib_dlsearch_path_spec
="/usr/lib"
16162 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16164 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16165 *) need_version
=no
;;
16167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16168 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16169 shlibpath_var
=LD_LIBRARY_PATH
16170 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16172 openbsd2.
[89] | openbsd2.
[89].
*)
16173 shlibpath_overrides_runpath
=no
16176 shlibpath_overrides_runpath
=yes
16180 shlibpath_overrides_runpath
=yes
16185 libname_spec
='$name'
16188 library_names_spec
='$libname${shared_ext} $libname.a'
16189 dynamic_linker
='OS/2 ld.exe'
16190 shlibpath_var
=LIBPATH
16193 osf3
* | osf4
* | osf5
*)
16197 soname_spec
='${libname}${release}${shared_ext}$major'
16198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16199 shlibpath_var
=LD_LIBRARY_PATH
16200 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16201 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16209 soname_spec
='${libname}${release}${shared_ext}$major'
16210 shlibpath_var
=LD_LIBRARY_PATH
16211 shlibpath_overrides_runpath
=yes
16212 hardcode_into_libs
=yes
16213 # ldd complains unless libraries are executable
16214 postinstall_cmds
='chmod +x $lib'
16219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16220 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16221 shlibpath_var
=LD_LIBRARY_PATH
16222 shlibpath_overrides_runpath
=yes
16223 if test "$with_gnu_ld" = yes; then
16231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16232 soname_spec
='${libname}${release}${shared_ext}$major'
16233 shlibpath_var
=LD_LIBRARY_PATH
16234 case $host_vendor in
16236 shlibpath_overrides_runpath
=no
16238 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16239 runpath_var
=LD_RUN_PATH
16247 shlibpath_overrides_runpath
=no
16248 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16254 if test -d /usr
/nec
;then
16256 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16257 soname_spec
='$libname${shared_ext}.$major'
16258 shlibpath_var
=LD_LIBRARY_PATH
16262 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16263 version_type
=freebsd-elf
16266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16267 soname_spec
='${libname}${release}${shared_ext}$major'
16268 shlibpath_var
=LD_LIBRARY_PATH
16269 hardcode_into_libs
=yes
16270 if test "$with_gnu_ld" = yes; then
16271 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16272 shlibpath_overrides_runpath
=no
16274 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16275 shlibpath_overrides_runpath
=yes
16278 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16282 sys_lib_dlsearch_path_spec
='/usr/lib'
16287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16288 soname_spec
='${libname}${release}${shared_ext}$major'
16289 shlibpath_var
=LD_LIBRARY_PATH
16296 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16297 echo "${ECHO_T}$dynamic_linker" >&6; }
16298 test "$dynamic_linker" = no
&& can_build_shared
=no
16300 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16301 if test "$GCC" = yes; then
16302 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16305 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16306 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16308 if test -n "$hardcode_libdir_flag_spec" || \
16309 test -n "$runpath_var" || \
16310 test "X$hardcode_automatic" = "Xyes" ; then
16312 # We can hardcode non-existant directories.
16313 if test "$hardcode_direct" != no
&&
16314 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16315 # have to relink, otherwise we might link with an installed library
16316 # when we should be linking with a yet-to-be-installed one
16317 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16318 test "$hardcode_minus_L" != no
; then
16319 # Linking always hardcodes the temporary library directory.
16320 hardcode_action
=relink
16322 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16323 hardcode_action
=immediate
16326 # We cannot hardcode anything, or else we can only hardcode existing
16328 hardcode_action
=unsupported
16330 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16331 echo "${ECHO_T}$hardcode_action" >&6; }
16333 if test "$hardcode_action" = relink
; then
16334 # Fast installation is not supported
16335 enable_fast_install
=no
16336 elif test "$shlibpath_overrides_runpath" = yes ||
16337 test "$enable_shared" = no
; then
16338 # Fast installation is not necessary
16339 enable_fast_install
=needless
16344 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16345 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16346 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16347 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16348 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16349 { echo "$as_me:$LINENO: result: yes" >&5
16350 echo "${ECHO_T}yes" >&6; }
16352 # FIXME - insert some real tests, host_os isn't really good enough
16355 if test -n "$STRIP" ; then
16356 striplib
="$STRIP -x"
16357 { echo "$as_me:$LINENO: result: yes" >&5
16358 echo "${ECHO_T}yes" >&6; }
16360 { echo "$as_me:$LINENO: result: no" >&5
16361 echo "${ECHO_T}no" >&6; }
16365 { echo "$as_me:$LINENO: result: no" >&5
16366 echo "${ECHO_T}no" >&6; }
16371 if test "x$enable_dlopen" != xyes
; then
16372 enable_dlopen
=unknown
16373 enable_dlopen_self
=unknown
16374 enable_dlopen_self_static
=unknown
16381 lt_cv_dlopen
="load_add_on"
16383 lt_cv_dlopen_self
=yes
16387 lt_cv_dlopen
="LoadLibrary"
16392 lt_cv_dlopen
="dlopen"
16397 # if libdl is installed we need to link against it
16398 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16399 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16400 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16401 echo $ECHO_N "(cached) $ECHO_C" >&6
16403 ac_check_lib_save_LIBS
=$LIBS
16405 cat >conftest.
$ac_ext <<_ACEOF
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16412 /* Override any GCC internal prototype to avoid an error.
16413 Use char because int might match the return type of a GCC
16414 builtin and then its argument prototype would still apply. */
16427 rm -f conftest.
$ac_objext conftest
$ac_exeext
16428 if { (ac_try
="$ac_link"
16429 case "(($ac_try" in
16430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_link") 2>conftest.er1
16436 grep -v '^ *+' conftest.er1 >conftest.err
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16442 { (case "(($ac_try" in
16443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16444 *) ac_try_echo
=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_try") 2>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; } &&
16451 { ac_try
='test -s conftest$ac_exeext'
16452 { (case "(($ac_try" in
16453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16454 *) ac_try_echo=$ac_try;;
16456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16457 (eval "$ac_try") 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 ac_cv_lib_dl_dlopen=yes
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16466 ac_cv_lib_dl_dlopen=no
16469 rm -f core conftest.err conftest.$ac_objext \
16470 conftest$ac_exeext conftest.$ac_ext
16471 LIBS=$ac_check_lib_save_LIBS
16473 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16474 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16475 if test $ac_cv_lib_dl_dlopen = yes; then
16476 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16479 lt_cv_dlopen="dyld"
16481 lt_cv_dlopen_self=yes
16488 { echo "$as_me:$LINENO: checking for shl_load" >&5
16489 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16490 if test "${ac_cv_func_shl_load+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 cat >conftest.$ac_ext <<_ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16499 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16501 #define shl_load innocuous_shl_load
16503 /* System header to define __stub macros and hopefully few prototypes,
16504 which can conflict with char shl_load (); below.
16505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16506 <limits.h> exists even on freestanding compilers. */
16509 # include <limits.h>
16511 # include <assert.h>
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16523 /* The GNU C library defines this for functions which it implements
16524 to always fail with ENOSYS. Some functions are actually named
16525 something starting with __ and the normal name is an alias. */
16526 #if defined __stub_shl_load || defined __stub___shl_load
16533 return shl_load ();
16538 rm -f conftest.$ac_objext conftest$ac_exeext
16539 if { (ac_try="$ac_link"
16540 case "(($ac_try" in
16541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16542 *) ac_try_echo
=$ac_try;;
16544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16545 (eval "$ac_link") 2>conftest.er1
16547 grep -v '^ *+' conftest.er1
>conftest.err
16549 cat conftest.err
>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16553 { (case "(($ac_try" in
16554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_try") 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; } &&
16562 { ac_try='test -s conftest$ac_exeext'
16563 { (case "(($ac_try" in
16564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16565 *) ac_try_echo
=$ac_try;;
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_try") 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_func_shl_load
=yes
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.
$ac_ext >&5
16577 ac_cv_func_shl_load
=no
16580 rm -f core conftest.err conftest.
$ac_objext \
16581 conftest
$ac_exeext conftest.
$ac_ext
16583 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16584 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16585 if test $ac_cv_func_shl_load = yes; then
16586 lt_cv_dlopen
="shl_load"
16588 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16589 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16590 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16593 ac_check_lib_save_LIBS
=$LIBS
16595 cat >conftest.
$ac_ext <<_ACEOF
16598 cat confdefs.h
>>conftest.
$ac_ext
16599 cat >>conftest.
$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16602 /* Override any GCC internal prototype to avoid an error.
16603 Use char because int might match the return type of a GCC
16604 builtin and then its argument prototype would still apply. */
16612 return shl_load ();
16617 rm -f conftest.
$ac_objext conftest
$ac_exeext
16618 if { (ac_try
="$ac_link"
16619 case "(($ac_try" in
16620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_link") 2>conftest.er1
16626 grep -v '^ *+' conftest.er1 >conftest.err
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try
='test -s conftest$ac_exeext'
16642 { (case "(($ac_try" in
16643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16644 *) ac_try_echo=$ac_try;;
16646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16647 (eval "$ac_try") 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 ac_cv_lib_dld_shl_load=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16656 ac_cv_lib_dld_shl_load=no
16659 rm -f core conftest.err conftest.$ac_objext \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_lib_save_LIBS
16663 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16664 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16665 if test $ac_cv_lib_dld_shl_load = yes; then
16666 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16668 { echo "$as_me:$LINENO: checking for dlopen" >&5
16669 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16670 if test "${ac_cv_func_dlopen+set}" = set; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16673 cat >conftest.$ac_ext <<_ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16681 #define dlopen innocuous_dlopen
16683 /* System header to define __stub macros and hopefully few prototypes,
16684 which can conflict with char dlopen (); below.
16685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16686 <limits.h> exists even on freestanding compilers. */
16689 # include <limits.h>
16691 # include <assert.h>
16696 /* Override any GCC internal prototype to avoid an error.
16697 Use char because int might match the return type of a GCC
16698 builtin and then its argument prototype would still apply. */
16703 /* The GNU C library defines this for functions which it implements
16704 to always fail with ENOSYS. Some functions are actually named
16705 something starting with __ and the normal name is an alias. */
16706 #if defined __stub_dlopen || defined __stub___dlopen
16718 rm -f conftest.$ac_objext conftest$ac_exeext
16719 if { (ac_try="$ac_link"
16720 case "(($ac_try" in
16721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16722 *) ac_try_echo
=$ac_try;;
16724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16725 (eval "$ac_link") 2>conftest.er1
16727 grep -v '^ *+' conftest.er1
>conftest.err
16729 cat conftest.err
>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16733 { (case "(($ac_try" in
16734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16735 *) ac_try_echo=$ac_try;;
16737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16738 (eval "$ac_try") 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; }; then
16752 ac_cv_func_dlopen
=yes
16754 echo "$as_me: failed program was:" >&5
16755 sed 's/^/| /' conftest.
$ac_ext >&5
16757 ac_cv_func_dlopen
=no
16760 rm -f core conftest.err conftest.
$ac_objext \
16761 conftest
$ac_exeext conftest.
$ac_ext
16763 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16764 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16765 if test $ac_cv_func_dlopen = yes; then
16766 lt_cv_dlopen
="dlopen"
16768 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16769 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16770 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 ac_check_lib_save_LIBS
=$LIBS
16775 cat >conftest.
$ac_ext <<_ACEOF
16778 cat confdefs.h
>>conftest.
$ac_ext
16779 cat >>conftest.
$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16782 /* Override any GCC internal prototype to avoid an error.
16783 Use char because int might match the return type of a GCC
16784 builtin and then its argument prototype would still apply. */
16797 rm -f conftest.
$ac_objext conftest
$ac_exeext
16798 if { (ac_try
="$ac_link"
16799 case "(($ac_try" in
16800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16801 *) ac_try_echo=$ac_try;;
16803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16804 (eval "$ac_link") 2>conftest.er1
16806 grep -v '^ *+' conftest.er1 >conftest.err
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16812 { (case "(($ac_try" in
16813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16814 *) ac_try_echo
=$ac_try;;
16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16817 (eval "$ac_try") 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 ac_cv_lib_dl_dlopen=yes
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 ac_cv_lib_dl_dlopen=no
16839 rm -f core conftest.err conftest.$ac_objext \
16840 conftest$ac_exeext conftest.$ac_ext
16841 LIBS=$ac_check_lib_save_LIBS
16843 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16844 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16845 if test $ac_cv_lib_dl_dlopen = yes; then
16846 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16848 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16849 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
16850 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 ac_check_lib_save_LIBS=$LIBS
16854 LIBS="-lsvld $LIBS"
16855 cat >conftest.$ac_ext <<_ACEOF
16858 cat confdefs.h >>conftest.$ac_ext
16859 cat >>conftest.$ac_ext <<_ACEOF
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16877 rm -f conftest.$ac_objext conftest$ac_exeext
16878 if { (ac_try="$ac_link"
16879 case "(($ac_try" in
16880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16881 *) ac_try_echo
=$ac_try;;
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_link") 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (case "(($ac_try" in
16893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16894 *) ac_try_echo=$ac_try;;
16896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16897 (eval "$ac_try") 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }; } &&
16901 { ac_try='test -s conftest$ac_exeext'
16902 { (case "(($ac_try" in
16903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16904 *) ac_try_echo
=$ac_try;;
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_try") 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_lib_svld_dlopen
=yes
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.
$ac_ext >&5
16916 ac_cv_lib_svld_dlopen
=no
16919 rm -f core conftest.err conftest.
$ac_objext \
16920 conftest
$ac_exeext conftest.
$ac_ext
16921 LIBS
=$ac_check_lib_save_LIBS
16923 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16924 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16925 if test $ac_cv_lib_svld_dlopen = yes; then
16926 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
16928 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16929 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16930 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 ac_check_lib_save_LIBS
=$LIBS
16935 cat >conftest.
$ac_ext <<_ACEOF
16938 cat confdefs.h
>>conftest.
$ac_ext
16939 cat >>conftest.
$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16942 /* Override any GCC internal prototype to avoid an error.
16943 Use char because int might match the return type of a GCC
16944 builtin and then its argument prototype would still apply. */
16952 return dld_link ();
16957 rm -f conftest.
$ac_objext conftest
$ac_exeext
16958 if { (ac_try
="$ac_link"
16959 case "(($ac_try" in
16960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_link") 2>conftest.er1
16966 grep -v '^ *+' conftest.er1 >conftest.err
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16972 { (case "(($ac_try" in
16973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16974 *) ac_try_echo
=$ac_try;;
16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16977 (eval "$ac_try") 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest$ac_exeext'
16982 { (case "(($ac_try" in
16983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_try") 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16991 ac_cv_lib_dld_dld_link=yes
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.$ac_ext >&5
16996 ac_cv_lib_dld_dld_link=no
16999 rm -f core conftest.err conftest.$ac_objext \
17000 conftest$ac_exeext conftest.$ac_ext
17001 LIBS=$ac_check_lib_save_LIBS
17003 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17004 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17005 if test $ac_cv_lib_dld_dld_link = yes; then
17006 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17027 if test "x$lt_cv_dlopen" != xno; then
17033 case $lt_cv_dlopen in
17035 save_CPPFLAGS="$CPPFLAGS"
17036 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17038 save_LDFLAGS="$LDFLAGS"
17039 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17042 LIBS="$lt_cv_dlopen_libs $LIBS"
17044 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17045 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17046 if test "${lt_cv_dlopen_self+set}" = set; then
17047 echo $ECHO_N "(cached) $ECHO_C" >&6
17049 if test "$cross_compiling" = yes; then :
17050 lt_cv_dlopen_self=cross
17052 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17053 lt_status=$lt_dlunknown
17054 cat > conftest.$ac_ext <<EOF
17055 #line 17055 "configure"
17056 #include "confdefs.h"
17065 # define LT_DLGLOBAL RTLD_GLOBAL
17068 # define LT_DLGLOBAL DL_GLOBAL
17070 # define LT_DLGLOBAL 0
17074 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17075 find out it does not work in some platform. */
17076 #ifndef LT_DLLAZY_OR_NOW
17078 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17081 # define LT_DLLAZY_OR_NOW DL_LAZY
17084 # define LT_DLLAZY_OR_NOW RTLD_NOW
17087 # define LT_DLLAZY_OR_NOW DL_NOW
17089 # define LT_DLLAZY_OR_NOW 0
17097 extern "C" void exit (int);
17100 void fnord() { int i=42;}
17103 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17104 int status = $lt_dlunknown;
17108 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17109 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17110 /* dlclose (self); */
17118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17119 (eval $ac_link) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17123 (./conftest; exit; ) >&5 2>/dev/null
17125 case x$lt_status in
17126 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17127 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17128 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17131 # compilation failed
17132 lt_cv_dlopen_self=no
17139 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17140 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17142 if test "x$lt_cv_dlopen_self" = xyes; then
17143 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17144 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17145 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17146 if test "${lt_cv_dlopen_self_static+set}" = set; then
17147 echo $ECHO_N "(cached) $ECHO_C" >&6
17149 if test "$cross_compiling" = yes; then :
17150 lt_cv_dlopen_self_static=cross
17152 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17153 lt_status=$lt_dlunknown
17154 cat > conftest.$ac_ext <<EOF
17155 #line 17155 "configure"
17156 #include "confdefs.h"
17165 # define LT_DLGLOBAL RTLD_GLOBAL
17168 # define LT_DLGLOBAL DL_GLOBAL
17170 # define LT_DLGLOBAL 0
17174 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17175 find out it does not work in some platform. */
17176 #ifndef LT_DLLAZY_OR_NOW
17178 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17181 # define LT_DLLAZY_OR_NOW DL_LAZY
17184 # define LT_DLLAZY_OR_NOW RTLD_NOW
17187 # define LT_DLLAZY_OR_NOW DL_NOW
17189 # define LT_DLLAZY_OR_NOW 0
17197 extern "C" void exit (int);
17200 void fnord() { int i=42;}
17203 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17204 int status = $lt_dlunknown;
17208 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17209 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17210 /* dlclose (self); */
17218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17219 (eval $ac_link) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17223 (./conftest; exit; ) >&5 2>/dev/null
17225 case x$lt_status in
17226 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17227 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17228 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17231 # compilation failed
17232 lt_cv_dlopen_self_static=no
17239 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17240 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17243 CPPFLAGS="$save_CPPFLAGS"
17244 LDFLAGS="$save_LDFLAGS"
17249 case $lt_cv_dlopen_self in
17250 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17251 *) enable_dlopen_self=unknown ;;
17254 case $lt_cv_dlopen_self_static in
17255 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17256 *) enable_dlopen_self_static=unknown ;;
17261 # Report which library types will actually be built
17262 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17263 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17264 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17265 echo "${ECHO_T}$can_build_shared" >&6; }
17267 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17268 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17269 test "$can_build_shared" = "no" && enable_shared=no
17271 # On AIX, shared libraries and static libraries use the same namespace, and
17272 # are all built from PIC.
17275 test "$enable_shared" = yes && enable_static=no
17276 if test -n "$RANLIB"; then
17277 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17278 postinstall_cmds='$RANLIB $lib'
17283 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17284 test "$enable_shared" = yes && enable_static=no
17288 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17289 echo "${ECHO_T}$enable_shared" >&6; }
17291 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17292 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17293 # Make sure either enable_shared or enable_static is yes.
17294 test "$enable_shared" = yes || enable_static=yes
17295 { echo "$as_me:$LINENO: result: $enable_static" >&5
17296 echo "${ECHO_T}$enable_static" >&6; }
17298 # The else clause should only fire when bootstrapping the
17299 # libtool distribution, otherwise you forgot to ship ltmain.sh
17300 # with your package, and you will get complaints that there are
17301 # no rules to generate ltmain.sh.
17302 if test -f "$ltmain"; then
17303 # See if we are running on zsh, and set the options which allow our commands through
17304 # without removal of \ escapes.
17305 if test -n "${ZSH_VERSION+set}" ; then
17306 setopt NO_GLOB_SUBST
17308 # Now quote all the things that may contain metacharacters while being
17309 # careful not to overquote the AC_SUBSTed values. We take copies of the
17310 # variables and quote the copies for generation of the libtool script.
17311 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17313 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17314 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17315 deplibs_check_method reload_flag reload_cmds need_locks \
17316 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17317 lt_cv_sys_global_symbol_to_c_name_address \
17318 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17319 old_postinstall_cmds old_postuninstall_cmds \
17323 lt_prog_compiler_wl \
17324 lt_prog_compiler_pic \
17325 lt_prog_compiler_static \
17326 lt_prog_compiler_no_builtin_flag \
17327 export_dynamic_flag_spec \
17328 thread_safe_flag_spec \
17329 whole_archive_flag_spec \
17330 enable_shared_with_static_runtimes \
17332 old_archive_from_new_cmds \
17337 compiler_lib_search_path \
17339 archive_expsym_cmds \
17341 postuninstall_cmds \
17342 old_archive_from_expsyms_cmds \
17343 allow_undefined_flag \
17344 no_undefined_flag \
17345 export_symbols_cmds \
17346 hardcode_libdir_flag_spec \
17347 hardcode_libdir_flag_spec_ld \
17348 hardcode_libdir_separator \
17349 hardcode_automatic \
17351 module_expsym_cmds \
17352 lt_cv_prog_compiler_c_o \
17354 include_expsyms; do
17357 old_archive_cmds | \
17358 old_archive_from_new_cmds | \
17360 archive_expsym_cmds | \
17362 module_expsym_cmds | \
17363 old_archive_from_expsyms_cmds | \
17364 export_symbols_cmds | \
17365 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17366 postinstall_cmds | postuninstall_cmds | \
17367 old_postinstall_cmds | old_postuninstall_cmds | \
17368 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17369 # Double-quote double-evaled strings.
17370 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17373 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17379 *'\$0 --fallback-echo"')
17380 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17384 cfgfile="${ofile}T"
17385 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17387 { echo "$as_me:$LINENO: creating $ofile" >&5
17388 echo "$as_me: creating $ofile" >&6;}
17390 cat <<__EOF__ >> "$cfgfile"
17393 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17394 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17395 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17397 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17398 # Free Software Foundation, Inc.
17400 # This file is part of GNU Libtool:
17401 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17403 # This program is free software; you can redistribute it and/or modify
17404 # it under the terms of the GNU General Public License as published by
17405 # the Free Software Foundation; either version 2 of the License, or
17406 # (at your option) any later version.
17408 # This program is distributed in the hope that it will be useful, but
17409 # WITHOUT ANY WARRANTY; without even the implied warranty of
17410 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17411 # General Public License for more details.
17413 # You should have received a copy of the GNU General Public License
17414 # along with this program; if not, write to the Free Software
17415 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17417 # As a special exception to the GNU General Public License, if you
17418 # distribute this file as part of a program that contains a
17419 # configuration script generated by Autoconf, you may include it under
17420 # the same distribution terms that you use for the rest of that program.
17422 # A sed program that does not truncate output.
17425 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17426 Xsed="$SED -e 1s/^X//"
17428 # The HP-UX ksh and POSIX shell print the target directory to stdout
17429 # if CDPATH is set.
17430 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17432 # The names of the tagged configurations supported by this script.
17435 # ### BEGIN LIBTOOL CONFIG
17437 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17439 # Shell to use when invoking shell scripts.
17442 # Whether or not to build shared libraries.
17443 build_libtool_libs=$enable_shared
17445 # Whether or not to build static libraries.
17446 build_old_libs=$enable_static
17448 # Whether or not to add -lc for building shared libraries.
17449 build_libtool_need_lc=$archive_cmds_need_lc
17451 # Whether or not to disallow shared libs when runtime libs are static
17452 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17454 # Whether or not to optimize for fast installation.
17455 fast_install=$enable_fast_install
17458 host_alias=$host_alias
17462 # The build system.
17463 build_alias=$build_alias
17467 # An echo program that does not interpret backslashes.
17472 AR_FLAGS=$lt_AR_FLAGS
17477 # LTCC compiler flags.
17478 LTCFLAGS=$lt_LTCFLAGS
17480 # A language-specific compiler.
17483 # Is the compiler the GNU C compiler?
17489 # The linker used to build libraries.
17492 # Whether we need hard or soft links.
17495 # A BSD-compatible nm program.
17498 # A symbol stripping program
17501 # Used to examine libraries when file_magic_cmd begins "file"
17502 MAGIC_CMD=$MAGIC_CMD
17504 # Used on cygwin: DLL creation program.
17507 # Used on cygwin: object dumper.
17510 # Used on cygwin: assembler.
17513 # The name of the directory that contains temporary libtool files.
17516 # How to create reloadable object files.
17517 reload_flag=$lt_reload_flag
17518 reload_cmds=$lt_reload_cmds
17520 # How to pass a linker flag through the compiler.
17521 wl=$lt_lt_prog_compiler_wl
17523 # Object file suffix (normally "o").
17524 objext="$ac_objext"
17526 # Old archive suffix (normally "a").
17529 # Shared library suffix (normally ".so").
17530 shrext_cmds='$shrext_cmds'
17532 # Executable file suffix (normally "").
17535 # Additional compiler flags for building library objects.
17536 pic_flag=$lt_lt_prog_compiler_pic
17539 # What is the maximum length of a command?
17540 max_cmd_len=$lt_cv_sys_max_cmd_len
17542 # Does compiler simultaneously support -c and -o options?
17543 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17545 # Must we lock files when doing compilation?
17546 need_locks=$lt_need_locks
17548 # Do we need the lib prefix for modules?
17549 need_lib_prefix=$need_lib_prefix
17551 # Do we need a version for libraries?
17552 need_version=$need_version
17554 # Whether dlopen is supported.
17555 dlopen_support=$enable_dlopen
17557 # Whether dlopen of programs is supported.
17558 dlopen_self=$enable_dlopen_self
17560 # Whether dlopen of statically linked programs is supported.
17561 dlopen_self_static=$enable_dlopen_self_static
17563 # Compiler flag to prevent dynamic linking.
17564 link_static_flag=$lt_lt_prog_compiler_static
17566 # Compiler flag to turn off builtin functions.
17567 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17569 # Compiler flag to allow reflexive dlopens.
17570 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17572 # Compiler flag to generate shared objects directly from archives.
17573 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17575 # Compiler flag to generate thread-safe objects.
17576 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17578 # Library versioning type.
17579 version_type=$version_type
17581 # Format of library name prefix.
17582 libname_spec=$lt_libname_spec
17584 # List of archive names. First name is the real one, the rest are links.
17585 # The last name is the one that the linker finds with -lNAME.
17586 library_names_spec=$lt_library_names_spec
17588 # The coded name of the library, if different from the real name.
17589 soname_spec=$lt_soname_spec
17591 # Commands used to build and install an old-style archive.
17593 old_archive_cmds=$lt_old_archive_cmds
17594 old_postinstall_cmds=$lt_old_postinstall_cmds
17595 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17597 # Create an old-style archive from a shared archive.
17598 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17600 # Create a temporary old-style archive to link instead of a shared archive.
17601 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17603 # Commands used to build and install a shared archive.
17604 archive_cmds=$lt_archive_cmds
17605 archive_expsym_cmds=$lt_archive_expsym_cmds
17606 postinstall_cmds=$lt_postinstall_cmds
17607 postuninstall_cmds=$lt_postuninstall_cmds
17609 # Commands used to build a loadable module (assumed same as above if empty)
17610 module_cmds=$lt_module_cmds
17611 module_expsym_cmds=$lt_module_expsym_cmds
17613 # Commands to strip libraries.
17614 old_striplib=$lt_old_striplib
17615 striplib=$lt_striplib
17617 # Dependencies to place before the objects being linked to create a
17619 predep_objects=$lt_predep_objects
17621 # Dependencies to place after the objects being linked to create a
17623 postdep_objects=$lt_postdep_objects
17625 # Dependencies to place before the objects being linked to create a
17627 predeps=$lt_predeps
17629 # Dependencies to place after the objects being linked to create a
17631 postdeps=$lt_postdeps
17633 # The library search path used internally by the compiler when linking
17634 # a shared library.
17635 compiler_lib_search_path=$lt_compiler_lib_search_path
17637 # Method to check whether dependent libraries are shared objects.
17638 deplibs_check_method=$lt_deplibs_check_method
17640 # Command to use when deplibs_check_method == file_magic.
17641 file_magic_cmd=$lt_file_magic_cmd
17643 # Flag that allows shared libraries with undefined symbols to be built.
17644 allow_undefined_flag=$lt_allow_undefined_flag
17646 # Flag that forces no undefined symbols.
17647 no_undefined_flag=$lt_no_undefined_flag
17649 # Commands used to finish a libtool library installation in a directory.
17650 finish_cmds=$lt_finish_cmds
17652 # Same as above, but a single script fragment to be evaled but not shown.
17653 finish_eval=$lt_finish_eval
17655 # Take the output of nm and produce a listing of raw symbols and C names.
17656 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17658 # Transform the output of nm in a proper C declaration
17659 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17661 # Transform the output of nm in a C name address pair
17662 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17664 # This is the shared library runtime path variable.
17665 runpath_var=$runpath_var
17667 # This is the shared library path variable.
17668 shlibpath_var=$shlibpath_var
17670 # Is shlibpath searched before the hard-coded library search path?
17671 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17673 # How to hardcode a shared library path into an executable.
17674 hardcode_action=$hardcode_action
17676 # Whether we should hardcode library paths into libraries.
17677 hardcode_into_libs=$hardcode_into_libs
17679 # Flag to hardcode \$libdir into a binary during linking.
17680 # This must work even if \$libdir does not exist.
17681 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17683 # If ld is used when linking, flag to hardcode \$libdir into
17684 # a binary during linking. This must work even if \$libdir does
17686 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17688 # Whether we need a single -rpath flag with a separated argument.
17689 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17691 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17692 # resulting binary.
17693 hardcode_direct=$hardcode_direct
17695 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17696 # resulting binary.
17697 hardcode_minus_L=$hardcode_minus_L
17699 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17700 # the resulting binary.
17701 hardcode_shlibpath_var=$hardcode_shlibpath_var
17703 # Set to yes if building a shared library automatically hardcodes DIR into the library
17704 # and all subsequent libraries and executables linked against it.
17705 hardcode_automatic=$hardcode_automatic
17707 # Variables whose values should be saved in libtool wrapper scripts and
17708 # restored at relink time.
17709 variables_saved_for_relink="$variables_saved_for_relink"
17711 # Whether libtool must link a program against all its dependency libraries.
17712 link_all_deplibs=$link_all_deplibs
17714 # Compile-time system search path for libraries
17715 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17717 # Run-time system search path for libraries
17718 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17720 # Fix the shell variable \$srcfile for the compiler.
17721 fix_srcfile_path="$fix_srcfile_path"
17723 # Set to yes if exported symbols are required.
17724 always_export_symbols=$always_export_symbols
17726 # The commands to list exported symbols.
17727 export_symbols_cmds=$lt_export_symbols_cmds
17729 # The commands to extract the exported symbol list from a shared archive.
17730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17732 # Symbols that should not be listed in the preloaded symbols.
17733 exclude_expsyms=$lt_exclude_expsyms
17735 # Symbols that must always be exported.
17736 include_expsyms=$lt_include_expsyms
17738 # ### END LIBTOOL CONFIG
17745 cat <<\EOF >> "$cfgfile"
17747 # AIX sometimes has problems with the GCC collect2 program. For some
17748 # reason, if we set the COLLECT_NAMES environment variable, the problems
17749 # vanish in a puff of smoke.
17750 if test "X${COLLECT_NAMES+set}" != Xset; then
17752 export COLLECT_NAMES
17758 # We use sed instead of cat because bash on DJGPP gets confused if
17759 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17760 # text mode, it properly converts lines to CR/LF. This bash problem
17761 # is reportedly fixed, but why not run on old versions too?
17762 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17764 mv -f "$cfgfile" "$ofile" || \
17765 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17769 # If there is no Makefile yet, we rely on a make rule to execute
17770 # `config.status
--recheck' to rerun these tests and create the
17771 # libtool script then.
17772 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17773 if test -f "$ltmain_in"; then
17774 test -f Makefile && make "$ltmain"
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17782 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17788 # Check whether --with-tags was given.
17789 if test "${with_tags+set}" = set; then
17790 withval=$with_tags; tagnames="$withval"
17794 if test -f "$ltmain" && test -n "$tagnames"; then
17795 if test ! -f "${ofile}"; then
17796 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
17797 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
17800 if test -z "$LTCC"; then
17801 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
17802 if test -z "$LTCC"; then
17803 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17804 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
17806 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
17807 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
17810 if test -z "$LTCFLAGS"; then
17811 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
17814 # Extract list of available tagged configurations in $ofile.
17815 # Note that this assumes the entire list is on one line.
17816 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17818 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17819 for tagname in $tagnames; do
17821 # Check whether tagname contains only valid characters
17822 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
17824 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
17825 echo "$as_me: error: invalid tag name: $tagname" >&2;}
17826 { (exit 1); exit 1; }; }
17830 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17832 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
17833 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
17834 { (exit 1); exit 1; }; }
17837 # Update the list of available tags.
17838 if test -n "$tagname"; then
17839 echo appending configuration tag \"$tagname\" to $ofile
17843 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17844 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
17845 (test "X$CXX" != "Xg++"))) ; then
17847 ac_cpp='$CXXCPP $CPPFLAGS'
17848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17855 archive_cmds_need_lc_CXX=no
17856 allow_undefined_flag_CXX=
17857 always_export_symbols_CXX=no
17858 archive_expsym_cmds_CXX=
17859 export_dynamic_flag_spec_CXX=
17860 hardcode_direct_CXX=no
17861 hardcode_libdir_flag_spec_CXX=
17862 hardcode_libdir_flag_spec_ld_CXX=
17863 hardcode_libdir_separator_CXX=
17864 hardcode_minus_L_CXX=no
17865 hardcode_shlibpath_var_CXX=unsupported
17866 hardcode_automatic_CXX=no
17868 module_expsym_cmds_CXX=
17869 link_all_deplibs_CXX=unknown
17870 old_archive_cmds_CXX=$old_archive_cmds
17871 no_undefined_flag_CXX=
17872 whole_archive_flag_spec_CXX=
17873 enable_shared_with_static_runtimes_CXX=no
17875 # Dependencies to place before and after the object being linked:
17876 predep_objects_CXX=
17877 postdep_objects_CXX=
17880 compiler_lib_search_path_CXX=
17882 # Source file extension for C++ test sources.
17885 # Object file extension for compiled C++ test sources.
17889 # Code to be used in simple compile tests
17890 lt_simple_compile_test_code="int some_variable = 0;\n"
17892 # Code to be used in simple link tests
17893 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
17895 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17897 # If no C compiler was specified, use CC.
17900 # If no C compiler flags were specified, use CFLAGS.
17901 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17903 # Allow CC to be a program name with arguments.
17907 # save warnings/boilerplate of simple test code
17908 ac_outfile=conftest.$ac_objext
17909 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17910 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17911 _lt_compiler_boilerplate=`cat conftest.err
`
17914 ac_outfile=conftest.$ac_objext
17915 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17916 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17917 _lt_linker_boilerplate=`cat conftest.err
`
17921 # Allow CC to be a program name with arguments.
17926 lt_save_with_gnu_ld=$with_gnu_ld
17927 lt_save_path_LD=$lt_cv_path_LD
17928 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17929 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17931 $as_unset lt_cv_prog_gnu_ld
17933 if test -n "${lt_cv_path_LDCXX+set}"; then
17934 lt_cv_path_LD=$lt_cv_path_LDCXX
17936 $as_unset lt_cv_path_LD
17938 test -z "${LDCXX+set}" || LD=$LDCXX
17942 for cc_temp in $compiler""; do
17944 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17945 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17950 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17953 # We don't want -fno-exception wen compiling C++ code, so set the
17954 # no_builtin_flag separately
17955 if test "$GXX" = yes; then
17956 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17958 lt_prog_compiler_no_builtin_flag_CXX=
17961 if test "$GXX" = yes; then
17962 # Set up default GNU C++ configuration
17965 # Check whether --with-gnu-ld was given.
17966 if test "${with_gnu_ld+set}" = set; then
17967 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17973 if test "$GCC" = yes; then
17974 # Check if gcc -print-prog-name=ld gives a path.
17975 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17976 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
17979 # gcc leaves a trailing carriage return which upsets mingw
17980 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
17982 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17985 # Accept absolute paths.
17987 re_direlt='/[^/][^/]*/\.\./'
17988 # Canonicalize the pathname of ld
17989 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
17990 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17991 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
17993 test -z "$LD" && LD="$ac_prog"
17996 # If it fails, then pretend we aren't using GCC.
18000 # If it is relative, then search for the first ld in PATH.
18001 with_gnu_ld=unknown
18004 elif test "$with_gnu_ld" = yes; then
18005 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18006 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18008 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18009 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18011 if test "${lt_cv_path_LD+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 if test -z "$LD"; then
18015 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18016 for ac_dir in $PATH; do
18018 test -z "$ac_dir" && ac_dir=.
18019 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18020 lt_cv_path_LD="$ac_dir/$ac_prog"
18021 # Check to see if the program is GNU ld. I'd rather use --version,
18022 # but apparently some variants of GNU ld only accept -v.
18023 # Break only if it was the GNU/non-GNU ld that we prefer.
18024 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18025 *GNU* | *'with BFD'*)
18026 test "$with_gnu_ld" != no && break
18029 test "$with_gnu_ld" != yes && break
18036 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18040 LD="$lt_cv_path_LD"
18041 if test -n "$LD"; then
18042 { echo "$as_me:$LINENO: result: $LD" >&5
18043 echo "${ECHO_T}$LD" >&6; }
18045 { echo "$as_me:$LINENO: result: no" >&5
18046 echo "${ECHO_T}no" >&6; }
18048 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18049 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18050 { (exit 1); exit 1; }; }
18051 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18052 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18053 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18057 case `$LD -v 2>&1 </dev
/null
` in
18058 *GNU* | *'with BFD'*)
18059 lt_cv_prog_gnu_ld=yes
18062 lt_cv_prog_gnu_ld=no
18066 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18067 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18068 with_gnu_ld=$lt_cv_prog_gnu_ld
18072 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18073 # archiving commands below assume that GNU ld is being used.
18074 if test "$with_gnu_ld" = yes; then
18075 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18076 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'
18078 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18079 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18081 # If archive_cmds runs LD, not CC, wlarc should be empty
18082 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18083 # investigate it a little bit more. (MM)
18086 # ancient GNU ld didn't support --whole-archive et. al.
18087 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18088 grep 'no-whole-archive' > /dev/null; then
18089 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18091 whole_archive_flag_spec_CXX=
18097 # A generic and very simple default shared library creation
18098 # command for GNU C++ for the case where it uses the native
18099 # linker, instead of GNU ld. If possible, this setting should
18100 # overridden to take advantage of the native linker features on
18101 # the platform it is being used on.
18102 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18105 # Commands to make compiler produce verbose output that lists
18106 # what "hidden" libraries, object files and flags are used when
18107 # linking a shared library.
18108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18116 # PORTME: fill in a description of your system's C++ link characteristics
18117 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18118 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18122 # FIXME: insert proper C++ library support
18126 if test "$host_cpu" = ia64; then
18127 # On IA64, the linker does run time linking by default, so we don't
18128 # have to do anything special.
18129 aix_use_runtimelinking=no
18130 exp_sym_flag='-Bexport'
18133 aix_use_runtimelinking=no
18135 # Test if we are trying to use run time linking or normal
18136 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18137 # need to do runtime linking.
18138 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18139 for ld_flag in $LDFLAGS; do
18142 aix_use_runtimelinking=yes
18150 exp_sym_flag='-bexport'
18151 no_entry_flag='-bnoentry'
18154 # When large executables or shared objects are built, AIX ld can
18155 # have problems creating the table of contents. If linking a library
18156 # or program results in "error TOC overflow" add -mminimal-toc to
18157 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18158 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18160 archive_cmds_CXX=''
18161 hardcode_direct_CXX=yes
18162 hardcode_libdir_separator_CXX=':'
18163 link_all_deplibs_CXX=yes
18165 if test "$GXX" = yes; then
18166 case $host_os in aix4.[012]|aix4.[012].*)
18167 # We only want to do this on AIX 4.2 and lower, the check
18168 # below for broken collect2 doesn't work under 4.3+
18169 collect2name=`${CC} -print-prog-name=collect2
`
18170 if test -f "$collect2name" && \
18171 strings "$collect2name" | grep resolve_lib_name >/dev/null
18173 # We have reworked collect2
18174 hardcode_direct_CXX=yes
18176 # We have old collect2
18177 hardcode_direct_CXX=unsupported
18178 # It fails to find uninstalled libraries when the uninstalled
18179 # path is not listed in the libpath. Setting hardcode_minus_L
18180 # to unsupported forces relinking
18181 hardcode_minus_L_CXX=yes
18182 hardcode_libdir_flag_spec_CXX='-L$libdir'
18183 hardcode_libdir_separator_CXX=
18187 shared_flag='-shared'
18188 if test "$aix_use_runtimelinking" = yes; then
18189 shared_flag="$shared_flag "'${wl}-G'
18193 if test "$host_cpu" = ia64; then
18194 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18195 # chokes on -Wl,-G. The following line is correct:
18198 if test "$aix_use_runtimelinking" = yes; then
18199 shared_flag='${wl}-G'
18201 shared_flag='${wl}-bM:SRE'
18206 # It seems that -bexpall does not export symbols beginning with
18207 # underscore (_), so it is better to generate a list of symbols to export.
18208 always_export_symbols_CXX=yes
18209 if test "$aix_use_runtimelinking" = yes; then
18210 # Warning - without using the other runtime loading flags (-brtl),
18211 # -berok will link without error, but may produce a broken library.
18212 allow_undefined_flag_CXX='-berok'
18213 # Determine the default libpath from the value encoded in an empty executable.
18214 cat >conftest.$ac_ext <<_ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18229 rm -f conftest.$ac_objext conftest$ac_exeext
18230 if { (ac_try="$ac_link"
18231 case "(($ac_try" in
18232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18233 *) ac_try_echo
=$ac_try;;
18235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18236 (eval "$ac_link") 2>conftest.er1
18238 grep -v '^ *+' conftest.er1
>conftest.err
18240 cat conftest.err
>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18244 { (case "(($ac_try" in
18245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18246 *) ac_try_echo=$ac_try;;
18248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18249 (eval "$ac_try") 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try='test -s conftest$ac_exeext'
18254 { (case "(($ac_try" in
18255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18256 *) ac_try_echo
=$ac_try;;
18258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18259 (eval "$ac_try") 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18264 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18266 # Check for a 64-bit object if we didn't find anything.
18267 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; }
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.
$ac_ext >&5
18276 rm -f core conftest.err conftest.
$ac_objext \
18277 conftest
$ac_exeext conftest.
$ac_ext
18278 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18280 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18282 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"
18284 if test "$host_cpu" = ia64
; then
18285 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18286 allow_undefined_flag_CXX
="-z nodefs"
18287 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"
18289 # Determine the default libpath from the value encoded in an empty executable.
18290 cat >conftest.
$ac_ext <<_ACEOF
18293 cat confdefs.h
>>conftest.
$ac_ext
18294 cat >>conftest.
$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18305 rm -f conftest.
$ac_objext conftest
$ac_exeext
18306 if { (ac_try
="$ac_link"
18307 case "(($ac_try" in
18308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_link") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } &&
18319 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18320 { (case "(($ac_try" in
18321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18322 *) ac_try_echo
=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_try") 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest$ac_exeext'
18330 { (case "(($ac_try" in
18331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_try") 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18340 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18342 # Check for a 64-bit object if we didn't find anything.
18343 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; }
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext conftest.$ac_ext
18354 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18356 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18357 # Warning - without using the other run time loading flags,
18358 # -berok will link without error, but may produce a broken library.
18359 no_undefined_flag_CXX=' ${wl}-bernotok'
18360 allow_undefined_flag_CXX=' ${wl}-berok'
18361 # Exported symbols can be pulled into shared objects from archives
18362 whole_archive_flag_spec_CXX='$convenience'
18363 archive_cmds_need_lc_CXX=yes
18364 # This is similar to how AIX traditionally builds its shared libraries.
18365 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'
18371 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18372 allow_undefined_flag_CXX=unsupported
18373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18374 # support --undefined. This deserves some investigation. FIXME
18375 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18382 case $cc_basename in
18384 # FIXME: insert proper C++ library support
18390 cygwin* | mingw* | pw32*)
18391 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18392 # as there is no search path for DLLs.
18393 hardcode_libdir_flag_spec_CXX='-L$libdir'
18394 allow_undefined_flag_CXX=unsupported
18395 always_export_symbols_CXX=no
18396 enable_shared_with_static_runtimes_CXX=yes
18398 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18399 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'
18400 # If the export-symbols file already is a .def file (1st line
18401 # is EXPORTS), use it as is; otherwise, prepend...
18402 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18403 cp $export_symbols $output_objdir/$soname.def;
18405 echo EXPORTS > $output_objdir/$soname.def;
18406 cat $export_symbols >> $output_objdir/$soname.def;
18408 $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'
18413 darwin* | rhapsody*)
18415 rhapsody* | darwin1.[012])
18416 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18419 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18420 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18422 case ${MACOSX_DEPLOYMENT_TARGET} in
18424 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18427 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18433 archive_cmds_need_lc_CXX=no
18434 hardcode_direct_CXX=no
18435 hardcode_automatic_CXX=yes
18436 hardcode_shlibpath_var_CXX=unsupported
18437 whole_archive_flag_spec_CXX=''
18438 link_all_deplibs_CXX=yes
18440 if test "$GXX" = yes ; then
18441 lt_int_apple_cc_single_mod=no
18442 output_verbose_link_cmd='echo'
18443 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18444 lt_int_apple_cc_single_mod=yes
18446 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18447 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18449 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'
18451 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18452 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18453 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18454 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}'
18456 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}'
18458 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}'
18460 case $cc_basename in
18462 output_verbose_link_cmd='echo'
18463 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'
18464 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18465 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18466 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}'
18467 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}'
18477 case $cc_basename in
18479 # FIXME: insert proper C++ library support
18483 # Green Hills C++ Compiler
18484 # FIXME: insert proper C++ library support
18488 # FIXME: insert proper C++ library support
18494 # C++ shared libraries reported to be fairly broken before switch to ELF
18498 archive_cmds_need_lc_CXX=no
18500 freebsd* | kfreebsd*-gnu | dragonfly*)
18501 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18508 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18509 hardcode_libdir_separator_CXX=:
18510 export_dynamic_flag_spec_CXX='${wl}-E'
18511 hardcode_direct_CXX=yes
18512 hardcode_minus_L_CXX=yes # Not in the search PATH,
18513 # but as the default
18514 # location of the library.
18516 case $cc_basename in
18518 # FIXME: insert proper C++ library support
18522 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'
18523 # Commands to make compiler produce verbose output that lists
18524 # what "hidden" libraries, object files and flags are used when
18525 # linking a shared library.
18527 # There doesn't appear to be a way to prevent this compiler from
18528 # explicitly linking system object files so we need to strip them
18529 # from the output so that they don't get included in the library
18531 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'
18534 if test "$GXX" = yes; then
18535 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'
18537 # FIXME: insert proper C++ library support
18544 if test $with_gnu_ld = no; then
18545 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18546 hardcode_libdir_separator_CXX=:
18550 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18553 export_dynamic_flag_spec_CXX='${wl}-E'
18559 hardcode_direct_CXX=no
18560 hardcode_shlibpath_var_CXX=no
18563 hardcode_direct_CXX=yes
18564 hardcode_minus_L_CXX=yes # Not in the search PATH,
18565 # but as the default
18566 # location of the library.
18570 case $cc_basename in
18572 # FIXME: insert proper C++ library support
18578 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18581 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18584 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18587 # Commands to make compiler produce verbose output that lists
18588 # what "hidden" libraries, object files and flags are used when
18589 # linking a shared library.
18591 # There doesn't appear to be a way to prevent this compiler from
18592 # explicitly linking system object files so we need to strip them
18593 # from the output so that they don't get included in the library
18595 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'
18598 if test "$GXX" = yes; then
18599 if test $with_gnu_ld = no; then
18602 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18605 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18608 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'
18613 # FIXME: insert proper C++ library support
18620 hardcode_direct_CXX=no
18621 hardcode_shlibpath_var_CXX=no
18622 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18623 export_dynamic_flag_spec_CXX='${wl}-E'
18624 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18625 # Instead, shared libraries are loaded at an image base (0x10000000 by
18626 # default) and relocated if they conflict, which is a slow very memory
18627 # consuming and fragmenting process. To avoid this, we pick a random,
18628 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18629 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18630 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'
18631 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'
18634 case $cc_basename in
18637 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'
18639 # Archives containing C++ object files must be created using
18640 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18641 # necessary to make sure instantiated templates are included
18643 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18646 if test "$GXX" = yes; then
18647 if test "$with_gnu_ld" = no; then
18648 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'
18650 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'
18653 link_all_deplibs_CXX=yes
18656 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18657 hardcode_libdir_separator_CXX=:
18660 case $cc_basename in
18662 # Kuck and Associates, Inc. (KAI) C++ Compiler
18664 # KCC will only create a shared library if the output file
18665 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18666 # to its proper name (with version) after linking.
18667 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'
18668 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'
18669 # Commands to make compiler produce verbose output that lists
18670 # what "hidden" libraries, object files and flags are used when
18671 # linking a shared library.
18673 # There doesn't appear to be a way to prevent this compiler from
18674 # explicitly linking system object files so we need to strip them
18675 # from the output so that they don't get included in the library
18677 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'
18679 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18680 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18682 # Archives containing C++ object files must be created using
18683 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18684 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18689 # version 8.0 and above of icpc choke on multiply defined symbols
18690 # if we add $predep_objects and $postdep_objects, however 7.1 and
18691 # earlier do not add the objects themselves.
18692 case `$CC -V 2>&1` in
18694 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18695 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'
18697 *) # Version 8.0 or newer
18700 ia64
*) tmp_idyn
=' -i_dynamic';;
18702 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18703 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'
18706 archive_cmds_need_lc_CXX
=no
18707 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18708 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18709 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18712 # Portland Group C++ compiler
18713 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18714 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'
18716 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18717 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18718 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'
18722 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18723 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'
18725 runpath_var
=LD_RUN_PATH
18726 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18727 hardcode_libdir_separator_CXX
=:
18729 # Commands to make compiler produce verbose output that lists
18730 # what "hidden" libraries, object files and flags are used when
18731 # linking a shared library.
18733 # There doesn't appear to be a way to prevent this compiler from
18734 # explicitly linking system object files so we need to strip them
18735 # from the output so that they don't get included in the library
18737 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'
18742 # FIXME: insert proper C++ library support
18746 # FIXME: insert proper C++ library support
18750 case $cc_basename in
18752 # FIXME: insert proper C++ library support
18756 # FIXME: insert proper C++ library support
18762 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18763 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18765 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18766 hardcode_direct_CXX
=yes
18767 hardcode_shlibpath_var_CXX
=no
18769 # Workaround some broken pre-1.5 toolchains
18770 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18773 # C++ shared libraries are fairly broken
18777 hardcode_direct_CXX
=yes
18778 hardcode_shlibpath_var_CXX
=no
18779 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18780 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18781 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18782 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18783 export_dynamic_flag_spec_CXX
='${wl}-E'
18784 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18786 output_verbose_link_cmd
='echo'
18789 case $cc_basename in
18791 # Kuck and Associates, Inc. (KAI) C++ Compiler
18793 # KCC will only create a shared library if the output file
18794 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18795 # to its proper name (with version) after linking.
18796 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'
18798 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18799 hardcode_libdir_separator_CXX
=:
18801 # Archives containing C++ object files must be created using
18802 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18803 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18807 # Rational C++ 2.4.1
18808 # FIXME: insert proper C++ library support
18812 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18813 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'
18815 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18816 hardcode_libdir_separator_CXX
=:
18818 # Commands to make compiler produce verbose output that lists
18819 # what "hidden" libraries, object files and flags are used when
18820 # linking a shared library.
18822 # There doesn't appear to be a way to prevent this compiler from
18823 # explicitly linking system object files so we need to strip them
18824 # from the output so that they don't get included in the library
18826 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'
18829 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18830 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18831 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'
18833 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18834 hardcode_libdir_separator_CXX
=:
18836 # Commands to make compiler produce verbose output that lists
18837 # what "hidden" libraries, object files and flags are used when
18838 # linking a shared library.
18839 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18842 # FIXME: insert proper C++ library support
18849 case $cc_basename in
18851 # Kuck and Associates, Inc. (KAI) C++ Compiler
18853 # KCC will only create a shared library if the output file
18854 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18855 # to its proper name (with version) after linking.
18856 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'
18858 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18859 hardcode_libdir_separator_CXX
=:
18861 # Archives containing C++ object files must be created using
18862 # the KAI C++ compiler.
18863 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
18866 # Rational C++ 2.4.1
18867 # FIXME: insert proper C++ library support
18871 allow_undefined_flag_CXX
=' -expect_unresolved \*'
18872 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'
18873 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18874 echo "-hidden">> $lib.exp~
18875 $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~
18878 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18879 hardcode_libdir_separator_CXX
=:
18881 # Commands to make compiler produce verbose output that lists
18882 # what "hidden" libraries, object files and flags are used when
18883 # linking a shared library.
18885 # There doesn't appear to be a way to prevent this compiler from
18886 # explicitly linking system object files so we need to strip them
18887 # from the output so that they don't get included in the library
18889 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'
18892 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18893 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18894 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'
18896 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18897 hardcode_libdir_separator_CXX
=:
18899 # Commands to make compiler produce verbose output that lists
18900 # what "hidden" libraries, object files and flags are used when
18901 # linking a shared library.
18902 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18905 # FIXME: insert proper C++ library support
18912 # FIXME: insert proper C++ library support
18916 case $cc_basename in
18919 # FIXME: insert proper C++ library support
18924 # FIXME: insert proper C++ library support
18928 # FIXME: insert proper C++ library support
18934 case $cc_basename in
18936 # Sun C++ 4.2, 5.x and Centerline C++
18937 archive_cmds_need_lc_CXX
=yes
18938 no_undefined_flag_CXX
=' -zdefs'
18939 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18940 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18941 $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'
18943 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18944 hardcode_shlibpath_var_CXX
=no
18946 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18948 # The C++ compiler is used as linker so we must use $wl
18949 # flag to pass the commands to the underlying system
18950 # linker. We must also pass each convience library through
18951 # to the system linker between allextract/defaultextract.
18952 # The C++ compiler will combine linker options so we
18953 # cannot just pass the convience library names through
18955 # Supported since Solaris 2.6 (maybe 2.5.1?)
18956 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'
18959 link_all_deplibs_CXX
=yes
18961 output_verbose_link_cmd
='echo'
18963 # Archives containing C++ object files must be created using
18964 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18965 # necessary to make sure instantiated templates are included
18967 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
18970 # Green Hills C++ Compiler
18971 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18973 # The C++ compiler must be used to create the archive.
18974 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18977 # GNU C++ compiler with Solaris linker
18978 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18979 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
18980 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
18981 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18982 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18983 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18985 # Commands to make compiler produce verbose output that lists
18986 # what "hidden" libraries, object files and flags are used when
18987 # linking a shared library.
18988 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18990 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18992 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18993 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18994 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18996 # Commands to make compiler produce verbose output that lists
18997 # what "hidden" libraries, object files and flags are used when
18998 # linking a shared library.
18999 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19002 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19007 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19008 no_undefined_flag_CXX
='${wl}-z,text'
19009 archive_cmds_need_lc_CXX
=no
19010 hardcode_shlibpath_var_CXX
=no
19011 runpath_var
='LD_RUN_PATH'
19013 case $cc_basename in
19015 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19016 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19019 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19020 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19024 sysv5
* | sco3.2v5
* | sco5v6
*)
19025 # Note: We can NOT use -z defs as we might desire, because we do not
19026 # link with -lc, and that would cause any symbols used from libc to
19027 # always be unresolved, which means just about no library would
19028 # ever link correctly. If we're not using GNU ld we use -z text
19029 # though, which does catch some bad symbols but isn't as heavy-handed
19031 # For security reasons, it is highly recommended that you always
19032 # use absolute paths for naming shared libraries, and exclude the
19033 # DT_RUNPATH tag from executables and libraries. But doing so
19034 # requires that you compile everything twice, which is a pain.
19035 # So that behaviour is only enabled if SCOABSPATH is set to a
19036 # non-empty value in the environment. Most likely only useful for
19037 # creating official distributions of packages.
19038 # This is a hack until libtool officially supports absolute path
19039 # names for shared libraries.
19040 no_undefined_flag_CXX
='${wl}-z,text'
19041 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19042 archive_cmds_need_lc_CXX
=no
19043 hardcode_shlibpath_var_CXX
=no
19044 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19045 hardcode_libdir_separator_CXX
=':'
19046 link_all_deplibs_CXX
=yes
19047 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19048 runpath_var
='LD_RUN_PATH'
19050 case $cc_basename in
19052 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19053 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19056 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19057 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19062 case $cc_basename in
19064 # NonStop-UX NCC 3.20
19065 # FIXME: insert proper C++ library support
19069 # FIXME: insert proper C++ library support
19075 # FIXME: insert proper C++ library support
19079 # FIXME: insert proper C++ library support
19083 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19084 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19085 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19091 cat > conftest.
$ac_ext <<EOF
19095 Foo (void) { a = 0; }
19101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19102 (eval $ac_compile) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; then
19106 # Parse the compiler output and extract the necessary
19107 # objects, libraries and library flags.
19109 # Sentinel used to keep track of whether or not we are before
19110 # the conftest object file.
19111 pre_test_object_deps_done
=no
19113 # The `*' in the case matches for architectures that use `case' in
19114 # $output_verbose_cmd can trigger glob expansion during the loop
19115 # eval without this substitution.
19116 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19118 for p
in `eval $output_verbose_link_cmd`; do
19122 # Some compilers place space between "-{L,R}" and the path.
19123 # Remove the space.
19124 if test $p = "-L" \
19125 ||
test $p = "-R"; then
19132 if test "$pre_test_object_deps_done" = no
; then
19135 # Internal compiler library paths should come after those
19136 # provided the user. The postdeps already come after the
19137 # user supplied libs so there is no need to process them.
19138 if test -z "$compiler_lib_search_path_CXX"; then
19139 compiler_lib_search_path_CXX
="${prev}${p}"
19141 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19144 # The "-l" case would never come before the object being
19145 # linked, so don't bother handling this case.
19148 if test -z "$postdeps_CXX"; then
19149 postdeps_CXX
="${prev}${p}"
19151 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19157 # This assumes that the test object file only shows up
19158 # once in the compiler output.
19159 if test "$p" = "conftest.$objext"; then
19160 pre_test_object_deps_done
=yes
19164 if test "$pre_test_object_deps_done" = no
; then
19165 if test -z "$predep_objects_CXX"; then
19166 predep_objects_CXX
="$p"
19168 predep_objects_CXX
="$predep_objects_CXX $p"
19171 if test -z "$postdep_objects_CXX"; then
19172 postdep_objects_CXX
="$p"
19174 postdep_objects_CXX
="$postdep_objects_CXX $p"
19179 *) ;; # Ignore the rest.
19187 echo "libtool.m4: error: problem compiling CXX test program"
19190 $rm -f confest.
$objext
19192 # PORTME: override above test on systems where it is broken
19195 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19196 # hack all around it, let's just trust "g++" to DTRT.
19197 predep_objects_CXX
=
19198 postdep_objects_CXX
=
19203 case $cc_basename in
19205 # Adding this requires a known-good setup of shared libraries for
19206 # Sun compiler versions before 5.6, else PIC objects from an old
19207 # archive will be linked into the output, leading to subtle bugs.
19208 postdeps_CXX
='-lCstd -lCrun'
19215 case " $postdeps_CXX " in
19216 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19219 lt_prog_compiler_wl_CXX
=
19220 lt_prog_compiler_pic_CXX
=
19221 lt_prog_compiler_static_CXX
=
19223 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19224 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19226 # C++ specific cases for pic, static, wl, etc.
19227 if test "$GXX" = yes; then
19228 lt_prog_compiler_wl_CXX
='-Wl,'
19229 lt_prog_compiler_static_CXX
='-static'
19233 # All AIX code is PIC.
19234 if test "$host_cpu" = ia64
; then
19235 # AIX 5 now supports IA64 processor
19236 lt_prog_compiler_static_CXX
='-Bstatic'
19240 # FIXME: we need at least 68020 code to build shared libraries, but
19241 # adding the `-m68020' flag to GCC prevents building anything better,
19243 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19245 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19246 # PIC is the default for these OSes.
19248 mingw
* | os2
* | pw32
*)
19249 # This hack is so that the source file can tell whether it is being
19250 # built for inclusion in a dll (and should export symbols for example).
19251 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19253 darwin
* | rhapsody
*)
19254 # PIC is the default on this platform
19255 # Common symbols not allowed in MH_DYLIB files
19256 lt_prog_compiler_pic_CXX
='-fno-common'
19259 # DJGPP does not support shared libraries at all
19260 lt_prog_compiler_pic_CXX
=
19263 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19264 # Instead, we relocate shared libraries at runtime.
19267 if test -d /usr
/nec
; then
19268 lt_prog_compiler_pic_CXX
=-Kconform_pic
19272 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19273 # not for PA HP-UX.
19278 lt_prog_compiler_pic_CXX
='-fPIC'
19283 lt_prog_compiler_pic_CXX
='-fPIC'
19289 # All AIX code is PIC.
19290 if test "$host_cpu" = ia64
; then
19291 # AIX 5 now supports IA64 processor
19292 lt_prog_compiler_static_CXX
='-Bstatic'
19294 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19298 case $cc_basename in
19300 # Green Hills C++ Compiler
19301 # _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"
19306 # PIC is the default on this platform
19307 # Common symbols not allowed in MH_DYLIB files
19308 case $cc_basename in
19310 lt_prog_compiler_pic_CXX
='-qnocommon'
19311 lt_prog_compiler_wl_CXX
='-Wl,'
19316 case $cc_basename in
19318 lt_prog_compiler_pic_CXX
='-KPIC'
19321 # Green Hills C++ Compiler
19322 lt_prog_compiler_pic_CXX
='-pic'
19328 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19329 # FreeBSD uses GNU C++
19331 hpux9
* | hpux10
* | hpux11
*)
19332 case $cc_basename in
19334 lt_prog_compiler_wl_CXX
='-Wl,'
19335 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19336 if test "$host_cpu" != ia64
; then
19337 lt_prog_compiler_pic_CXX
='+Z'
19341 lt_prog_compiler_wl_CXX
='-Wl,'
19342 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19348 lt_prog_compiler_pic_CXX
='+Z'
19357 # This is c89, which is MS Visual C++ (no shared libs)
19358 # Anyone wants to do a port?
19360 irix5
* | irix6
* | nonstopux
*)
19361 case $cc_basename in
19363 lt_prog_compiler_wl_CXX
='-Wl,'
19364 lt_prog_compiler_static_CXX
='-non_shared'
19365 # CC pic flag -KPIC is the default.
19372 case $cc_basename in
19375 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19376 lt_prog_compiler_pic_CXX
='-fPIC'
19380 lt_prog_compiler_wl_CXX
='-Wl,'
19381 lt_prog_compiler_pic_CXX
='-KPIC'
19382 lt_prog_compiler_static_CXX
='-static'
19385 # Portland Group C++ compiler.
19386 lt_prog_compiler_wl_CXX
='-Wl,'
19387 lt_prog_compiler_pic_CXX
='-fpic'
19388 lt_prog_compiler_static_CXX
='-Bstatic'
19392 # Make sure the PIC flag is empty. It appears that all Alpha
19393 # Linux and Compaq Tru64 Unix objects are PIC.
19394 lt_prog_compiler_pic_CXX
=
19395 lt_prog_compiler_static_CXX
='-non_shared'
19406 case $cc_basename in
19408 lt_prog_compiler_pic_CXX
='-W c,exportall'
19416 osf3
* | osf4
* | osf5
*)
19417 case $cc_basename in
19419 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19422 # Rational C++ 2.4.1
19423 lt_prog_compiler_pic_CXX
='-pic'
19426 # Digital/Compaq C++
19427 lt_prog_compiler_wl_CXX
='-Wl,'
19428 # Make sure the PIC flag is empty. It appears that all Alpha
19429 # Linux and Compaq Tru64 Unix objects are PIC.
19430 lt_prog_compiler_pic_CXX
=
19431 lt_prog_compiler_static_CXX
='-non_shared'
19440 case $cc_basename in
19442 # Sun C++ 4.2, 5.x and Centerline C++
19443 lt_prog_compiler_pic_CXX
='-KPIC'
19444 lt_prog_compiler_static_CXX
='-Bstatic'
19445 lt_prog_compiler_wl_CXX
='-Qoption ld '
19448 # Green Hills C++ Compiler
19449 lt_prog_compiler_pic_CXX
='-PIC'
19456 case $cc_basename in
19459 lt_prog_compiler_pic_CXX
='-pic'
19460 lt_prog_compiler_static_CXX
='-Bstatic'
19464 lt_prog_compiler_pic_CXX
='-pic'
19471 case $cc_basename in
19473 # NonStop-UX NCC 3.20
19474 lt_prog_compiler_pic_CXX
='-KPIC'
19480 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19481 case $cc_basename in
19483 lt_prog_compiler_wl_CXX
='-Wl,'
19484 lt_prog_compiler_pic_CXX
='-KPIC'
19485 lt_prog_compiler_static_CXX
='-Bstatic'
19492 lt_prog_compiler_can_build_shared_CXX
=no
19497 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19498 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19501 # Check to make sure the PIC flag actually works.
19503 if test -n "$lt_prog_compiler_pic_CXX"; then
19505 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19506 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19507 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 lt_prog_compiler_pic_works_CXX
=no
19511 ac_outfile
=conftest.
$ac_objext
19512 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19513 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19514 # Insert the option either (1) after the last *FLAGS variable, or
19515 # (2) before a word containing "conftest.", or (3) at the end.
19516 # Note that $ac_compile itself does not contain backslashes and begins
19517 # with a dollar sign (not a hyphen), so the echo should work correctly.
19518 # The option is referenced via a variable to avoid confusing sed.
19519 lt_compile
=`echo "$ac_compile" | $SED \
19520 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19521 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19522 -e 's:$: $lt_compiler_flag:'`
19523 (eval echo "\"\$as_me:19523: $lt_compile\"" >&5)
19524 (eval "$lt_compile" 2>conftest.err
)
19526 cat conftest.err
>&5
19527 echo "$as_me:19527: \$? = $ac_status" >&5
19528 if (exit $ac_status) && test -s "$ac_outfile"; then
19529 # The compiler can only warn and ignore the option if not recognized
19530 # So say no if there are warnings other than the usual output.
19531 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19532 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19533 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19534 lt_prog_compiler_pic_works_CXX
=yes
19540 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19541 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19543 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19544 case $lt_prog_compiler_pic_CXX in
19546 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19549 lt_prog_compiler_pic_CXX
=
19550 lt_prog_compiler_can_build_shared_CXX
=no
19555 # For platforms which do not support PIC, -DPIC is meaningless:
19557 lt_prog_compiler_pic_CXX
=
19560 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19565 # Check to make sure the static flag actually works.
19567 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19568 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19569 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19570 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19571 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 lt_prog_compiler_static_works_CXX
=no
19574 save_LDFLAGS
="$LDFLAGS"
19575 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19576 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19577 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19578 # The linker can only warn and ignore the option if not recognized
19579 # So say no if there are warnings
19580 if test -s conftest.err
; then
19581 # Append any errors to the config.log.
19582 cat conftest.err
1>&5
19583 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19584 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19585 if diff conftest.exp conftest.er2
>/dev
/null
; then
19586 lt_prog_compiler_static_works_CXX
=yes
19589 lt_prog_compiler_static_works_CXX
=yes
19593 LDFLAGS
="$save_LDFLAGS"
19596 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19597 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19599 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19602 lt_prog_compiler_static_CXX
=
19606 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19607 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19608 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 lt_cv_prog_compiler_c_o_CXX
=no
19612 $rm -r conftest
2>/dev
/null
19616 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19618 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19619 # Insert the option either (1) after the last *FLAGS variable, or
19620 # (2) before a word containing "conftest.", or (3) at the end.
19621 # Note that $ac_compile itself does not contain backslashes and begins
19622 # with a dollar sign (not a hyphen), so the echo should work correctly.
19623 lt_compile
=`echo "$ac_compile" | $SED \
19624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19626 -e 's:$: $lt_compiler_flag:'`
19627 (eval echo "\"\$as_me:19627: $lt_compile\"" >&5)
19628 (eval "$lt_compile" 2>out
/conftest.err
)
19630 cat out
/conftest.err
>&5
19631 echo "$as_me:19631: \$? = $ac_status" >&5
19632 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19634 # The compiler can only warn and ignore the option if not recognized
19635 # So say no if there are warnings
19636 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19637 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19638 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19639 lt_cv_prog_compiler_c_o_CXX
=yes
19644 # SGI C++ compiler will create directory out/ii_files/ for
19645 # template instantiation
19646 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19647 $rm out
/* && rmdir out
19653 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19654 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19657 hard_links
="nottested"
19658 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19659 # do not overwrite the value of need_locks provided by the user
19660 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19661 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19664 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19666 ln conftest.a conftest.b
2>&5 || hard_links
=no
19667 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19668 { echo "$as_me:$LINENO: result: $hard_links" >&5
19669 echo "${ECHO_T}$hard_links" >&6; }
19670 if test "$hard_links" = no
; then
19671 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19672 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19679 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19680 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19682 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19685 # If we're using GNU nm, then we don't want the "-C" option.
19686 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19687 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19688 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'
19690 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'
19694 export_symbols_cmds_CXX
="$ltdll_cmds"
19697 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'
19700 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19704 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19705 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19706 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19709 # Do we need to explicitly link libc?
19711 case "x$archive_cmds_need_lc_CXX" in
19713 # Assume -lc should be added
19714 archive_cmds_need_lc_CXX
=yes
19716 if test "$enable_shared" = yes && test "$GCC" = yes; then
19717 case $archive_cmds_CXX in
19719 # FIXME: we may have to deal with multi-command sequences.
19722 # Test whether the compiler implicitly links with -lc since on some
19723 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19724 # to ld, don't add -lc before -lgcc.
19725 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19726 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19728 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19731 (eval $ac_compile) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } 2>conftest.err
; then
19737 libobjs
=conftest.
$ac_objext
19739 wl
=$lt_prog_compiler_wl_CXX
19740 pic_flag
=$lt_prog_compiler_pic_CXX
19746 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19747 allow_undefined_flag_CXX
=
19748 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19749 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }
19754 archive_cmds_need_lc_CXX
=no
19756 archive_cmds_need_lc_CXX
=yes
19758 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19760 cat conftest.err
1>&5
19763 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19764 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19771 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19772 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19773 library_names_spec
=
19774 libname_spec
='lib$name'
19778 postuninstall_cmds
=
19782 shlibpath_overrides_runpath
=unknown
19784 dynamic_linker
="$host_os ld.so"
19785 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19786 if test "$GCC" = yes; then
19787 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19788 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19789 # if the path contains ";" then we assume it to be the separator
19790 # otherwise default to the standard path separator (i.e. ":") - it is
19791 # assumed that no part of a normal pathname contains ";" but that should
19792 # okay in the real world where ";" in dirpaths is itself problematic.
19793 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19795 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19798 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19800 need_lib_prefix
=unknown
19801 hardcode_into_libs
=no
19803 # when you set need_version to no, make sure it does not cause -set_version
19804 # flags to be left without arguments
19805 need_version
=unknown
19810 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19811 shlibpath_var
=LIBPATH
19813 # AIX 3 has no versioning support, so we append a major version to the name.
19814 soname_spec
='${libname}${release}${shared_ext}$major'
19821 hardcode_into_libs
=yes
19822 if test "$host_cpu" = ia64
; then
19823 # AIX 5 supports IA64
19824 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19825 shlibpath_var
=LD_LIBRARY_PATH
19827 # With GCC up to 2.95.x, collect2 would create an import file
19828 # for dependence libraries. The import file would start with
19829 # the line `#! .'. This would cause the generated library to
19830 # depend on `.', always an invalid library. This was fixed in
19831 # development snapshots of GCC prior to 3.0.
19833 aix4 | aix4.
[01] | aix4.
[01].
*)
19834 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19836 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19839 can_build_shared
=no
19843 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19844 # soname into executable. Probably we can add versioning support to
19845 # collect2, so additional links can be useful in future.
19846 if test "$aix_use_runtimelinking" = yes; then
19847 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19848 # instead of lib<name>.a to let people know that these are not
19849 # typical AIX shared libraries.
19850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19852 # We preserve .a as extension for shared libraries through AIX4.2
19853 # and later when we are not doing run time linking.
19854 library_names_spec
='${libname}${release}.a $libname.a'
19855 soname_spec
='${libname}${release}${shared_ext}$major'
19857 shlibpath_var
=LIBPATH
19862 library_names_spec
='$libname.ixlibrary $libname.a'
19863 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19864 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'
19868 library_names_spec
='${libname}${shared_ext}'
19869 dynamic_linker
="$host_os ld.so"
19870 shlibpath_var
=LIBRARY_PATH
19876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19877 soname_spec
='${libname}${release}${shared_ext}$major'
19878 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19879 shlibpath_var
=LD_LIBRARY_PATH
19880 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19881 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19882 # the default ld.so.conf also contains /usr/contrib/lib and
19883 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19884 # libtool to hard-code these into programs
19887 cygwin
* | mingw
* | pw32
*)
19888 version_type
=windows
19893 case $GCC,$host_os in
19894 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19895 library_names_spec
='$libname.dll.a'
19896 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19897 postinstall_cmds
='base_file=`basename \${file}`~
19898 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19899 dldir=$destdir/`dirname \$dlpath`~
19900 test -d \$dldir || mkdir -p \$dldir~
19901 $install_prog $dir/$dlname \$dldir/$dlname~
19902 chmod a+x \$dldir/$dlname'
19903 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19904 dlpath=$dir/\$dldll~
19906 shlibpath_overrides_runpath
=yes
19910 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19911 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19912 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19915 # MinGW DLLs use traditional 'lib' prefix
19916 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19917 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19918 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19919 # It is most probably a Windows format PATH printed by
19920 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19921 # path with ; separators, and with drive letters. We can handle the
19922 # drive letters (cygwin fileutils understands them), so leave them,
19923 # especially as we might pass files found there to a mingw objdump,
19924 # which wouldn't understand a cygwinified path. Ahh.
19925 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19927 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19931 # pw32 DLLs use 'pw' prefix rather than 'lib'
19932 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19938 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19941 dynamic_linker
='Win32 ld.exe'
19942 # FIXME: first we should search . and the directory the executable is in
19946 darwin
* | rhapsody
*)
19947 dynamic_linker
="$host_os dyld"
19948 version_type
=darwin
19951 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19952 soname_spec
='${libname}${release}${major}$shared_ext'
19953 shlibpath_overrides_runpath
=yes
19954 shlibpath_var
=DYLD_LIBRARY_PATH
19955 shrext_cmds
='.dylib'
19956 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19957 if test "$GCC" = yes; then
19958 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"`
19960 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19962 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19970 soname_spec
='${libname}${release}${shared_ext}$major'
19971 shlibpath_var
=LD_LIBRARY_PATH
19982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19983 soname_spec
='${libname}${release}${shared_ext}$major'
19984 shlibpath_var
=LD_LIBRARY_PATH
19985 shlibpath_overrides_runpath
=no
19986 hardcode_into_libs
=yes
19987 dynamic_linker
='GNU ld.so'
19990 freebsd
* | dragonfly
*)
19991 # DragonFly does not have aout. When/if they implement a new
19992 # versioning mechanism, adjust this.
19993 if test -x /usr
/bin
/objformat
; then
19994 objformat
=`/usr/bin/objformat`
19997 freebsd
[123]*) objformat
=aout
;;
19998 *) objformat
=elf
;;
20001 version_type
=freebsd-
$objformat
20002 case $version_type in
20004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20009 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20013 shlibpath_var
=LD_LIBRARY_PATH
20016 shlibpath_overrides_runpath
=yes
20018 freebsd3.
[01]* | freebsdelf3.
[01]*)
20019 shlibpath_overrides_runpath
=yes
20020 hardcode_into_libs
=yes
20022 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20023 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20024 shlibpath_overrides_runpath
=no
20025 hardcode_into_libs
=yes
20027 freebsd
*) # from 4.6 on
20028 shlibpath_overrides_runpath
=yes
20029 hardcode_into_libs
=yes
20038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20039 soname_spec
='${libname}${release}${shared_ext}$major'
20040 shlibpath_var
=LD_LIBRARY_PATH
20041 hardcode_into_libs
=yes
20044 hpux9
* | hpux10
* | hpux11
*)
20045 # Give a soname corresponding to the major version so that dld.sl refuses to
20046 # link against other versions.
20053 hardcode_into_libs
=yes
20054 dynamic_linker
="$host_os dld.so"
20055 shlibpath_var
=LD_LIBRARY_PATH
20056 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20058 soname_spec
='${libname}${release}${shared_ext}$major'
20059 if test "X$HPUX_IA64_MODE" = X32
; then
20060 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20062 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20064 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20068 hardcode_into_libs
=yes
20069 dynamic_linker
="$host_os dld.sl"
20070 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20071 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20073 soname_spec
='${libname}${release}${shared_ext}$major'
20074 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20075 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20079 dynamic_linker
="$host_os dld.sl"
20080 shlibpath_var
=SHLIB_PATH
20081 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20083 soname_spec
='${libname}${release}${shared_ext}$major'
20086 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20087 postinstall_cmds
='chmod 555 $lib'
20094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20095 soname_spec
='${libname}${release}${shared_ext}$major'
20096 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20097 shlibpath_var
=LD_LIBRARY_PATH
20098 shlibpath_overrides_runpath
=no
20099 hardcode_into_libs
=yes
20102 irix5
* | irix6
* | nonstopux
*)
20104 nonstopux
*) version_type
=nonstopux
;;
20106 if test "$lt_cv_prog_gnu_ld" = yes; then
20114 soname_spec
='${libname}${release}${shared_ext}$major'
20115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20117 irix5
* | nonstopux
*)
20118 libsuff
= shlibsuff
=
20121 case $LD in # libtool.m4 will add one of these switches to LD
20122 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20123 libsuff
= shlibsuff
= libmagic
=32-bit;;
20124 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20125 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20126 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20127 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20128 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20132 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20133 shlibpath_overrides_runpath
=no
20134 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20135 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20136 hardcode_into_libs
=yes
20139 # No shared lib support for Linux oldld, aout, or coff.
20140 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20144 # This must be Linux ELF.
20149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20150 soname_spec
='${libname}${release}${shared_ext}$major'
20151 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20152 shlibpath_var
=LD_LIBRARY_PATH
20153 shlibpath_overrides_runpath
=no
20154 # This implies no fast_install, which is unacceptable.
20155 # Some rework will be needed to allow for fast_install
20156 # before this can be enabled.
20157 hardcode_into_libs
=yes
20159 # Append ld.so.conf contents to the search path
20160 if test -f /etc
/ld.so.conf
; then
20161 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' ' '`
20162 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20165 # We used to test for /lib/ld.so.1 and disable shared libraries on
20166 # powerpc, because MkLinux only supported shared libraries with the
20167 # GNU dynamic linker. Since this was broken with cross compilers,
20168 # most powerpc-linux boxes support dynamic linking these days and
20169 # people can always --disable-shared, the test was removed, and we
20170 # assume the GNU/Linux dynamic linker is in use.
20171 dynamic_linker
='GNU/Linux ld.so'
20178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20179 soname_spec
='${libname}${release}${shared_ext}$major'
20180 shlibpath_var
=LD_LIBRARY_PATH
20181 shlibpath_overrides_runpath
=no
20182 hardcode_into_libs
=yes
20183 dynamic_linker
='GNU ld.so'
20190 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20192 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20193 dynamic_linker
='NetBSD (a.out) ld.so'
20195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20196 soname_spec
='${libname}${release}${shared_ext}$major'
20197 dynamic_linker
='NetBSD ld.elf_so'
20199 shlibpath_var
=LD_LIBRARY_PATH
20200 shlibpath_overrides_runpath
=yes
20201 hardcode_into_libs
=yes
20206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20207 shlibpath_var
=LD_LIBRARY_PATH
20208 shlibpath_overrides_runpath
=yes
20215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20216 soname_spec
='${libname}${release}${shared_ext}$major'
20217 shlibpath_var
=LD_LIBRARY_PATH
20218 shlibpath_overrides_runpath
=yes
20223 sys_lib_dlsearch_path_spec
="/usr/lib"
20225 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20227 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20228 *) need_version
=no
;;
20230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20231 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20232 shlibpath_var
=LD_LIBRARY_PATH
20233 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20235 openbsd2.
[89] | openbsd2.
[89].
*)
20236 shlibpath_overrides_runpath
=no
20239 shlibpath_overrides_runpath
=yes
20243 shlibpath_overrides_runpath
=yes
20248 libname_spec
='$name'
20251 library_names_spec
='$libname${shared_ext} $libname.a'
20252 dynamic_linker
='OS/2 ld.exe'
20253 shlibpath_var
=LIBPATH
20256 osf3
* | osf4
* | osf5
*)
20260 soname_spec
='${libname}${release}${shared_ext}$major'
20261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20262 shlibpath_var
=LD_LIBRARY_PATH
20263 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20264 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20272 soname_spec
='${libname}${release}${shared_ext}$major'
20273 shlibpath_var
=LD_LIBRARY_PATH
20274 shlibpath_overrides_runpath
=yes
20275 hardcode_into_libs
=yes
20276 # ldd complains unless libraries are executable
20277 postinstall_cmds
='chmod +x $lib'
20282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20283 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20284 shlibpath_var
=LD_LIBRARY_PATH
20285 shlibpath_overrides_runpath
=yes
20286 if test "$with_gnu_ld" = yes; then
20294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20295 soname_spec
='${libname}${release}${shared_ext}$major'
20296 shlibpath_var
=LD_LIBRARY_PATH
20297 case $host_vendor in
20299 shlibpath_overrides_runpath
=no
20301 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20302 runpath_var
=LD_RUN_PATH
20310 shlibpath_overrides_runpath
=no
20311 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20317 if test -d /usr
/nec
;then
20319 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20320 soname_spec
='$libname${shared_ext}.$major'
20321 shlibpath_var
=LD_LIBRARY_PATH
20325 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20326 version_type
=freebsd-elf
20329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20330 soname_spec
='${libname}${release}${shared_ext}$major'
20331 shlibpath_var
=LD_LIBRARY_PATH
20332 hardcode_into_libs
=yes
20333 if test "$with_gnu_ld" = yes; then
20334 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20335 shlibpath_overrides_runpath
=no
20337 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20338 shlibpath_overrides_runpath
=yes
20341 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20345 sys_lib_dlsearch_path_spec
='/usr/lib'
20350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20351 soname_spec
='${libname}${release}${shared_ext}$major'
20352 shlibpath_var
=LD_LIBRARY_PATH
20359 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20360 echo "${ECHO_T}$dynamic_linker" >&6; }
20361 test "$dynamic_linker" = no
&& can_build_shared
=no
20363 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20364 if test "$GCC" = yes; then
20365 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20368 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20369 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20370 hardcode_action_CXX
=
20371 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20372 test -n "$runpath_var_CXX" || \
20373 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20375 # We can hardcode non-existant directories.
20376 if test "$hardcode_direct_CXX" != no
&&
20377 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20378 # have to relink, otherwise we might link with an installed library
20379 # when we should be linking with a yet-to-be-installed one
20380 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20381 test "$hardcode_minus_L_CXX" != no
; then
20382 # Linking always hardcodes the temporary library directory.
20383 hardcode_action_CXX
=relink
20385 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20386 hardcode_action_CXX
=immediate
20389 # We cannot hardcode anything, or else we can only hardcode existing
20391 hardcode_action_CXX
=unsupported
20393 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20394 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20396 if test "$hardcode_action_CXX" = relink
; then
20397 # Fast installation is not supported
20398 enable_fast_install
=no
20399 elif test "$shlibpath_overrides_runpath" = yes ||
20400 test "$enable_shared" = no
; then
20401 # Fast installation is not necessary
20402 enable_fast_install
=needless
20406 # The else clause should only fire when bootstrapping the
20407 # libtool distribution, otherwise you forgot to ship ltmain.sh
20408 # with your package, and you will get complaints that there are
20409 # no rules to generate ltmain.sh.
20410 if test -f "$ltmain"; then
20411 # See if we are running on zsh, and set the options which allow our commands through
20412 # without removal of \ escapes.
20413 if test -n "${ZSH_VERSION+set}" ; then
20414 setopt NO_GLOB_SUBST
20416 # Now quote all the things that may contain metacharacters while being
20417 # careful not to overquote the AC_SUBSTed values. We take copies of the
20418 # variables and quote the copies for generation of the libtool script.
20419 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20421 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20422 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20423 deplibs_check_method reload_flag reload_cmds need_locks \
20424 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20425 lt_cv_sys_global_symbol_to_c_name_address \
20426 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20427 old_postinstall_cmds old_postuninstall_cmds \
20431 lt_prog_compiler_wl_CXX \
20432 lt_prog_compiler_pic_CXX \
20433 lt_prog_compiler_static_CXX \
20434 lt_prog_compiler_no_builtin_flag_CXX \
20435 export_dynamic_flag_spec_CXX \
20436 thread_safe_flag_spec_CXX \
20437 whole_archive_flag_spec_CXX \
20438 enable_shared_with_static_runtimes_CXX \
20439 old_archive_cmds_CXX \
20440 old_archive_from_new_cmds_CXX \
20441 predep_objects_CXX \
20442 postdep_objects_CXX \
20445 compiler_lib_search_path_CXX \
20447 archive_expsym_cmds_CXX \
20448 postinstall_cmds_CXX \
20449 postuninstall_cmds_CXX \
20450 old_archive_from_expsyms_cmds_CXX \
20451 allow_undefined_flag_CXX \
20452 no_undefined_flag_CXX \
20453 export_symbols_cmds_CXX \
20454 hardcode_libdir_flag_spec_CXX \
20455 hardcode_libdir_flag_spec_ld_CXX \
20456 hardcode_libdir_separator_CXX \
20457 hardcode_automatic_CXX \
20459 module_expsym_cmds_CXX \
20460 lt_cv_prog_compiler_c_o_CXX \
20461 exclude_expsyms_CXX \
20462 include_expsyms_CXX
; do
20465 old_archive_cmds_CXX | \
20466 old_archive_from_new_cmds_CXX | \
20467 archive_cmds_CXX | \
20468 archive_expsym_cmds_CXX | \
20469 module_cmds_CXX | \
20470 module_expsym_cmds_CXX | \
20471 old_archive_from_expsyms_cmds_CXX | \
20472 export_symbols_cmds_CXX | \
20473 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20474 postinstall_cmds | postuninstall_cmds | \
20475 old_postinstall_cmds | old_postuninstall_cmds | \
20476 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20477 # Double-quote double-evaled strings.
20478 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20481 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20487 *'\$0 --fallback-echo"')
20488 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20494 cat <<__EOF__ >> "$cfgfile"
20495 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20497 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20499 # Shell to use when invoking shell scripts.
20502 # Whether or not to build shared libraries.
20503 build_libtool_libs=$enable_shared
20505 # Whether or not to build static libraries.
20506 build_old_libs=$enable_static
20508 # Whether or not to add -lc for building shared libraries.
20509 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20511 # Whether or not to disallow shared libs when runtime libs are static
20512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20514 # Whether or not to optimize for fast installation.
20515 fast_install=$enable_fast_install
20518 host_alias=$host_alias
20522 # The build system.
20523 build_alias=$build_alias
20527 # An echo program that does not interpret backslashes.
20532 AR_FLAGS=$lt_AR_FLAGS
20537 # LTCC compiler flags.
20538 LTCFLAGS=$lt_LTCFLAGS
20540 # A language-specific compiler.
20541 CC=$lt_compiler_CXX
20543 # Is the compiler the GNU C compiler?
20549 # The linker used to build libraries.
20552 # Whether we need hard or soft links.
20555 # A BSD-compatible nm program.
20558 # A symbol stripping program
20561 # Used to examine libraries when file_magic_cmd begins "file"
20562 MAGIC_CMD=$MAGIC_CMD
20564 # Used on cygwin: DLL creation program.
20567 # Used on cygwin: object dumper.
20570 # Used on cygwin: assembler.
20573 # The name of the directory that contains temporary libtool files.
20576 # How to create reloadable object files.
20577 reload_flag=$lt_reload_flag
20578 reload_cmds=$lt_reload_cmds
20580 # How to pass a linker flag through the compiler.
20581 wl=$lt_lt_prog_compiler_wl_CXX
20583 # Object file suffix (normally "o").
20584 objext="$ac_objext"
20586 # Old archive suffix (normally "a").
20589 # Shared library suffix (normally ".so").
20590 shrext_cmds='$shrext_cmds'
20592 # Executable file suffix (normally "").
20595 # Additional compiler flags for building library objects.
20596 pic_flag=$lt_lt_prog_compiler_pic_CXX
20599 # What is the maximum length of a command?
20600 max_cmd_len=$lt_cv_sys_max_cmd_len
20602 # Does compiler simultaneously support -c and -o options?
20603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20605 # Must we lock files when doing compilation?
20606 need_locks=$lt_need_locks
20608 # Do we need the lib prefix for modules?
20609 need_lib_prefix=$need_lib_prefix
20611 # Do we need a version for libraries?
20612 need_version=$need_version
20614 # Whether dlopen is supported.
20615 dlopen_support=$enable_dlopen
20617 # Whether dlopen of programs is supported.
20618 dlopen_self=$enable_dlopen_self
20620 # Whether dlopen of statically linked programs is supported.
20621 dlopen_self_static=$enable_dlopen_self_static
20623 # Compiler flag to prevent dynamic linking.
20624 link_static_flag=$lt_lt_prog_compiler_static_CXX
20626 # Compiler flag to turn off builtin functions.
20627 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20629 # Compiler flag to allow reflexive dlopens.
20630 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20632 # Compiler flag to generate shared objects directly from archives.
20633 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20635 # Compiler flag to generate thread-safe objects.
20636 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20638 # Library versioning type.
20639 version_type=$version_type
20641 # Format of library name prefix.
20642 libname_spec=$lt_libname_spec
20644 # List of archive names. First name is the real one, the rest are links.
20645 # The last name is the one that the linker finds with -lNAME.
20646 library_names_spec=$lt_library_names_spec
20648 # The coded name of the library, if different from the real name.
20649 soname_spec=$lt_soname_spec
20651 # Commands used to build and install an old-style archive.
20653 old_archive_cmds=$lt_old_archive_cmds_CXX
20654 old_postinstall_cmds=$lt_old_postinstall_cmds
20655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20657 # Create an old-style archive from a shared archive.
20658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20660 # Create a temporary old-style archive to link instead of a shared archive.
20661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20663 # Commands used to build and install a shared archive.
20664 archive_cmds=$lt_archive_cmds_CXX
20665 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20666 postinstall_cmds=$lt_postinstall_cmds
20667 postuninstall_cmds=$lt_postuninstall_cmds
20669 # Commands used to build a loadable module (assumed same as above if empty)
20670 module_cmds=$lt_module_cmds_CXX
20671 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20673 # Commands to strip libraries.
20674 old_striplib=$lt_old_striplib
20675 striplib=$lt_striplib
20677 # Dependencies to place before the objects being linked to create a
20679 predep_objects=$lt_predep_objects_CXX
20681 # Dependencies to place after the objects being linked to create a
20683 postdep_objects=$lt_postdep_objects_CXX
20685 # Dependencies to place before the objects being linked to create a
20687 predeps=$lt_predeps_CXX
20689 # Dependencies to place after the objects being linked to create a
20691 postdeps=$lt_postdeps_CXX
20693 # The library search path used internally by the compiler when linking
20694 # a shared library.
20695 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20697 # Method to check whether dependent libraries are shared objects.
20698 deplibs_check_method=$lt_deplibs_check_method
20700 # Command to use when deplibs_check_method == file_magic.
20701 file_magic_cmd=$lt_file_magic_cmd
20703 # Flag that allows shared libraries with undefined symbols to be built.
20704 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20706 # Flag that forces no undefined symbols.
20707 no_undefined_flag=$lt_no_undefined_flag_CXX
20709 # Commands used to finish a libtool library installation in a directory.
20710 finish_cmds=$lt_finish_cmds
20712 # Same as above, but a single script fragment to be evaled but not shown.
20713 finish_eval=$lt_finish_eval
20715 # Take the output of nm and produce a listing of raw symbols and C names.
20716 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20718 # Transform the output of nm in a proper C declaration
20719 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20721 # Transform the output of nm in a C name address pair
20722 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20724 # This is the shared library runtime path variable.
20725 runpath_var=$runpath_var
20727 # This is the shared library path variable.
20728 shlibpath_var=$shlibpath_var
20730 # Is shlibpath searched before the hard-coded library search path?
20731 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20733 # How to hardcode a shared library path into an executable.
20734 hardcode_action=$hardcode_action_CXX
20736 # Whether we should hardcode library paths into libraries.
20737 hardcode_into_libs=$hardcode_into_libs
20739 # Flag to hardcode \$libdir into a binary during linking.
20740 # This must work even if \$libdir does not exist.
20741 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20743 # If ld is used when linking, flag to hardcode \$libdir into
20744 # a binary during linking. This must work even if \$libdir does
20746 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20748 # Whether we need a single -rpath flag with a separated argument.
20749 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20751 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20752 # resulting binary.
20753 hardcode_direct=$hardcode_direct_CXX
20755 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20756 # resulting binary.
20757 hardcode_minus_L=$hardcode_minus_L_CXX
20759 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20760 # the resulting binary.
20761 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20763 # Set to yes if building a shared library automatically hardcodes DIR into the library
20764 # and all subsequent libraries and executables linked against it.
20765 hardcode_automatic=$hardcode_automatic_CXX
20767 # Variables whose values should be saved in libtool wrapper scripts and
20768 # restored at relink time.
20769 variables_saved_for_relink="$variables_saved_for_relink"
20771 # Whether libtool must link a program against all its dependency libraries.
20772 link_all_deplibs=$link_all_deplibs_CXX
20774 # Compile-time system search path for libraries
20775 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20777 # Run-time system search path for libraries
20778 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20780 # Fix the shell variable \$srcfile for the compiler.
20781 fix_srcfile_path="$fix_srcfile_path_CXX"
20783 # Set to yes if exported symbols are required.
20784 always_export_symbols=$always_export_symbols_CXX
20786 # The commands to list exported symbols.
20787 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20789 # The commands to extract the exported symbol list from a shared archive.
20790 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20792 # Symbols that should not be listed in the preloaded symbols.
20793 exclude_expsyms=$lt_exclude_expsyms_CXX
20795 # Symbols that must always be exported.
20796 include_expsyms=$lt_include_expsyms_CXX
20798 # ### END LIBTOOL TAG CONFIG: $tagname
20804 # If there is no Makefile yet, we rely on a make rule to execute
20805 # `config.status --recheck' to rerun these tests and create the
20806 # libtool script then.
20807 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20808 if test -f "$ltmain_in"; then
20809 test -f Makefile
&& make "$ltmain"
20815 ac_cpp
='$CPP $CPPFLAGS'
20816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20824 with_gnu_ldcxx
=$with_gnu_ld
20825 with_gnu_ld
=$lt_save_with_gnu_ld
20826 lt_cv_path_LDCXX
=$lt_cv_path_LD
20827 lt_cv_path_LD
=$lt_save_path_LD
20828 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
20829 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
20837 if test -n "$F77" && test "X$F77" != "Xno"; then
20840 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20841 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
20845 archive_cmds_need_lc_F77
=no
20846 allow_undefined_flag_F77
=
20847 always_export_symbols_F77
=no
20848 archive_expsym_cmds_F77
=
20849 export_dynamic_flag_spec_F77
=
20850 hardcode_direct_F77
=no
20851 hardcode_libdir_flag_spec_F77
=
20852 hardcode_libdir_flag_spec_ld_F77
=
20853 hardcode_libdir_separator_F77
=
20854 hardcode_minus_L_F77
=no
20855 hardcode_automatic_F77
=no
20857 module_expsym_cmds_F77
=
20858 link_all_deplibs_F77
=unknown
20859 old_archive_cmds_F77
=$old_archive_cmds
20860 no_undefined_flag_F77
=
20861 whole_archive_flag_spec_F77
=
20862 enable_shared_with_static_runtimes_F77
=no
20864 # Source file extension for f77 test sources.
20867 # Object file extension for compiled f77 test sources.
20871 # Code to be used in simple compile tests
20872 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
20874 # Code to be used in simple link tests
20875 lt_simple_link_test_code
=" program t\n end\n"
20877 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20879 # If no C compiler was specified, use CC.
20882 # If no C compiler flags were specified, use CFLAGS.
20883 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20885 # Allow CC to be a program name with arguments.
20889 # save warnings/boilerplate of simple test code
20890 ac_outfile
=conftest.
$ac_objext
20891 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20892 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20893 _lt_compiler_boilerplate
=`cat conftest.err`
20896 ac_outfile
=conftest.
$ac_objext
20897 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20898 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20899 _lt_linker_boilerplate
=`cat conftest.err`
20903 # Allow CC to be a program name with arguments.
20908 for cc_temp
in $compiler""; do
20910 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20911 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20916 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20919 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20920 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
20921 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
20922 echo "${ECHO_T}$can_build_shared" >&6; }
20924 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20925 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
20926 test "$can_build_shared" = "no" && enable_shared
=no
20928 # On AIX, shared libraries and static libraries use the same namespace, and
20929 # are all built from PIC.
20932 test "$enable_shared" = yes && enable_static
=no
20933 if test -n "$RANLIB"; then
20934 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
20935 postinstall_cmds
='$RANLIB $lib'
20939 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
20940 test "$enable_shared" = yes && enable_static
=no
20944 { echo "$as_me:$LINENO: result: $enable_shared" >&5
20945 echo "${ECHO_T}$enable_shared" >&6; }
20947 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20948 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
20949 # Make sure either enable_shared or enable_static is yes.
20950 test "$enable_shared" = yes || enable_static
=yes
20951 { echo "$as_me:$LINENO: result: $enable_static" >&5
20952 echo "${ECHO_T}$enable_static" >&6; }
20957 lt_prog_compiler_wl_F77
=
20958 lt_prog_compiler_pic_F77
=
20959 lt_prog_compiler_static_F77
=
20961 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20962 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20964 if test "$GCC" = yes; then
20965 lt_prog_compiler_wl_F77
='-Wl,'
20966 lt_prog_compiler_static_F77
='-static'
20970 # All AIX code is PIC.
20971 if test "$host_cpu" = ia64
; then
20972 # AIX 5 now supports IA64 processor
20973 lt_prog_compiler_static_F77
='-Bstatic'
20978 # FIXME: we need at least 68020 code to build shared libraries, but
20979 # adding the `-m68020' flag to GCC prevents building anything better,
20981 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
20984 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
20985 # PIC is the default for these OSes.
20988 mingw
* | pw32
* | os2
*)
20989 # This hack is so that the source file can tell whether it is being
20990 # built for inclusion in a dll (and should export symbols for example).
20991 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
20994 darwin
* | rhapsody
*)
20995 # PIC is the default on this platform
20996 # Common symbols not allowed in MH_DYLIB files
20997 lt_prog_compiler_pic_F77
='-fno-common'
21001 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21002 # Instead, we relocate shared libraries at runtime.
21006 # Just because we use GCC doesn't mean we suddenly get shared libraries
21007 # on systems that don't support them.
21008 lt_prog_compiler_can_build_shared_F77
=no
21013 if test -d /usr
/nec
; then
21014 lt_prog_compiler_pic_F77
=-Kconform_pic
21019 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21020 # not for PA HP-UX.
21026 lt_prog_compiler_pic_F77
='-fPIC'
21032 lt_prog_compiler_pic_F77
='-fPIC'
21036 # PORTME Check for flag to pass linker flags through the system compiler.
21039 lt_prog_compiler_wl_F77
='-Wl,'
21040 if test "$host_cpu" = ia64
; then
21041 # AIX 5 now supports IA64 processor
21042 lt_prog_compiler_static_F77
='-Bstatic'
21044 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21048 # PIC is the default on this platform
21049 # Common symbols not allowed in MH_DYLIB files
21050 case $cc_basename in
21052 lt_prog_compiler_pic_F77
='-qnocommon'
21053 lt_prog_compiler_wl_F77
='-Wl,'
21058 mingw
* | pw32
* | os2
*)
21059 # This hack is so that the source file can tell whether it is being
21060 # built for inclusion in a dll (and should export symbols for example).
21061 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21064 hpux9
* | hpux10
* | hpux11
*)
21065 lt_prog_compiler_wl_F77
='-Wl,'
21066 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21067 # not for PA HP-UX.
21073 lt_prog_compiler_pic_F77
='+Z'
21076 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21077 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21080 irix5
* | irix6
* | nonstopux
*)
21081 lt_prog_compiler_wl_F77
='-Wl,'
21082 # PIC (with -KPIC) is the default.
21083 lt_prog_compiler_static_F77
='-non_shared'
21087 lt_prog_compiler_pic_F77
='-KPIC'
21088 lt_prog_compiler_static_F77
='-Bstatic'
21092 case $cc_basename in
21094 lt_prog_compiler_wl_F77
='-Wl,'
21095 lt_prog_compiler_pic_F77
='-KPIC'
21096 lt_prog_compiler_static_F77
='-static'
21098 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21099 # Portland Group compilers (*not* the Pentium gcc compiler,
21100 # which looks to be a dead project)
21101 lt_prog_compiler_wl_F77
='-Wl,'
21102 lt_prog_compiler_pic_F77
='-fpic'
21103 lt_prog_compiler_static_F77
='-Bstatic'
21106 lt_prog_compiler_wl_F77
='-Wl,'
21107 # All Alpha code is PIC.
21108 lt_prog_compiler_static_F77
='-non_shared'
21113 osf3
* | osf4
* | osf5
*)
21114 lt_prog_compiler_wl_F77
='-Wl,'
21115 # All OSF/1 code is PIC.
21116 lt_prog_compiler_static_F77
='-non_shared'
21120 lt_prog_compiler_pic_F77
='-KPIC'
21121 lt_prog_compiler_static_F77
='-Bstatic'
21122 case $cc_basename in
21123 f77
* | f90
* | f95
*)
21124 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21126 lt_prog_compiler_wl_F77
='-Wl,';;
21131 lt_prog_compiler_wl_F77
='-Qoption ld '
21132 lt_prog_compiler_pic_F77
='-PIC'
21133 lt_prog_compiler_static_F77
='-Bstatic'
21136 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21137 lt_prog_compiler_wl_F77
='-Wl,'
21138 lt_prog_compiler_pic_F77
='-KPIC'
21139 lt_prog_compiler_static_F77
='-Bstatic'
21143 if test -d /usr
/nec
;then
21144 lt_prog_compiler_pic_F77
='-Kconform_pic'
21145 lt_prog_compiler_static_F77
='-Bstatic'
21149 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21150 lt_prog_compiler_wl_F77
='-Wl,'
21151 lt_prog_compiler_pic_F77
='-KPIC'
21152 lt_prog_compiler_static_F77
='-Bstatic'
21156 lt_prog_compiler_wl_F77
='-Wl,'
21157 lt_prog_compiler_can_build_shared_F77
=no
21161 lt_prog_compiler_pic_F77
='-pic'
21162 lt_prog_compiler_static_F77
='-Bstatic'
21166 lt_prog_compiler_can_build_shared_F77
=no
21171 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21172 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21175 # Check to make sure the PIC flag actually works.
21177 if test -n "$lt_prog_compiler_pic_F77"; then
21179 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21180 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21181 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21182 echo $ECHO_N "(cached) $ECHO_C" >&6
21184 lt_prog_compiler_pic_works_F77
=no
21185 ac_outfile
=conftest.
$ac_objext
21186 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21187 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21188 # Insert the option either (1) after the last *FLAGS variable, or
21189 # (2) before a word containing "conftest.", or (3) at the end.
21190 # Note that $ac_compile itself does not contain backslashes and begins
21191 # with a dollar sign (not a hyphen), so the echo should work correctly.
21192 # The option is referenced via a variable to avoid confusing sed.
21193 lt_compile
=`echo "$ac_compile" | $SED \
21194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21196 -e 's:$: $lt_compiler_flag:'`
21197 (eval echo "\"\$as_me:21197: $lt_compile\"" >&5)
21198 (eval "$lt_compile" 2>conftest.err
)
21200 cat conftest.err
>&5
21201 echo "$as_me:21201: \$? = $ac_status" >&5
21202 if (exit $ac_status) && test -s "$ac_outfile"; then
21203 # The compiler can only warn and ignore the option if not recognized
21204 # So say no if there are warnings other than the usual output.
21205 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21206 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21207 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21208 lt_prog_compiler_pic_works_F77
=yes
21214 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21215 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21217 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21218 case $lt_prog_compiler_pic_F77 in
21220 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21223 lt_prog_compiler_pic_F77
=
21224 lt_prog_compiler_can_build_shared_F77
=no
21229 # For platforms which do not support PIC, -DPIC is meaningless:
21231 lt_prog_compiler_pic_F77
=
21234 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21239 # Check to make sure the static flag actually works.
21241 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21242 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21243 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21244 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21247 lt_prog_compiler_static_works_F77
=no
21248 save_LDFLAGS
="$LDFLAGS"
21249 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21250 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21251 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21252 # The linker can only warn and ignore the option if not recognized
21253 # So say no if there are warnings
21254 if test -s conftest.err
; then
21255 # Append any errors to the config.log.
21256 cat conftest.err
1>&5
21257 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21258 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21259 if diff conftest.exp conftest.er2
>/dev
/null
; then
21260 lt_prog_compiler_static_works_F77
=yes
21263 lt_prog_compiler_static_works_F77
=yes
21267 LDFLAGS
="$save_LDFLAGS"
21270 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21271 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21273 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21276 lt_prog_compiler_static_F77
=
21280 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21281 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21282 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 lt_cv_prog_compiler_c_o_F77
=no
21286 $rm -r conftest
2>/dev
/null
21290 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21292 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21293 # Insert the option either (1) after the last *FLAGS variable, or
21294 # (2) before a word containing "conftest.", or (3) at the end.
21295 # Note that $ac_compile itself does not contain backslashes and begins
21296 # with a dollar sign (not a hyphen), so the echo should work correctly.
21297 lt_compile
=`echo "$ac_compile" | $SED \
21298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21300 -e 's:$: $lt_compiler_flag:'`
21301 (eval echo "\"\$as_me:21301: $lt_compile\"" >&5)
21302 (eval "$lt_compile" 2>out
/conftest.err
)
21304 cat out
/conftest.err
>&5
21305 echo "$as_me:21305: \$? = $ac_status" >&5
21306 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21308 # The compiler can only warn and ignore the option if not recognized
21309 # So say no if there are warnings
21310 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21311 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21312 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21313 lt_cv_prog_compiler_c_o_F77
=yes
21318 # SGI C++ compiler will create directory out/ii_files/ for
21319 # template instantiation
21320 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21321 $rm out
/* && rmdir out
21327 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21328 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21331 hard_links
="nottested"
21332 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21333 # do not overwrite the value of need_locks provided by the user
21334 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21335 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21338 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21340 ln conftest.a conftest.b
2>&5 || hard_links
=no
21341 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21342 { echo "$as_me:$LINENO: result: $hard_links" >&5
21343 echo "${ECHO_T}$hard_links" >&6; }
21344 if test "$hard_links" = no
; then
21345 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21346 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21353 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21354 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21357 allow_undefined_flag_F77
=
21358 enable_shared_with_static_runtimes_F77
=no
21360 archive_expsym_cmds_F77
=
21361 old_archive_From_new_cmds_F77
=
21362 old_archive_from_expsyms_cmds_F77
=
21363 export_dynamic_flag_spec_F77
=
21364 whole_archive_flag_spec_F77
=
21365 thread_safe_flag_spec_F77
=
21366 hardcode_libdir_flag_spec_F77
=
21367 hardcode_libdir_flag_spec_ld_F77
=
21368 hardcode_libdir_separator_F77
=
21369 hardcode_direct_F77
=no
21370 hardcode_minus_L_F77
=no
21371 hardcode_shlibpath_var_F77
=unsupported
21372 link_all_deplibs_F77
=unknown
21373 hardcode_automatic_F77
=no
21375 module_expsym_cmds_F77
=
21376 always_export_symbols_F77
=no
21377 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21378 # include_expsyms should be a list of space-separated symbols to be *always*
21379 # included in the symbol list
21380 include_expsyms_F77
=
21381 # exclude_expsyms can be an extended regexp of symbols to exclude
21382 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21383 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21384 # as well as any symbol that contains `d'.
21385 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21386 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21387 # platforms (ab)use it in PIC code, but their linkers get confused if
21388 # the symbol is explicitly referenced. Since portable code cannot
21389 # rely on this symbol name, it's probably fine to never include it in
21390 # preloaded symbol tables.
21391 extract_expsyms_cmds
=
21392 # Just being paranoid about ensuring that cc_basename is set.
21393 for cc_temp
in $compiler""; do
21395 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21396 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21401 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21404 cygwin
* | mingw
* | pw32
*)
21405 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21406 # When not using gcc, we currently assume that we are using
21407 # Microsoft Visual C++.
21408 if test "$GCC" != yes; then
21413 # we just hope/assume this is gcc and not c89 (= MSVC++)
21422 if test "$with_gnu_ld" = yes; then
21423 # If archive_cmds runs LD, not CC, wlarc should be empty
21426 # Set some defaults for GNU ld with shared library support. These
21427 # are reset later if shared libraries are not supported. Putting them
21428 # here allows them to be overridden if necessary.
21429 runpath_var
=LD_RUN_PATH
21430 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21431 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21432 # ancient GNU ld didn't support --whole-archive et. al.
21433 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21434 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21436 whole_archive_flag_spec_F77
=
21438 supports_anon_versioning
=no
21439 case `$LD -v 2>/dev/null` in
21440 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21441 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21442 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21443 *\
2.11.
*) ;; # other 2.11 versions
21444 *) supports_anon_versioning
=yes ;;
21447 # See if GNU ld supports shared libraries.
21449 aix3
* | aix4
* | aix5
*)
21450 # On AIX/PPC, the GNU linker is very broken
21451 if test "$host_cpu" != ia64
; then
21455 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21456 *** to be unable to reliably create shared libraries on AIX.
21457 *** Therefore, libtool is disabling shared libraries support. If you
21458 *** really care for shared libraries, you may want to modify your PATH
21459 *** so that a non-GNU linker is found, and then restart.
21466 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)'
21467 hardcode_libdir_flag_spec_F77
='-L$libdir'
21468 hardcode_minus_L_F77
=yes
21470 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21471 # that the semantics of dynamic libraries on AmigaOS, at least up
21472 # to version 4, is to share data among multiple programs linked
21473 # with the same dynamic library. Since this doesn't match the
21474 # behavior of shared libraries on other platforms, we can't use
21480 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21481 allow_undefined_flag_F77
=unsupported
21482 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21483 # support --undefined. This deserves some investigation. FIXME
21484 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21490 cygwin
* | mingw
* | pw32
*)
21491 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21492 # as there is no search path for DLLs.
21493 hardcode_libdir_flag_spec_F77
='-L$libdir'
21494 allow_undefined_flag_F77
=unsupported
21495 always_export_symbols_F77
=no
21496 enable_shared_with_static_runtimes_F77
=yes
21497 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21499 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21500 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21501 # If the export-symbols file already is a .def file (1st line
21502 # is EXPORTS), use it as is; otherwise, prepend...
21503 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21504 cp $export_symbols $output_objdir/$soname.def;
21506 echo EXPORTS > $output_objdir/$soname.def;
21507 cat $export_symbols >> $output_objdir/$soname.def;
21509 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21516 hardcode_direct_F77
=no
21517 hardcode_shlibpath_var_F77
=no
21518 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21519 export_dynamic_flag_spec_F77
='${wl}-E'
21520 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21521 # Instead, shared libraries are loaded at an image base (0x10000000 by
21522 # default) and relocated if they conflict, which is a slow very memory
21523 # consuming and fragmenting process. To avoid this, we pick a random,
21524 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21525 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21526 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'
21527 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'
21531 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21533 case $cc_basename,$host_cpu in
21534 pgcc
*) # Portland Group C compiler
21535 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'
21536 tmp_addflag
=' $pic_flag'
21538 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21539 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'
21540 tmp_addflag
=' $pic_flag -Mnomain' ;;
21541 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21542 tmp_addflag
=' -i_dynamic' ;;
21543 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21544 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21545 ifc
* | ifort
*) # Intel Fortran compiler
21546 tmp_addflag
=' -nofor_main' ;;
21548 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21550 if test $supports_anon_versioning = yes; then
21551 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21552 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21553 $echo "local: *; };" >> $output_objdir/$libname.ver~
21554 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21562 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21563 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21566 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21567 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21572 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21576 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21577 *** create shared libraries on Solaris systems. Therefore, libtool
21578 *** is disabling shared libraries support. We urge you to upgrade GNU
21579 *** binutils to release 2.9.1 or newer. Another option is to modify
21580 *** your PATH or compiler configuration so that the native linker is
21581 *** used, and then restart.
21584 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21585 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21586 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21592 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21593 case `$LD -v 2>&1` in
21594 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21598 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21599 *** reliably create shared libraries on SCO systems. Therefore, libtool
21600 *** is disabling shared libraries support. We urge you to upgrade GNU
21601 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21602 *** your PATH or compiler configuration so that the native linker is
21603 *** used, and then restart.
21608 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21609 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21610 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21611 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21620 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21622 hardcode_direct_F77
=yes
21623 hardcode_shlibpath_var_F77
=no
21627 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21628 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21629 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21636 if test "$ld_shlibs_F77" = no
; then
21638 hardcode_libdir_flag_spec_F77
=
21639 export_dynamic_flag_spec_F77
=
21640 whole_archive_flag_spec_F77
=
21643 # PORTME fill in a description of your system's linker (not GNU ld)
21646 allow_undefined_flag_F77
=unsupported
21647 always_export_symbols_F77
=yes
21648 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'
21649 # Note: this linker hardcodes the directories in LIBPATH if there
21650 # are no directories specified by -L.
21651 hardcode_minus_L_F77
=yes
21652 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21653 # Neither direct hardcoding nor static linking is supported with a
21655 hardcode_direct_F77
=unsupported
21660 if test "$host_cpu" = ia64
; then
21661 # On IA64, the linker does run time linking by default, so we don't
21662 # have to do anything special.
21663 aix_use_runtimelinking
=no
21664 exp_sym_flag
='-Bexport'
21667 # If we're using GNU nm, then we don't want the "-C" option.
21668 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21669 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21670 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'
21672 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'
21674 aix_use_runtimelinking
=no
21676 # Test if we are trying to use run time linking or normal
21677 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21678 # need to do runtime linking.
21679 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21680 for ld_flag
in $LDFLAGS; do
21681 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21682 aix_use_runtimelinking
=yes
21689 exp_sym_flag
='-bexport'
21690 no_entry_flag
='-bnoentry'
21693 # When large executables or shared objects are built, AIX ld can
21694 # have problems creating the table of contents. If linking a library
21695 # or program results in "error TOC overflow" add -mminimal-toc to
21696 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21697 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21699 archive_cmds_F77
=''
21700 hardcode_direct_F77
=yes
21701 hardcode_libdir_separator_F77
=':'
21702 link_all_deplibs_F77
=yes
21704 if test "$GCC" = yes; then
21705 case $host_os in aix4.
[012]|aix4.
[012].
*)
21706 # We only want to do this on AIX 4.2 and lower, the check
21707 # below for broken collect2 doesn't work under 4.3+
21708 collect2name
=`${CC} -print-prog-name=collect2`
21709 if test -f "$collect2name" && \
21710 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21712 # We have reworked collect2
21713 hardcode_direct_F77
=yes
21715 # We have old collect2
21716 hardcode_direct_F77
=unsupported
21717 # It fails to find uninstalled libraries when the uninstalled
21718 # path is not listed in the libpath. Setting hardcode_minus_L
21719 # to unsupported forces relinking
21720 hardcode_minus_L_F77
=yes
21721 hardcode_libdir_flag_spec_F77
='-L$libdir'
21722 hardcode_libdir_separator_F77
=
21726 shared_flag
='-shared'
21727 if test "$aix_use_runtimelinking" = yes; then
21728 shared_flag
="$shared_flag "'${wl}-G'
21732 if test "$host_cpu" = ia64
; then
21733 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21734 # chokes on -Wl,-G. The following line is correct:
21737 if test "$aix_use_runtimelinking" = yes; then
21738 shared_flag
='${wl}-G'
21740 shared_flag
='${wl}-bM:SRE'
21745 # It seems that -bexpall does not export symbols beginning with
21746 # underscore (_), so it is better to generate a list of symbols to export.
21747 always_export_symbols_F77
=yes
21748 if test "$aix_use_runtimelinking" = yes; then
21749 # Warning - without using the other runtime loading flags (-brtl),
21750 # -berok will link without error, but may produce a broken library.
21751 allow_undefined_flag_F77
='-berok'
21752 # Determine the default libpath from the value encoded in an empty executable.
21753 cat >conftest.
$ac_ext <<_ACEOF
21758 rm -f conftest.
$ac_objext conftest
$ac_exeext
21759 if { (ac_try
="$ac_link"
21760 case "(($ac_try" in
21761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_link") 2>conftest.er1
21767 grep -v '^ *+' conftest.er1 >conftest.err
21769 cat conftest.err >&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } &&
21772 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21773 { (case "(($ac_try" in
21774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21775 *) ac_try_echo
=$ac_try;;
21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_try") 2>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; } &&
21782 { ac_try
='test -s conftest$ac_exeext'
21783 { (case "(($ac_try" in
21784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21785 *) ac_try_echo=$ac_try;;
21787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21788 (eval "$ac_try") 2>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21793 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21795 # Check for a 64-bit object if we didn't find anything.
21796 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; }
21799 echo "$as_me: failed program was:" >&5
21800 sed 's/^/| /' conftest.$ac_ext >&5
21805 rm -f core conftest.err conftest.$ac_objext \
21806 conftest$ac_exeext conftest.$ac_ext
21807 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21809 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21810 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"
21812 if test "$host_cpu" = ia64; then
21813 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21814 allow_undefined_flag_F77="-z nodefs"
21815 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"
21817 # Determine the default libpath from the value encoded in an empty executable.
21818 cat >conftest.$ac_ext <<_ACEOF
21823 rm -f conftest.$ac_objext conftest$ac_exeext
21824 if { (ac_try="$ac_link"
21825 case "(($ac_try" in
21826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21827 *) ac_try_echo
=$ac_try;;
21829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval "$ac_link") 2>conftest.er1
21832 grep -v '^ *+' conftest.er1
>conftest.err
21834 cat conftest.err
>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } &&
21837 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21838 { (case "(($ac_try" in
21839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_try") 2>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; } &&
21847 { ac_try='test -s conftest$ac_exeext'
21848 { (case "(($ac_try" in
21849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21850 *) ac_try_echo
=$ac_try;;
21852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21853 (eval "$ac_try") 2>&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21858 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21860 # Check for a 64-bit object if we didn't find anything.
21861 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; }
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21870 rm -f core conftest.err conftest.
$ac_objext \
21871 conftest
$ac_exeext conftest.
$ac_ext
21872 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
21874 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
21875 # Warning - without using the other run time loading flags,
21876 # -berok will link without error, but may produce a broken library.
21877 no_undefined_flag_F77
=' ${wl}-bernotok'
21878 allow_undefined_flag_F77
=' ${wl}-berok'
21879 # Exported symbols can be pulled into shared objects from archives
21880 whole_archive_flag_spec_F77
='$convenience'
21881 archive_cmds_need_lc_F77
=yes
21882 # This is similar to how AIX traditionally builds its shared libraries.
21883 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'
21889 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)'
21890 hardcode_libdir_flag_spec_F77
='-L$libdir'
21891 hardcode_minus_L_F77
=yes
21892 # see comment about different semantics on the GNU ld section
21897 export_dynamic_flag_spec_F77
=-rdynamic
21900 cygwin
* | mingw
* | pw32
*)
21901 # When not using gcc, we currently assume that we are using
21902 # Microsoft Visual C++.
21903 # hardcode_libdir_flag_spec is actually meaningless, as there is
21904 # no search path for DLLs.
21905 hardcode_libdir_flag_spec_F77
=' '
21906 allow_undefined_flag_F77
=unsupported
21907 # Tell ltmain to make .lib files, not .a files.
21909 # Tell ltmain to make .dll files, not .so files.
21911 # FIXME: Setting linknames here is a bad hack.
21912 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21913 # The linker will automatically build a .lib file if we build a DLL.
21914 old_archive_From_new_cmds_F77
='true'
21915 # FIXME: Should let the user specify the lib program.
21916 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
21917 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
21918 enable_shared_with_static_runtimes_F77
=yes
21921 darwin
* | rhapsody
*)
21923 rhapsody
* | darwin1.
[012])
21924 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
21927 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21928 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21930 case ${MACOSX_DEPLOYMENT_TARGET} in
21932 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21935 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
21941 archive_cmds_need_lc_F77
=no
21942 hardcode_direct_F77
=no
21943 hardcode_automatic_F77
=yes
21944 hardcode_shlibpath_var_F77
=unsupported
21945 whole_archive_flag_spec_F77
=''
21946 link_all_deplibs_F77
=yes
21947 if test "$GCC" = yes ; then
21948 output_verbose_link_cmd
='echo'
21949 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21950 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21951 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21952 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}'
21953 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}'
21955 case $cc_basename in
21957 output_verbose_link_cmd
='echo'
21958 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21959 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21960 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21961 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}'
21962 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}'
21972 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21973 hardcode_libdir_flag_spec_F77
='-L$libdir'
21974 hardcode_shlibpath_var_F77
=no
21981 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21982 # support. Future versions do this automatically, but an explicit c++rt0.o
21983 # does not break anything, and helps significantly (at the cost of a little
21986 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21987 hardcode_libdir_flag_spec_F77
='-R$libdir'
21988 hardcode_direct_F77
=yes
21989 hardcode_shlibpath_var_F77
=no
21992 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21994 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21995 hardcode_direct_F77
=yes
21996 hardcode_minus_L_F77
=yes
21997 hardcode_shlibpath_var_F77
=no
22000 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22001 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22002 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22003 hardcode_libdir_flag_spec_F77
='-R$libdir'
22004 hardcode_direct_F77
=yes
22005 hardcode_shlibpath_var_F77
=no
22009 if test "$GCC" = yes; then
22010 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'
22012 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'
22014 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22015 hardcode_libdir_separator_F77
=:
22016 hardcode_direct_F77
=yes
22018 # hardcode_minus_L: Not really in the search PATH,
22019 # but as the default location of the library.
22020 hardcode_minus_L_F77
=yes
22021 export_dynamic_flag_spec_F77
='${wl}-E'
22025 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22026 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22028 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22030 if test "$with_gnu_ld" = no
; then
22031 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22032 hardcode_libdir_separator_F77
=:
22034 hardcode_direct_F77
=yes
22035 export_dynamic_flag_spec_F77
='${wl}-E'
22037 # hardcode_minus_L: Not really in the search PATH,
22038 # but as the default location of the library.
22039 hardcode_minus_L_F77
=yes
22044 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22047 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22050 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22053 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22059 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22062 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22065 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22069 if test "$with_gnu_ld" = no
; then
22070 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22071 hardcode_libdir_separator_F77
=:
22075 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22076 hardcode_direct_F77
=no
22077 hardcode_shlibpath_var_F77
=no
22080 hardcode_direct_F77
=yes
22081 export_dynamic_flag_spec_F77
='${wl}-E'
22083 # hardcode_minus_L: Not really in the search PATH,
22084 # but as the default location of the library.
22085 hardcode_minus_L_F77
=yes
22091 irix5
* | irix6
* | nonstopux
*)
22092 if test "$GCC" = yes; then
22093 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'
22095 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'
22096 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22098 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22099 hardcode_libdir_separator_F77
=:
22100 link_all_deplibs_F77
=yes
22104 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22105 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22107 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22109 hardcode_libdir_flag_spec_F77
='-R$libdir'
22110 hardcode_direct_F77
=yes
22111 hardcode_shlibpath_var_F77
=no
22115 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22116 hardcode_direct_F77
=yes
22117 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22118 hardcode_libdir_separator_F77
=:
22119 hardcode_shlibpath_var_F77
=no
22123 hardcode_direct_F77
=yes
22124 hardcode_shlibpath_var_F77
=no
22125 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22126 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22127 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22128 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22129 export_dynamic_flag_spec_F77
='${wl}-E'
22132 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22133 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22134 hardcode_libdir_flag_spec_F77
='-R$libdir'
22137 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22138 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22145 hardcode_libdir_flag_spec_F77
='-L$libdir'
22146 hardcode_minus_L_F77
=yes
22147 allow_undefined_flag_F77
=unsupported
22148 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'
22149 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22153 if test "$GCC" = yes; then
22154 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22155 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'
22157 allow_undefined_flag_F77
=' -expect_unresolved \*'
22158 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'
22160 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22161 hardcode_libdir_separator_F77
=:
22164 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22165 if test "$GCC" = yes; then
22166 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22167 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'
22168 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22170 allow_undefined_flag_F77
=' -expect_unresolved \*'
22171 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'
22172 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~
22173 $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'
22175 # Both c and cxx compiler support -rpath directly
22176 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22178 hardcode_libdir_separator_F77
=:
22182 no_undefined_flag_F77
=' -z text'
22183 if test "$GCC" = yes; then
22185 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22186 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22187 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22190 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22191 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22192 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22194 hardcode_libdir_flag_spec_F77
='-R$libdir'
22195 hardcode_shlibpath_var_F77
=no
22197 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22199 # The compiler driver will combine linker options so we
22200 # cannot just pass the convience library names through
22201 # without $wl, iff we do not link with $LD.
22202 # Luckily, gcc supports the same syntax we need for Sun Studio.
22203 # Supported since Solaris 2.6 (maybe 2.5.1?)
22206 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22208 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' ;;
22211 link_all_deplibs_F77
=yes
22215 if test "x$host_vendor" = xsequent
; then
22216 # Use $CC to link under sequent, because it throws in some extra .o
22217 # files that make .init and .fini sections work.
22218 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22220 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22222 hardcode_libdir_flag_spec_F77
='-L$libdir'
22223 hardcode_direct_F77
=yes
22224 hardcode_minus_L_F77
=yes
22225 hardcode_shlibpath_var_F77
=no
22229 case $host_vendor in
22231 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22232 hardcode_direct_F77
=yes # is this really true???
22235 ## LD is ld it makes a PLAMLIB
22236 ## CC just makes a GrossModule.
22237 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22238 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22239 hardcode_direct_F77
=no
22242 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22243 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22246 runpath_var
='LD_RUN_PATH'
22247 hardcode_shlibpath_var_F77
=no
22251 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22252 hardcode_shlibpath_var_F77
=no
22253 export_dynamic_flag_spec_F77
='-Bexport'
22257 if test -d /usr
/nec
; then
22258 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22259 hardcode_shlibpath_var_F77
=no
22260 runpath_var
=LD_RUN_PATH
22261 hardcode_runpath_var
=yes
22266 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22267 no_undefined_flag_F77
='${wl}-z,text'
22268 archive_cmds_need_lc_F77
=no
22269 hardcode_shlibpath_var_F77
=no
22270 runpath_var
='LD_RUN_PATH'
22272 if test "$GCC" = yes; then
22273 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22274 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22276 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22277 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22281 sysv5
* | sco3.2v5
* | sco5v6
*)
22282 # Note: We can NOT use -z defs as we might desire, because we do not
22283 # link with -lc, and that would cause any symbols used from libc to
22284 # always be unresolved, which means just about no library would
22285 # ever link correctly. If we're not using GNU ld we use -z text
22286 # though, which does catch some bad symbols but isn't as heavy-handed
22288 no_undefined_flag_F77
='${wl}-z,text'
22289 allow_undefined_flag_F77
='${wl}-z,nodefs'
22290 archive_cmds_need_lc_F77
=no
22291 hardcode_shlibpath_var_F77
=no
22292 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22293 hardcode_libdir_separator_F77
=':'
22294 link_all_deplibs_F77
=yes
22295 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22296 runpath_var
='LD_RUN_PATH'
22298 if test "$GCC" = yes; then
22299 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22300 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22302 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22303 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22308 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22309 hardcode_libdir_flag_spec_F77
='-L$libdir'
22310 hardcode_shlibpath_var_F77
=no
22319 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22320 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22321 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22324 # Do we need to explicitly link libc?
22326 case "x$archive_cmds_need_lc_F77" in
22328 # Assume -lc should be added
22329 archive_cmds_need_lc_F77
=yes
22331 if test "$enable_shared" = yes && test "$GCC" = yes; then
22332 case $archive_cmds_F77 in
22334 # FIXME: we may have to deal with multi-command sequences.
22337 # Test whether the compiler implicitly links with -lc since on some
22338 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22339 # to ld, don't add -lc before -lgcc.
22340 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22341 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22343 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22346 (eval $ac_compile) 2>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } 2>conftest.err
; then
22352 libobjs
=conftest.
$ac_objext
22354 wl
=$lt_prog_compiler_wl_F77
22355 pic_flag
=$lt_prog_compiler_pic_F77
22361 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22362 allow_undefined_flag_F77
=
22363 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22364 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }
22369 archive_cmds_need_lc_F77
=no
22371 archive_cmds_need_lc_F77
=yes
22373 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22375 cat conftest.err
1>&5
22378 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22379 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22386 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22387 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22388 library_names_spec
=
22389 libname_spec
='lib$name'
22393 postuninstall_cmds
=
22397 shlibpath_overrides_runpath
=unknown
22399 dynamic_linker
="$host_os ld.so"
22400 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22401 if test "$GCC" = yes; then
22402 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22403 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22404 # if the path contains ";" then we assume it to be the separator
22405 # otherwise default to the standard path separator (i.e. ":") - it is
22406 # assumed that no part of a normal pathname contains ";" but that should
22407 # okay in the real world where ";" in dirpaths is itself problematic.
22408 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22410 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22413 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22415 need_lib_prefix
=unknown
22416 hardcode_into_libs
=no
22418 # when you set need_version to no, make sure it does not cause -set_version
22419 # flags to be left without arguments
22420 need_version
=unknown
22425 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22426 shlibpath_var
=LIBPATH
22428 # AIX 3 has no versioning support, so we append a major version to the name.
22429 soname_spec
='${libname}${release}${shared_ext}$major'
22436 hardcode_into_libs
=yes
22437 if test "$host_cpu" = ia64
; then
22438 # AIX 5 supports IA64
22439 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22440 shlibpath_var
=LD_LIBRARY_PATH
22442 # With GCC up to 2.95.x, collect2 would create an import file
22443 # for dependence libraries. The import file would start with
22444 # the line `#! .'. This would cause the generated library to
22445 # depend on `.', always an invalid library. This was fixed in
22446 # development snapshots of GCC prior to 3.0.
22448 aix4 | aix4.
[01] | aix4.
[01].
*)
22449 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22451 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22454 can_build_shared
=no
22458 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22459 # soname into executable. Probably we can add versioning support to
22460 # collect2, so additional links can be useful in future.
22461 if test "$aix_use_runtimelinking" = yes; then
22462 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22463 # instead of lib<name>.a to let people know that these are not
22464 # typical AIX shared libraries.
22465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22467 # We preserve .a as extension for shared libraries through AIX4.2
22468 # and later when we are not doing run time linking.
22469 library_names_spec
='${libname}${release}.a $libname.a'
22470 soname_spec
='${libname}${release}${shared_ext}$major'
22472 shlibpath_var
=LIBPATH
22477 library_names_spec
='$libname.ixlibrary $libname.a'
22478 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22479 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'
22483 library_names_spec
='${libname}${shared_ext}'
22484 dynamic_linker
="$host_os ld.so"
22485 shlibpath_var
=LIBRARY_PATH
22491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22492 soname_spec
='${libname}${release}${shared_ext}$major'
22493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22494 shlibpath_var
=LD_LIBRARY_PATH
22495 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22496 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22497 # the default ld.so.conf also contains /usr/contrib/lib and
22498 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22499 # libtool to hard-code these into programs
22502 cygwin
* | mingw
* | pw32
*)
22503 version_type
=windows
22508 case $GCC,$host_os in
22509 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22510 library_names_spec
='$libname.dll.a'
22511 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22512 postinstall_cmds
='base_file=`basename \${file}`~
22513 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22514 dldir=$destdir/`dirname \$dlpath`~
22515 test -d \$dldir || mkdir -p \$dldir~
22516 $install_prog $dir/$dlname \$dldir/$dlname~
22517 chmod a+x \$dldir/$dlname'
22518 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22519 dlpath=$dir/\$dldll~
22521 shlibpath_overrides_runpath
=yes
22525 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22526 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22527 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22530 # MinGW DLLs use traditional 'lib' prefix
22531 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22532 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22533 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22534 # It is most probably a Windows format PATH printed by
22535 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22536 # path with ; separators, and with drive letters. We can handle the
22537 # drive letters (cygwin fileutils understands them), so leave them,
22538 # especially as we might pass files found there to a mingw objdump,
22539 # which wouldn't understand a cygwinified path. Ahh.
22540 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22542 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22546 # pw32 DLLs use 'pw' prefix rather than 'lib'
22547 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22553 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22556 dynamic_linker
='Win32 ld.exe'
22557 # FIXME: first we should search . and the directory the executable is in
22561 darwin
* | rhapsody
*)
22562 dynamic_linker
="$host_os dyld"
22563 version_type
=darwin
22566 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22567 soname_spec
='${libname}${release}${major}$shared_ext'
22568 shlibpath_overrides_runpath
=yes
22569 shlibpath_var
=DYLD_LIBRARY_PATH
22570 shrext_cmds
='.dylib'
22571 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22572 if test "$GCC" = yes; then
22573 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"`
22575 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22577 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22585 soname_spec
='${libname}${release}${shared_ext}$major'
22586 shlibpath_var
=LD_LIBRARY_PATH
22597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22598 soname_spec
='${libname}${release}${shared_ext}$major'
22599 shlibpath_var
=LD_LIBRARY_PATH
22600 shlibpath_overrides_runpath
=no
22601 hardcode_into_libs
=yes
22602 dynamic_linker
='GNU ld.so'
22605 freebsd
* | dragonfly
*)
22606 # DragonFly does not have aout. When/if they implement a new
22607 # versioning mechanism, adjust this.
22608 if test -x /usr
/bin
/objformat
; then
22609 objformat
=`/usr/bin/objformat`
22612 freebsd
[123]*) objformat
=aout
;;
22613 *) objformat
=elf
;;
22616 version_type
=freebsd-
$objformat
22617 case $version_type in
22619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22624 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22628 shlibpath_var
=LD_LIBRARY_PATH
22631 shlibpath_overrides_runpath
=yes
22633 freebsd3.
[01]* | freebsdelf3.
[01]*)
22634 shlibpath_overrides_runpath
=yes
22635 hardcode_into_libs
=yes
22637 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22638 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22639 shlibpath_overrides_runpath
=no
22640 hardcode_into_libs
=yes
22642 freebsd
*) # from 4.6 on
22643 shlibpath_overrides_runpath
=yes
22644 hardcode_into_libs
=yes
22653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22654 soname_spec
='${libname}${release}${shared_ext}$major'
22655 shlibpath_var
=LD_LIBRARY_PATH
22656 hardcode_into_libs
=yes
22659 hpux9
* | hpux10
* | hpux11
*)
22660 # Give a soname corresponding to the major version so that dld.sl refuses to
22661 # link against other versions.
22668 hardcode_into_libs
=yes
22669 dynamic_linker
="$host_os dld.so"
22670 shlibpath_var
=LD_LIBRARY_PATH
22671 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22673 soname_spec
='${libname}${release}${shared_ext}$major'
22674 if test "X$HPUX_IA64_MODE" = X32
; then
22675 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22677 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22679 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22683 hardcode_into_libs
=yes
22684 dynamic_linker
="$host_os dld.sl"
22685 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22686 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22688 soname_spec
='${libname}${release}${shared_ext}$major'
22689 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22690 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22694 dynamic_linker
="$host_os dld.sl"
22695 shlibpath_var
=SHLIB_PATH
22696 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22698 soname_spec
='${libname}${release}${shared_ext}$major'
22701 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22702 postinstall_cmds
='chmod 555 $lib'
22709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22710 soname_spec
='${libname}${release}${shared_ext}$major'
22711 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22712 shlibpath_var
=LD_LIBRARY_PATH
22713 shlibpath_overrides_runpath
=no
22714 hardcode_into_libs
=yes
22717 irix5
* | irix6
* | nonstopux
*)
22719 nonstopux
*) version_type
=nonstopux
;;
22721 if test "$lt_cv_prog_gnu_ld" = yes; then
22729 soname_spec
='${libname}${release}${shared_ext}$major'
22730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22732 irix5
* | nonstopux
*)
22733 libsuff
= shlibsuff
=
22736 case $LD in # libtool.m4 will add one of these switches to LD
22737 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22738 libsuff
= shlibsuff
= libmagic
=32-bit;;
22739 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22740 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22741 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22742 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22743 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22747 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22748 shlibpath_overrides_runpath
=no
22749 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22750 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22751 hardcode_into_libs
=yes
22754 # No shared lib support for Linux oldld, aout, or coff.
22755 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22759 # This must be Linux ELF.
22764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22765 soname_spec
='${libname}${release}${shared_ext}$major'
22766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22767 shlibpath_var
=LD_LIBRARY_PATH
22768 shlibpath_overrides_runpath
=no
22769 # This implies no fast_install, which is unacceptable.
22770 # Some rework will be needed to allow for fast_install
22771 # before this can be enabled.
22772 hardcode_into_libs
=yes
22774 # Append ld.so.conf contents to the search path
22775 if test -f /etc
/ld.so.conf
; then
22776 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' ' '`
22777 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22780 # We used to test for /lib/ld.so.1 and disable shared libraries on
22781 # powerpc, because MkLinux only supported shared libraries with the
22782 # GNU dynamic linker. Since this was broken with cross compilers,
22783 # most powerpc-linux boxes support dynamic linking these days and
22784 # people can always --disable-shared, the test was removed, and we
22785 # assume the GNU/Linux dynamic linker is in use.
22786 dynamic_linker
='GNU/Linux ld.so'
22793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22794 soname_spec
='${libname}${release}${shared_ext}$major'
22795 shlibpath_var
=LD_LIBRARY_PATH
22796 shlibpath_overrides_runpath
=no
22797 hardcode_into_libs
=yes
22798 dynamic_linker
='GNU ld.so'
22805 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22807 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22808 dynamic_linker
='NetBSD (a.out) ld.so'
22810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22811 soname_spec
='${libname}${release}${shared_ext}$major'
22812 dynamic_linker
='NetBSD ld.elf_so'
22814 shlibpath_var
=LD_LIBRARY_PATH
22815 shlibpath_overrides_runpath
=yes
22816 hardcode_into_libs
=yes
22821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22822 shlibpath_var
=LD_LIBRARY_PATH
22823 shlibpath_overrides_runpath
=yes
22830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22831 soname_spec
='${libname}${release}${shared_ext}$major'
22832 shlibpath_var
=LD_LIBRARY_PATH
22833 shlibpath_overrides_runpath
=yes
22838 sys_lib_dlsearch_path_spec
="/usr/lib"
22840 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22842 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
22843 *) need_version
=no
;;
22845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22846 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22847 shlibpath_var
=LD_LIBRARY_PATH
22848 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22850 openbsd2.
[89] | openbsd2.
[89].
*)
22851 shlibpath_overrides_runpath
=no
22854 shlibpath_overrides_runpath
=yes
22858 shlibpath_overrides_runpath
=yes
22863 libname_spec
='$name'
22866 library_names_spec
='$libname${shared_ext} $libname.a'
22867 dynamic_linker
='OS/2 ld.exe'
22868 shlibpath_var
=LIBPATH
22871 osf3
* | osf4
* | osf5
*)
22875 soname_spec
='${libname}${release}${shared_ext}$major'
22876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22877 shlibpath_var
=LD_LIBRARY_PATH
22878 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22879 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
22886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22887 soname_spec
='${libname}${release}${shared_ext}$major'
22888 shlibpath_var
=LD_LIBRARY_PATH
22889 shlibpath_overrides_runpath
=yes
22890 hardcode_into_libs
=yes
22891 # ldd complains unless libraries are executable
22892 postinstall_cmds
='chmod +x $lib'
22897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22898 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22899 shlibpath_var
=LD_LIBRARY_PATH
22900 shlibpath_overrides_runpath
=yes
22901 if test "$with_gnu_ld" = yes; then
22909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22910 soname_spec
='${libname}${release}${shared_ext}$major'
22911 shlibpath_var
=LD_LIBRARY_PATH
22912 case $host_vendor in
22914 shlibpath_overrides_runpath
=no
22916 export_dynamic_flag_spec
='${wl}-Blargedynsym'
22917 runpath_var
=LD_RUN_PATH
22925 shlibpath_overrides_runpath
=no
22926 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
22932 if test -d /usr
/nec
;then
22934 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22935 soname_spec
='$libname${shared_ext}.$major'
22936 shlibpath_var
=LD_LIBRARY_PATH
22940 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
22941 version_type
=freebsd-elf
22944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22945 soname_spec
='${libname}${release}${shared_ext}$major'
22946 shlibpath_var
=LD_LIBRARY_PATH
22947 hardcode_into_libs
=yes
22948 if test "$with_gnu_ld" = yes; then
22949 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22950 shlibpath_overrides_runpath
=no
22952 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
22953 shlibpath_overrides_runpath
=yes
22956 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
22960 sys_lib_dlsearch_path_spec
='/usr/lib'
22965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22966 soname_spec
='${libname}${release}${shared_ext}$major'
22967 shlibpath_var
=LD_LIBRARY_PATH
22974 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22975 echo "${ECHO_T}$dynamic_linker" >&6; }
22976 test "$dynamic_linker" = no
&& can_build_shared
=no
22978 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
22979 if test "$GCC" = yes; then
22980 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22983 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22984 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
22985 hardcode_action_F77
=
22986 if test -n "$hardcode_libdir_flag_spec_F77" || \
22987 test -n "$runpath_var_F77" || \
22988 test "X$hardcode_automatic_F77" = "Xyes" ; then
22990 # We can hardcode non-existant directories.
22991 if test "$hardcode_direct_F77" != no
&&
22992 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22993 # have to relink, otherwise we might link with an installed library
22994 # when we should be linking with a yet-to-be-installed one
22995 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
22996 test "$hardcode_minus_L_F77" != no
; then
22997 # Linking always hardcodes the temporary library directory.
22998 hardcode_action_F77
=relink
23000 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23001 hardcode_action_F77
=immediate
23004 # We cannot hardcode anything, or else we can only hardcode existing
23006 hardcode_action_F77
=unsupported
23008 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23009 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23011 if test "$hardcode_action_F77" = relink
; then
23012 # Fast installation is not supported
23013 enable_fast_install
=no
23014 elif test "$shlibpath_overrides_runpath" = yes ||
23015 test "$enable_shared" = no
; then
23016 # Fast installation is not necessary
23017 enable_fast_install
=needless
23021 # The else clause should only fire when bootstrapping the
23022 # libtool distribution, otherwise you forgot to ship ltmain.sh
23023 # with your package, and you will get complaints that there are
23024 # no rules to generate ltmain.sh.
23025 if test -f "$ltmain"; then
23026 # See if we are running on zsh, and set the options which allow our commands through
23027 # without removal of \ escapes.
23028 if test -n "${ZSH_VERSION+set}" ; then
23029 setopt NO_GLOB_SUBST
23031 # Now quote all the things that may contain metacharacters while being
23032 # careful not to overquote the AC_SUBSTed values. We take copies of the
23033 # variables and quote the copies for generation of the libtool script.
23034 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23036 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23037 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23038 deplibs_check_method reload_flag reload_cmds need_locks \
23039 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23040 lt_cv_sys_global_symbol_to_c_name_address \
23041 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23042 old_postinstall_cmds old_postuninstall_cmds \
23046 lt_prog_compiler_wl_F77 \
23047 lt_prog_compiler_pic_F77 \
23048 lt_prog_compiler_static_F77 \
23049 lt_prog_compiler_no_builtin_flag_F77 \
23050 export_dynamic_flag_spec_F77 \
23051 thread_safe_flag_spec_F77 \
23052 whole_archive_flag_spec_F77 \
23053 enable_shared_with_static_runtimes_F77 \
23054 old_archive_cmds_F77 \
23055 old_archive_from_new_cmds_F77 \
23056 predep_objects_F77 \
23057 postdep_objects_F77 \
23060 compiler_lib_search_path_F77 \
23062 archive_expsym_cmds_F77 \
23063 postinstall_cmds_F77 \
23064 postuninstall_cmds_F77 \
23065 old_archive_from_expsyms_cmds_F77 \
23066 allow_undefined_flag_F77 \
23067 no_undefined_flag_F77 \
23068 export_symbols_cmds_F77 \
23069 hardcode_libdir_flag_spec_F77 \
23070 hardcode_libdir_flag_spec_ld_F77 \
23071 hardcode_libdir_separator_F77 \
23072 hardcode_automatic_F77 \
23074 module_expsym_cmds_F77 \
23075 lt_cv_prog_compiler_c_o_F77 \
23076 exclude_expsyms_F77 \
23077 include_expsyms_F77
; do
23080 old_archive_cmds_F77 | \
23081 old_archive_from_new_cmds_F77 | \
23082 archive_cmds_F77 | \
23083 archive_expsym_cmds_F77 | \
23084 module_cmds_F77 | \
23085 module_expsym_cmds_F77 | \
23086 old_archive_from_expsyms_cmds_F77 | \
23087 export_symbols_cmds_F77 | \
23088 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23089 postinstall_cmds | postuninstall_cmds | \
23090 old_postinstall_cmds | old_postuninstall_cmds | \
23091 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23092 # Double-quote double-evaled strings.
23093 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23096 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23102 *'\$0 --fallback-echo"')
23103 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23109 cat <<__EOF__ >> "$cfgfile"
23110 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23112 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23114 # Shell to use when invoking shell scripts.
23117 # Whether or not to build shared libraries.
23118 build_libtool_libs=$enable_shared
23120 # Whether or not to build static libraries.
23121 build_old_libs=$enable_static
23123 # Whether or not to add -lc for building shared libraries.
23124 build_libtool_need_lc=$archive_cmds_need_lc_F77
23126 # Whether or not to disallow shared libs when runtime libs are static
23127 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23129 # Whether or not to optimize for fast installation.
23130 fast_install=$enable_fast_install
23133 host_alias=$host_alias
23137 # The build system.
23138 build_alias=$build_alias
23142 # An echo program that does not interpret backslashes.
23147 AR_FLAGS=$lt_AR_FLAGS
23152 # LTCC compiler flags.
23153 LTCFLAGS=$lt_LTCFLAGS
23155 # A language-specific compiler.
23156 CC=$lt_compiler_F77
23158 # Is the compiler the GNU C compiler?
23164 # The linker used to build libraries.
23167 # Whether we need hard or soft links.
23170 # A BSD-compatible nm program.
23173 # A symbol stripping program
23176 # Used to examine libraries when file_magic_cmd begins "file"
23177 MAGIC_CMD=$MAGIC_CMD
23179 # Used on cygwin: DLL creation program.
23182 # Used on cygwin: object dumper.
23185 # Used on cygwin: assembler.
23188 # The name of the directory that contains temporary libtool files.
23191 # How to create reloadable object files.
23192 reload_flag=$lt_reload_flag
23193 reload_cmds=$lt_reload_cmds
23195 # How to pass a linker flag through the compiler.
23196 wl=$lt_lt_prog_compiler_wl_F77
23198 # Object file suffix (normally "o").
23199 objext="$ac_objext"
23201 # Old archive suffix (normally "a").
23204 # Shared library suffix (normally ".so").
23205 shrext_cmds='$shrext_cmds'
23207 # Executable file suffix (normally "").
23210 # Additional compiler flags for building library objects.
23211 pic_flag=$lt_lt_prog_compiler_pic_F77
23214 # What is the maximum length of a command?
23215 max_cmd_len=$lt_cv_sys_max_cmd_len
23217 # Does compiler simultaneously support -c and -o options?
23218 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23220 # Must we lock files when doing compilation?
23221 need_locks=$lt_need_locks
23223 # Do we need the lib prefix for modules?
23224 need_lib_prefix=$need_lib_prefix
23226 # Do we need a version for libraries?
23227 need_version=$need_version
23229 # Whether dlopen is supported.
23230 dlopen_support=$enable_dlopen
23232 # Whether dlopen of programs is supported.
23233 dlopen_self=$enable_dlopen_self
23235 # Whether dlopen of statically linked programs is supported.
23236 dlopen_self_static=$enable_dlopen_self_static
23238 # Compiler flag to prevent dynamic linking.
23239 link_static_flag=$lt_lt_prog_compiler_static_F77
23241 # Compiler flag to turn off builtin functions.
23242 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23244 # Compiler flag to allow reflexive dlopens.
23245 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23247 # Compiler flag to generate shared objects directly from archives.
23248 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23250 # Compiler flag to generate thread-safe objects.
23251 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23253 # Library versioning type.
23254 version_type=$version_type
23256 # Format of library name prefix.
23257 libname_spec=$lt_libname_spec
23259 # List of archive names. First name is the real one, the rest are links.
23260 # The last name is the one that the linker finds with -lNAME.
23261 library_names_spec=$lt_library_names_spec
23263 # The coded name of the library, if different from the real name.
23264 soname_spec=$lt_soname_spec
23266 # Commands used to build and install an old-style archive.
23268 old_archive_cmds=$lt_old_archive_cmds_F77
23269 old_postinstall_cmds=$lt_old_postinstall_cmds
23270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23272 # Create an old-style archive from a shared archive.
23273 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23275 # Create a temporary old-style archive to link instead of a shared archive.
23276 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23278 # Commands used to build and install a shared archive.
23279 archive_cmds=$lt_archive_cmds_F77
23280 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23281 postinstall_cmds=$lt_postinstall_cmds
23282 postuninstall_cmds=$lt_postuninstall_cmds
23284 # Commands used to build a loadable module (assumed same as above if empty)
23285 module_cmds=$lt_module_cmds_F77
23286 module_expsym_cmds=$lt_module_expsym_cmds_F77
23288 # Commands to strip libraries.
23289 old_striplib=$lt_old_striplib
23290 striplib=$lt_striplib
23292 # Dependencies to place before the objects being linked to create a
23294 predep_objects=$lt_predep_objects_F77
23296 # Dependencies to place after the objects being linked to create a
23298 postdep_objects=$lt_postdep_objects_F77
23300 # Dependencies to place before the objects being linked to create a
23302 predeps=$lt_predeps_F77
23304 # Dependencies to place after the objects being linked to create a
23306 postdeps=$lt_postdeps_F77
23308 # The library search path used internally by the compiler when linking
23309 # a shared library.
23310 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23312 # Method to check whether dependent libraries are shared objects.
23313 deplibs_check_method=$lt_deplibs_check_method
23315 # Command to use when deplibs_check_method == file_magic.
23316 file_magic_cmd=$lt_file_magic_cmd
23318 # Flag that allows shared libraries with undefined symbols to be built.
23319 allow_undefined_flag=$lt_allow_undefined_flag_F77
23321 # Flag that forces no undefined symbols.
23322 no_undefined_flag=$lt_no_undefined_flag_F77
23324 # Commands used to finish a libtool library installation in a directory.
23325 finish_cmds=$lt_finish_cmds
23327 # Same as above, but a single script fragment to be evaled but not shown.
23328 finish_eval=$lt_finish_eval
23330 # Take the output of nm and produce a listing of raw symbols and C names.
23331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23333 # Transform the output of nm in a proper C declaration
23334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23336 # Transform the output of nm in a C name address pair
23337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23339 # This is the shared library runtime path variable.
23340 runpath_var=$runpath_var
23342 # This is the shared library path variable.
23343 shlibpath_var=$shlibpath_var
23345 # Is shlibpath searched before the hard-coded library search path?
23346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23348 # How to hardcode a shared library path into an executable.
23349 hardcode_action=$hardcode_action_F77
23351 # Whether we should hardcode library paths into libraries.
23352 hardcode_into_libs=$hardcode_into_libs
23354 # Flag to hardcode \$libdir into a binary during linking.
23355 # This must work even if \$libdir does not exist.
23356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23358 # If ld is used when linking, flag to hardcode \$libdir into
23359 # a binary during linking. This must work even if \$libdir does
23361 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23363 # Whether we need a single -rpath flag with a separated argument.
23364 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23366 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23367 # resulting binary.
23368 hardcode_direct=$hardcode_direct_F77
23370 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23371 # resulting binary.
23372 hardcode_minus_L=$hardcode_minus_L_F77
23374 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23375 # the resulting binary.
23376 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23378 # Set to yes if building a shared library automatically hardcodes DIR into the library
23379 # and all subsequent libraries and executables linked against it.
23380 hardcode_automatic=$hardcode_automatic_F77
23382 # Variables whose values should be saved in libtool wrapper scripts and
23383 # restored at relink time.
23384 variables_saved_for_relink="$variables_saved_for_relink"
23386 # Whether libtool must link a program against all its dependency libraries.
23387 link_all_deplibs=$link_all_deplibs_F77
23389 # Compile-time system search path for libraries
23390 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23392 # Run-time system search path for libraries
23393 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23395 # Fix the shell variable \$srcfile for the compiler.
23396 fix_srcfile_path="$fix_srcfile_path_F77"
23398 # Set to yes if exported symbols are required.
23399 always_export_symbols=$always_export_symbols_F77
23401 # The commands to list exported symbols.
23402 export_symbols_cmds=$lt_export_symbols_cmds_F77
23404 # The commands to extract the exported symbol list from a shared archive.
23405 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23407 # Symbols that should not be listed in the preloaded symbols.
23408 exclude_expsyms=$lt_exclude_expsyms_F77
23410 # Symbols that must always be exported.
23411 include_expsyms=$lt_include_expsyms_F77
23413 # ### END LIBTOOL TAG CONFIG: $tagname
23419 # If there is no Makefile yet, we rely on a make rule to execute
23420 # `config.status --recheck' to rerun these tests and create the
23421 # libtool script then.
23422 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23423 if test -f "$ltmain_in"; then
23424 test -f Makefile
&& make "$ltmain"
23430 ac_cpp
='$CPP $CPPFLAGS'
23431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23443 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23445 ac_cpp
='$CPP $CPPFLAGS'
23446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23451 # Source file extension for Java test sources.
23454 # Object file extension for compiled Java test sources.
23458 # Code to be used in simple compile tests
23459 lt_simple_compile_test_code
="class foo {}\n"
23461 # Code to be used in simple link tests
23462 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23464 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23466 # If no C compiler was specified, use CC.
23469 # If no C compiler flags were specified, use CFLAGS.
23470 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23472 # Allow CC to be a program name with arguments.
23476 # save warnings/boilerplate of simple test code
23477 ac_outfile
=conftest.
$ac_objext
23478 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23479 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23480 _lt_compiler_boilerplate
=`cat conftest.err`
23483 ac_outfile
=conftest.
$ac_objext
23484 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23485 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23486 _lt_linker_boilerplate
=`cat conftest.err`
23490 # Allow CC to be a program name with arguments.
23495 for cc_temp
in $compiler""; do
23497 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23498 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23503 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23506 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23507 archive_cmds_need_lc_GCJ
=no
23509 old_archive_cmds_GCJ
=$old_archive_cmds
23512 lt_prog_compiler_no_builtin_flag_GCJ
=
23514 if test "$GCC" = yes; then
23515 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23518 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23519 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23520 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23521 echo $ECHO_N "(cached) $ECHO_C" >&6
23523 lt_cv_prog_compiler_rtti_exceptions
=no
23524 ac_outfile
=conftest.
$ac_objext
23525 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23526 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23527 # Insert the option either (1) after the last *FLAGS variable, or
23528 # (2) before a word containing "conftest.", or (3) at the end.
23529 # Note that $ac_compile itself does not contain backslashes and begins
23530 # with a dollar sign (not a hyphen), so the echo should work correctly.
23531 # The option is referenced via a variable to avoid confusing sed.
23532 lt_compile
=`echo "$ac_compile" | $SED \
23533 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23535 -e 's:$: $lt_compiler_flag:'`
23536 (eval echo "\"\$as_me:23536: $lt_compile\"" >&5)
23537 (eval "$lt_compile" 2>conftest.err
)
23539 cat conftest.err
>&5
23540 echo "$as_me:23540: \$? = $ac_status" >&5
23541 if (exit $ac_status) && test -s "$ac_outfile"; then
23542 # The compiler can only warn and ignore the option if not recognized
23543 # So say no if there are warnings other than the usual output.
23544 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23545 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23546 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23547 lt_cv_prog_compiler_rtti_exceptions
=yes
23553 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23554 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23556 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23557 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23564 lt_prog_compiler_wl_GCJ
=
23565 lt_prog_compiler_pic_GCJ
=
23566 lt_prog_compiler_static_GCJ
=
23568 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23569 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23571 if test "$GCC" = yes; then
23572 lt_prog_compiler_wl_GCJ
='-Wl,'
23573 lt_prog_compiler_static_GCJ
='-static'
23577 # All AIX code is PIC.
23578 if test "$host_cpu" = ia64
; then
23579 # AIX 5 now supports IA64 processor
23580 lt_prog_compiler_static_GCJ
='-Bstatic'
23585 # FIXME: we need at least 68020 code to build shared libraries, but
23586 # adding the `-m68020' flag to GCC prevents building anything better,
23588 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23591 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23592 # PIC is the default for these OSes.
23595 mingw
* | pw32
* | os2
*)
23596 # This hack is so that the source file can tell whether it is being
23597 # built for inclusion in a dll (and should export symbols for example).
23598 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23601 darwin
* | rhapsody
*)
23602 # PIC is the default on this platform
23603 # Common symbols not allowed in MH_DYLIB files
23604 lt_prog_compiler_pic_GCJ
='-fno-common'
23608 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23609 # Instead, we relocate shared libraries at runtime.
23613 # Just because we use GCC doesn't mean we suddenly get shared libraries
23614 # on systems that don't support them.
23615 lt_prog_compiler_can_build_shared_GCJ
=no
23620 if test -d /usr
/nec
; then
23621 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23626 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23627 # not for PA HP-UX.
23633 lt_prog_compiler_pic_GCJ
='-fPIC'
23639 lt_prog_compiler_pic_GCJ
='-fPIC'
23643 # PORTME Check for flag to pass linker flags through the system compiler.
23646 lt_prog_compiler_wl_GCJ
='-Wl,'
23647 if test "$host_cpu" = ia64
; then
23648 # AIX 5 now supports IA64 processor
23649 lt_prog_compiler_static_GCJ
='-Bstatic'
23651 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23655 # PIC is the default on this platform
23656 # Common symbols not allowed in MH_DYLIB files
23657 case $cc_basename in
23659 lt_prog_compiler_pic_GCJ
='-qnocommon'
23660 lt_prog_compiler_wl_GCJ
='-Wl,'
23665 mingw
* | pw32
* | os2
*)
23666 # This hack is so that the source file can tell whether it is being
23667 # built for inclusion in a dll (and should export symbols for example).
23668 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23671 hpux9
* | hpux10
* | hpux11
*)
23672 lt_prog_compiler_wl_GCJ
='-Wl,'
23673 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23674 # not for PA HP-UX.
23680 lt_prog_compiler_pic_GCJ
='+Z'
23683 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23684 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23687 irix5
* | irix6
* | nonstopux
*)
23688 lt_prog_compiler_wl_GCJ
='-Wl,'
23689 # PIC (with -KPIC) is the default.
23690 lt_prog_compiler_static_GCJ
='-non_shared'
23694 lt_prog_compiler_pic_GCJ
='-KPIC'
23695 lt_prog_compiler_static_GCJ
='-Bstatic'
23699 case $cc_basename in
23701 lt_prog_compiler_wl_GCJ
='-Wl,'
23702 lt_prog_compiler_pic_GCJ
='-KPIC'
23703 lt_prog_compiler_static_GCJ
='-static'
23705 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23706 # Portland Group compilers (*not* the Pentium gcc compiler,
23707 # which looks to be a dead project)
23708 lt_prog_compiler_wl_GCJ
='-Wl,'
23709 lt_prog_compiler_pic_GCJ
='-fpic'
23710 lt_prog_compiler_static_GCJ
='-Bstatic'
23713 lt_prog_compiler_wl_GCJ
='-Wl,'
23714 # All Alpha code is PIC.
23715 lt_prog_compiler_static_GCJ
='-non_shared'
23720 osf3
* | osf4
* | osf5
*)
23721 lt_prog_compiler_wl_GCJ
='-Wl,'
23722 # All OSF/1 code is PIC.
23723 lt_prog_compiler_static_GCJ
='-non_shared'
23727 lt_prog_compiler_pic_GCJ
='-KPIC'
23728 lt_prog_compiler_static_GCJ
='-Bstatic'
23729 case $cc_basename in
23730 f77
* | f90
* | f95
*)
23731 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23733 lt_prog_compiler_wl_GCJ
='-Wl,';;
23738 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23739 lt_prog_compiler_pic_GCJ
='-PIC'
23740 lt_prog_compiler_static_GCJ
='-Bstatic'
23743 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23744 lt_prog_compiler_wl_GCJ
='-Wl,'
23745 lt_prog_compiler_pic_GCJ
='-KPIC'
23746 lt_prog_compiler_static_GCJ
='-Bstatic'
23750 if test -d /usr
/nec
;then
23751 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23752 lt_prog_compiler_static_GCJ
='-Bstatic'
23756 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23757 lt_prog_compiler_wl_GCJ
='-Wl,'
23758 lt_prog_compiler_pic_GCJ
='-KPIC'
23759 lt_prog_compiler_static_GCJ
='-Bstatic'
23763 lt_prog_compiler_wl_GCJ
='-Wl,'
23764 lt_prog_compiler_can_build_shared_GCJ
=no
23768 lt_prog_compiler_pic_GCJ
='-pic'
23769 lt_prog_compiler_static_GCJ
='-Bstatic'
23773 lt_prog_compiler_can_build_shared_GCJ
=no
23778 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23779 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23782 # Check to make sure the PIC flag actually works.
23784 if test -n "$lt_prog_compiler_pic_GCJ"; then
23786 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23787 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23788 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 lt_prog_compiler_pic_works_GCJ
=no
23792 ac_outfile
=conftest.
$ac_objext
23793 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23794 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23795 # Insert the option either (1) after the last *FLAGS variable, or
23796 # (2) before a word containing "conftest.", or (3) at the end.
23797 # Note that $ac_compile itself does not contain backslashes and begins
23798 # with a dollar sign (not a hyphen), so the echo should work correctly.
23799 # The option is referenced via a variable to avoid confusing sed.
23800 lt_compile
=`echo "$ac_compile" | $SED \
23801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23803 -e 's:$: $lt_compiler_flag:'`
23804 (eval echo "\"\$as_me:23804: $lt_compile\"" >&5)
23805 (eval "$lt_compile" 2>conftest.err
)
23807 cat conftest.err
>&5
23808 echo "$as_me:23808: \$? = $ac_status" >&5
23809 if (exit $ac_status) && test -s "$ac_outfile"; then
23810 # The compiler can only warn and ignore the option if not recognized
23811 # So say no if there are warnings other than the usual output.
23812 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23813 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23814 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23815 lt_prog_compiler_pic_works_GCJ
=yes
23821 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
23822 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
23824 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
23825 case $lt_prog_compiler_pic_GCJ in
23827 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
23830 lt_prog_compiler_pic_GCJ
=
23831 lt_prog_compiler_can_build_shared_GCJ
=no
23836 # For platforms which do not support PIC, -DPIC is meaningless:
23838 lt_prog_compiler_pic_GCJ
=
23841 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
23846 # Check to make sure the static flag actually works.
23848 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
23849 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23850 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
23851 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 lt_prog_compiler_static_works_GCJ
=no
23855 save_LDFLAGS
="$LDFLAGS"
23856 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
23857 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
23858 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
23859 # The linker can only warn and ignore the option if not recognized
23860 # So say no if there are warnings
23861 if test -s conftest.err
; then
23862 # Append any errors to the config.log.
23863 cat conftest.err
1>&5
23864 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
23865 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23866 if diff conftest.exp conftest.er2
>/dev
/null
; then
23867 lt_prog_compiler_static_works_GCJ
=yes
23870 lt_prog_compiler_static_works_GCJ
=yes
23874 LDFLAGS
="$save_LDFLAGS"
23877 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
23878 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
23880 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
23883 lt_prog_compiler_static_GCJ
=
23887 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23888 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
23889 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
23890 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 lt_cv_prog_compiler_c_o_GCJ
=no
23893 $rm -r conftest
2>/dev
/null
23897 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23899 lt_compiler_flag
="-o out/conftest2.$ac_objext"
23900 # Insert the option either (1) after the last *FLAGS variable, or
23901 # (2) before a word containing "conftest.", or (3) at the end.
23902 # Note that $ac_compile itself does not contain backslashes and begins
23903 # with a dollar sign (not a hyphen), so the echo should work correctly.
23904 lt_compile
=`echo "$ac_compile" | $SED \
23905 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23907 -e 's:$: $lt_compiler_flag:'`
23908 (eval echo "\"\$as_me:23908: $lt_compile\"" >&5)
23909 (eval "$lt_compile" 2>out
/conftest.err
)
23911 cat out
/conftest.err
>&5
23912 echo "$as_me:23912: \$? = $ac_status" >&5
23913 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
23915 # The compiler can only warn and ignore the option if not recognized
23916 # So say no if there are warnings
23917 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
23918 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
23919 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
23920 lt_cv_prog_compiler_c_o_GCJ
=yes
23925 # SGI C++ compiler will create directory out/ii_files/ for
23926 # template instantiation
23927 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
23928 $rm out
/* && rmdir out
23934 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
23935 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
23938 hard_links
="nottested"
23939 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
23940 # do not overwrite the value of need_locks provided by the user
23941 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23942 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
23945 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
23947 ln conftest.a conftest.b
2>&5 || hard_links
=no
23948 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
23949 { echo "$as_me:$LINENO: result: $hard_links" >&5
23950 echo "${ECHO_T}$hard_links" >&6; }
23951 if test "$hard_links" = no
; then
23952 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23953 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23960 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23961 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
23964 allow_undefined_flag_GCJ
=
23965 enable_shared_with_static_runtimes_GCJ
=no
23967 archive_expsym_cmds_GCJ
=
23968 old_archive_From_new_cmds_GCJ
=
23969 old_archive_from_expsyms_cmds_GCJ
=
23970 export_dynamic_flag_spec_GCJ
=
23971 whole_archive_flag_spec_GCJ
=
23972 thread_safe_flag_spec_GCJ
=
23973 hardcode_libdir_flag_spec_GCJ
=
23974 hardcode_libdir_flag_spec_ld_GCJ
=
23975 hardcode_libdir_separator_GCJ
=
23976 hardcode_direct_GCJ
=no
23977 hardcode_minus_L_GCJ
=no
23978 hardcode_shlibpath_var_GCJ
=unsupported
23979 link_all_deplibs_GCJ
=unknown
23980 hardcode_automatic_GCJ
=no
23982 module_expsym_cmds_GCJ
=
23983 always_export_symbols_GCJ
=no
23984 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23985 # include_expsyms should be a list of space-separated symbols to be *always*
23986 # included in the symbol list
23987 include_expsyms_GCJ
=
23988 # exclude_expsyms can be an extended regexp of symbols to exclude
23989 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23990 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23991 # as well as any symbol that contains `d'.
23992 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
23993 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23994 # platforms (ab)use it in PIC code, but their linkers get confused if
23995 # the symbol is explicitly referenced. Since portable code cannot
23996 # rely on this symbol name, it's probably fine to never include it in
23997 # preloaded symbol tables.
23998 extract_expsyms_cmds
=
23999 # Just being paranoid about ensuring that cc_basename is set.
24000 for cc_temp
in $compiler""; do
24002 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24003 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24008 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24011 cygwin
* | mingw
* | pw32
*)
24012 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24013 # When not using gcc, we currently assume that we are using
24014 # Microsoft Visual C++.
24015 if test "$GCC" != yes; then
24020 # we just hope/assume this is gcc and not c89 (= MSVC++)
24029 if test "$with_gnu_ld" = yes; then
24030 # If archive_cmds runs LD, not CC, wlarc should be empty
24033 # Set some defaults for GNU ld with shared library support. These
24034 # are reset later if shared libraries are not supported. Putting them
24035 # here allows them to be overridden if necessary.
24036 runpath_var
=LD_RUN_PATH
24037 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24038 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24039 # ancient GNU ld didn't support --whole-archive et. al.
24040 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24041 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24043 whole_archive_flag_spec_GCJ
=
24045 supports_anon_versioning
=no
24046 case `$LD -v 2>/dev/null` in
24047 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24048 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24049 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24050 *\
2.11.
*) ;; # other 2.11 versions
24051 *) supports_anon_versioning
=yes ;;
24054 # See if GNU ld supports shared libraries.
24056 aix3
* | aix4
* | aix5
*)
24057 # On AIX/PPC, the GNU linker is very broken
24058 if test "$host_cpu" != ia64
; then
24062 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24063 *** to be unable to reliably create shared libraries on AIX.
24064 *** Therefore, libtool is disabling shared libraries support. If you
24065 *** really care for shared libraries, you may want to modify your PATH
24066 *** so that a non-GNU linker is found, and then restart.
24073 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)'
24074 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24075 hardcode_minus_L_GCJ
=yes
24077 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24078 # that the semantics of dynamic libraries on AmigaOS, at least up
24079 # to version 4, is to share data among multiple programs linked
24080 # with the same dynamic library. Since this doesn't match the
24081 # behavior of shared libraries on other platforms, we can't use
24087 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24088 allow_undefined_flag_GCJ
=unsupported
24089 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24090 # support --undefined. This deserves some investigation. FIXME
24091 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24097 cygwin
* | mingw
* | pw32
*)
24098 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24099 # as there is no search path for DLLs.
24100 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24101 allow_undefined_flag_GCJ
=unsupported
24102 always_export_symbols_GCJ
=no
24103 enable_shared_with_static_runtimes_GCJ
=yes
24104 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24106 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24107 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24108 # If the export-symbols file already is a .def file (1st line
24109 # is EXPORTS), use it as is; otherwise, prepend...
24110 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24111 cp $export_symbols $output_objdir/$soname.def;
24113 echo EXPORTS > $output_objdir/$soname.def;
24114 cat $export_symbols >> $output_objdir/$soname.def;
24116 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24123 hardcode_direct_GCJ
=no
24124 hardcode_shlibpath_var_GCJ
=no
24125 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24126 export_dynamic_flag_spec_GCJ
='${wl}-E'
24127 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24128 # Instead, shared libraries are loaded at an image base (0x10000000 by
24129 # default) and relocated if they conflict, which is a slow very memory
24130 # consuming and fragmenting process. To avoid this, we pick a random,
24131 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24132 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24133 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'
24134 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'
24138 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24140 case $cc_basename,$host_cpu in
24141 pgcc
*) # Portland Group C compiler
24142 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'
24143 tmp_addflag
=' $pic_flag'
24145 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24146 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'
24147 tmp_addflag
=' $pic_flag -Mnomain' ;;
24148 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24149 tmp_addflag
=' -i_dynamic' ;;
24150 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24151 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24152 ifc
* | ifort
*) # Intel Fortran compiler
24153 tmp_addflag
=' -nofor_main' ;;
24155 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24157 if test $supports_anon_versioning = yes; then
24158 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24159 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24160 $echo "local: *; };" >> $output_objdir/$libname.ver~
24161 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24169 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24170 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24173 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24174 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24179 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24183 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24184 *** create shared libraries on Solaris systems. Therefore, libtool
24185 *** is disabling shared libraries support. We urge you to upgrade GNU
24186 *** binutils to release 2.9.1 or newer. Another option is to modify
24187 *** your PATH or compiler configuration so that the native linker is
24188 *** used, and then restart.
24191 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24192 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24193 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24199 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24200 case `$LD -v 2>&1` in
24201 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24205 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24206 *** reliably create shared libraries on SCO systems. Therefore, libtool
24207 *** is disabling shared libraries support. We urge you to upgrade GNU
24208 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24209 *** your PATH or compiler configuration so that the native linker is
24210 *** used, and then restart.
24215 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24216 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24217 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24218 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24227 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24229 hardcode_direct_GCJ
=yes
24230 hardcode_shlibpath_var_GCJ
=no
24234 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24235 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24236 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24243 if test "$ld_shlibs_GCJ" = no
; then
24245 hardcode_libdir_flag_spec_GCJ
=
24246 export_dynamic_flag_spec_GCJ
=
24247 whole_archive_flag_spec_GCJ
=
24250 # PORTME fill in a description of your system's linker (not GNU ld)
24253 allow_undefined_flag_GCJ
=unsupported
24254 always_export_symbols_GCJ
=yes
24255 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'
24256 # Note: this linker hardcodes the directories in LIBPATH if there
24257 # are no directories specified by -L.
24258 hardcode_minus_L_GCJ
=yes
24259 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24260 # Neither direct hardcoding nor static linking is supported with a
24262 hardcode_direct_GCJ
=unsupported
24267 if test "$host_cpu" = ia64
; then
24268 # On IA64, the linker does run time linking by default, so we don't
24269 # have to do anything special.
24270 aix_use_runtimelinking
=no
24271 exp_sym_flag
='-Bexport'
24274 # If we're using GNU nm, then we don't want the "-C" option.
24275 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24276 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24277 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'
24279 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'
24281 aix_use_runtimelinking
=no
24283 # Test if we are trying to use run time linking or normal
24284 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24285 # need to do runtime linking.
24286 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24287 for ld_flag
in $LDFLAGS; do
24288 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24289 aix_use_runtimelinking
=yes
24296 exp_sym_flag
='-bexport'
24297 no_entry_flag
='-bnoentry'
24300 # When large executables or shared objects are built, AIX ld can
24301 # have problems creating the table of contents. If linking a library
24302 # or program results in "error TOC overflow" add -mminimal-toc to
24303 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24304 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24306 archive_cmds_GCJ
=''
24307 hardcode_direct_GCJ
=yes
24308 hardcode_libdir_separator_GCJ
=':'
24309 link_all_deplibs_GCJ
=yes
24311 if test "$GCC" = yes; then
24312 case $host_os in aix4.
[012]|aix4.
[012].
*)
24313 # We only want to do this on AIX 4.2 and lower, the check
24314 # below for broken collect2 doesn't work under 4.3+
24315 collect2name
=`${CC} -print-prog-name=collect2`
24316 if test -f "$collect2name" && \
24317 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24319 # We have reworked collect2
24320 hardcode_direct_GCJ
=yes
24322 # We have old collect2
24323 hardcode_direct_GCJ
=unsupported
24324 # It fails to find uninstalled libraries when the uninstalled
24325 # path is not listed in the libpath. Setting hardcode_minus_L
24326 # to unsupported forces relinking
24327 hardcode_minus_L_GCJ
=yes
24328 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24329 hardcode_libdir_separator_GCJ
=
24333 shared_flag
='-shared'
24334 if test "$aix_use_runtimelinking" = yes; then
24335 shared_flag
="$shared_flag "'${wl}-G'
24339 if test "$host_cpu" = ia64
; then
24340 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24341 # chokes on -Wl,-G. The following line is correct:
24344 if test "$aix_use_runtimelinking" = yes; then
24345 shared_flag
='${wl}-G'
24347 shared_flag
='${wl}-bM:SRE'
24352 # It seems that -bexpall does not export symbols beginning with
24353 # underscore (_), so it is better to generate a list of symbols to export.
24354 always_export_symbols_GCJ
=yes
24355 if test "$aix_use_runtimelinking" = yes; then
24356 # Warning - without using the other runtime loading flags (-brtl),
24357 # -berok will link without error, but may produce a broken library.
24358 allow_undefined_flag_GCJ
='-berok'
24359 # Determine the default libpath from the value encoded in an empty executable.
24360 cat >conftest.
$ac_ext <<_ACEOF
24363 cat confdefs.h
>>conftest.
$ac_ext
24364 cat >>conftest.
$ac_ext <<_ACEOF
24365 /* end confdefs.h. */
24375 rm -f conftest.
$ac_objext conftest
$ac_exeext
24376 if { (ac_try
="$ac_link"
24377 case "(($ac_try" in
24378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_link") 2>conftest.er1
24384 grep -v '^ *+' conftest.er1 >conftest.err
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } &&
24389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24390 { (case "(($ac_try" in
24391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24392 *) ac_try_echo
=$ac_try;;
24394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24395 (eval "$ac_try") 2>&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); }; } &&
24399 { ac_try
='test -s conftest$ac_exeext'
24400 { (case "(($ac_try" in
24401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24402 *) ac_try_echo=$ac_try;;
24404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24405 (eval "$ac_try") 2>&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); }; }; then
24410 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24412 # Check for a 64-bit object if we didn't find anything.
24413 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; }
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24422 rm -f core conftest.err conftest.$ac_objext \
24423 conftest$ac_exeext conftest.$ac_ext
24424 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24426 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24427 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"
24429 if test "$host_cpu" = ia64; then
24430 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24431 allow_undefined_flag_GCJ="-z nodefs"
24432 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"
24434 # Determine the default libpath from the value encoded in an empty executable.
24435 cat >conftest.$ac_ext <<_ACEOF
24438 cat confdefs.h >>conftest.$ac_ext
24439 cat >>conftest.$ac_ext <<_ACEOF
24440 /* end confdefs.h. */
24450 rm -f conftest.$ac_objext conftest$ac_exeext
24451 if { (ac_try="$ac_link"
24452 case "(($ac_try" in
24453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24454 *) ac_try_echo
=$ac_try;;
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_link") 2>conftest.er1
24459 grep -v '^ *+' conftest.er1
>conftest.err
24461 cat conftest.err
>&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } &&
24464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24465 { (case "(($ac_try" in
24466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24467 *) ac_try_echo=$ac_try;;
24469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24470 (eval "$ac_try") 2>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; } &&
24474 { ac_try='test -s conftest$ac_exeext'
24475 { (case "(($ac_try" in
24476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24477 *) ac_try_echo
=$ac_try;;
24479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24480 (eval "$ac_try") 2>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); }; }; then
24485 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24487 # Check for a 64-bit object if we didn't find anything.
24488 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; }
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.
$ac_ext >&5
24497 rm -f core conftest.err conftest.
$ac_objext \
24498 conftest
$ac_exeext conftest.
$ac_ext
24499 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24501 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24502 # Warning - without using the other run time loading flags,
24503 # -berok will link without error, but may produce a broken library.
24504 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24505 allow_undefined_flag_GCJ
=' ${wl}-berok'
24506 # Exported symbols can be pulled into shared objects from archives
24507 whole_archive_flag_spec_GCJ
='$convenience'
24508 archive_cmds_need_lc_GCJ
=yes
24509 # This is similar to how AIX traditionally builds its shared libraries.
24510 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'
24516 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)'
24517 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24518 hardcode_minus_L_GCJ
=yes
24519 # see comment about different semantics on the GNU ld section
24524 export_dynamic_flag_spec_GCJ
=-rdynamic
24527 cygwin
* | mingw
* | pw32
*)
24528 # When not using gcc, we currently assume that we are using
24529 # Microsoft Visual C++.
24530 # hardcode_libdir_flag_spec is actually meaningless, as there is
24531 # no search path for DLLs.
24532 hardcode_libdir_flag_spec_GCJ
=' '
24533 allow_undefined_flag_GCJ
=unsupported
24534 # Tell ltmain to make .lib files, not .a files.
24536 # Tell ltmain to make .dll files, not .so files.
24538 # FIXME: Setting linknames here is a bad hack.
24539 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24540 # The linker will automatically build a .lib file if we build a DLL.
24541 old_archive_From_new_cmds_GCJ
='true'
24542 # FIXME: Should let the user specify the lib program.
24543 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24544 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24545 enable_shared_with_static_runtimes_GCJ
=yes
24548 darwin
* | rhapsody
*)
24550 rhapsody
* | darwin1.
[012])
24551 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24554 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24555 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24557 case ${MACOSX_DEPLOYMENT_TARGET} in
24559 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24562 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24568 archive_cmds_need_lc_GCJ
=no
24569 hardcode_direct_GCJ
=no
24570 hardcode_automatic_GCJ
=yes
24571 hardcode_shlibpath_var_GCJ
=unsupported
24572 whole_archive_flag_spec_GCJ
=''
24573 link_all_deplibs_GCJ
=yes
24574 if test "$GCC" = yes ; then
24575 output_verbose_link_cmd
='echo'
24576 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24577 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24578 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24579 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}'
24580 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}'
24582 case $cc_basename in
24584 output_verbose_link_cmd
='echo'
24585 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24586 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24587 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24588 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}'
24589 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}'
24599 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24600 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24601 hardcode_shlibpath_var_GCJ
=no
24608 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24609 # support. Future versions do this automatically, but an explicit c++rt0.o
24610 # does not break anything, and helps significantly (at the cost of a little
24613 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24614 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24615 hardcode_direct_GCJ
=yes
24616 hardcode_shlibpath_var_GCJ
=no
24619 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24621 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24622 hardcode_direct_GCJ
=yes
24623 hardcode_minus_L_GCJ
=yes
24624 hardcode_shlibpath_var_GCJ
=no
24627 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24628 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24629 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24630 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24631 hardcode_direct_GCJ
=yes
24632 hardcode_shlibpath_var_GCJ
=no
24636 if test "$GCC" = yes; then
24637 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'
24639 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'
24641 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24642 hardcode_libdir_separator_GCJ
=:
24643 hardcode_direct_GCJ
=yes
24645 # hardcode_minus_L: Not really in the search PATH,
24646 # but as the default location of the library.
24647 hardcode_minus_L_GCJ
=yes
24648 export_dynamic_flag_spec_GCJ
='${wl}-E'
24652 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24653 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24655 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24657 if test "$with_gnu_ld" = no
; then
24658 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24659 hardcode_libdir_separator_GCJ
=:
24661 hardcode_direct_GCJ
=yes
24662 export_dynamic_flag_spec_GCJ
='${wl}-E'
24664 # hardcode_minus_L: Not really in the search PATH,
24665 # but as the default location of the library.
24666 hardcode_minus_L_GCJ
=yes
24671 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24674 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24677 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24680 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24686 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24689 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24692 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24696 if test "$with_gnu_ld" = no
; then
24697 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24698 hardcode_libdir_separator_GCJ
=:
24702 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24703 hardcode_direct_GCJ
=no
24704 hardcode_shlibpath_var_GCJ
=no
24707 hardcode_direct_GCJ
=yes
24708 export_dynamic_flag_spec_GCJ
='${wl}-E'
24710 # hardcode_minus_L: Not really in the search PATH,
24711 # but as the default location of the library.
24712 hardcode_minus_L_GCJ
=yes
24718 irix5
* | irix6
* | nonstopux
*)
24719 if test "$GCC" = yes; then
24720 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'
24722 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'
24723 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24725 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24726 hardcode_libdir_separator_GCJ
=:
24727 link_all_deplibs_GCJ
=yes
24731 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24732 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24734 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24736 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24737 hardcode_direct_GCJ
=yes
24738 hardcode_shlibpath_var_GCJ
=no
24742 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24743 hardcode_direct_GCJ
=yes
24744 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24745 hardcode_libdir_separator_GCJ
=:
24746 hardcode_shlibpath_var_GCJ
=no
24750 hardcode_direct_GCJ
=yes
24751 hardcode_shlibpath_var_GCJ
=no
24752 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24753 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24754 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24755 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24756 export_dynamic_flag_spec_GCJ
='${wl}-E'
24759 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24760 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24761 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24764 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24765 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24772 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24773 hardcode_minus_L_GCJ
=yes
24774 allow_undefined_flag_GCJ
=unsupported
24775 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'
24776 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24780 if test "$GCC" = yes; then
24781 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24782 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'
24784 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24785 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'
24787 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24788 hardcode_libdir_separator_GCJ
=:
24791 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24792 if test "$GCC" = yes; then
24793 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24794 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'
24795 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24797 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24798 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'
24799 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~
24800 $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'
24802 # Both c and cxx compiler support -rpath directly
24803 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
24805 hardcode_libdir_separator_GCJ
=:
24809 no_undefined_flag_GCJ
=' -z text'
24810 if test "$GCC" = yes; then
24812 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24813 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24814 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24817 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24818 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24819 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24821 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24822 hardcode_shlibpath_var_GCJ
=no
24824 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
24826 # The compiler driver will combine linker options so we
24827 # cannot just pass the convience library names through
24828 # without $wl, iff we do not link with $LD.
24829 # Luckily, gcc supports the same syntax we need for Sun Studio.
24830 # Supported since Solaris 2.6 (maybe 2.5.1?)
24833 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
24835 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' ;;
24838 link_all_deplibs_GCJ
=yes
24842 if test "x$host_vendor" = xsequent
; then
24843 # Use $CC to link under sequent, because it throws in some extra .o
24844 # files that make .init and .fini sections work.
24845 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24847 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24849 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24850 hardcode_direct_GCJ
=yes
24851 hardcode_minus_L_GCJ
=yes
24852 hardcode_shlibpath_var_GCJ
=no
24856 case $host_vendor in
24858 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24859 hardcode_direct_GCJ
=yes # is this really true???
24862 ## LD is ld it makes a PLAMLIB
24863 ## CC just makes a GrossModule.
24864 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24865 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
24866 hardcode_direct_GCJ
=no
24869 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24870 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
24873 runpath_var
='LD_RUN_PATH'
24874 hardcode_shlibpath_var_GCJ
=no
24878 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24879 hardcode_shlibpath_var_GCJ
=no
24880 export_dynamic_flag_spec_GCJ
='-Bexport'
24884 if test -d /usr
/nec
; then
24885 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24886 hardcode_shlibpath_var_GCJ
=no
24887 runpath_var
=LD_RUN_PATH
24888 hardcode_runpath_var
=yes
24893 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
24894 no_undefined_flag_GCJ
='${wl}-z,text'
24895 archive_cmds_need_lc_GCJ
=no
24896 hardcode_shlibpath_var_GCJ
=no
24897 runpath_var
='LD_RUN_PATH'
24899 if test "$GCC" = yes; then
24900 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24901 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24903 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24904 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24908 sysv5
* | sco3.2v5
* | sco5v6
*)
24909 # Note: We can NOT use -z defs as we might desire, because we do not
24910 # link with -lc, and that would cause any symbols used from libc to
24911 # always be unresolved, which means just about no library would
24912 # ever link correctly. If we're not using GNU ld we use -z text
24913 # though, which does catch some bad symbols but isn't as heavy-handed
24915 no_undefined_flag_GCJ
='${wl}-z,text'
24916 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
24917 archive_cmds_need_lc_GCJ
=no
24918 hardcode_shlibpath_var_GCJ
=no
24919 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24920 hardcode_libdir_separator_GCJ
=':'
24921 link_all_deplibs_GCJ
=yes
24922 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
24923 runpath_var
='LD_RUN_PATH'
24925 if test "$GCC" = yes; then
24926 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24927 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24929 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24930 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24935 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24936 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24937 hardcode_shlibpath_var_GCJ
=no
24946 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
24947 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
24948 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
24951 # Do we need to explicitly link libc?
24953 case "x$archive_cmds_need_lc_GCJ" in
24955 # Assume -lc should be added
24956 archive_cmds_need_lc_GCJ
=yes
24958 if test "$enable_shared" = yes && test "$GCC" = yes; then
24959 case $archive_cmds_GCJ in
24961 # FIXME: we may have to deal with multi-command sequences.
24964 # Test whether the compiler implicitly links with -lc since on some
24965 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24966 # to ld, don't add -lc before -lgcc.
24967 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24968 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
24970 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24973 (eval $ac_compile) 2>&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } 2>conftest.err
; then
24979 libobjs
=conftest.
$ac_objext
24981 wl
=$lt_prog_compiler_wl_GCJ
24982 pic_flag
=$lt_prog_compiler_pic_GCJ
24988 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
24989 allow_undefined_flag_GCJ
=
24990 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24991 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); }
24996 archive_cmds_need_lc_GCJ
=no
24998 archive_cmds_need_lc_GCJ
=yes
25000 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25002 cat conftest.err
1>&5
25005 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25006 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25013 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25014 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25015 library_names_spec
=
25016 libname_spec
='lib$name'
25020 postuninstall_cmds
=
25024 shlibpath_overrides_runpath
=unknown
25026 dynamic_linker
="$host_os ld.so"
25027 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25028 if test "$GCC" = yes; then
25029 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25030 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25031 # if the path contains ";" then we assume it to be the separator
25032 # otherwise default to the standard path separator (i.e. ":") - it is
25033 # assumed that no part of a normal pathname contains ";" but that should
25034 # okay in the real world where ";" in dirpaths is itself problematic.
25035 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25037 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25040 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25042 need_lib_prefix
=unknown
25043 hardcode_into_libs
=no
25045 # when you set need_version to no, make sure it does not cause -set_version
25046 # flags to be left without arguments
25047 need_version
=unknown
25052 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25053 shlibpath_var
=LIBPATH
25055 # AIX 3 has no versioning support, so we append a major version to the name.
25056 soname_spec
='${libname}${release}${shared_ext}$major'
25063 hardcode_into_libs
=yes
25064 if test "$host_cpu" = ia64
; then
25065 # AIX 5 supports IA64
25066 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25067 shlibpath_var
=LD_LIBRARY_PATH
25069 # With GCC up to 2.95.x, collect2 would create an import file
25070 # for dependence libraries. The import file would start with
25071 # the line `#! .'. This would cause the generated library to
25072 # depend on `.', always an invalid library. This was fixed in
25073 # development snapshots of GCC prior to 3.0.
25075 aix4 | aix4.
[01] | aix4.
[01].
*)
25076 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25078 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25081 can_build_shared
=no
25085 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25086 # soname into executable. Probably we can add versioning support to
25087 # collect2, so additional links can be useful in future.
25088 if test "$aix_use_runtimelinking" = yes; then
25089 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25090 # instead of lib<name>.a to let people know that these are not
25091 # typical AIX shared libraries.
25092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25094 # We preserve .a as extension for shared libraries through AIX4.2
25095 # and later when we are not doing run time linking.
25096 library_names_spec
='${libname}${release}.a $libname.a'
25097 soname_spec
='${libname}${release}${shared_ext}$major'
25099 shlibpath_var
=LIBPATH
25104 library_names_spec
='$libname.ixlibrary $libname.a'
25105 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25106 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'
25110 library_names_spec
='${libname}${shared_ext}'
25111 dynamic_linker
="$host_os ld.so"
25112 shlibpath_var
=LIBRARY_PATH
25118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25119 soname_spec
='${libname}${release}${shared_ext}$major'
25120 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25121 shlibpath_var
=LD_LIBRARY_PATH
25122 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25123 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25124 # the default ld.so.conf also contains /usr/contrib/lib and
25125 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25126 # libtool to hard-code these into programs
25129 cygwin
* | mingw
* | pw32
*)
25130 version_type
=windows
25135 case $GCC,$host_os in
25136 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25137 library_names_spec
='$libname.dll.a'
25138 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25139 postinstall_cmds
='base_file=`basename \${file}`~
25140 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25141 dldir=$destdir/`dirname \$dlpath`~
25142 test -d \$dldir || mkdir -p \$dldir~
25143 $install_prog $dir/$dlname \$dldir/$dlname~
25144 chmod a+x \$dldir/$dlname'
25145 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25146 dlpath=$dir/\$dldll~
25148 shlibpath_overrides_runpath
=yes
25152 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25153 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25154 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25157 # MinGW DLLs use traditional 'lib' prefix
25158 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25159 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25160 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25161 # It is most probably a Windows format PATH printed by
25162 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25163 # path with ; separators, and with drive letters. We can handle the
25164 # drive letters (cygwin fileutils understands them), so leave them,
25165 # especially as we might pass files found there to a mingw objdump,
25166 # which wouldn't understand a cygwinified path. Ahh.
25167 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25169 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25173 # pw32 DLLs use 'pw' prefix rather than 'lib'
25174 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25180 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25183 dynamic_linker
='Win32 ld.exe'
25184 # FIXME: first we should search . and the directory the executable is in
25188 darwin
* | rhapsody
*)
25189 dynamic_linker
="$host_os dyld"
25190 version_type
=darwin
25193 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25194 soname_spec
='${libname}${release}${major}$shared_ext'
25195 shlibpath_overrides_runpath
=yes
25196 shlibpath_var
=DYLD_LIBRARY_PATH
25197 shrext_cmds
='.dylib'
25198 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25199 if test "$GCC" = yes; then
25200 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"`
25202 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25204 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25212 soname_spec
='${libname}${release}${shared_ext}$major'
25213 shlibpath_var
=LD_LIBRARY_PATH
25224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25225 soname_spec
='${libname}${release}${shared_ext}$major'
25226 shlibpath_var
=LD_LIBRARY_PATH
25227 shlibpath_overrides_runpath
=no
25228 hardcode_into_libs
=yes
25229 dynamic_linker
='GNU ld.so'
25232 freebsd
* | dragonfly
*)
25233 # DragonFly does not have aout. When/if they implement a new
25234 # versioning mechanism, adjust this.
25235 if test -x /usr
/bin
/objformat
; then
25236 objformat
=`/usr/bin/objformat`
25239 freebsd
[123]*) objformat
=aout
;;
25240 *) objformat
=elf
;;
25243 version_type
=freebsd-
$objformat
25244 case $version_type in
25246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25251 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25255 shlibpath_var
=LD_LIBRARY_PATH
25258 shlibpath_overrides_runpath
=yes
25260 freebsd3.
[01]* | freebsdelf3.
[01]*)
25261 shlibpath_overrides_runpath
=yes
25262 hardcode_into_libs
=yes
25264 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25265 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25266 shlibpath_overrides_runpath
=no
25267 hardcode_into_libs
=yes
25269 freebsd
*) # from 4.6 on
25270 shlibpath_overrides_runpath
=yes
25271 hardcode_into_libs
=yes
25280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25281 soname_spec
='${libname}${release}${shared_ext}$major'
25282 shlibpath_var
=LD_LIBRARY_PATH
25283 hardcode_into_libs
=yes
25286 hpux9
* | hpux10
* | hpux11
*)
25287 # Give a soname corresponding to the major version so that dld.sl refuses to
25288 # link against other versions.
25295 hardcode_into_libs
=yes
25296 dynamic_linker
="$host_os dld.so"
25297 shlibpath_var
=LD_LIBRARY_PATH
25298 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25300 soname_spec
='${libname}${release}${shared_ext}$major'
25301 if test "X$HPUX_IA64_MODE" = X32
; then
25302 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25304 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25306 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25310 hardcode_into_libs
=yes
25311 dynamic_linker
="$host_os dld.sl"
25312 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25313 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25315 soname_spec
='${libname}${release}${shared_ext}$major'
25316 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25317 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25321 dynamic_linker
="$host_os dld.sl"
25322 shlibpath_var
=SHLIB_PATH
25323 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25325 soname_spec
='${libname}${release}${shared_ext}$major'
25328 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25329 postinstall_cmds
='chmod 555 $lib'
25336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25337 soname_spec
='${libname}${release}${shared_ext}$major'
25338 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25339 shlibpath_var
=LD_LIBRARY_PATH
25340 shlibpath_overrides_runpath
=no
25341 hardcode_into_libs
=yes
25344 irix5
* | irix6
* | nonstopux
*)
25346 nonstopux
*) version_type
=nonstopux
;;
25348 if test "$lt_cv_prog_gnu_ld" = yes; then
25356 soname_spec
='${libname}${release}${shared_ext}$major'
25357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25359 irix5
* | nonstopux
*)
25360 libsuff
= shlibsuff
=
25363 case $LD in # libtool.m4 will add one of these switches to LD
25364 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25365 libsuff
= shlibsuff
= libmagic
=32-bit;;
25366 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25367 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25368 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25369 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25370 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25374 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25375 shlibpath_overrides_runpath
=no
25376 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25377 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25378 hardcode_into_libs
=yes
25381 # No shared lib support for Linux oldld, aout, or coff.
25382 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25386 # This must be Linux ELF.
25391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25392 soname_spec
='${libname}${release}${shared_ext}$major'
25393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25394 shlibpath_var
=LD_LIBRARY_PATH
25395 shlibpath_overrides_runpath
=no
25396 # This implies no fast_install, which is unacceptable.
25397 # Some rework will be needed to allow for fast_install
25398 # before this can be enabled.
25399 hardcode_into_libs
=yes
25401 # Append ld.so.conf contents to the search path
25402 if test -f /etc
/ld.so.conf
; then
25403 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' ' '`
25404 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25407 # We used to test for /lib/ld.so.1 and disable shared libraries on
25408 # powerpc, because MkLinux only supported shared libraries with the
25409 # GNU dynamic linker. Since this was broken with cross compilers,
25410 # most powerpc-linux boxes support dynamic linking these days and
25411 # people can always --disable-shared, the test was removed, and we
25412 # assume the GNU/Linux dynamic linker is in use.
25413 dynamic_linker
='GNU/Linux ld.so'
25420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25421 soname_spec
='${libname}${release}${shared_ext}$major'
25422 shlibpath_var
=LD_LIBRARY_PATH
25423 shlibpath_overrides_runpath
=no
25424 hardcode_into_libs
=yes
25425 dynamic_linker
='GNU ld.so'
25432 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25435 dynamic_linker
='NetBSD (a.out) ld.so'
25437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25438 soname_spec
='${libname}${release}${shared_ext}$major'
25439 dynamic_linker
='NetBSD ld.elf_so'
25441 shlibpath_var
=LD_LIBRARY_PATH
25442 shlibpath_overrides_runpath
=yes
25443 hardcode_into_libs
=yes
25448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25449 shlibpath_var
=LD_LIBRARY_PATH
25450 shlibpath_overrides_runpath
=yes
25457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25458 soname_spec
='${libname}${release}${shared_ext}$major'
25459 shlibpath_var
=LD_LIBRARY_PATH
25460 shlibpath_overrides_runpath
=yes
25465 sys_lib_dlsearch_path_spec
="/usr/lib"
25467 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25469 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25470 *) need_version
=no
;;
25472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25473 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25474 shlibpath_var
=LD_LIBRARY_PATH
25475 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25477 openbsd2.
[89] | openbsd2.
[89].
*)
25478 shlibpath_overrides_runpath
=no
25481 shlibpath_overrides_runpath
=yes
25485 shlibpath_overrides_runpath
=yes
25490 libname_spec
='$name'
25493 library_names_spec
='$libname${shared_ext} $libname.a'
25494 dynamic_linker
='OS/2 ld.exe'
25495 shlibpath_var
=LIBPATH
25498 osf3
* | osf4
* | osf5
*)
25502 soname_spec
='${libname}${release}${shared_ext}$major'
25503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25504 shlibpath_var
=LD_LIBRARY_PATH
25505 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25506 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25514 soname_spec
='${libname}${release}${shared_ext}$major'
25515 shlibpath_var
=LD_LIBRARY_PATH
25516 shlibpath_overrides_runpath
=yes
25517 hardcode_into_libs
=yes
25518 # ldd complains unless libraries are executable
25519 postinstall_cmds
='chmod +x $lib'
25524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25525 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25526 shlibpath_var
=LD_LIBRARY_PATH
25527 shlibpath_overrides_runpath
=yes
25528 if test "$with_gnu_ld" = yes; then
25536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25537 soname_spec
='${libname}${release}${shared_ext}$major'
25538 shlibpath_var
=LD_LIBRARY_PATH
25539 case $host_vendor in
25541 shlibpath_overrides_runpath
=no
25543 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25544 runpath_var
=LD_RUN_PATH
25552 shlibpath_overrides_runpath
=no
25553 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25559 if test -d /usr
/nec
;then
25561 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25562 soname_spec
='$libname${shared_ext}.$major'
25563 shlibpath_var
=LD_LIBRARY_PATH
25567 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25568 version_type
=freebsd-elf
25571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25572 soname_spec
='${libname}${release}${shared_ext}$major'
25573 shlibpath_var
=LD_LIBRARY_PATH
25574 hardcode_into_libs
=yes
25575 if test "$with_gnu_ld" = yes; then
25576 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25577 shlibpath_overrides_runpath
=no
25579 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25580 shlibpath_overrides_runpath
=yes
25583 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25587 sys_lib_dlsearch_path_spec
='/usr/lib'
25592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25593 soname_spec
='${libname}${release}${shared_ext}$major'
25594 shlibpath_var
=LD_LIBRARY_PATH
25601 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25602 echo "${ECHO_T}$dynamic_linker" >&6; }
25603 test "$dynamic_linker" = no
&& can_build_shared
=no
25605 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25606 if test "$GCC" = yes; then
25607 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25610 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25611 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25612 hardcode_action_GCJ
=
25613 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25614 test -n "$runpath_var_GCJ" || \
25615 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25617 # We can hardcode non-existant directories.
25618 if test "$hardcode_direct_GCJ" != no
&&
25619 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25620 # have to relink, otherwise we might link with an installed library
25621 # when we should be linking with a yet-to-be-installed one
25622 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25623 test "$hardcode_minus_L_GCJ" != no
; then
25624 # Linking always hardcodes the temporary library directory.
25625 hardcode_action_GCJ
=relink
25627 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25628 hardcode_action_GCJ
=immediate
25631 # We cannot hardcode anything, or else we can only hardcode existing
25633 hardcode_action_GCJ
=unsupported
25635 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25636 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25638 if test "$hardcode_action_GCJ" = relink
; then
25639 # Fast installation is not supported
25640 enable_fast_install
=no
25641 elif test "$shlibpath_overrides_runpath" = yes ||
25642 test "$enable_shared" = no
; then
25643 # Fast installation is not necessary
25644 enable_fast_install
=needless
25648 # The else clause should only fire when bootstrapping the
25649 # libtool distribution, otherwise you forgot to ship ltmain.sh
25650 # with your package, and you will get complaints that there are
25651 # no rules to generate ltmain.sh.
25652 if test -f "$ltmain"; then
25653 # See if we are running on zsh, and set the options which allow our commands through
25654 # without removal of \ escapes.
25655 if test -n "${ZSH_VERSION+set}" ; then
25656 setopt NO_GLOB_SUBST
25658 # Now quote all the things that may contain metacharacters while being
25659 # careful not to overquote the AC_SUBSTed values. We take copies of the
25660 # variables and quote the copies for generation of the libtool script.
25661 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25663 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25664 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25665 deplibs_check_method reload_flag reload_cmds need_locks \
25666 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25667 lt_cv_sys_global_symbol_to_c_name_address \
25668 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25669 old_postinstall_cmds old_postuninstall_cmds \
25673 lt_prog_compiler_wl_GCJ \
25674 lt_prog_compiler_pic_GCJ \
25675 lt_prog_compiler_static_GCJ \
25676 lt_prog_compiler_no_builtin_flag_GCJ \
25677 export_dynamic_flag_spec_GCJ \
25678 thread_safe_flag_spec_GCJ \
25679 whole_archive_flag_spec_GCJ \
25680 enable_shared_with_static_runtimes_GCJ \
25681 old_archive_cmds_GCJ \
25682 old_archive_from_new_cmds_GCJ \
25683 predep_objects_GCJ \
25684 postdep_objects_GCJ \
25687 compiler_lib_search_path_GCJ \
25689 archive_expsym_cmds_GCJ \
25690 postinstall_cmds_GCJ \
25691 postuninstall_cmds_GCJ \
25692 old_archive_from_expsyms_cmds_GCJ \
25693 allow_undefined_flag_GCJ \
25694 no_undefined_flag_GCJ \
25695 export_symbols_cmds_GCJ \
25696 hardcode_libdir_flag_spec_GCJ \
25697 hardcode_libdir_flag_spec_ld_GCJ \
25698 hardcode_libdir_separator_GCJ \
25699 hardcode_automatic_GCJ \
25701 module_expsym_cmds_GCJ \
25702 lt_cv_prog_compiler_c_o_GCJ \
25703 exclude_expsyms_GCJ \
25704 include_expsyms_GCJ
; do
25707 old_archive_cmds_GCJ | \
25708 old_archive_from_new_cmds_GCJ | \
25709 archive_cmds_GCJ | \
25710 archive_expsym_cmds_GCJ | \
25711 module_cmds_GCJ | \
25712 module_expsym_cmds_GCJ | \
25713 old_archive_from_expsyms_cmds_GCJ | \
25714 export_symbols_cmds_GCJ | \
25715 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25716 postinstall_cmds | postuninstall_cmds | \
25717 old_postinstall_cmds | old_postuninstall_cmds | \
25718 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25719 # Double-quote double-evaled strings.
25720 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25723 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25729 *'\$0 --fallback-echo"')
25730 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25736 cat <<__EOF__ >> "$cfgfile"
25737 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25739 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25741 # Shell to use when invoking shell scripts.
25744 # Whether or not to build shared libraries.
25745 build_libtool_libs=$enable_shared
25747 # Whether or not to build static libraries.
25748 build_old_libs=$enable_static
25750 # Whether or not to add -lc for building shared libraries.
25751 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25753 # Whether or not to disallow shared libs when runtime libs are static
25754 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25756 # Whether or not to optimize for fast installation.
25757 fast_install=$enable_fast_install
25760 host_alias=$host_alias
25764 # The build system.
25765 build_alias=$build_alias
25769 # An echo program that does not interpret backslashes.
25774 AR_FLAGS=$lt_AR_FLAGS
25779 # LTCC compiler flags.
25780 LTCFLAGS=$lt_LTCFLAGS
25782 # A language-specific compiler.
25783 CC=$lt_compiler_GCJ
25785 # Is the compiler the GNU C compiler?
25791 # The linker used to build libraries.
25794 # Whether we need hard or soft links.
25797 # A BSD-compatible nm program.
25800 # A symbol stripping program
25803 # Used to examine libraries when file_magic_cmd begins "file"
25804 MAGIC_CMD=$MAGIC_CMD
25806 # Used on cygwin: DLL creation program.
25809 # Used on cygwin: object dumper.
25812 # Used on cygwin: assembler.
25815 # The name of the directory that contains temporary libtool files.
25818 # How to create reloadable object files.
25819 reload_flag=$lt_reload_flag
25820 reload_cmds=$lt_reload_cmds
25822 # How to pass a linker flag through the compiler.
25823 wl=$lt_lt_prog_compiler_wl_GCJ
25825 # Object file suffix (normally "o").
25826 objext="$ac_objext"
25828 # Old archive suffix (normally "a").
25831 # Shared library suffix (normally ".so").
25832 shrext_cmds='$shrext_cmds'
25834 # Executable file suffix (normally "").
25837 # Additional compiler flags for building library objects.
25838 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25841 # What is the maximum length of a command?
25842 max_cmd_len=$lt_cv_sys_max_cmd_len
25844 # Does compiler simultaneously support -c and -o options?
25845 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25847 # Must we lock files when doing compilation?
25848 need_locks=$lt_need_locks
25850 # Do we need the lib prefix for modules?
25851 need_lib_prefix=$need_lib_prefix
25853 # Do we need a version for libraries?
25854 need_version=$need_version
25856 # Whether dlopen is supported.
25857 dlopen_support=$enable_dlopen
25859 # Whether dlopen of programs is supported.
25860 dlopen_self=$enable_dlopen_self
25862 # Whether dlopen of statically linked programs is supported.
25863 dlopen_self_static=$enable_dlopen_self_static
25865 # Compiler flag to prevent dynamic linking.
25866 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25868 # Compiler flag to turn off builtin functions.
25869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25871 # Compiler flag to allow reflexive dlopens.
25872 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25874 # Compiler flag to generate shared objects directly from archives.
25875 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25877 # Compiler flag to generate thread-safe objects.
25878 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25880 # Library versioning type.
25881 version_type=$version_type
25883 # Format of library name prefix.
25884 libname_spec=$lt_libname_spec
25886 # List of archive names. First name is the real one, the rest are links.
25887 # The last name is the one that the linker finds with -lNAME.
25888 library_names_spec=$lt_library_names_spec
25890 # The coded name of the library, if different from the real name.
25891 soname_spec=$lt_soname_spec
25893 # Commands used to build and install an old-style archive.
25895 old_archive_cmds=$lt_old_archive_cmds_GCJ
25896 old_postinstall_cmds=$lt_old_postinstall_cmds
25897 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25899 # Create an old-style archive from a shared archive.
25900 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25902 # Create a temporary old-style archive to link instead of a shared archive.
25903 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25905 # Commands used to build and install a shared archive.
25906 archive_cmds=$lt_archive_cmds_GCJ
25907 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25908 postinstall_cmds=$lt_postinstall_cmds
25909 postuninstall_cmds=$lt_postuninstall_cmds
25911 # Commands used to build a loadable module (assumed same as above if empty)
25912 module_cmds=$lt_module_cmds_GCJ
25913 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25915 # Commands to strip libraries.
25916 old_striplib=$lt_old_striplib
25917 striplib=$lt_striplib
25919 # Dependencies to place before the objects being linked to create a
25921 predep_objects=$lt_predep_objects_GCJ
25923 # Dependencies to place after the objects being linked to create a
25925 postdep_objects=$lt_postdep_objects_GCJ
25927 # Dependencies to place before the objects being linked to create a
25929 predeps=$lt_predeps_GCJ
25931 # Dependencies to place after the objects being linked to create a
25933 postdeps=$lt_postdeps_GCJ
25935 # The library search path used internally by the compiler when linking
25936 # a shared library.
25937 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25939 # Method to check whether dependent libraries are shared objects.
25940 deplibs_check_method=$lt_deplibs_check_method
25942 # Command to use when deplibs_check_method == file_magic.
25943 file_magic_cmd=$lt_file_magic_cmd
25945 # Flag that allows shared libraries with undefined symbols to be built.
25946 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25948 # Flag that forces no undefined symbols.
25949 no_undefined_flag=$lt_no_undefined_flag_GCJ
25951 # Commands used to finish a libtool library installation in a directory.
25952 finish_cmds=$lt_finish_cmds
25954 # Same as above, but a single script fragment to be evaled but not shown.
25955 finish_eval=$lt_finish_eval
25957 # Take the output of nm and produce a listing of raw symbols and C names.
25958 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25960 # Transform the output of nm in a proper C declaration
25961 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25963 # Transform the output of nm in a C name address pair
25964 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25966 # This is the shared library runtime path variable.
25967 runpath_var=$runpath_var
25969 # This is the shared library path variable.
25970 shlibpath_var=$shlibpath_var
25972 # Is shlibpath searched before the hard-coded library search path?
25973 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25975 # How to hardcode a shared library path into an executable.
25976 hardcode_action=$hardcode_action_GCJ
25978 # Whether we should hardcode library paths into libraries.
25979 hardcode_into_libs=$hardcode_into_libs
25981 # Flag to hardcode \$libdir into a binary during linking.
25982 # This must work even if \$libdir does not exist.
25983 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25985 # If ld is used when linking, flag to hardcode \$libdir into
25986 # a binary during linking. This must work even if \$libdir does
25988 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25990 # Whether we need a single -rpath flag with a separated argument.
25991 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25993 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25994 # resulting binary.
25995 hardcode_direct=$hardcode_direct_GCJ
25997 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25998 # resulting binary.
25999 hardcode_minus_L=$hardcode_minus_L_GCJ
26001 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26002 # the resulting binary.
26003 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26005 # Set to yes if building a shared library automatically hardcodes DIR into the library
26006 # and all subsequent libraries and executables linked against it.
26007 hardcode_automatic=$hardcode_automatic_GCJ
26009 # Variables whose values should be saved in libtool wrapper scripts and
26010 # restored at relink time.
26011 variables_saved_for_relink="$variables_saved_for_relink"
26013 # Whether libtool must link a program against all its dependency libraries.
26014 link_all_deplibs=$link_all_deplibs_GCJ
26016 # Compile-time system search path for libraries
26017 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26019 # Run-time system search path for libraries
26020 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26022 # Fix the shell variable \$srcfile for the compiler.
26023 fix_srcfile_path="$fix_srcfile_path_GCJ"
26025 # Set to yes if exported symbols are required.
26026 always_export_symbols=$always_export_symbols_GCJ
26028 # The commands to list exported symbols.
26029 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26031 # The commands to extract the exported symbol list from a shared archive.
26032 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26034 # Symbols that should not be listed in the preloaded symbols.
26035 exclude_expsyms=$lt_exclude_expsyms_GCJ
26037 # Symbols that must always be exported.
26038 include_expsyms=$lt_include_expsyms_GCJ
26040 # ### END LIBTOOL TAG CONFIG: $tagname
26046 # If there is no Makefile yet, we rely on a make rule to execute
26047 # `config.status --recheck' to rerun these tests and create the
26048 # libtool script then.
26049 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26050 if test -f "$ltmain_in"; then
26051 test -f Makefile
&& make "$ltmain"
26057 ac_cpp
='$CPP $CPPFLAGS'
26058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26071 ac_cpp
='$CPP $CPPFLAGS'
26072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26077 # Source file extension for RC test sources.
26080 # Object file extension for compiled RC test sources.
26084 # Code to be used in simple compile tests
26085 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26087 # Code to be used in simple link tests
26088 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26090 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26092 # If no C compiler was specified, use CC.
26095 # If no C compiler flags were specified, use CFLAGS.
26096 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26098 # Allow CC to be a program name with arguments.
26102 # save warnings/boilerplate of simple test code
26103 ac_outfile
=conftest.
$ac_objext
26104 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26105 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26106 _lt_compiler_boilerplate
=`cat conftest.err`
26109 ac_outfile
=conftest.
$ac_objext
26110 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26111 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26112 _lt_linker_boilerplate
=`cat conftest.err`
26116 # Allow CC to be a program name with arguments.
26121 for cc_temp
in $compiler""; do
26123 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26124 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26129 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26131 lt_cv_prog_compiler_c_o_RC
=yes
26133 # The else clause should only fire when bootstrapping the
26134 # libtool distribution, otherwise you forgot to ship ltmain.sh
26135 # with your package, and you will get complaints that there are
26136 # no rules to generate ltmain.sh.
26137 if test -f "$ltmain"; then
26138 # See if we are running on zsh, and set the options which allow our commands through
26139 # without removal of \ escapes.
26140 if test -n "${ZSH_VERSION+set}" ; then
26141 setopt NO_GLOB_SUBST
26143 # Now quote all the things that may contain metacharacters while being
26144 # careful not to overquote the AC_SUBSTed values. We take copies of the
26145 # variables and quote the copies for generation of the libtool script.
26146 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26148 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26149 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26150 deplibs_check_method reload_flag reload_cmds need_locks \
26151 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26152 lt_cv_sys_global_symbol_to_c_name_address \
26153 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26154 old_postinstall_cmds old_postuninstall_cmds \
26158 lt_prog_compiler_wl_RC \
26159 lt_prog_compiler_pic_RC \
26160 lt_prog_compiler_static_RC \
26161 lt_prog_compiler_no_builtin_flag_RC \
26162 export_dynamic_flag_spec_RC \
26163 thread_safe_flag_spec_RC \
26164 whole_archive_flag_spec_RC \
26165 enable_shared_with_static_runtimes_RC \
26166 old_archive_cmds_RC \
26167 old_archive_from_new_cmds_RC \
26168 predep_objects_RC \
26169 postdep_objects_RC \
26172 compiler_lib_search_path_RC \
26174 archive_expsym_cmds_RC \
26175 postinstall_cmds_RC \
26176 postuninstall_cmds_RC \
26177 old_archive_from_expsyms_cmds_RC \
26178 allow_undefined_flag_RC \
26179 no_undefined_flag_RC \
26180 export_symbols_cmds_RC \
26181 hardcode_libdir_flag_spec_RC \
26182 hardcode_libdir_flag_spec_ld_RC \
26183 hardcode_libdir_separator_RC \
26184 hardcode_automatic_RC \
26186 module_expsym_cmds_RC \
26187 lt_cv_prog_compiler_c_o_RC \
26188 exclude_expsyms_RC \
26189 include_expsyms_RC
; do
26192 old_archive_cmds_RC | \
26193 old_archive_from_new_cmds_RC | \
26194 archive_cmds_RC | \
26195 archive_expsym_cmds_RC | \
26197 module_expsym_cmds_RC | \
26198 old_archive_from_expsyms_cmds_RC | \
26199 export_symbols_cmds_RC | \
26200 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26201 postinstall_cmds | postuninstall_cmds | \
26202 old_postinstall_cmds | old_postuninstall_cmds | \
26203 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26204 # Double-quote double-evaled strings.
26205 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26208 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26214 *'\$0 --fallback-echo"')
26215 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26221 cat <<__EOF__ >> "$cfgfile"
26222 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26224 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26226 # Shell to use when invoking shell scripts.
26229 # Whether or not to build shared libraries.
26230 build_libtool_libs=$enable_shared
26232 # Whether or not to build static libraries.
26233 build_old_libs=$enable_static
26235 # Whether or not to add -lc for building shared libraries.
26236 build_libtool_need_lc=$archive_cmds_need_lc_RC
26238 # Whether or not to disallow shared libs when runtime libs are static
26239 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26241 # Whether or not to optimize for fast installation.
26242 fast_install=$enable_fast_install
26245 host_alias=$host_alias
26249 # The build system.
26250 build_alias=$build_alias
26254 # An echo program that does not interpret backslashes.
26259 AR_FLAGS=$lt_AR_FLAGS
26264 # LTCC compiler flags.
26265 LTCFLAGS=$lt_LTCFLAGS
26267 # A language-specific compiler.
26270 # Is the compiler the GNU C compiler?
26276 # The linker used to build libraries.
26279 # Whether we need hard or soft links.
26282 # A BSD-compatible nm program.
26285 # A symbol stripping program
26288 # Used to examine libraries when file_magic_cmd begins "file"
26289 MAGIC_CMD=$MAGIC_CMD
26291 # Used on cygwin: DLL creation program.
26294 # Used on cygwin: object dumper.
26297 # Used on cygwin: assembler.
26300 # The name of the directory that contains temporary libtool files.
26303 # How to create reloadable object files.
26304 reload_flag=$lt_reload_flag
26305 reload_cmds=$lt_reload_cmds
26307 # How to pass a linker flag through the compiler.
26308 wl=$lt_lt_prog_compiler_wl_RC
26310 # Object file suffix (normally "o").
26311 objext="$ac_objext"
26313 # Old archive suffix (normally "a").
26316 # Shared library suffix (normally ".so").
26317 shrext_cmds='$shrext_cmds'
26319 # Executable file suffix (normally "").
26322 # Additional compiler flags for building library objects.
26323 pic_flag=$lt_lt_prog_compiler_pic_RC
26326 # What is the maximum length of a command?
26327 max_cmd_len=$lt_cv_sys_max_cmd_len
26329 # Does compiler simultaneously support -c and -o options?
26330 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26332 # Must we lock files when doing compilation?
26333 need_locks=$lt_need_locks
26335 # Do we need the lib prefix for modules?
26336 need_lib_prefix=$need_lib_prefix
26338 # Do we need a version for libraries?
26339 need_version=$need_version
26341 # Whether dlopen is supported.
26342 dlopen_support=$enable_dlopen
26344 # Whether dlopen of programs is supported.
26345 dlopen_self=$enable_dlopen_self
26347 # Whether dlopen of statically linked programs is supported.
26348 dlopen_self_static=$enable_dlopen_self_static
26350 # Compiler flag to prevent dynamic linking.
26351 link_static_flag=$lt_lt_prog_compiler_static_RC
26353 # Compiler flag to turn off builtin functions.
26354 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26356 # Compiler flag to allow reflexive dlopens.
26357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26359 # Compiler flag to generate shared objects directly from archives.
26360 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26362 # Compiler flag to generate thread-safe objects.
26363 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26365 # Library versioning type.
26366 version_type=$version_type
26368 # Format of library name prefix.
26369 libname_spec=$lt_libname_spec
26371 # List of archive names. First name is the real one, the rest are links.
26372 # The last name is the one that the linker finds with -lNAME.
26373 library_names_spec=$lt_library_names_spec
26375 # The coded name of the library, if different from the real name.
26376 soname_spec=$lt_soname_spec
26378 # Commands used to build and install an old-style archive.
26380 old_archive_cmds=$lt_old_archive_cmds_RC
26381 old_postinstall_cmds=$lt_old_postinstall_cmds
26382 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26384 # Create an old-style archive from a shared archive.
26385 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26387 # Create a temporary old-style archive to link instead of a shared archive.
26388 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26390 # Commands used to build and install a shared archive.
26391 archive_cmds=$lt_archive_cmds_RC
26392 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26393 postinstall_cmds=$lt_postinstall_cmds
26394 postuninstall_cmds=$lt_postuninstall_cmds
26396 # Commands used to build a loadable module (assumed same as above if empty)
26397 module_cmds=$lt_module_cmds_RC
26398 module_expsym_cmds=$lt_module_expsym_cmds_RC
26400 # Commands to strip libraries.
26401 old_striplib=$lt_old_striplib
26402 striplib=$lt_striplib
26404 # Dependencies to place before the objects being linked to create a
26406 predep_objects=$lt_predep_objects_RC
26408 # Dependencies to place after the objects being linked to create a
26410 postdep_objects=$lt_postdep_objects_RC
26412 # Dependencies to place before the objects being linked to create a
26414 predeps=$lt_predeps_RC
26416 # Dependencies to place after the objects being linked to create a
26418 postdeps=$lt_postdeps_RC
26420 # The library search path used internally by the compiler when linking
26421 # a shared library.
26422 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26424 # Method to check whether dependent libraries are shared objects.
26425 deplibs_check_method=$lt_deplibs_check_method
26427 # Command to use when deplibs_check_method == file_magic.
26428 file_magic_cmd=$lt_file_magic_cmd
26430 # Flag that allows shared libraries with undefined symbols to be built.
26431 allow_undefined_flag=$lt_allow_undefined_flag_RC
26433 # Flag that forces no undefined symbols.
26434 no_undefined_flag=$lt_no_undefined_flag_RC
26436 # Commands used to finish a libtool library installation in a directory.
26437 finish_cmds=$lt_finish_cmds
26439 # Same as above, but a single script fragment to be evaled but not shown.
26440 finish_eval=$lt_finish_eval
26442 # Take the output of nm and produce a listing of raw symbols and C names.
26443 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26445 # Transform the output of nm in a proper C declaration
26446 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26448 # Transform the output of nm in a C name address pair
26449 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26451 # This is the shared library runtime path variable.
26452 runpath_var=$runpath_var
26454 # This is the shared library path variable.
26455 shlibpath_var=$shlibpath_var
26457 # Is shlibpath searched before the hard-coded library search path?
26458 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26460 # How to hardcode a shared library path into an executable.
26461 hardcode_action=$hardcode_action_RC
26463 # Whether we should hardcode library paths into libraries.
26464 hardcode_into_libs=$hardcode_into_libs
26466 # Flag to hardcode \$libdir into a binary during linking.
26467 # This must work even if \$libdir does not exist.
26468 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26470 # If ld is used when linking, flag to hardcode \$libdir into
26471 # a binary during linking. This must work even if \$libdir does
26473 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26475 # Whether we need a single -rpath flag with a separated argument.
26476 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26478 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26479 # resulting binary.
26480 hardcode_direct=$hardcode_direct_RC
26482 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26483 # resulting binary.
26484 hardcode_minus_L=$hardcode_minus_L_RC
26486 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26487 # the resulting binary.
26488 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26490 # Set to yes if building a shared library automatically hardcodes DIR into the library
26491 # and all subsequent libraries and executables linked against it.
26492 hardcode_automatic=$hardcode_automatic_RC
26494 # Variables whose values should be saved in libtool wrapper scripts and
26495 # restored at relink time.
26496 variables_saved_for_relink="$variables_saved_for_relink"
26498 # Whether libtool must link a program against all its dependency libraries.
26499 link_all_deplibs=$link_all_deplibs_RC
26501 # Compile-time system search path for libraries
26502 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26504 # Run-time system search path for libraries
26505 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26507 # Fix the shell variable \$srcfile for the compiler.
26508 fix_srcfile_path="$fix_srcfile_path_RC"
26510 # Set to yes if exported symbols are required.
26511 always_export_symbols=$always_export_symbols_RC
26513 # The commands to list exported symbols.
26514 export_symbols_cmds=$lt_export_symbols_cmds_RC
26516 # The commands to extract the exported symbol list from a shared archive.
26517 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26519 # Symbols that should not be listed in the preloaded symbols.
26520 exclude_expsyms=$lt_exclude_expsyms_RC
26522 # Symbols that must always be exported.
26523 include_expsyms=$lt_include_expsyms_RC
26525 # ### END LIBTOOL TAG CONFIG: $tagname
26531 # If there is no Makefile yet, we rely on a make rule to execute
26532 # `config.status --recheck' to rerun these tests and create the
26533 # libtool script then.
26534 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26535 if test -f "$ltmain_in"; then
26536 test -f Makefile
&& make "$ltmain"
26542 ac_cpp
='$CPP $CPPFLAGS'
26543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26552 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26553 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26554 { (exit 1); exit 1; }; }
26558 # Append the new tag name to the list of available tags.
26559 if test -n "$tagname" ; then
26560 available_tags
="$available_tags $tagname"
26566 # Now substitute the updated list of available tags.
26567 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26568 mv "${ofile}T" "$ofile"
26572 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26573 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26574 { (exit 1); exit 1; }; }
26580 # This can be used to rebuild libtool when needed
26581 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26583 # Always use our own libtool.
26584 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26586 # Prevent multiple expansion
26608 if test "$lt_cv_dlopen_self" = "yes" ; then
26610 cat >>confdefs.h
<<\_ACEOF
26611 #define CAN_DLOPEN_SELF 1
26616 etags_version
=`$ETAGS --version 2>&1`
26617 case "$etags_version" in
26618 *Eexuberant
*) ETAGSFLAGS
="--language-force=c++" ;;
26619 *GNU\ Emacs
*) ETAGSFLAGS
="-l c++" ;;
26620 *) ETAGSFLAGS
="" ;;
26622 ETAGSFLAGS
=$ETAGSFLAGS
26625 if test "$WITH_LLVMGCCDIR" = "default" ; then
26626 LLVMGCC
="llvm-gcc${EXEEXT}"
26627 LLVMGXX
="llvm-g++${EXEEXT}"
26628 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26629 set dummy
$LLVMGCC; ac_word
=$2
26630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26632 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26641 for as_dir
in $PATH
26644 test -z "$as_dir" && as_dir
=.
26645 for ac_exec_ext
in '' $ac_executable_extensions; do
26646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26647 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26658 LLVMGCC
=$ac_cv_path_LLVMGCC
26659 if test -n "$LLVMGCC"; then
26660 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26661 echo "${ECHO_T}$LLVMGCC" >&6; }
26663 { echo "$as_me:$LINENO: result: no" >&5
26664 echo "${ECHO_T}no" >&6; }
26668 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26669 set dummy
$LLVMGXX; ac_word
=$2
26670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26672 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26673 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26681 for as_dir
in $PATH
26684 test -z "$as_dir" && as_dir
=.
26685 for ac_exec_ext
in '' $ac_executable_extensions; do
26686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26687 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26698 LLVMGXX
=$ac_cv_path_LLVMGXX
26699 if test -n "$LLVMGXX"; then
26700 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26701 echo "${ECHO_T}$LLVMGXX" >&6; }
26703 { echo "$as_me:$LINENO: result: no" >&5
26704 echo "${ECHO_T}no" >&6; }
26709 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26710 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26717 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26718 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26731 if test "$GCC" != "yes" && test "$ICC" != "yes"
26733 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26734 echo "$as_me: error: gcc|icc required but not found" >&2;}
26735 { (exit 1); exit 1; }; }
26738 if test "$GXX" != "yes" && test "$IXX" != "yes"
26740 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26741 echo "$as_me: error: g++|icc required but not found" >&2;}
26742 { (exit 1); exit 1; }; }
26745 if test "$GCC" = "yes"
26747 gccmajor
=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`
26748 if test "$gccmajor" -lt "3"
26750 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
26751 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
26752 { (exit 1); exit 1; }; }
26756 if test -z "$llvm_cv_gnu_make_command"
26758 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
26759 echo "$as_me: error: GNU Make required but not found" >&2;}
26760 { (exit 1); exit 1; }; }
26763 { echo "$as_me:$LINENO: result: ok" >&5
26764 echo "${ECHO_T}ok" >&6; }
26768 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
26769 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
26770 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 ac_check_lib_save_LIBS
=$LIBS
26775 cat >conftest.
$ac_ext <<_ACEOF
26778 cat confdefs.h
>>conftest.
$ac_ext
26779 cat >>conftest.
$ac_ext <<_ACEOF
26780 /* end confdefs.h. */
26782 /* Override any GCC internal prototype to avoid an error.
26783 Use char because int might match the return type of a GCC
26784 builtin and then its argument prototype would still apply. */
26792 return elf_begin ();
26797 rm -f conftest.
$ac_objext conftest
$ac_exeext
26798 if { (ac_try
="$ac_link"
26799 case "(($ac_try" in
26800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26801 *) ac_try_echo=$ac_try;;
26803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26804 (eval "$ac_link") 2>conftest.er1
26806 grep -v '^ *+' conftest.er1 >conftest.err
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26812 { (case "(($ac_try" in
26813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26814 *) ac_try_echo
=$ac_try;;
26816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26817 (eval "$ac_try") 2>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); }; } &&
26821 { ac_try
='test -s conftest$ac_exeext'
26822 { (case "(($ac_try" in
26823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26824 *) ac_try_echo=$ac_try;;
26826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26827 (eval "$ac_try") 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 ac_cv_lib_elf_elf_begin=yes
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.$ac_ext >&5
26836 ac_cv_lib_elf_elf_begin=no
26839 rm -f core conftest.err conftest.$ac_objext \
26840 conftest$ac_exeext conftest.$ac_ext
26841 LIBS=$ac_check_lib_save_LIBS
26843 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
26844 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
26845 if test $ac_cv_lib_elf_elf_begin = yes; then
26846 cat >>confdefs.h <<_ACEOF
26847 #define HAVE_LIBELF 1
26855 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
26856 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
26857 if test "${ac_cv_lib_m_sin+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 ac_check_lib_save_LIBS=$LIBS
26862 cat >conftest.$ac_ext <<_ACEOF
26865 cat confdefs.h >>conftest.$ac_ext
26866 cat >>conftest.$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26869 /* Override any GCC internal prototype to avoid an error.
26870 Use char because int might match the return type of a GCC
26871 builtin and then its argument prototype would still apply. */
26884 rm -f conftest.$ac_objext conftest$ac_exeext
26885 if { (ac_try="$ac_link"
26886 case "(($ac_try" in
26887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26888 *) ac_try_echo
=$ac_try;;
26890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26891 (eval "$ac_link") 2>conftest.er1
26893 grep -v '^ *+' conftest.er1
>conftest.err
26895 cat conftest.err
>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } &&
26898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26899 { (case "(($ac_try" in
26900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26901 *) ac_try_echo=$ac_try;;
26903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26904 (eval "$ac_try") 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; } &&
26908 { ac_try='test -s conftest$ac_exeext'
26909 { (case "(($ac_try" in
26910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26911 *) ac_try_echo
=$ac_try;;
26913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26914 (eval "$ac_try") 2>&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 ac_cv_lib_m_sin
=yes
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.
$ac_ext >&5
26926 rm -f core conftest.err conftest.
$ac_objext \
26927 conftest
$ac_exeext conftest.
$ac_ext
26928 LIBS
=$ac_check_lib_save_LIBS
26930 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
26931 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
26932 if test $ac_cv_lib_m_sin = yes; then
26933 cat >>confdefs.h
<<_ACEOF
26934 #define HAVE_LIBM 1
26941 if test "$llvm_cv_os_type" = "MingW" ; then
26943 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
26944 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
26945 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26948 ac_check_lib_save_LIBS
=$LIBS
26949 LIBS
="-limagehlp $LIBS"
26950 cat >conftest.
$ac_ext <<_ACEOF
26953 cat confdefs.h
>>conftest.
$ac_ext
26954 cat >>conftest.
$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26966 rm -f conftest.
$ac_objext conftest
$ac_exeext
26967 if { (ac_try
="$ac_link"
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_link") 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_exeext'
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
27000 ac_cv_lib_imagehlp_main=yes
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.$ac_ext >&5
27005 ac_cv_lib_imagehlp_main=no
27008 rm -f core conftest.err conftest.$ac_objext \
27009 conftest$ac_exeext conftest.$ac_ext
27010 LIBS=$ac_check_lib_save_LIBS
27012 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27013 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27014 if test $ac_cv_lib_imagehlp_main = yes; then
27015 cat >>confdefs.h <<_ACEOF
27016 #define HAVE_LIBIMAGEHLP 1
27019 LIBS="-limagehlp $LIBS"
27024 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27025 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27026 if test "${ac_cv_lib_psapi_main+set}" = set; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 ac_check_lib_save_LIBS=$LIBS
27030 LIBS="-lpsapi $LIBS"
27031 cat >conftest.$ac_ext <<_ACEOF
27034 cat confdefs.h >>conftest.$ac_ext
27035 cat >>conftest.$ac_ext <<_ACEOF
27036 /* end confdefs.h. */
27047 rm -f conftest.$ac_objext conftest$ac_exeext
27048 if { (ac_try="$ac_link"
27049 case "(($ac_try" in
27050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27051 *) ac_try_echo
=$ac_try;;
27053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27054 (eval "$ac_link") 2>conftest.er1
27056 grep -v '^ *+' conftest.er1
>conftest.err
27058 cat conftest.err
>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); } &&
27061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27062 { (case "(($ac_try" in
27063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27064 *) ac_try_echo=$ac_try;;
27066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27067 (eval "$ac_try") 2>&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); }; } &&
27071 { ac_try='test -s conftest$ac_exeext'
27072 { (case "(($ac_try" in
27073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27074 *) ac_try_echo
=$ac_try;;
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_try") 2>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; }; then
27081 ac_cv_lib_psapi_main
=yes
27083 echo "$as_me: failed program was:" >&5
27084 sed 's/^/| /' conftest.
$ac_ext >&5
27086 ac_cv_lib_psapi_main
=no
27089 rm -f core conftest.err conftest.
$ac_objext \
27090 conftest
$ac_exeext conftest.
$ac_ext
27091 LIBS
=$ac_check_lib_save_LIBS
27093 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27094 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27095 if test $ac_cv_lib_psapi_main = yes; then
27096 cat >>confdefs.h
<<_ACEOF
27097 #define HAVE_LIBPSAPI 1
27100 LIBS
="-lpsapi $LIBS"
27106 { echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
27107 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6; }
27108 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 ac_func_search_save_LIBS
=$LIBS
27112 cat >conftest.
$ac_ext <<_ACEOF
27115 cat confdefs.h
>>conftest.
$ac_ext
27116 cat >>conftest.
$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27119 /* Override any GCC internal prototype to avoid an error.
27120 Use char because int might match the return type of a GCC
27121 builtin and then its argument prototype would still apply. */
27129 return lt_dlopen ();
27134 for ac_lib
in '' ltdl
; do
27135 if test -z "$ac_lib"; then
27136 ac_res
="none required"
27139 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
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_search_lt_dlopen=$ac_res
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.$ac_ext >&5
27183 rm -f core conftest.err conftest.$ac_objext \
27185 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27189 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27192 ac_cv_search_lt_dlopen=no
27194 rm conftest.$ac_ext
27195 LIBS=$ac_func_search_save_LIBS
27197 { echo "$as_me:$LINENO: result: $ac_cv_search_lt_dlopen" >&5
27198 echo "${ECHO_T}$ac_cv_search_lt_dlopen" >&6; }
27199 ac_res=$ac_cv_search_lt_dlopen
27200 if test "$ac_res" != no; then
27201 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27203 cat >>confdefs.h <<\_ACEOF
27204 #define HAVE_LT_DLOPEN 1
27208 { echo "$as_me:$LINENO: WARNING: lt_dlopen() not found - plugin support might
27209 not be available" >&5
27210 echo "$as_me: WARNING: lt_dlopen() not found - plugin support might
27211 not be available" >&2;}
27215 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27216 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27217 if test "${ac_cv_search_dlopen+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 ac_func_search_save_LIBS=$LIBS
27221 cat >conftest.$ac_ext <<_ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27228 /* Override any GCC internal prototype to avoid an error.
27229 Use char because int might match the return type of a GCC
27230 builtin and then its argument prototype would still apply. */
27243 for ac_lib in '' dl; do
27244 if test -z "$ac_lib"; then
27245 ac_res="none required"
27248 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27250 rm -f conftest.$ac_objext conftest$ac_exeext
27251 if { (ac_try="$ac_link"
27252 case "(($ac_try" in
27253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27254 *) ac_try_echo
=$ac_try;;
27256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27257 (eval "$ac_link") 2>conftest.er1
27259 grep -v '^ *+' conftest.er1
>conftest.err
27261 cat conftest.err
>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27265 { (case "(($ac_try" in
27266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_try") 2>&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; } &&
27274 { ac_try='test -s conftest$ac_exeext'
27275 { (case "(($ac_try" in
27276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27277 *) ac_try_echo
=$ac_try;;
27279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27280 (eval "$ac_try") 2>&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); }; }; then
27284 ac_cv_search_dlopen
=$ac_res
27286 echo "$as_me: failed program was:" >&5
27287 sed 's/^/| /' conftest.
$ac_ext >&5
27292 rm -f core conftest.err conftest.
$ac_objext \
27294 if test "${ac_cv_search_dlopen+set}" = set; then
27298 if test "${ac_cv_search_dlopen+set}" = set; then
27301 ac_cv_search_dlopen
=no
27303 rm conftest.
$ac_ext
27304 LIBS
=$ac_func_search_save_LIBS
27306 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27307 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27308 ac_res
=$ac_cv_search_dlopen
27309 if test "$ac_res" != no
; then
27310 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27312 cat >>confdefs.h
<<\_ACEOF
27313 #define HAVE_DLOPEN 1
27317 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27318 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27322 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27323 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27324 if test "${ac_cv_search_mallinfo+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27327 ac_func_search_save_LIBS
=$LIBS
27328 cat >conftest.
$ac_ext <<_ACEOF
27331 cat confdefs.h
>>conftest.
$ac_ext
27332 cat >>conftest.
$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27335 /* Override any GCC internal prototype to avoid an error.
27336 Use char because int might match the return type of a GCC
27337 builtin and then its argument prototype would still apply. */
27345 return mallinfo ();
27350 for ac_lib
in '' malloc
; do
27351 if test -z "$ac_lib"; then
27352 ac_res
="none required"
27355 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27357 rm -f conftest.
$ac_objext conftest
$ac_exeext
27358 if { (ac_try
="$ac_link"
27359 case "(($ac_try" in
27360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27361 *) ac_try_echo=$ac_try;;
27363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27364 (eval "$ac_link") 2>conftest.er1
27366 grep -v '^ *+' conftest.er1 >conftest.err
27368 cat conftest.err >&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27372 { (case "(($ac_try" in
27373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27374 *) ac_try_echo
=$ac_try;;
27376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_try") 2>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; } &&
27381 { ac_try
='test -s conftest$ac_exeext'
27382 { (case "(($ac_try" in
27383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_try") 2>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); }; }; then
27391 ac_cv_search_mallinfo=$ac_res
27393 echo "$as_me: failed program was:" >&5
27394 sed 's/^/| /' conftest.$ac_ext >&5
27399 rm -f core conftest.err conftest.$ac_objext \
27401 if test "${ac_cv_search_mallinfo+set}" = set; then
27405 if test "${ac_cv_search_mallinfo+set}" = set; then
27408 ac_cv_search_mallinfo=no
27410 rm conftest.$ac_ext
27411 LIBS=$ac_func_search_save_LIBS
27413 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27414 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27415 ac_res=$ac_cv_search_mallinfo
27416 if test "$ac_res" != no; then
27417 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27419 cat >>confdefs.h <<\_ACEOF
27420 #define HAVE_MALLINFO 1
27426 if test "$ENABLE_THREADS" -eq 1 ; then
27428 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27429 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27430 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27433 ac_check_lib_save_LIBS=$LIBS
27434 LIBS="-lpthread $LIBS"
27435 cat >conftest.$ac_ext <<_ACEOF
27438 cat confdefs.h >>conftest.$ac_ext
27439 cat >>conftest.$ac_ext <<_ACEOF
27440 /* end confdefs.h. */
27442 /* Override any GCC internal prototype to avoid an error.
27443 Use char because int might match the return type of a GCC
27444 builtin and then its argument prototype would still apply. */
27448 char pthread_mutex_init ();
27452 return pthread_mutex_init ();
27457 rm -f conftest.$ac_objext conftest$ac_exeext
27458 if { (ac_try="$ac_link"
27459 case "(($ac_try" in
27460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27461 *) ac_try_echo
=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_link") 2>conftest.er1
27466 grep -v '^ *+' conftest.er1
>conftest.err
27468 cat conftest.err
>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); } &&
27471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27472 { (case "(($ac_try" in
27473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_try") 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; } &&
27481 { ac_try='test -s conftest$ac_exeext'
27482 { (case "(($ac_try" in
27483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27484 *) ac_try_echo
=$ac_try;;
27486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27487 (eval "$ac_try") 2>&5
27489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490 (exit $ac_status); }; }; then
27491 ac_cv_lib_pthread_pthread_mutex_init
=yes
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.
$ac_ext >&5
27496 ac_cv_lib_pthread_pthread_mutex_init
=no
27499 rm -f core conftest.err conftest.
$ac_objext \
27500 conftest
$ac_exeext conftest.
$ac_ext
27501 LIBS
=$ac_check_lib_save_LIBS
27503 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27504 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27505 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27506 cat >>confdefs.h
<<_ACEOF
27507 #define HAVE_LIBPTHREAD 1
27510 LIBS
="-lpthread $LIBS"
27514 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27515 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27516 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27517 echo $ECHO_N "(cached) $ECHO_C" >&6
27519 ac_func_search_save_LIBS
=$LIBS
27520 cat >conftest.
$ac_ext <<_ACEOF
27523 cat confdefs.h
>>conftest.
$ac_ext
27524 cat >>conftest.
$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27527 /* Override any GCC internal prototype to avoid an error.
27528 Use char because int might match the return type of a GCC
27529 builtin and then its argument prototype would still apply. */
27533 char pthread_mutex_lock ();
27537 return pthread_mutex_lock ();
27542 for ac_lib
in '' pthread
; do
27543 if test -z "$ac_lib"; then
27544 ac_res
="none required"
27547 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27549 rm -f conftest.
$ac_objext conftest
$ac_exeext
27550 if { (ac_try
="$ac_link"
27551 case "(($ac_try" in
27552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27553 *) ac_try_echo=$ac_try;;
27555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27556 (eval "$ac_link") 2>conftest.er1
27558 grep -v '^ *+' conftest.er1 >conftest.err
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } &&
27563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27564 { (case "(($ac_try" in
27565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27566 *) ac_try_echo
=$ac_try;;
27568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27569 (eval "$ac_try") 2>&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); }; } &&
27573 { ac_try
='test -s conftest$ac_exeext'
27574 { (case "(($ac_try" in
27575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27576 *) ac_try_echo=$ac_try;;
27578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27579 (eval "$ac_try") 2>&5
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); }; }; then
27583 ac_cv_search_pthread_mutex_lock=$ac_res
27585 echo "$as_me: failed program was:" >&5
27586 sed 's/^/| /' conftest.$ac_ext >&5
27591 rm -f core conftest.err conftest.$ac_objext \
27593 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27597 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27600 ac_cv_search_pthread_mutex_lock=no
27602 rm conftest.$ac_ext
27603 LIBS=$ac_func_search_save_LIBS
27605 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27606 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27607 ac_res=$ac_cv_search_pthread_mutex_lock
27608 if test "$ac_res" != no; then
27609 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27611 cat >>confdefs.h <<\_ACEOF
27612 #define HAVE_PTHREAD_MUTEX_LOCK 1
27620 # Check whether --with-udis86 was given.
27621 if test "${with_udis86+set}" = set; then
27622 withval=$with_udis86;
27627 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
27630 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27631 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27632 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27633 echo $ECHO_N "(cached) $ECHO_C" >&6
27635 ac_check_lib_save_LIBS=$LIBS
27636 LIBS="-ludis86 $LIBS"
27637 cat >conftest.$ac_ext <<_ACEOF
27640 cat confdefs.h >>conftest.$ac_ext
27641 cat >>conftest.$ac_ext <<_ACEOF
27642 /* end confdefs.h. */
27644 /* Override any GCC internal prototype to avoid an error.
27645 Use char because int might match the return type of a GCC
27646 builtin and then its argument prototype would still apply. */
27659 rm -f conftest.$ac_objext conftest$ac_exeext
27660 if { (ac_try="$ac_link"
27661 case "(($ac_try" in
27662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27663 *) ac_try_echo
=$ac_try;;
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_link") 2>conftest.er1
27668 grep -v '^ *+' conftest.er1
>conftest.err
27670 cat conftest.err
>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } &&
27673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27674 { (case "(($ac_try" in
27675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27676 *) ac_try_echo=$ac_try;;
27678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27679 (eval "$ac_try") 2>&5
27681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27682 (exit $ac_status); }; } &&
27683 { ac_try='test -s conftest$ac_exeext'
27684 { (case "(($ac_try" in
27685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27686 *) ac_try_echo
=$ac_try;;
27688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27689 (eval "$ac_try") 2>&5
27691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27692 (exit $ac_status); }; }; then
27693 ac_cv_lib_udis86_ud_init
=yes
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.
$ac_ext >&5
27698 ac_cv_lib_udis86_ud_init
=no
27701 rm -f core conftest.err conftest.
$ac_objext \
27702 conftest
$ac_exeext conftest.
$ac_ext
27703 LIBS
=$ac_check_lib_save_LIBS
27705 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27706 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27707 if test $ac_cv_lib_udis86_ud_init = yes; then
27708 cat >>confdefs.h
<<_ACEOF
27709 #define HAVE_LIBUDIS86 1
27712 LIBS
="-ludis86 $LIBS"
27716 echo "Error! You need to have libudis86 around."
27728 cat >>confdefs.h
<<_ACEOF
27729 #define USE_UDIS86 $USE_UDIS86
27739 ac_header_dirent
=no
27740 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
27741 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
27742 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27743 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27744 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 cat >conftest.
$ac_ext <<_ACEOF
27750 cat confdefs.h
>>conftest.
$ac_ext
27751 cat >>conftest.
$ac_ext <<_ACEOF
27752 /* end confdefs.h. */
27753 #include <sys/types.h>
27765 rm -f conftest.
$ac_objext
27766 if { (ac_try
="$ac_compile"
27767 case "(($ac_try" in
27768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_compile") 2>conftest.er1
27774 grep -v '^ *+' conftest.er1 >conftest.err
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27780 { (case "(($ac_try" in
27781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27782 *) ac_try_echo
=$ac_try;;
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_try") 2>&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); }; } &&
27789 { ac_try
='test -s conftest.$ac_objext'
27790 { (case "(($ac_try" in
27791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27792 *) ac_try_echo=$ac_try;;
27794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27795 (eval "$ac_try") 2>&5
27797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798 (exit $ac_status); }; }; then
27799 eval "$as_ac_Header=yes"
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27804 eval "$as_ac_Header=no"
27807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27809 ac_res=`eval echo '${'$as_ac_Header'}'`
27810 { echo "$as_me:$LINENO: result: $ac_res" >&5
27811 echo "${ECHO_T}$ac_res" >&6; }
27812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27813 cat >>confdefs.h <<_ACEOF
27814 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
27817 ac_header_dirent=$ac_hdr; break
27821 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
27822 if test $ac_header_dirent = dirent.h; then
27823 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27824 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27825 if test "${ac_cv_search_opendir+set}" = set; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27828 ac_func_search_save_LIBS=$LIBS
27829 cat >conftest.$ac_ext <<_ACEOF
27832 cat confdefs.h >>conftest.$ac_ext
27833 cat >>conftest.$ac_ext <<_ACEOF
27834 /* end confdefs.h. */
27836 /* Override any GCC internal prototype to avoid an error.
27837 Use char because int might match the return type of a GCC
27838 builtin and then its argument prototype would still apply. */
27851 for ac_lib in '' dir; do
27852 if test -z "$ac_lib"; then
27853 ac_res="none required"
27856 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27858 rm -f conftest.$ac_objext conftest$ac_exeext
27859 if { (ac_try="$ac_link"
27860 case "(($ac_try" in
27861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27862 *) ac_try_echo
=$ac_try;;
27864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27865 (eval "$ac_link") 2>conftest.er1
27867 grep -v '^ *+' conftest.er1
>conftest.err
27869 cat conftest.err
>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); } &&
27872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27873 { (case "(($ac_try" in
27874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27875 *) ac_try_echo=$ac_try;;
27877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27878 (eval "$ac_try") 2>&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); }; } &&
27882 { ac_try='test -s conftest$ac_exeext'
27883 { (case "(($ac_try" in
27884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27885 *) ac_try_echo
=$ac_try;;
27887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27888 (eval "$ac_try") 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; }; then
27892 ac_cv_search_opendir
=$ac_res
27894 echo "$as_me: failed program was:" >&5
27895 sed 's/^/| /' conftest.
$ac_ext >&5
27900 rm -f core conftest.err conftest.
$ac_objext \
27902 if test "${ac_cv_search_opendir+set}" = set; then
27906 if test "${ac_cv_search_opendir+set}" = set; then
27909 ac_cv_search_opendir
=no
27911 rm conftest.
$ac_ext
27912 LIBS
=$ac_func_search_save_LIBS
27914 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27915 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
27916 ac_res
=$ac_cv_search_opendir
27917 if test "$ac_res" != no
; then
27918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27923 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27924 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27925 if test "${ac_cv_search_opendir+set}" = set; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 ac_func_search_save_LIBS
=$LIBS
27929 cat >conftest.
$ac_ext <<_ACEOF
27932 cat confdefs.h
>>conftest.
$ac_ext
27933 cat >>conftest.
$ac_ext <<_ACEOF
27934 /* end confdefs.h. */
27936 /* Override any GCC internal prototype to avoid an error.
27937 Use char because int might match the return type of a GCC
27938 builtin and then its argument prototype would still apply. */
27951 for ac_lib
in '' x
; do
27952 if test -z "$ac_lib"; then
27953 ac_res
="none required"
27956 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27958 rm -f conftest.
$ac_objext conftest
$ac_exeext
27959 if { (ac_try
="$ac_link"
27960 case "(($ac_try" in
27961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_link") 2>conftest.er1
27967 grep -v '^ *+' conftest.er1 >conftest.err
27969 cat conftest.err >&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } &&
27972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27973 { (case "(($ac_try" in
27974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27975 *) ac_try_echo
=$ac_try;;
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_try") 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; } &&
27982 { ac_try
='test -s conftest$ac_exeext'
27983 { (case "(($ac_try" in
27984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_try") 2>&5
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); }; }; then
27992 ac_cv_search_opendir=$ac_res
27994 echo "$as_me: failed program was:" >&5
27995 sed 's/^/| /' conftest.$ac_ext >&5
28000 rm -f core conftest.err conftest.$ac_objext \
28002 if test "${ac_cv_search_opendir+set}" = set; then
28006 if test "${ac_cv_search_opendir+set}" = set; then
28009 ac_cv_search_opendir=no
28011 rm conftest.$ac_ext
28012 LIBS=$ac_func_search_save_LIBS
28014 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28015 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28016 ac_res=$ac_cv_search_opendir
28017 if test "$ac_res" != no; then
28018 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28024 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28025 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28026 if test "${ac_cv_header_mmap_anon+set}" = set; then
28027 echo $ECHO_N "(cached) $ECHO_C" >&6
28030 ac_cpp='$CPP $CPPFLAGS'
28031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28035 cat >conftest.$ac_ext <<_ACEOF
28038 cat confdefs.h >>conftest.$ac_ext
28039 cat >>conftest.$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28041 #include <sys/mman.h>
28042 #include <unistd.h>
28047 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28052 rm -f conftest.$ac_objext
28053 if { (ac_try="$ac_compile"
28054 case "(($ac_try" in
28055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28056 *) ac_try_echo
=$ac_try;;
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_compile") 2>conftest.er1
28061 grep -v '^ *+' conftest.er1
>conftest.err
28063 cat conftest.err
>&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); } &&
28066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28067 { (case "(($ac_try" in
28068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28069 *) ac_try_echo=$ac_try;;
28071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28072 (eval "$ac_try") 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; } &&
28076 { ac_try='test -s conftest.$ac_objext'
28077 { (case "(($ac_try" in
28078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28079 *) ac_try_echo
=$ac_try;;
28081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28082 (eval "$ac_try") 2>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); }; }; then
28086 ac_cv_header_mmap_anon
=yes
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.
$ac_ext >&5
28091 ac_cv_header_mmap_anon
=no
28094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28096 ac_cpp
='$CPP $CPPFLAGS'
28097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28103 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28104 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28105 if test "$ac_cv_header_mmap_anon" = yes; then
28107 cat >>confdefs.h
<<\_ACEOF
28108 #define HAVE_MMAP_ANONYMOUS 1
28113 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28114 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28115 if test "${ac_cv_header_stat_broken+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 cat >conftest.
$ac_ext <<_ACEOF
28121 cat confdefs.h
>>conftest.
$ac_ext
28122 cat >>conftest.
$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124 #include <sys/types.h>
28125 #include <sys/stat.h>
28127 #if defined S_ISBLK && defined S_IFDIR
28128 # if S_ISBLK (S_IFDIR)
28133 #if defined S_ISBLK && defined S_IFCHR
28134 # if S_ISBLK (S_IFCHR)
28139 #if defined S_ISLNK && defined S_IFREG
28140 # if S_ISLNK (S_IFREG)
28145 #if defined S_ISSOCK && defined S_IFREG
28146 # if S_ISSOCK (S_IFREG)
28152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28153 $EGREP "You lose" >/dev
/null
2>&1; then
28154 ac_cv_header_stat_broken
=yes
28156 ac_cv_header_stat_broken
=no
28161 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28162 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28163 if test $ac_cv_header_stat_broken = yes; then
28165 cat >>confdefs.h
<<\_ACEOF
28166 #define STAT_MACROS_BROKEN 1
28171 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28172 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28173 if test "${ac_cv_header_stdc+set}" = set; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28176 cat >conftest.
$ac_ext <<_ACEOF
28179 cat confdefs.h
>>conftest.
$ac_ext
28180 cat >>conftest.
$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 #include <stdlib.h>
28183 #include <stdarg.h>
28184 #include <string.h>
28195 rm -f conftest.
$ac_objext
28196 if { (ac_try
="$ac_compile"
28197 case "(($ac_try" in
28198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_compile") 2>conftest.er1
28204 grep -v '^ *+' conftest.er1 >conftest.err
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28210 { (case "(($ac_try" in
28211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28212 *) ac_try_echo
=$ac_try;;
28214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28215 (eval "$ac_try") 2>&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); }; } &&
28219 { ac_try
='test -s conftest.$ac_objext'
28220 { (case "(($ac_try" in
28221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28222 *) ac_try_echo=$ac_try;;
28224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28225 (eval "$ac_try") 2>&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); }; }; then
28229 ac_cv_header_stdc=yes
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 ac_cv_header_stdc=no
28237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28239 if test $ac_cv_header_stdc = yes; then
28240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28241 cat >conftest.$ac_ext <<_ACEOF
28244 cat confdefs.h >>conftest.$ac_ext
28245 cat >>conftest.$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247 #include <string.h>
28250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28251 $EGREP "memchr" >/dev/null 2>&1; then
28254 ac_cv_header_stdc=no
28260 if test $ac_cv_header_stdc = yes; then
28261 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28262 cat >conftest.$ac_ext <<_ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 #include <stdlib.h>
28271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28272 $EGREP "free" >/dev/null 2>&1; then
28275 ac_cv_header_stdc=no
28281 if test $ac_cv_header_stdc = yes; then
28282 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28283 if test "$cross_compiling" = yes; then
28286 cat >conftest.$ac_ext <<_ACEOF
28289 cat confdefs.h >>conftest.$ac_ext
28290 cat >>conftest.$ac_ext <<_ACEOF
28291 /* end confdefs.h. */
28293 #include <stdlib.h>
28294 #if ((' ' & 0x0FF) == 0x020)
28295 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28296 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28298 # define ISLOWER(c) \
28299 (('a' <= (c) && (c) <= 'i') \
28300 || ('j' <= (c) && (c) <= 'r') \
28301 || ('s' <= (c) && (c) <= 'z'))
28302 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28305 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28310 for (i = 0; i < 256; i++)
28311 if (XOR (islower (i), ISLOWER (i))
28312 || toupper (i) != TOUPPER (i))
28317 rm -f conftest$ac_exeext
28318 if { (ac_try="$ac_link"
28319 case "(($ac_try" in
28320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28321 *) ac_try_echo
=$ac_try;;
28323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28324 (eval "$ac_link") 2>&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28328 { (case "(($ac_try" in
28329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28330 *) ac_try_echo=$ac_try;;
28332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28333 (eval "$ac_try") 2>&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; }; then
28339 echo "$as_me: program exited with status $ac_status" >&5
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28343 ( exit $ac_status )
28344 ac_cv_header_stdc=no
28346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28352 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28353 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28354 if test $ac_cv_header_stdc = yes; then
28356 cat >>confdefs.h <<\_ACEOF
28357 #define STDC_HEADERS 1
28362 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28363 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28364 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28365 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 cat >conftest.$ac_ext <<_ACEOF
28370 cat confdefs.h >>conftest.$ac_ext
28371 cat >>conftest.$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28373 #include <sys/types.h>
28374 #include <sys/wait.h>
28375 #ifndef WEXITSTATUS
28376 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28379 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28387 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28392 rm -f conftest.$ac_objext
28393 if { (ac_try="$ac_compile"
28394 case "(($ac_try" in
28395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28396 *) ac_try_echo
=$ac_try;;
28398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28399 (eval "$ac_compile") 2>conftest.er1
28401 grep -v '^ *+' conftest.er1
>conftest.err
28403 cat conftest.err
>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); } &&
28406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28407 { (case "(($ac_try" in
28408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28409 *) ac_try_echo=$ac_try;;
28411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28412 (eval "$ac_try") 2>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; } &&
28416 { ac_try='test -s conftest.$ac_objext'
28417 { (case "(($ac_try" in
28418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28419 *) ac_try_echo
=$ac_try;;
28421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28422 (eval "$ac_try") 2>&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; }; then
28426 ac_cv_header_sys_wait_h
=yes
28428 echo "$as_me: failed program was:" >&5
28429 sed 's/^/| /' conftest.
$ac_ext >&5
28431 ac_cv_header_sys_wait_h
=no
28434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28436 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28437 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28438 if test $ac_cv_header_sys_wait_h = yes; then
28440 cat >>confdefs.h
<<\_ACEOF
28441 #define HAVE_SYS_WAIT_H 1
28446 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28447 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28448 if test "${ac_cv_header_time+set}" = set; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28451 cat >conftest.
$ac_ext <<_ACEOF
28454 cat confdefs.h
>>conftest.
$ac_ext
28455 cat >>conftest.
$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28457 #include <sys/types.h>
28458 #include <sys/time.h>
28464 if ((struct tm *) 0)
28470 rm -f conftest.
$ac_objext
28471 if { (ac_try
="$ac_compile"
28472 case "(($ac_try" in
28473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28474 *) ac_try_echo=$ac_try;;
28476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28477 (eval "$ac_compile") 2>conftest.er1
28479 grep -v '^ *+' conftest.er1 >conftest.err
28481 cat conftest.err >&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28485 { (case "(($ac_try" in
28486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28487 *) ac_try_echo
=$ac_try;;
28489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28490 (eval "$ac_try") 2>&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; } &&
28494 { ac_try
='test -s conftest.$ac_objext'
28495 { (case "(($ac_try" in
28496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28497 *) ac_try_echo=$ac_try;;
28499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28500 (eval "$ac_try") 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 ac_cv_header_time=yes
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28509 ac_cv_header_time=no
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28514 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28515 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28516 if test $ac_cv_header_time = yes; then
28518 cat >>confdefs.h <<\_ACEOF
28519 #define TIME_WITH_SYS_TIME 1
28531 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28533 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 ac_res=`eval echo '${'$as_ac_Header'}'`
28541 { echo "$as_me:$LINENO: result: $ac_res" >&5
28542 echo "${ECHO_T}$ac_res" >&6; }
28544 # Is the header compilable?
28545 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28547 cat >conftest.$ac_ext <<_ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28553 $ac_includes_default
28554 #include <$ac_header>
28556 rm -f conftest.$ac_objext
28557 if { (ac_try="$ac_compile"
28558 case "(($ac_try" in
28559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28560 *) ac_try_echo
=$ac_try;;
28562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28563 (eval "$ac_compile") 2>conftest.er1
28565 grep -v '^ *+' conftest.er1
>conftest.err
28567 cat conftest.err
>&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); } &&
28570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28571 { (case "(($ac_try" in
28572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28573 *) ac_try_echo=$ac_try;;
28575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28576 (eval "$ac_try") 2>&5
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; } &&
28580 { ac_try='test -s conftest.$ac_objext'
28581 { (case "(($ac_try" in
28582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28583 *) ac_try_echo
=$ac_try;;
28585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28586 (eval "$ac_try") 2>&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; }; then
28590 ac_header_compiler
=yes
28592 echo "$as_me: failed program was:" >&5
28593 sed 's/^/| /' conftest.
$ac_ext >&5
28595 ac_header_compiler
=no
28598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28599 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28600 echo "${ECHO_T}$ac_header_compiler" >&6; }
28602 # Is the header present?
28603 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28605 cat >conftest.
$ac_ext <<_ACEOF
28608 cat confdefs.h
>>conftest.
$ac_ext
28609 cat >>conftest.
$ac_ext <<_ACEOF
28610 /* end confdefs.h. */
28611 #include <$ac_header>
28613 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28614 case "(($ac_try" in
28615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28616 *) ac_try_echo=$ac_try;;
28618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28621 grep -v '^ *+' conftest.er1 >conftest.err
28623 cat conftest.err >&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } >/dev/null; then
28626 if test -s conftest.err; then
28627 ac_cpp_err=$ac_c_preproc_warn_flag
28628 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28635 if test -z "$ac_cpp_err"; then
28636 ac_header_preproc=yes
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.$ac_ext >&5
28641 ac_header_preproc=no
28644 rm -f conftest.err conftest.$ac_ext
28645 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28646 echo "${ECHO_T}$ac_header_preproc" >&6; }
28648 # So? What about this header?
28649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28655 ac_header_preproc=yes
28658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28671 ## ----------------------------------- ##
28672 ## Report this to llvmbugs@cs.uiuc.edu ##
28673 ## ----------------------------------- ##
28675 ) | sed "s/^/$as_me: WARNING: /" >&2
28678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28681 echo $ECHO_N "(cached) $ECHO_C" >&6
28683 eval "$as_ac_Header=\$ac_header_preproc"
28685 ac_res=`eval echo '${'$as_ac_Header'}'`
28686 { echo "$as_me:$LINENO: result: $ac_res" >&5
28687 echo "${ECHO_T}$ac_res" >&6; }
28690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28691 cat >>confdefs.h <<_ACEOF
28692 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28705 for ac_header in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28707 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28709 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28712 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 ac_res=`eval echo '${'$as_ac_Header'}'`
28715 { echo "$as_me:$LINENO: result: $ac_res" >&5
28716 echo "${ECHO_T}$ac_res" >&6; }
28718 # Is the header compilable?
28719 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28721 cat >conftest.$ac_ext <<_ACEOF
28724 cat confdefs.h >>conftest.$ac_ext
28725 cat >>conftest.$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 $ac_includes_default
28728 #include <$ac_header>
28730 rm -f conftest.$ac_objext
28731 if { (ac_try="$ac_compile"
28732 case "(($ac_try" in
28733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28734 *) ac_try_echo
=$ac_try;;
28736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_compile") 2>conftest.er1
28739 grep -v '^ *+' conftest.er1
>conftest.err
28741 cat conftest.err
>&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); } &&
28744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28745 { (case "(($ac_try" in
28746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28747 *) ac_try_echo=$ac_try;;
28749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28750 (eval "$ac_try") 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try='test -s conftest.$ac_objext'
28755 { (case "(($ac_try" in
28756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28757 *) ac_try_echo
=$ac_try;;
28759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28760 (eval "$ac_try") 2>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; }; then
28764 ac_header_compiler
=yes
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.
$ac_ext >&5
28769 ac_header_compiler
=no
28772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28773 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28774 echo "${ECHO_T}$ac_header_compiler" >&6; }
28776 # Is the header present?
28777 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28779 cat >conftest.
$ac_ext <<_ACEOF
28782 cat confdefs.h
>>conftest.
$ac_ext
28783 cat >>conftest.
$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28785 #include <$ac_header>
28787 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28788 case "(($ac_try" in
28789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28790 *) ac_try_echo=$ac_try;;
28792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28795 grep -v '^ *+' conftest.er1 >conftest.err
28797 cat conftest.err >&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); } >/dev/null; then
28800 if test -s conftest.err; then
28801 ac_cpp_err=$ac_c_preproc_warn_flag
28802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28809 if test -z "$ac_cpp_err"; then
28810 ac_header_preproc=yes
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28815 ac_header_preproc=no
28818 rm -f conftest.err conftest.$ac_ext
28819 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28820 echo "${ECHO_T}$ac_header_preproc" >&6; }
28822 # So? What about this header?
28823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28829 ac_header_preproc=yes
28832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28845 ## ----------------------------------- ##
28846 ## Report this to llvmbugs@cs.uiuc.edu ##
28847 ## ----------------------------------- ##
28849 ) | sed "s/^/$as_me: WARNING: /" >&2
28852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28855 echo $ECHO_N "(cached) $ECHO_C" >&6
28857 eval "$as_ac_Header=\$ac_header_preproc"
28859 ac_res=`eval echo '${'$as_ac_Header'}'`
28860 { echo "$as_me:$LINENO: result: $ac_res" >&5
28861 echo "${ECHO_T}$ac_res" >&6; }
28864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28865 cat >>confdefs.h <<_ACEOF
28866 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28878 for ac_header in windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h
28880 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 ac_res=`eval echo '${'$as_ac_Header'}'`
28888 { echo "$as_me:$LINENO: result: $ac_res" >&5
28889 echo "${ECHO_T}$ac_res" >&6; }
28891 # Is the header compilable?
28892 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28894 cat >conftest.$ac_ext <<_ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900 $ac_includes_default
28901 #include <$ac_header>
28903 rm -f conftest.$ac_objext
28904 if { (ac_try="$ac_compile"
28905 case "(($ac_try" in
28906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28907 *) ac_try_echo
=$ac_try;;
28909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28910 (eval "$ac_compile") 2>conftest.er1
28912 grep -v '^ *+' conftest.er1
>conftest.err
28914 cat conftest.err
>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } &&
28917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28918 { (case "(($ac_try" in
28919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28920 *) ac_try_echo=$ac_try;;
28922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28923 (eval "$ac_try") 2>&5
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); }; } &&
28927 { ac_try='test -s conftest.$ac_objext'
28928 { (case "(($ac_try" in
28929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28930 *) ac_try_echo
=$ac_try;;
28932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28933 (eval "$ac_try") 2>&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; }; then
28937 ac_header_compiler
=yes
28939 echo "$as_me: failed program was:" >&5
28940 sed 's/^/| /' conftest.
$ac_ext >&5
28942 ac_header_compiler
=no
28945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28947 echo "${ECHO_T}$ac_header_compiler" >&6; }
28949 # Is the header present?
28950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28952 cat >conftest.
$ac_ext <<_ACEOF
28955 cat confdefs.h
>>conftest.
$ac_ext
28956 cat >>conftest.
$ac_ext <<_ACEOF
28957 /* end confdefs.h. */
28958 #include <$ac_header>
28960 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28961 case "(($ac_try" in
28962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28963 *) ac_try_echo=$ac_try;;
28965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28968 grep -v '^ *+' conftest.er1 >conftest.err
28970 cat conftest.err >&5
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); } >/dev/null; then
28973 if test -s conftest.err; then
28974 ac_cpp_err=$ac_c_preproc_warn_flag
28975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28982 if test -z "$ac_cpp_err"; then
28983 ac_header_preproc=yes
28985 echo "$as_me: failed program was:" >&5
28986 sed 's/^/| /' conftest.$ac_ext >&5
28988 ac_header_preproc=no
28991 rm -f conftest.err conftest.$ac_ext
28992 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28993 echo "${ECHO_T}$ac_header_preproc" >&6; }
28995 # So? What about this header?
28996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29002 ac_header_preproc=yes
29005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29018 ## ----------------------------------- ##
29019 ## Report this to llvmbugs@cs.uiuc.edu ##
29020 ## ----------------------------------- ##
29022 ) | sed "s/^/$as_me: WARNING: /" >&2
29025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29030 eval "$as_ac_Header=\$ac_header_preproc"
29032 ac_res=`eval echo '${'$as_ac_Header'}'`
29033 { echo "$as_me:$LINENO: result: $ac_res" >&5
29034 echo "${ECHO_T}$ac_res" >&6; }
29037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29038 cat >>confdefs.h <<_ACEOF
29039 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29049 for ac_header in sys/types.h malloc/malloc.h mach/mach.h
29051 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29053 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29056 echo $ECHO_N "(cached) $ECHO_C" >&6
29058 ac_res=`eval echo '${'$as_ac_Header'}'`
29059 { echo "$as_me:$LINENO: result: $ac_res" >&5
29060 echo "${ECHO_T}$ac_res" >&6; }
29062 # Is the header compilable?
29063 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29065 cat >conftest.$ac_ext <<_ACEOF
29068 cat confdefs.h >>conftest.$ac_ext
29069 cat >>conftest.$ac_ext <<_ACEOF
29070 /* end confdefs.h. */
29071 $ac_includes_default
29072 #include <$ac_header>
29074 rm -f conftest.$ac_objext
29075 if { (ac_try="$ac_compile"
29076 case "(($ac_try" in
29077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29078 *) ac_try_echo
=$ac_try;;
29080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_compile") 2>conftest.er1
29083 grep -v '^ *+' conftest.er1
>conftest.err
29085 cat conftest.err
>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29089 { (case "(($ac_try" in
29090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29091 *) ac_try_echo=$ac_try;;
29093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29094 (eval "$ac_try") 2>&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; } &&
29098 { ac_try='test -s conftest.$ac_objext'
29099 { (case "(($ac_try" in
29100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29101 *) ac_try_echo
=$ac_try;;
29103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29104 (eval "$ac_try") 2>&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); }; }; then
29108 ac_header_compiler
=yes
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.
$ac_ext >&5
29113 ac_header_compiler
=no
29116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29118 echo "${ECHO_T}$ac_header_compiler" >&6; }
29120 # Is the header present?
29121 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29123 cat >conftest.
$ac_ext <<_ACEOF
29126 cat confdefs.h
>>conftest.
$ac_ext
29127 cat >>conftest.
$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29129 #include <$ac_header>
29131 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29132 case "(($ac_try" in
29133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29134 *) ac_try_echo=$ac_try;;
29136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29139 grep -v '^ *+' conftest.er1 >conftest.err
29141 cat conftest.err >&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } >/dev/null; then
29144 if test -s conftest.err; then
29145 ac_cpp_err=$ac_c_preproc_warn_flag
29146 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29153 if test -z "$ac_cpp_err"; then
29154 ac_header_preproc=yes
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29159 ac_header_preproc=no
29162 rm -f conftest.err conftest.$ac_ext
29163 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29164 echo "${ECHO_T}$ac_header_preproc" >&6; }
29166 # So? What about this header?
29167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29173 ac_header_preproc=yes
29176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29189 ## ----------------------------------- ##
29190 ## Report this to llvmbugs@cs.uiuc.edu ##
29191 ## ----------------------------------- ##
29193 ) | sed "s/^/$as_me: WARNING: /" >&2
29196 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 eval "$as_ac_Header=\$ac_header_preproc"
29203 ac_res=`eval echo '${'$as_ac_Header'}'`
29204 { echo "$as_me:$LINENO: result: $ac_res" >&5
29205 echo "${ECHO_T}$ac_res" >&6; }
29208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29209 cat >>confdefs.h <<_ACEOF
29210 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29217 if test "$ENABLE_THREADS" -eq 1 ; then
29218 if test "${ac_cv_header_pthread_h+set}" = set; then
29219 { echo "$as_me:$LINENO: checking for pthread.h" >&5
29220 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
29221 if test "${ac_cv_header_pthread_h+set}" = set; then
29222 echo $ECHO_N "(cached) $ECHO_C" >&6
29224 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
29225 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
29227 # Is the header compilable?
29228 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
29229 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
29230 cat >conftest.$ac_ext <<_ACEOF
29233 cat confdefs.h >>conftest.$ac_ext
29234 cat >>conftest.$ac_ext <<_ACEOF
29235 /* end confdefs.h. */
29236 $ac_includes_default
29237 #include <pthread.h>
29239 rm -f conftest.$ac_objext
29240 if { (ac_try="$ac_compile"
29241 case "(($ac_try" in
29242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29243 *) ac_try_echo
=$ac_try;;
29245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29246 (eval "$ac_compile") 2>conftest.er1
29248 grep -v '^ *+' conftest.er1
>conftest.err
29250 cat conftest.err
>&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); } &&
29253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29254 { (case "(($ac_try" in
29255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29256 *) ac_try_echo=$ac_try;;
29258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29259 (eval "$ac_try") 2>&5
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; } &&
29263 { ac_try='test -s conftest.$ac_objext'
29264 { (case "(($ac_try" in
29265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29266 *) ac_try_echo
=$ac_try;;
29268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29269 (eval "$ac_try") 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29273 ac_header_compiler
=yes
29275 echo "$as_me: failed program was:" >&5
29276 sed 's/^/| /' conftest.
$ac_ext >&5
29278 ac_header_compiler
=no
29281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29283 echo "${ECHO_T}$ac_header_compiler" >&6; }
29285 # Is the header present?
29286 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
29287 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
29288 cat >conftest.
$ac_ext <<_ACEOF
29291 cat confdefs.h
>>conftest.
$ac_ext
29292 cat >>conftest.
$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29294 #include <pthread.h>
29296 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29297 case "(($ac_try" in
29298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29299 *) ac_try_echo=$ac_try;;
29301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29304 grep -v '^ *+' conftest.er1 >conftest.err
29306 cat conftest.err >&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); } >/dev/null; then
29309 if test -s conftest.err; then
29310 ac_cpp_err=$ac_c_preproc_warn_flag
29311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29318 if test -z "$ac_cpp_err"; then
29319 ac_header_preproc=yes
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29324 ac_header_preproc=no
29327 rm -f conftest.err conftest.$ac_ext
29328 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29329 echo "${ECHO_T}$ac_header_preproc" >&6; }
29331 # So? What about this header?
29332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29334 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
29335 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29336 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
29337 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
29338 ac_header_preproc=yes
29341 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
29342 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
29343 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
29344 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
29345 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
29346 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
29347 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
29348 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
29349 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
29350 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
29351 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
29352 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
29354 ## ----------------------------------- ##
29355 ## Report this to llvmbugs@cs.uiuc.edu ##
29356 ## ----------------------------------- ##
29358 ) | sed "s/^/$as_me: WARNING: /" >&2
29361 { echo "$as_me:$LINENO: checking for pthread.h" >&5
29362 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
29363 if test "${ac_cv_header_pthread_h+set}" = set; then
29364 echo $ECHO_N "(cached) $ECHO_C" >&6
29366 ac_cv_header_pthread_h=$ac_header_preproc
29368 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
29369 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
29372 if test $ac_cv_header_pthread_h = yes; then
29388 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29389 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29390 if test "${ac_cv_huge_val_sanity+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 ac_cpp='$CXXCPP $CPPFLAGS'
29396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29401 if test "$cross_compiling" = yes; then
29402 ac_cv_huge_val_sanity=yes
29404 cat >conftest.$ac_ext <<_ACEOF
29407 cat confdefs.h >>conftest.$ac_ext
29408 cat >>conftest.$ac_ext <<_ACEOF
29409 /* end confdefs.h. */
29414 double x = HUGE_VAL; return x != x;
29419 rm -f conftest$ac_exeext
29420 if { (ac_try="$ac_link"
29421 case "(($ac_try" in
29422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29423 *) ac_try_echo
=$ac_try;;
29425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29426 (eval "$ac_link") 2>&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29430 { (case "(($ac_try" in
29431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29432 *) ac_try_echo=$ac_try;;
29434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29435 (eval "$ac_try") 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; }; then
29439 ac_cv_huge_val_sanity=yes
29441 echo "$as_me: program exited with status $ac_status" >&5
29442 echo "$as_me: failed program was:" >&5
29443 sed 's/^/| /' conftest.$ac_ext >&5
29445 ( exit $ac_status )
29446 ac_cv_huge_val_sanity=no
29448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29453 ac_cpp='$CPP $CPPFLAGS'
29454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29460 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
29461 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
29462 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
29465 { echo "$as_me:$LINENO: checking for pid_t" >&5
29466 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
29467 if test "${ac_cv_type_pid_t+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 cat >conftest.$ac_ext <<_ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29476 $ac_includes_default
29477 typedef pid_t ac__type_new_;
29481 if ((ac__type_new_ *) 0)
29483 if (sizeof (ac__type_new_))
29489 rm -f conftest.$ac_objext
29490 if { (ac_try="$ac_compile"
29491 case "(($ac_try" in
29492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29493 *) ac_try_echo
=$ac_try;;
29495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29496 (eval "$ac_compile") 2>conftest.er1
29498 grep -v '^ *+' conftest.er1
>conftest.err
29500 cat conftest.err
>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); } &&
29503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29504 { (case "(($ac_try" in
29505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29506 *) ac_try_echo=$ac_try;;
29508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29509 (eval "$ac_try") 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; } &&
29513 { ac_try='test -s conftest.$ac_objext'
29514 { (case "(($ac_try" in
29515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29516 *) ac_try_echo
=$ac_try;;
29518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29519 (eval "$ac_try") 2>&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); }; }; then
29523 ac_cv_type_pid_t
=yes
29525 echo "$as_me: failed program was:" >&5
29526 sed 's/^/| /' conftest.
$ac_ext >&5
29528 ac_cv_type_pid_t
=no
29531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29533 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29534 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
29535 if test $ac_cv_type_pid_t = yes; then
29539 cat >>confdefs.h
<<_ACEOF
29545 { echo "$as_me:$LINENO: checking for size_t" >&5
29546 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
29547 if test "${ac_cv_type_size_t+set}" = set; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 cat >conftest.
$ac_ext <<_ACEOF
29553 cat confdefs.h
>>conftest.
$ac_ext
29554 cat >>conftest.
$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556 $ac_includes_default
29557 typedef size_t ac__type_new_;
29561 if ((ac__type_new_ *) 0)
29563 if (sizeof (ac__type_new_))
29569 rm -f conftest.
$ac_objext
29570 if { (ac_try
="$ac_compile"
29571 case "(($ac_try" in
29572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29573 *) ac_try_echo=$ac_try;;
29575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29576 (eval "$ac_compile") 2>conftest.er1
29578 grep -v '^ *+' conftest.er1 >conftest.err
29580 cat conftest.err >&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } &&
29583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29584 { (case "(($ac_try" in
29585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29586 *) ac_try_echo
=$ac_try;;
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_try") 2>&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); }; } &&
29593 { ac_try
='test -s conftest.$ac_objext'
29594 { (case "(($ac_try" in
29595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29596 *) ac_try_echo=$ac_try;;
29598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29599 (eval "$ac_try") 2>&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; }; then
29603 ac_cv_type_size_t=yes
29605 echo "$as_me: failed program was:" >&5
29606 sed 's/^/| /' conftest.$ac_ext >&5
29608 ac_cv_type_size_t=no
29611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29613 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29614 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
29615 if test $ac_cv_type_size_t = yes; then
29619 cat >>confdefs.h <<_ACEOF
29620 #define size_t unsigned int
29625 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
29626 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
29627 if test "${ac_cv_type_signal+set}" = set; then
29628 echo $ECHO_N "(cached) $ECHO_C" >&6
29630 cat >conftest.$ac_ext <<_ACEOF
29633 cat confdefs.h >>conftest.$ac_ext
29634 cat >>conftest.$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29636 #include <sys/types.h>
29637 #include <signal.h>
29642 return *(signal (0, 0)) (0) == 1;
29647 rm -f conftest.$ac_objext
29648 if { (ac_try="$ac_compile"
29649 case "(($ac_try" in
29650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29651 *) ac_try_echo
=$ac_try;;
29653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29654 (eval "$ac_compile") 2>conftest.er1
29656 grep -v '^ *+' conftest.er1
>conftest.err
29658 cat conftest.err
>&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); } &&
29661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29662 { (case "(($ac_try" in
29663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29664 *) ac_try_echo=$ac_try;;
29666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29667 (eval "$ac_try") 2>&5
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); }; } &&
29671 { ac_try='test -s conftest.$ac_objext'
29672 { (case "(($ac_try" in
29673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29674 *) ac_try_echo
=$ac_try;;
29676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29677 (eval "$ac_try") 2>&5
29679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 (exit $ac_status); }; }; then
29681 ac_cv_type_signal
=int
29683 echo "$as_me: failed program was:" >&5
29684 sed 's/^/| /' conftest.
$ac_ext >&5
29686 ac_cv_type_signal
=void
29689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29691 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
29692 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
29694 cat >>confdefs.h
<<_ACEOF
29695 #define RETSIGTYPE $ac_cv_type_signal
29699 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
29700 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
29701 if test "${ac_cv_struct_tm+set}" = set; then
29702 echo $ECHO_N "(cached) $ECHO_C" >&6
29704 cat >conftest.
$ac_ext <<_ACEOF
29707 cat confdefs.h
>>conftest.
$ac_ext
29708 cat >>conftest.
$ac_ext <<_ACEOF
29709 /* end confdefs.h. */
29710 #include <sys/types.h>
29716 struct tm *tp; tp->tm_sec;
29721 rm -f conftest.
$ac_objext
29722 if { (ac_try
="$ac_compile"
29723 case "(($ac_try" in
29724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29725 *) ac_try_echo=$ac_try;;
29727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29728 (eval "$ac_compile") 2>conftest.er1
29730 grep -v '^ *+' conftest.er1 >conftest.err
29732 cat conftest.err >&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } &&
29735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29736 { (case "(($ac_try" in
29737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29738 *) ac_try_echo
=$ac_try;;
29740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29741 (eval "$ac_try") 2>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; } &&
29745 { ac_try
='test -s conftest.$ac_objext'
29746 { (case "(($ac_try" in
29747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29748 *) ac_try_echo=$ac_try;;
29750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751 (eval "$ac_try") 2>&5
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); }; }; then
29755 ac_cv_struct_tm=time.h
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29760 ac_cv_struct_tm=sys/time.h
29763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29765 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
29766 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
29767 if test $ac_cv_struct_tm = sys/time.h; then
29769 cat >>confdefs.h <<\_ACEOF
29770 #define TM_IN_SYS_TIME 1
29775 { echo "$as_me:$LINENO: checking for int64_t" >&5
29776 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
29777 if test "${ac_cv_type_int64_t+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 cat >conftest.$ac_ext <<_ACEOF
29783 cat confdefs.h >>conftest.$ac_ext
29784 cat >>conftest.$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29786 $ac_includes_default
29787 typedef int64_t ac__type_new_;
29791 if ((ac__type_new_ *) 0)
29793 if (sizeof (ac__type_new_))
29799 rm -f conftest.$ac_objext
29800 if { (ac_try="$ac_compile"
29801 case "(($ac_try" in
29802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29803 *) ac_try_echo
=$ac_try;;
29805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29806 (eval "$ac_compile") 2>conftest.er1
29808 grep -v '^ *+' conftest.er1
>conftest.err
29810 cat conftest.err
>&5
29811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812 (exit $ac_status); } &&
29813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29814 { (case "(($ac_try" in
29815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29816 *) ac_try_echo=$ac_try;;
29818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29819 (eval "$ac_try") 2>&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); }; } &&
29823 { ac_try='test -s conftest.$ac_objext'
29824 { (case "(($ac_try" in
29825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29826 *) ac_try_echo
=$ac_try;;
29828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29829 (eval "$ac_try") 2>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); }; }; then
29833 ac_cv_type_int64_t
=yes
29835 echo "$as_me: failed program was:" >&5
29836 sed 's/^/| /' conftest.
$ac_ext >&5
29838 ac_cv_type_int64_t
=no
29841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29843 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
29844 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
29845 if test $ac_cv_type_int64_t = yes; then
29847 cat >>confdefs.h
<<_ACEOF
29848 #define HAVE_INT64_T 1
29853 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
29854 echo "$as_me: error: Type int64_t required but not found" >&2;}
29855 { (exit 1); exit 1; }; }
29858 { echo "$as_me:$LINENO: checking for uint64_t" >&5
29859 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
29860 if test "${ac_cv_type_uint64_t+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29863 cat >conftest.
$ac_ext <<_ACEOF
29866 cat confdefs.h
>>conftest.
$ac_ext
29867 cat >>conftest.
$ac_ext <<_ACEOF
29868 /* end confdefs.h. */
29869 $ac_includes_default
29870 typedef uint64_t ac__type_new_;
29874 if ((ac__type_new_ *) 0)
29876 if (sizeof (ac__type_new_))
29882 rm -f conftest.
$ac_objext
29883 if { (ac_try
="$ac_compile"
29884 case "(($ac_try" in
29885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29886 *) ac_try_echo=$ac_try;;
29888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29889 (eval "$ac_compile") 2>conftest.er1
29891 grep -v '^ *+' conftest.er1 >conftest.err
29893 cat conftest.err >&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); } &&
29896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29897 { (case "(($ac_try" in
29898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29899 *) ac_try_echo
=$ac_try;;
29901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29902 (eval "$ac_try") 2>&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; } &&
29906 { ac_try
='test -s conftest.$ac_objext'
29907 { (case "(($ac_try" in
29908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29909 *) ac_try_echo=$ac_try;;
29911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29912 (eval "$ac_try") 2>&5
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); }; }; then
29916 ac_cv_type_uint64_t=yes
29918 echo "$as_me: failed program was:" >&5
29919 sed 's/^/| /' conftest.$ac_ext >&5
29921 ac_cv_type_uint64_t=no
29924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29926 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
29927 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
29928 if test $ac_cv_type_uint64_t = yes; then
29930 cat >>confdefs.h <<_ACEOF
29931 #define HAVE_UINT64_T 1
29936 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
29937 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
29938 if test "${ac_cv_type_u_int64_t+set}" = set; then
29939 echo $ECHO_N "(cached) $ECHO_C" >&6
29941 cat >conftest.$ac_ext <<_ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947 $ac_includes_default
29948 typedef u_int64_t ac__type_new_;
29952 if ((ac__type_new_ *) 0)
29954 if (sizeof (ac__type_new_))
29960 rm -f conftest.$ac_objext
29961 if { (ac_try="$ac_compile"
29962 case "(($ac_try" in
29963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29964 *) ac_try_echo
=$ac_try;;
29966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29967 (eval "$ac_compile") 2>conftest.er1
29969 grep -v '^ *+' conftest.er1
>conftest.err
29971 cat conftest.err
>&5
29972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29973 (exit $ac_status); } &&
29974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29975 { (case "(($ac_try" in
29976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29977 *) ac_try_echo=$ac_try;;
29979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_try") 2>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; } &&
29984 { ac_try='test -s conftest.$ac_objext'
29985 { (case "(($ac_try" in
29986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29987 *) ac_try_echo
=$ac_try;;
29989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29990 (eval "$ac_try") 2>&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); }; }; then
29994 ac_cv_type_u_int64_t
=yes
29996 echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.
$ac_ext >&5
29999 ac_cv_type_u_int64_t
=no
30002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30004 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30005 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30006 if test $ac_cv_type_u_int64_t = yes; then
30008 cat >>confdefs.h
<<_ACEOF
30009 #define HAVE_U_INT64_T 1
30014 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30015 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30016 { (exit 1); exit 1; }; }
30030 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30035 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 cat >conftest.
$ac_ext <<_ACEOF
30041 cat confdefs.h
>>conftest.
$ac_ext
30042 cat >>conftest.
$ac_ext <<_ACEOF
30043 /* end confdefs.h. */
30044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30046 #define $ac_func innocuous_$ac_func
30048 /* System header to define __stub macros and hopefully few prototypes,
30049 which can conflict with char $ac_func (); below.
30050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30051 <limits.h> exists even on freestanding compilers. */
30054 # include <limits.h>
30056 # include <assert.h>
30061 /* Override any GCC internal prototype to avoid an error.
30062 Use char because int might match the return type of a GCC
30063 builtin and then its argument prototype would still apply. */
30068 /* The GNU C library defines this for functions which it implements
30069 to always fail with ENOSYS. Some functions are actually named
30070 something starting with __ and the normal name is an alias. */
30071 #if defined __stub_$ac_func || defined __stub___$ac_func
30078 return $ac_func ();
30083 rm -f conftest.
$ac_objext conftest
$ac_exeext
30084 if { (ac_try
="$ac_link"
30085 case "(($ac_try" in
30086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30087 *) ac_try_echo=$ac_try;;
30089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30090 (eval "$ac_link") 2>conftest.er1
30092 grep -v '^ *+' conftest.er1 >conftest.err
30094 cat conftest.err >&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30098 { (case "(($ac_try" in
30099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30100 *) ac_try_echo
=$ac_try;;
30102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30103 (eval "$ac_try") 2>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); }; } &&
30107 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30117 eval "$as_ac_var=yes"
30119 echo "$as_me: failed program was:" >&5
30120 sed 's/^/| /' conftest.$ac_ext >&5
30122 eval "$as_ac_var=no"
30125 rm -f core conftest.err conftest.$ac_objext \
30126 conftest$ac_exeext conftest.$ac_ext
30128 ac_res=`eval echo '${'$as_ac_var'}'`
30129 { echo "$as_me:$LINENO: result: $ac_res" >&5
30130 echo "${ECHO_T}$ac_res" >&6; }
30131 if test `eval echo '${'$as_ac_var'}'` = yes; then
30132 cat >>confdefs.h <<_ACEOF
30133 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30144 for ac_func in getpagesize getrusage getrlimit setrlimit gettimeofday
30146 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30147 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30149 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30150 echo $ECHO_N "(cached) $ECHO_C" >&6
30152 cat >conftest.$ac_ext <<_ACEOF
30155 cat confdefs.h >>conftest.$ac_ext
30156 cat >>conftest.$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30160 #define $ac_func innocuous_$ac_func
30162 /* System header to define __stub macros and hopefully few prototypes,
30163 which can conflict with char $ac_func (); below.
30164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30165 <limits.h> exists even on freestanding compilers. */
30168 # include <limits.h>
30170 # include <assert.h>
30175 /* Override any GCC internal prototype to avoid an error.
30176 Use char because int might match the return type of a GCC
30177 builtin and then its argument prototype would still apply. */
30182 /* The GNU C library defines this for functions which it implements
30183 to always fail with ENOSYS. Some functions are actually named
30184 something starting with __ and the normal name is an alias. */
30185 #if defined __stub_$ac_func || defined __stub___$ac_func
30192 return $ac_func ();
30197 rm -f conftest.$ac_objext conftest$ac_exeext
30198 if { (ac_try="$ac_link"
30199 case "(($ac_try" in
30200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30201 *) ac_try_echo
=$ac_try;;
30203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30204 (eval "$ac_link") 2>conftest.er1
30206 grep -v '^ *+' conftest.er1
>conftest.err
30208 cat conftest.err
>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } &&
30211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30212 { (case "(($ac_try" in
30213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30214 *) ac_try_echo=$ac_try;;
30216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30217 (eval "$ac_try") 2>&5
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; } &&
30221 { ac_try='test -s conftest$ac_exeext'
30222 { (case "(($ac_try" in
30223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30224 *) ac_try_echo
=$ac_try;;
30226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30227 (eval "$ac_try") 2>&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); }; }; then
30231 eval "$as_ac_var=yes"
30233 echo "$as_me: failed program was:" >&5
30234 sed 's/^/| /' conftest.
$ac_ext >&5
30236 eval "$as_ac_var=no"
30239 rm -f core conftest.err conftest.
$ac_objext \
30240 conftest
$ac_exeext conftest.
$ac_ext
30242 ac_res
=`eval echo '${'$as_ac_var'}'`
30243 { echo "$as_me:$LINENO: result: $ac_res" >&5
30244 echo "${ECHO_T}$ac_res" >&6; }
30245 if test `eval echo '${'$as_ac_var'}'` = yes; then
30246 cat >>confdefs.h
<<_ACEOF
30247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30256 for ac_func
in isatty mkdtemp mkstemp
30258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30261 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30264 cat >conftest.
$ac_ext <<_ACEOF
30267 cat confdefs.h
>>conftest.
$ac_ext
30268 cat >>conftest.
$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30272 #define $ac_func innocuous_$ac_func
30274 /* System header to define __stub macros and hopefully few prototypes,
30275 which can conflict with char $ac_func (); below.
30276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30277 <limits.h> exists even on freestanding compilers. */
30280 # include <limits.h>
30282 # include <assert.h>
30287 /* Override any GCC internal prototype to avoid an error.
30288 Use char because int might match the return type of a GCC
30289 builtin and then its argument prototype would still apply. */
30294 /* The GNU C library defines this for functions which it implements
30295 to always fail with ENOSYS. Some functions are actually named
30296 something starting with __ and the normal name is an alias. */
30297 #if defined __stub_$ac_func || defined __stub___$ac_func
30304 return $ac_func ();
30309 rm -f conftest.
$ac_objext conftest
$ac_exeext
30310 if { (ac_try
="$ac_link"
30311 case "(($ac_try" in
30312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30313 *) ac_try_echo=$ac_try;;
30315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30316 (eval "$ac_link") 2>conftest.er1
30318 grep -v '^ *+' conftest.er1 >conftest.err
30320 cat conftest.err >&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); } &&
30323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30324 { (case "(($ac_try" in
30325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30326 *) ac_try_echo
=$ac_try;;
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_try") 2>&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); }; } &&
30333 { ac_try
='test -s conftest$ac_exeext'
30334 { (case "(($ac_try" in
30335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30336 *) ac_try_echo=$ac_try;;
30338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30339 (eval "$ac_try") 2>&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); }; }; then
30343 eval "$as_ac_var=yes"
30345 echo "$as_me: failed program was:" >&5
30346 sed 's/^/| /' conftest.$ac_ext >&5
30348 eval "$as_ac_var=no"
30351 rm -f core conftest.err conftest.$ac_objext \
30352 conftest$ac_exeext conftest.$ac_ext
30354 ac_res=`eval echo '${'$as_ac_var'}'`
30355 { echo "$as_me:$LINENO: result: $ac_res" >&5
30356 echo "${ECHO_T}$ac_res" >&6; }
30357 if test `eval echo '${'$as_ac_var'}'` = yes; then
30358 cat >>confdefs.h <<_ACEOF
30359 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30372 for ac_func in mktemp realpath sbrk setrlimit strdup strerror strerror_r
30374 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30375 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30378 echo $ECHO_N "(cached) $ECHO_C" >&6
30380 cat >conftest.$ac_ext <<_ACEOF
30383 cat confdefs.h >>conftest.$ac_ext
30384 cat >>conftest.$ac_ext <<_ACEOF
30385 /* end confdefs.h. */
30386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30388 #define $ac_func innocuous_$ac_func
30390 /* System header to define __stub macros and hopefully few prototypes,
30391 which can conflict with char $ac_func (); below.
30392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30393 <limits.h> exists even on freestanding compilers. */
30396 # include <limits.h>
30398 # include <assert.h>
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30410 /* The GNU C library defines this for functions which it implements
30411 to always fail with ENOSYS. Some functions are actually named
30412 something starting with __ and the normal name is an alias. */
30413 #if defined __stub_$ac_func || defined __stub___$ac_func
30420 return $ac_func ();
30425 rm -f conftest.$ac_objext conftest$ac_exeext
30426 if { (ac_try="$ac_link"
30427 case "(($ac_try" in
30428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30429 *) ac_try_echo
=$ac_try;;
30431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_link") 2>conftest.er1
30434 grep -v '^ *+' conftest.er1
>conftest.err
30436 cat conftest.err
>&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30440 { (case "(($ac_try" in
30441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_try") 2>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; } &&
30449 { ac_try='test -s conftest$ac_exeext'
30450 { (case "(($ac_try" in
30451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30452 *) ac_try_echo
=$ac_try;;
30454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30455 (eval "$ac_try") 2>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; }; then
30459 eval "$as_ac_var=yes"
30461 echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.
$ac_ext >&5
30464 eval "$as_ac_var=no"
30467 rm -f core conftest.err conftest.
$ac_objext \
30468 conftest
$ac_exeext conftest.
$ac_ext
30470 ac_res
=`eval echo '${'$as_ac_var'}'`
30471 { echo "$as_me:$LINENO: result: $ac_res" >&5
30472 echo "${ECHO_T}$ac_res" >&6; }
30473 if test `eval echo '${'$as_ac_var'}'` = yes; then
30474 cat >>confdefs.h
<<_ACEOF
30475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30485 for ac_func
in strtoll strtoq sysconf malloc_zone_statistics
30487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30490 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30491 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 cat >conftest.
$ac_ext <<_ACEOF
30496 cat confdefs.h
>>conftest.
$ac_ext
30497 cat >>conftest.
$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30501 #define $ac_func innocuous_$ac_func
30503 /* System header to define __stub macros and hopefully few prototypes,
30504 which can conflict with char $ac_func (); below.
30505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30506 <limits.h> exists even on freestanding compilers. */
30509 # include <limits.h>
30511 # include <assert.h>
30516 /* Override any GCC internal prototype to avoid an error.
30517 Use char because int might match the return type of a GCC
30518 builtin and then its argument prototype would still apply. */
30523 /* The GNU C library defines this for functions which it implements
30524 to always fail with ENOSYS. Some functions are actually named
30525 something starting with __ and the normal name is an alias. */
30526 #if defined __stub_$ac_func || defined __stub___$ac_func
30533 return $ac_func ();
30538 rm -f conftest.
$ac_objext conftest
$ac_exeext
30539 if { (ac_try
="$ac_link"
30540 case "(($ac_try" in
30541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30542 *) ac_try_echo=$ac_try;;
30544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30545 (eval "$ac_link") 2>conftest.er1
30547 grep -v '^ *+' conftest.er1 >conftest.err
30549 cat conftest.err >&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); } &&
30552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30553 { (case "(($ac_try" in
30554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30555 *) ac_try_echo
=$ac_try;;
30557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30558 (eval "$ac_try") 2>&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); }; } &&
30562 { ac_try
='test -s conftest$ac_exeext'
30563 { (case "(($ac_try" in
30564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30565 *) ac_try_echo=$ac_try;;
30567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30568 (eval "$ac_try") 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 eval "$as_ac_var=yes"
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30577 eval "$as_ac_var=no"
30580 rm -f core conftest.err conftest.$ac_objext \
30581 conftest$ac_exeext conftest.$ac_ext
30583 ac_res=`eval echo '${'$as_ac_var'}'`
30584 { echo "$as_me:$LINENO: result: $ac_res" >&5
30585 echo "${ECHO_T}$ac_res" >&6; }
30586 if test `eval echo '${'$as_ac_var'}'` = yes; then
30587 cat >>confdefs.h <<_ACEOF
30588 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30598 for ac_func in setjmp longjmp sigsetjmp siglongjmp
30600 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30601 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30603 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 cat >conftest.$ac_ext <<_ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30614 #define $ac_func innocuous_$ac_func
30616 /* System header to define __stub macros and hopefully few prototypes,
30617 which can conflict with char $ac_func (); below.
30618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30619 <limits.h> exists even on freestanding compilers. */
30622 # include <limits.h>
30624 # include <assert.h>
30629 /* Override any GCC internal prototype to avoid an error.
30630 Use char because int might match the return type of a GCC
30631 builtin and then its argument prototype would still apply. */
30636 /* The GNU C library defines this for functions which it implements
30637 to always fail with ENOSYS. Some functions are actually named
30638 something starting with __ and the normal name is an alias. */
30639 #if defined __stub_$ac_func || defined __stub___$ac_func
30646 return $ac_func ();
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (ac_try="$ac_link"
30653 case "(($ac_try" in
30654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30655 *) ac_try_echo
=$ac_try;;
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_link") 2>conftest.er1
30660 grep -v '^ *+' conftest.er1
>conftest.err
30662 cat conftest.err
>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30666 { (case "(($ac_try" in
30667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30668 *) ac_try_echo=$ac_try;;
30670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30671 (eval "$ac_try") 2>&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; } &&
30675 { ac_try='test -s conftest$ac_exeext'
30676 { (case "(($ac_try" in
30677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30678 *) ac_try_echo
=$ac_try;;
30680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30681 (eval "$ac_try") 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; }; then
30685 eval "$as_ac_var=yes"
30687 echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.
$ac_ext >&5
30690 eval "$as_ac_var=no"
30693 rm -f core conftest.err conftest.
$ac_objext \
30694 conftest
$ac_exeext conftest.
$ac_ext
30696 ac_res
=`eval echo '${'$as_ac_var'}'`
30697 { echo "$as_me:$LINENO: result: $ac_res" >&5
30698 echo "${ECHO_T}$ac_res" >&6; }
30699 if test `eval echo '${'$as_ac_var'}'` = yes; then
30700 cat >>confdefs.h
<<_ACEOF
30701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30707 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
30708 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
30709 if test "${llvm_cv_c_printf_a+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 ac_cpp
='$CPP $CPPFLAGS'
30714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30718 if test "$cross_compiling" = yes; then
30719 llvmac_cv_c_printf_a
=no
30721 cat >conftest.
$ac_ext <<_ACEOF
30725 cat confdefs.h
>>conftest.
$ac_ext
30726 cat >>conftest.
$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30730 #include <stdlib.h>
30736 volatile double A, B;
30740 sprintf(Buffer, "%a", A);
30744 if (A != 0x1.999999999999ap-4)
30751 rm -f conftest
$ac_exeext
30752 if { (ac_try
="$ac_link"
30753 case "(($ac_try" in
30754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30755 *) ac_try_echo=$ac_try;;
30757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30758 (eval "$ac_link") 2>&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30762 { (case "(($ac_try" in
30763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30764 *) ac_try_echo
=$ac_try;;
30766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30767 (eval "$ac_try") 2>&5
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); }; }; then
30771 llvm_cv_c_printf_a
=yes
30773 echo "$as_me: program exited with status $ac_status" >&5
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.
$ac_ext >&5
30777 ( exit $ac_status )
30778 llvmac_cv_c_printf_a
=no
30780 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30785 ac_cpp
='$CPP $CPPFLAGS'
30786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30791 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
30792 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
30793 if test "$llvm_cv_c_printf_a" = "yes"; then
30795 cat >>confdefs.h
<<\_ACEOF
30796 #define HAVE_PRINTF_A 1
30801 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
30802 # for constant arguments. Useless!
30803 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
30804 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
30805 if test "${ac_cv_working_alloca_h+set}" = set; then
30806 echo $ECHO_N "(cached) $ECHO_C" >&6
30808 cat >conftest.
$ac_ext <<_ACEOF
30811 cat confdefs.h
>>conftest.
$ac_ext
30812 cat >>conftest.
$ac_ext <<_ACEOF
30813 /* end confdefs.h. */
30814 #include <alloca.h>
30818 char *p = (char *) alloca (2 * sizeof (int));
30824 rm -f conftest.
$ac_objext conftest
$ac_exeext
30825 if { (ac_try
="$ac_link"
30826 case "(($ac_try" in
30827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30828 *) ac_try_echo=$ac_try;;
30830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30831 (eval "$ac_link") 2>conftest.er1
30833 grep -v '^ *+' conftest.er1 >conftest.err
30835 cat conftest.err >&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); } &&
30838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30839 { (case "(($ac_try" in
30840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30841 *) ac_try_echo
=$ac_try;;
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_try") 2>&5
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; } &&
30848 { ac_try
='test -s conftest$ac_exeext'
30849 { (case "(($ac_try" in
30850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30851 *) ac_try_echo=$ac_try;;
30853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30854 (eval "$ac_try") 2>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858 ac_cv_working_alloca_h=yes
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.$ac_ext >&5
30863 ac_cv_working_alloca_h=no
30866 rm -f core conftest.err conftest.$ac_objext \
30867 conftest$ac_exeext conftest.$ac_ext
30869 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
30870 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
30871 if test $ac_cv_working_alloca_h = yes; then
30873 cat >>confdefs.h <<\_ACEOF
30874 #define HAVE_ALLOCA_H 1
30879 { echo "$as_me:$LINENO: checking for alloca" >&5
30880 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
30881 if test "${ac_cv_func_alloca_works+set}" = set; then
30882 echo $ECHO_N "(cached) $ECHO_C" >&6
30884 cat >conftest.$ac_ext <<_ACEOF
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30891 # define alloca __builtin_alloca
30894 # include <malloc.h>
30895 # define alloca _alloca
30898 # include <alloca.h>
30903 # ifndef alloca /* predefined by HP cc +Olibcalls */
30914 char *p = (char *) alloca (1);
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (ac_try="$ac_link"
30922 case "(($ac_try" in
30923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30924 *) ac_try_echo
=$ac_try;;
30926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30927 (eval "$ac_link") 2>conftest.er1
30929 grep -v '^ *+' conftest.er1
>conftest.err
30931 cat conftest.err
>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } &&
30934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30935 { (case "(($ac_try" in
30936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30937 *) ac_try_echo=$ac_try;;
30939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30940 (eval "$ac_try") 2>&5
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; } &&
30944 { ac_try='test -s conftest$ac_exeext'
30945 { (case "(($ac_try" in
30946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30947 *) ac_try_echo
=$ac_try;;
30949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30950 (eval "$ac_try") 2>&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); }; }; then
30954 ac_cv_func_alloca_works
=yes
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.
$ac_ext >&5
30959 ac_cv_func_alloca_works
=no
30962 rm -f core conftest.err conftest.
$ac_objext \
30963 conftest
$ac_exeext conftest.
$ac_ext
30965 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
30966 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
30968 if test $ac_cv_func_alloca_works = yes; then
30970 cat >>confdefs.h
<<\_ACEOF
30971 #define HAVE_ALLOCA 1
30975 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
30976 # that cause trouble. Some versions do not even contain alloca or
30977 # contain a buggy version. If you still want to use their alloca,
30978 # use ar to extract alloca.o from them instead of compiling alloca.c.
30980 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
30982 cat >>confdefs.h
<<\_ACEOF
30987 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
30988 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
30989 if test "${ac_cv_os_cray+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 cat >conftest.
$ac_ext <<_ACEOF
30995 cat confdefs.h
>>conftest.
$ac_ext
30996 cat >>conftest.
$ac_ext <<_ACEOF
30997 /* end confdefs.h. */
30998 #if defined CRAY && ! defined CRAY2
31005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31006 $EGREP "webecray" >/dev
/null
2>&1; then
31014 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
31015 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31016 if test $ac_cv_os_cray = yes; then
31017 for ac_func
in _getb67 GETB67 getb67
; do
31018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31021 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31022 echo $ECHO_N "(cached) $ECHO_C" >&6
31024 cat >conftest.
$ac_ext <<_ACEOF
31027 cat confdefs.h
>>conftest.
$ac_ext
31028 cat >>conftest.
$ac_ext <<_ACEOF
31029 /* end confdefs.h. */
31030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31032 #define $ac_func innocuous_$ac_func
31034 /* System header to define __stub macros and hopefully few prototypes,
31035 which can conflict with char $ac_func (); below.
31036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31037 <limits.h> exists even on freestanding compilers. */
31040 # include <limits.h>
31042 # include <assert.h>
31047 /* Override any GCC internal prototype to avoid an error.
31048 Use char because int might match the return type of a GCC
31049 builtin and then its argument prototype would still apply. */
31054 /* The GNU C library defines this for functions which it implements
31055 to always fail with ENOSYS. Some functions are actually named
31056 something starting with __ and the normal name is an alias. */
31057 #if defined __stub_$ac_func || defined __stub___$ac_func
31064 return $ac_func ();
31069 rm -f conftest.
$ac_objext conftest
$ac_exeext
31070 if { (ac_try
="$ac_link"
31071 case "(($ac_try" in
31072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31073 *) ac_try_echo=$ac_try;;
31075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31076 (eval "$ac_link") 2>conftest.er1
31078 grep -v '^ *+' conftest.er1 >conftest.err
31080 cat conftest.err >&5
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); } &&
31083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31084 { (case "(($ac_try" in
31085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31086 *) ac_try_echo
=$ac_try;;
31088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31089 (eval "$ac_try") 2>&5
31091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092 (exit $ac_status); }; } &&
31093 { ac_try
='test -s conftest$ac_exeext'
31094 { (case "(($ac_try" in
31095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31096 *) ac_try_echo=$ac_try;;
31098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31099 (eval "$ac_try") 2>&5
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); }; }; then
31103 eval "$as_ac_var=yes"
31105 echo "$as_me: failed program was:" >&5
31106 sed 's/^/| /' conftest.$ac_ext >&5
31108 eval "$as_ac_var=no"
31111 rm -f core conftest.err conftest.$ac_objext \
31112 conftest$ac_exeext conftest.$ac_ext
31114 ac_res=`eval echo '${'$as_ac_var'}'`
31115 { echo "$as_me:$LINENO: result: $ac_res" >&5
31116 echo "${ECHO_T}$ac_res" >&6; }
31117 if test `eval echo '${'$as_ac_var'}'` = yes; then
31119 cat >>confdefs.h <<_ACEOF
31120 #define CRAY_STACKSEG_END $ac_func
31129 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
31130 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
31131 if test "${ac_cv_c_stack_direction+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 if test "$cross_compiling" = yes; then
31135 ac_cv_c_stack_direction=0
31137 cat >conftest.$ac_ext <<_ACEOF
31140 cat confdefs.h >>conftest.$ac_ext
31141 cat >>conftest.$ac_ext <<_ACEOF
31142 /* end confdefs.h. */
31143 $ac_includes_default
31145 find_stack_direction ()
31147 static char *addr = 0;
31152 return find_stack_direction ();
31155 return (&dummy > addr) ? 1 : -1;
31161 return find_stack_direction () < 0;
31164 rm -f conftest$ac_exeext
31165 if { (ac_try="$ac_link"
31166 case "(($ac_try" in
31167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31168 *) ac_try_echo
=$ac_try;;
31170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31171 (eval "$ac_link") 2>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31175 { (case "(($ac_try" in
31176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31177 *) ac_try_echo=$ac_try;;
31179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31180 (eval "$ac_try") 2>&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); }; }; then
31184 ac_cv_c_stack_direction=1
31186 echo "$as_me: program exited with status $ac_status" >&5
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31190 ( exit $ac_status )
31191 ac_cv_c_stack_direction=-1
31193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31198 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
31199 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31201 cat >>confdefs.h <<_ACEOF
31202 #define STACK_DIRECTION $ac_cv_c_stack_direction
31209 { echo "$as_me:$LINENO: checking for srand48/lrand48/drand48 in <stdlib.h>" >&5
31210 echo $ECHO_N "checking for srand48/lrand48/drand48 in <stdlib.h>... $ECHO_C" >&6; }
31211 if test "${ac_cv_func_rand48+set}" = set; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 ac_cpp='$CXXCPP $CPPFLAGS'
31216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220 cat >conftest.$ac_ext <<_ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226 #include <stdlib.h>
31230 srand48(0);lrand48();drand48();
31235 rm -f conftest.$ac_objext
31236 if { (ac_try="$ac_compile"
31237 case "(($ac_try" in
31238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31239 *) ac_try_echo
=$ac_try;;
31241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31242 (eval "$ac_compile") 2>conftest.er1
31244 grep -v '^ *+' conftest.er1
>conftest.err
31246 cat conftest.err
>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } &&
31249 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31250 { (case "(($ac_try" in
31251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31252 *) ac_try_echo=$ac_try;;
31254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31255 (eval "$ac_try") 2>&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; } &&
31259 { ac_try='test -s conftest.$ac_objext'
31260 { (case "(($ac_try" in
31261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31262 *) ac_try_echo
=$ac_try;;
31264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31265 (eval "$ac_try") 2>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); }; }; then
31269 ac_cv_func_rand48
=yes
31271 echo "$as_me: failed program was:" >&5
31272 sed 's/^/| /' conftest.
$ac_ext >&5
31274 ac_cv_func_rand48
=no
31277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31279 ac_cpp
='$CPP $CPPFLAGS'
31280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31285 { echo "$as_me:$LINENO: result: $ac_cv_func_rand48" >&5
31286 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
31288 if test "$ac_cv_func_rand48" = "yes" ; then
31290 cat >>confdefs.h
<<\_ACEOF
31291 #define HAVE_RAND48 1
31297 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
31298 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; }
31299 if test "${ac_cv_cxx_namespaces+set}" = set; then
31300 echo $ECHO_N "(cached) $ECHO_C" >&6
31303 ac_cpp
='$CXXCPP $CPPFLAGS'
31304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31308 cat >conftest.
$ac_ext <<_ACEOF
31311 cat confdefs.h
>>conftest.
$ac_ext
31312 cat >>conftest.
$ac_ext <<_ACEOF
31313 /* end confdefs.h. */
31314 namespace Outer { namespace Inner { int i = 0; }}
31318 using namespace Outer::Inner; return i;
31323 rm -f conftest.
$ac_objext
31324 if { (ac_try
="$ac_compile"
31325 case "(($ac_try" in
31326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_compile") 2>conftest.er1
31332 grep -v '^ *+' conftest.er1 >conftest.err
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31338 { (case "(($ac_try" in
31339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31340 *) ac_try_echo
=$ac_try;;
31342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31343 (eval "$ac_try") 2>&5
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; } &&
31347 { ac_try
='test -s conftest.$ac_objext'
31348 { (case "(($ac_try" in
31349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31350 *) ac_try_echo=$ac_try;;
31352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31353 (eval "$ac_try") 2>&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; }; then
31357 ac_cv_cxx_namespaces=yes
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31362 ac_cv_cxx_namespaces=no
31365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31367 ac_cpp='$CPP $CPPFLAGS'
31368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31374 { echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
31375 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
31376 if test "$ac_cv_cxx_namespaces" = yes; then
31378 cat >>confdefs.h <<\_ACEOF
31379 #define HAVE_NAMESPACES
31384 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
31385 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6; }
31386 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
31387 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31396 cat >conftest.$ac_ext <<_ACEOF
31399 cat confdefs.h >>conftest.$ac_ext
31400 cat >>conftest.$ac_ext <<_ACEOF
31401 /* end confdefs.h. */
31402 #include <ext/hash_map>
31403 #ifdef HAVE_NAMESPACES
31404 using namespace std;
31409 hash_map<int, int> t;
31414 rm -f conftest.$ac_objext
31415 if { (ac_try="$ac_compile"
31416 case "(($ac_try" in
31417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31418 *) ac_try_echo
=$ac_try;;
31420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31421 (eval "$ac_compile") 2>conftest.er1
31423 grep -v '^ *+' conftest.er1
>conftest.err
31425 cat conftest.err
>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); } &&
31428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31429 { (case "(($ac_try" in
31430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31431 *) ac_try_echo=$ac_try;;
31433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31434 (eval "$ac_try") 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; } &&
31438 { ac_try='test -s conftest.$ac_objext'
31439 { (case "(($ac_try" in
31440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31441 *) ac_try_echo
=$ac_try;;
31443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31444 (eval "$ac_try") 2>&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); }; }; then
31448 ac_cv_cxx_have_std_ext_hash_map
=yes
31450 echo "$as_me: failed program was:" >&5
31451 sed 's/^/| /' conftest.
$ac_ext >&5
31453 ac_cv_cxx_have_std_ext_hash_map
=no
31456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31458 ac_cpp
='$CPP $CPPFLAGS'
31459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31464 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
31465 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6; }
31466 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes
31469 cat >>confdefs.h
<<\_ACEOF
31470 #define HAVE_STD_EXT_HASH_MAP 1
31475 cat >>confdefs.h
<<\_ACEOF
31476 #define HAVE_STD_EXT_HASH_MAP 0
31481 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
31482 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6; }
31483 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
31484 echo $ECHO_N "(cached) $ECHO_C" >&6
31488 ac_cpp
='$CXXCPP $CPPFLAGS'
31489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31493 cat >conftest.
$ac_ext <<_ACEOF
31496 cat confdefs.h
>>conftest.
$ac_ext
31497 cat >>conftest.
$ac_ext <<_ACEOF
31498 /* end confdefs.h. */
31499 #include <ext/hash_map>
31500 #ifdef HAVE_NAMESPACES
31501 using namespace __gnu_cxx;
31506 hash_map<int,int> t;
31511 rm -f conftest.
$ac_objext
31512 if { (ac_try
="$ac_compile"
31513 case "(($ac_try" in
31514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31515 *) ac_try_echo=$ac_try;;
31517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518 (eval "$ac_compile") 2>conftest.er1
31520 grep -v '^ *+' conftest.er1 >conftest.err
31522 cat conftest.err >&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } &&
31525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31526 { (case "(($ac_try" in
31527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31528 *) ac_try_echo
=$ac_try;;
31530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31531 (eval "$ac_try") 2>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try
='test -s conftest.$ac_objext'
31536 { (case "(($ac_try" in
31537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31538 *) ac_try_echo=$ac_try;;
31540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31541 (eval "$ac_try") 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 ac_cv_cxx_have_gnu_ext_hash_map=yes
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.$ac_ext >&5
31550 ac_cv_cxx_have_gnu_ext_hash_map=no
31553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31555 ac_cpp='$CPP $CPPFLAGS'
31556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31561 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
31562 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6; }
31563 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes
31566 cat >>confdefs.h <<\_ACEOF
31567 #define HAVE_GNU_EXT_HASH_MAP 1
31572 cat >>confdefs.h <<\_ACEOF
31573 #define HAVE_GNU_EXT_HASH_MAP 0
31578 { echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
31579 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6; }
31580 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31585 ac_cpp='$CXXCPP $CPPFLAGS'
31586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31590 cat >conftest.$ac_ext <<_ACEOF
31593 cat confdefs.h >>conftest.$ac_ext
31594 cat >>conftest.$ac_ext <<_ACEOF
31595 /* end confdefs.h. */
31596 #include <hash_map>
31600 hash_map<int,int> t;
31605 rm -f conftest.$ac_objext
31606 if { (ac_try="$ac_compile"
31607 case "(($ac_try" in
31608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31609 *) ac_try_echo
=$ac_try;;
31611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31612 (eval "$ac_compile") 2>conftest.er1
31614 grep -v '^ *+' conftest.er1
>conftest.err
31616 cat conftest.err
>&5
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); } &&
31619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31620 { (case "(($ac_try" in
31621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31622 *) ac_try_echo=$ac_try;;
31624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31625 (eval "$ac_try") 2>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; } &&
31629 { ac_try='test -s conftest.$ac_objext'
31630 { (case "(($ac_try" in
31631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31632 *) ac_try_echo
=$ac_try;;
31634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31635 (eval "$ac_try") 2>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; }; then
31639 ac_cv_cxx_have_global_hash_map
=yes
31641 echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.
$ac_ext >&5
31644 ac_cv_cxx_have_global_hash_map
=no
31647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31649 ac_cpp
='$CPP $CPPFLAGS'
31650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31655 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
31656 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6; }
31657 if test "$ac_cv_cxx_have_global_hash_map" = yes
31660 cat >>confdefs.h
<<\_ACEOF
31661 #define HAVE_GLOBAL_HASH_MAP 1
31666 cat >>confdefs.h
<<\_ACEOF
31667 #define HAVE_GLOBAL_HASH_MAP 0
31672 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
31673 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6; }
31674 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 ac_cpp
='$CXXCPP $CPPFLAGS'
31680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31684 cat >conftest.
$ac_ext <<_ACEOF
31687 cat confdefs.h
>>conftest.
$ac_ext
31688 cat >>conftest.
$ac_ext <<_ACEOF
31689 /* end confdefs.h. */
31690 #include <ext/hash_set>
31691 #ifdef HAVE_NAMESPACES
31692 using namespace std;
31702 rm -f conftest.
$ac_objext
31703 if { (ac_try
="$ac_compile"
31704 case "(($ac_try" in
31705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_compile") 2>conftest.er1
31711 grep -v '^ *+' conftest.er1 >conftest.err
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } &&
31716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31717 { (case "(($ac_try" in
31718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31719 *) ac_try_echo
=$ac_try;;
31721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31722 (eval "$ac_try") 2>&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; } &&
31726 { ac_try
='test -s conftest.$ac_objext'
31727 { (case "(($ac_try" in
31728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31729 *) ac_try_echo=$ac_try;;
31731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31732 (eval "$ac_try") 2>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; }; then
31736 ac_cv_cxx_have_std_ext_hash_set=yes
31738 echo "$as_me: failed program was:" >&5
31739 sed 's/^/| /' conftest.$ac_ext >&5
31741 ac_cv_cxx_have_std_ext_hash_set=no
31744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31746 ac_cpp='$CPP $CPPFLAGS'
31747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31752 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
31753 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6; }
31754 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes
31757 cat >>confdefs.h <<\_ACEOF
31758 #define HAVE_STD_EXT_HASH_SET 1
31763 cat >>confdefs.h <<\_ACEOF
31764 #define HAVE_STD_EXT_HASH_SET 0
31769 { echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
31770 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6; }
31771 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
31772 echo $ECHO_N "(cached) $ECHO_C" >&6
31776 ac_cpp='$CXXCPP $CPPFLAGS'
31777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31781 cat >conftest.$ac_ext <<_ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31787 #include <ext/hash_set>
31788 #ifdef HAVE_NAMESPACES
31789 using namespace __gnu_cxx;
31799 rm -f conftest.$ac_objext
31800 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
31808 grep -v '^ *+' conftest.er1
>conftest.err
31810 cat conftest.err
>&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } &&
31813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31814 { (case "(($ac_try" in
31815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31816 *) ac_try_echo=$ac_try;;
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_try") 2>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try='test -s conftest.$ac_objext'
31824 { (case "(($ac_try" in
31825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31826 *) ac_try_echo
=$ac_try;;
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_try") 2>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; }; then
31833 ac_cv_cxx_have_gnu_ext_hash_set
=yes
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.
$ac_ext >&5
31838 ac_cv_cxx_have_gnu_ext_hash_set
=no
31841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31843 ac_cpp
='$CPP $CPPFLAGS'
31844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31849 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
31850 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6; }
31851 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes
31854 cat >>confdefs.h
<<\_ACEOF
31855 #define HAVE_GNU_EXT_HASH_SET 1
31860 cat >>confdefs.h
<<\_ACEOF
31861 #define HAVE_GNU_EXT_HASH_SET 0
31866 { echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
31867 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6; }
31868 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31873 ac_cpp
='$CXXCPP $CPPFLAGS'
31874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31878 cat >conftest.
$ac_ext <<_ACEOF
31881 cat confdefs.h
>>conftest.
$ac_ext
31882 cat >>conftest.
$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884 #include <hash_set>
31888 hash_set<int> t; return 0;
31893 rm -f conftest.
$ac_objext
31894 if { (ac_try
="$ac_compile"
31895 case "(($ac_try" in
31896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31897 *) ac_try_echo=$ac_try;;
31899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31900 (eval "$ac_compile") 2>conftest.er1
31902 grep -v '^ *+' conftest.er1 >conftest.err
31904 cat conftest.err >&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31908 { (case "(($ac_try" in
31909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31910 *) ac_try_echo
=$ac_try;;
31912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31913 (eval "$ac_try") 2>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try
='test -s conftest.$ac_objext'
31918 { (case "(($ac_try" in
31919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31920 *) ac_try_echo=$ac_try;;
31922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31923 (eval "$ac_try") 2>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; }; then
31927 ac_cv_cxx_have_global_hash_set=yes
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.$ac_ext >&5
31932 ac_cv_cxx_have_global_hash_set=no
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31943 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
31944 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6; }
31945 if test "$ac_cv_cxx_have_global_hash_set" = yes
31948 cat >>confdefs.h <<\_ACEOF
31949 #define HAVE_GLOBAL_HASH_SET 1
31954 cat >>confdefs.h <<\_ACEOF
31955 #define HAVE_GLOBAL_HASH_SET 0
31960 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
31961 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6; }
31962 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31967 ac_cpp='$CXXCPP $CPPFLAGS'
31968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31972 cat >conftest.$ac_ext <<_ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978 #include <iterator>
31979 #ifdef HAVE_NAMESPACES
31980 using namespace std;
31985 iterator<int,int,int> t; return 0;
31990 rm -f conftest.$ac_objext
31991 if { (ac_try="$ac_compile"
31992 case "(($ac_try" in
31993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31994 *) ac_try_echo
=$ac_try;;
31996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31997 (eval "$ac_compile") 2>conftest.er1
31999 grep -v '^ *+' conftest.er1
>conftest.err
32001 cat conftest.err
>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32005 { (case "(($ac_try" in
32006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32007 *) ac_try_echo=$ac_try;;
32009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32010 (eval "$ac_try") 2>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; } &&
32014 { ac_try='test -s conftest.$ac_objext'
32015 { (case "(($ac_try" in
32016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32017 *) ac_try_echo
=$ac_try;;
32019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32020 (eval "$ac_try") 2>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; }; then
32024 ac_cv_cxx_have_std_iterator
=yes
32026 echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.
$ac_ext >&5
32029 ac_cv_cxx_have_std_iterator
=no
32032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32034 ac_cpp
='$CPP $CPPFLAGS'
32035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32041 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
32042 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32043 if test "$ac_cv_cxx_have_std_iterator" = yes
32046 cat >>confdefs.h
<<\_ACEOF
32047 #define HAVE_STD_ITERATOR 1
32052 cat >>confdefs.h
<<\_ACEOF
32053 #define HAVE_STD_ITERATOR 0
32058 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
32059 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6; }
32060 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 ac_cpp
='$CXXCPP $CPPFLAGS'
32066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32070 cat >conftest.
$ac_ext <<_ACEOF
32073 cat confdefs.h
>>conftest.
$ac_ext
32074 cat >>conftest.
$ac_ext <<_ACEOF
32075 /* end confdefs.h. */
32076 #include <iterator>
32077 #ifdef HAVE_NAMESPACES
32078 using namespace std;
32083 bidirectional_iterator<int,int> t; return 0;
32088 rm -f conftest.
$ac_objext
32089 if { (ac_try
="$ac_compile"
32090 case "(($ac_try" in
32091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32092 *) ac_try_echo=$ac_try;;
32094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32095 (eval "$ac_compile") 2>conftest.er1
32097 grep -v '^ *+' conftest.er1 >conftest.err
32099 cat conftest.err >&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); } &&
32102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32103 { (case "(($ac_try" in
32104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32105 *) ac_try_echo
=$ac_try;;
32107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32108 (eval "$ac_try") 2>&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); }; } &&
32112 { ac_try
='test -s conftest.$ac_objext'
32113 { (case "(($ac_try" in
32114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32115 *) ac_try_echo=$ac_try;;
32117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32118 (eval "$ac_try") 2>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; }; then
32122 ac_cv_cxx_have_bi_iterator=yes
32124 echo "$as_me: failed program was:" >&5
32125 sed 's/^/| /' conftest.$ac_ext >&5
32127 ac_cv_cxx_have_bi_iterator=no
32130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32132 ac_cpp='$CPP $CPPFLAGS'
32133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
32140 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32141 if test "$ac_cv_cxx_have_bi_iterator" = yes
32144 cat >>confdefs.h <<\_ACEOF
32145 #define HAVE_BI_ITERATOR 1
32150 cat >>confdefs.h <<\_ACEOF
32151 #define HAVE_BI_ITERATOR 0
32156 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
32157 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6; }
32158 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32168 cat >conftest.$ac_ext <<_ACEOF
32171 cat confdefs.h >>conftest.$ac_ext
32172 cat >>conftest.$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32174 #include <iterator>
32175 #ifdef HAVE_NAMESPACES
32176 using namespace std;
32181 forward_iterator<int,int> t; return 0;
32186 rm -f conftest.$ac_objext
32187 if { (ac_try="$ac_compile"
32188 case "(($ac_try" in
32189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32190 *) ac_try_echo
=$ac_try;;
32192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32193 (eval "$ac_compile") 2>conftest.er1
32195 grep -v '^ *+' conftest.er1
>conftest.err
32197 cat conftest.err
>&5
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); } &&
32200 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32201 { (case "(($ac_try" in
32202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32203 *) ac_try_echo=$ac_try;;
32205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32206 (eval "$ac_try") 2>&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); }; } &&
32210 { ac_try='test -s conftest.$ac_objext'
32211 { (case "(($ac_try" in
32212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32213 *) ac_try_echo
=$ac_try;;
32215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32216 (eval "$ac_try") 2>&5
32218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32219 (exit $ac_status); }; }; then
32220 ac_cv_cxx_have_fwd_iterator
=yes
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.
$ac_ext >&5
32225 ac_cv_cxx_have_fwd_iterator
=no
32228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32230 ac_cpp
='$CPP $CPPFLAGS'
32231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32237 { echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
32238 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32239 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32242 cat >>confdefs.h
<<\_ACEOF
32243 #define HAVE_FWD_ITERATOR 1
32248 cat >>confdefs.h
<<\_ACEOF
32249 #define HAVE_FWD_ITERATOR 0
32255 { echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5
32256 echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6; }
32257 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 ac_cpp
='$CXXCPP $CPPFLAGS'
32262 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32266 cat >conftest.
$ac_ext <<_ACEOF
32269 cat confdefs.h
>>conftest.
$ac_ext
32270 cat >>conftest.
$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32281 rm -f conftest.
$ac_objext
32282 if { (ac_try
="$ac_compile"
32283 case "(($ac_try" in
32284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_compile") 2>conftest.er1
32290 grep -v '^ *+' conftest.er1 >conftest.err
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } &&
32295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32296 { (case "(($ac_try" in
32297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32298 *) ac_try_echo
=$ac_try;;
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_try") 2>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; } &&
32305 { ac_try
='test -s conftest.$ac_objext'
32306 { (case "(($ac_try" in
32307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32308 *) ac_try_echo=$ac_try;;
32310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32311 (eval "$ac_try") 2>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); }; }; then
32315 ac_cv_func_isnan_in_math_h=yes
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32320 ac_cv_func_isnan_in_math_h=no
32323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32325 ac_cpp='$CPP $CPPFLAGS'
32326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32331 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5
32332 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32335 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32337 cat >>confdefs.h <<\_ACEOF
32338 #define HAVE_ISNAN_IN_MATH_H 1
32343 { echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5
32344 echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6; }
32345 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32349 ac_cpp='$CXXCPP $CPPFLAGS'
32350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32354 cat >conftest.$ac_ext <<_ACEOF
32357 cat confdefs.h >>conftest.$ac_ext
32358 cat >>conftest.$ac_ext <<_ACEOF
32359 /* end confdefs.h. */
32369 rm -f conftest.$ac_objext
32370 if { (ac_try="$ac_compile"
32371 case "(($ac_try" in
32372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32373 *) ac_try_echo
=$ac_try;;
32375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32376 (eval "$ac_compile") 2>conftest.er1
32378 grep -v '^ *+' conftest.er1
>conftest.err
32380 cat conftest.err
>&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); } &&
32383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32384 { (case "(($ac_try" in
32385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32386 *) ac_try_echo=$ac_try;;
32388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32389 (eval "$ac_try") 2>&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); }; } &&
32393 { ac_try='test -s conftest.$ac_objext'
32394 { (case "(($ac_try" in
32395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32396 *) ac_try_echo
=$ac_try;;
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_try") 2>&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); }; }; then
32403 ac_cv_func_isnan_in_cmath
=yes
32405 echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.
$ac_ext >&5
32408 ac_cv_func_isnan_in_cmath
=no
32411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32413 ac_cpp
='$CPP $CPPFLAGS'
32414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32419 { echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5
32420 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32422 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32424 cat >>confdefs.h
<<\_ACEOF
32425 #define HAVE_ISNAN_IN_CMATH 1
32430 { echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5
32431 echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6; }
32432 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32436 ac_cpp
='$CXXCPP $CPPFLAGS'
32437 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32441 cat >conftest.
$ac_ext <<_ACEOF
32444 cat confdefs.h
>>conftest.
$ac_ext
32445 cat >>conftest.
$ac_ext <<_ACEOF
32446 /* end confdefs.h. */
32451 float f; std::isnan(f);
32456 rm -f conftest.
$ac_objext
32457 if { (ac_try
="$ac_compile"
32458 case "(($ac_try" in
32459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32460 *) ac_try_echo=$ac_try;;
32462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463 (eval "$ac_compile") 2>conftest.er1
32465 grep -v '^ *+' conftest.er1 >conftest.err
32467 cat conftest.err >&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } &&
32470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32471 { (case "(($ac_try" in
32472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32473 *) ac_try_echo
=$ac_try;;
32475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32476 (eval "$ac_try") 2>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; } &&
32480 { ac_try
='test -s conftest.$ac_objext'
32481 { (case "(($ac_try" in
32482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32483 *) ac_try_echo=$ac_try;;
32485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32486 (eval "$ac_try") 2>&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; }; then
32490 ac_cv_func_std_isnan_in_cmath=yes
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32495 ac_cv_func_std_isnan_in_cmath=no
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500 ac_cpp='$CPP $CPPFLAGS'
32501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5
32507 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32509 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32511 cat >>confdefs.h <<\_ACEOF
32512 #define HAVE_STD_ISNAN_IN_CMATH 1
32518 { echo "$as_me:$LINENO: checking for isinf in <math.h>" >&5
32519 echo $ECHO_N "checking for isinf in <math.h>... $ECHO_C" >&6; }
32520 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32521 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 ac_cpp='$CXXCPP $CPPFLAGS'
32525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32529 cat >conftest.$ac_ext <<_ACEOF
32532 cat confdefs.h >>conftest.$ac_ext
32533 cat >>conftest.$ac_ext <<_ACEOF
32534 /* end confdefs.h. */
32544 rm -f conftest.$ac_objext
32545 if { (ac_try="$ac_compile"
32546 case "(($ac_try" in
32547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32548 *) ac_try_echo
=$ac_try;;
32550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32551 (eval "$ac_compile") 2>conftest.er1
32553 grep -v '^ *+' conftest.er1
>conftest.err
32555 cat conftest.err
>&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); } &&
32558 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32559 { (case "(($ac_try" in
32560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32561 *) ac_try_echo=$ac_try;;
32563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32564 (eval "$ac_try") 2>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; } &&
32568 { ac_try='test -s conftest.$ac_objext'
32569 { (case "(($ac_try" in
32570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32571 *) ac_try_echo
=$ac_try;;
32573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32574 (eval "$ac_try") 2>&5
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); }; }; then
32578 ac_cv_func_isinf_in_math_h
=yes
32580 echo "$as_me: failed program was:" >&5
32581 sed 's/^/| /' conftest.
$ac_ext >&5
32583 ac_cv_func_isinf_in_math_h
=no
32586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32588 ac_cpp
='$CPP $CPPFLAGS'
32589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32594 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_math_h" >&5
32595 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32597 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32599 cat >>confdefs.h
<<\_ACEOF
32600 #define HAVE_ISINF_IN_MATH_H 1
32605 { echo "$as_me:$LINENO: checking for isinf in <cmath>" >&5
32606 echo $ECHO_N "checking for isinf in <cmath>... $ECHO_C" >&6; }
32607 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32608 echo $ECHO_N "(cached) $ECHO_C" >&6
32611 ac_cpp
='$CXXCPP $CPPFLAGS'
32612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32616 cat >conftest.
$ac_ext <<_ACEOF
32619 cat confdefs.h
>>conftest.
$ac_ext
32620 cat >>conftest.
$ac_ext <<_ACEOF
32621 /* end confdefs.h. */
32631 rm -f conftest.
$ac_objext
32632 if { (ac_try
="$ac_compile"
32633 case "(($ac_try" in
32634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32635 *) ac_try_echo=$ac_try;;
32637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32638 (eval "$ac_compile") 2>conftest.er1
32640 grep -v '^ *+' conftest.er1 >conftest.err
32642 cat conftest.err >&5
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); } &&
32645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32646 { (case "(($ac_try" in
32647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32648 *) ac_try_echo
=$ac_try;;
32650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32651 (eval "$ac_try") 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; } &&
32655 { ac_try
='test -s conftest.$ac_objext'
32656 { (case "(($ac_try" in
32657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32658 *) ac_try_echo=$ac_try;;
32660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32661 (eval "$ac_try") 2>&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); }; }; then
32665 ac_cv_func_isinf_in_cmath=yes
32667 echo "$as_me: failed program was:" >&5
32668 sed 's/^/| /' conftest.$ac_ext >&5
32670 ac_cv_func_isinf_in_cmath=no
32673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 ac_cpp='$CPP $CPPFLAGS'
32676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32681 { echo "$as_me:$LINENO: result: $ac_cv_func_isinf_in_cmath" >&5
32682 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32684 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32686 cat >>confdefs.h <<\_ACEOF
32687 #define HAVE_ISINF_IN_CMATH 1
32692 { echo "$as_me:$LINENO: checking for std::isinf in <cmath>" >&5
32693 echo $ECHO_N "checking for std::isinf in <cmath>... $ECHO_C" >&6; }
32694 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32698 ac_cpp='$CXXCPP $CPPFLAGS'
32699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703 cat >conftest.$ac_ext <<_ACEOF
32706 cat confdefs.h >>conftest.$ac_ext
32707 cat >>conftest.$ac_ext <<_ACEOF
32708 /* end confdefs.h. */
32713 float f; std::isinf(f)}
32718 rm -f conftest.$ac_objext
32719 if { (ac_try="$ac_compile"
32720 case "(($ac_try" in
32721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32722 *) ac_try_echo
=$ac_try;;
32724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32725 (eval "$ac_compile") 2>conftest.er1
32727 grep -v '^ *+' conftest.er1
>conftest.err
32729 cat conftest.err
>&5
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); } &&
32732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32733 { (case "(($ac_try" in
32734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32735 *) ac_try_echo=$ac_try;;
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_try") 2>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; } &&
32742 { ac_try='test -s conftest.$ac_objext'
32743 { (case "(($ac_try" in
32744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32745 *) ac_try_echo
=$ac_try;;
32747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32748 (eval "$ac_try") 2>&5
32750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32751 (exit $ac_status); }; }; then
32752 ac_cv_func_std_isinf_in_cmath
=yes
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.
$ac_ext >&5
32757 ac_cv_func_std_isinf_in_cmath
=no
32760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32762 ac_cpp
='$CPP $CPPFLAGS'
32763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32768 { echo "$as_me:$LINENO: result: $ac_cv_func_std_isinf_in_cmath" >&5
32769 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32771 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32773 cat >>confdefs.h
<<\_ACEOF
32774 #define HAVE_STD_ISINF_IN_CMATH 1
32779 { echo "$as_me:$LINENO: checking for finite in <ieeefp.h>" >&5
32780 echo $ECHO_N "checking for finite in <ieeefp.h>... $ECHO_C" >&6; }
32781 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32785 ac_cpp
='$CXXCPP $CPPFLAGS'
32786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32790 cat >conftest.
$ac_ext <<_ACEOF
32793 cat confdefs.h
>>conftest.
$ac_ext
32794 cat >>conftest.
$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32796 #include <ieeefp.h>
32800 float f; finite(f);
32805 rm -f conftest.
$ac_objext
32806 if { (ac_try
="$ac_compile"
32807 case "(($ac_try" in
32808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32809 *) ac_try_echo=$ac_try;;
32811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32812 (eval "$ac_compile") 2>conftest.er1
32814 grep -v '^ *+' conftest.er1 >conftest.err
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } &&
32819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32820 { (case "(($ac_try" in
32821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32822 *) ac_try_echo
=$ac_try;;
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_try") 2>&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); }; } &&
32829 { ac_try
='test -s conftest.$ac_objext'
32830 { (case "(($ac_try" in
32831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32832 *) ac_try_echo=$ac_try;;
32834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32835 (eval "$ac_try") 2>&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); }; }; then
32839 ac_cv_func_finite_in_ieeefp_h=yes
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.$ac_ext >&5
32844 ac_cv_func_finite_in_ieeefp_h=no
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32855 { echo "$as_me:$LINENO: result: $ac_cv_func_finite_in_ieeefp_h" >&5
32856 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
32858 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
32860 cat >>confdefs.h <<\_ACEOF
32861 #define HAVE_FINITE_IN_IEEEFP_H 1
32868 if test "$llvm_cv_platform_type" = "Unix" ; then
32871 for ac_header in stdlib.h unistd.h
32873 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
32874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32880 ac_res=`eval echo '${'$as_ac_Header'}'`
32881 { echo "$as_me:$LINENO: result: $ac_res" >&5
32882 echo "${ECHO_T}$ac_res" >&6; }
32884 # Is the header compilable?
32885 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
32886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32887 cat >conftest.$ac_ext <<_ACEOF
32890 cat confdefs.h >>conftest.$ac_ext
32891 cat >>conftest.$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32893 $ac_includes_default
32894 #include <$ac_header>
32896 rm -f conftest.$ac_objext
32897 if { (ac_try="$ac_compile"
32898 case "(($ac_try" in
32899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32900 *) ac_try_echo
=$ac_try;;
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_compile") 2>conftest.er1
32905 grep -v '^ *+' conftest.er1
>conftest.err
32907 cat conftest.err
>&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } &&
32910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32911 { (case "(($ac_try" in
32912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32913 *) ac_try_echo=$ac_try;;
32915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32916 (eval "$ac_try") 2>&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; } &&
32920 { ac_try='test -s conftest.$ac_objext'
32921 { (case "(($ac_try" in
32922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32923 *) ac_try_echo
=$ac_try;;
32925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32926 (eval "$ac_try") 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 ac_header_compiler
=yes
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.
$ac_ext >&5
32935 ac_header_compiler
=no
32938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32939 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32940 echo "${ECHO_T}$ac_header_compiler" >&6; }
32942 # Is the header present?
32943 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
32944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
32945 cat >conftest.
$ac_ext <<_ACEOF
32948 cat confdefs.h
>>conftest.
$ac_ext
32949 cat >>conftest.
$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32951 #include <$ac_header>
32953 if { (ac_try
="$ac_cpp conftest.$ac_ext"
32954 case "(($ac_try" in
32955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32956 *) ac_try_echo=$ac_try;;
32958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32961 grep -v '^ *+' conftest.er1 >conftest.err
32963 cat conftest.err >&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } >/dev/null; then
32966 if test -s conftest.err; then
32967 ac_cpp_err=$ac_c_preproc_warn_flag
32968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32975 if test -z "$ac_cpp_err"; then
32976 ac_header_preproc=yes
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.$ac_ext >&5
32981 ac_header_preproc=no
32984 rm -f conftest.err conftest.$ac_ext
32985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32986 echo "${ECHO_T}$ac_header_preproc" >&6; }
32988 # So? What about this header?
32989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32995 ac_header_preproc=yes
32998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33011 ## ----------------------------------- ##
33012 ## Report this to llvmbugs@cs.uiuc.edu ##
33013 ## ----------------------------------- ##
33015 ) | sed "s/^/$as_me: WARNING: /" >&2
33018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33023 eval "$as_ac_Header=\$ac_header_preproc"
33025 ac_res=`eval echo '${'$as_ac_Header'}'`
33026 { echo "$as_me:$LINENO: result: $ac_res" >&5
33027 echo "${ECHO_T}$ac_res" >&6; }
33030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33031 cat >>confdefs.h <<_ACEOF
33032 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
33040 for ac_func in getpagesize
33042 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
33043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33046 echo $ECHO_N "(cached) $ECHO_C" >&6
33048 cat >conftest.$ac_ext <<_ACEOF
33051 cat confdefs.h >>conftest.$ac_ext
33052 cat >>conftest.$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33056 #define $ac_func innocuous_$ac_func
33058 /* System header to define __stub macros and hopefully few prototypes,
33059 which can conflict with char $ac_func (); below.
33060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33061 <limits.h> exists even on freestanding compilers. */
33064 # include <limits.h>
33066 # include <assert.h>
33071 /* Override any GCC internal prototype to avoid an error.
33072 Use char because int might match the return type of a GCC
33073 builtin and then its argument prototype would still apply. */
33078 /* The GNU C library defines this for functions which it implements
33079 to always fail with ENOSYS. Some functions are actually named
33080 something starting with __ and the normal name is an alias. */
33081 #if defined __stub_$ac_func || defined __stub___$ac_func
33088 return $ac_func ();
33093 rm -f conftest.$ac_objext conftest$ac_exeext
33094 if { (ac_try="$ac_link"
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_link") 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); } &&
33107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33108 { (case "(($ac_try" in
33109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33110 *) ac_try_echo=$ac_try;;
33112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33113 (eval "$ac_try") 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; } &&
33117 { ac_try='test -s conftest$ac_exeext'
33118 { (case "(($ac_try" in
33119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33120 *) ac_try_echo
=$ac_try;;
33122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33123 (eval "$ac_try") 2>&5
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); }; }; then
33127 eval "$as_ac_var=yes"
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.
$ac_ext >&5
33132 eval "$as_ac_var=no"
33135 rm -f core conftest.err conftest.
$ac_objext \
33136 conftest
$ac_exeext conftest.
$ac_ext
33138 ac_res
=`eval echo '${'$as_ac_var'}'`
33139 { echo "$as_me:$LINENO: result: $ac_res" >&5
33140 echo "${ECHO_T}$ac_res" >&6; }
33141 if test `eval echo '${'$as_ac_var'}'` = yes; then
33142 cat >>confdefs.h
<<_ACEOF
33143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33149 { echo "$as_me:$LINENO: checking for working mmap" >&5
33150 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33151 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33152 echo $ECHO_N "(cached) $ECHO_C" >&6
33154 if test "$cross_compiling" = yes; then
33155 ac_cv_func_mmap_fixed_mapped
=no
33157 cat >conftest.
$ac_ext <<_ACEOF
33160 cat confdefs.h
>>conftest.
$ac_ext
33161 cat >>conftest.
$ac_ext <<_ACEOF
33162 /* end confdefs.h. */
33163 $ac_includes_default
33164 /* malloc might have been renamed as rpl_malloc. */
33167 /* Thanks to Mike Haertel and Jim Avera for this test.
33168 Here is a matrix of mmap possibilities:
33169 mmap private not fixed
33170 mmap private fixed at somewhere currently unmapped
33171 mmap private fixed at somewhere already mapped
33172 mmap shared not fixed
33173 mmap shared fixed at somewhere currently unmapped
33174 mmap shared fixed at somewhere already mapped
33175 For private mappings, we should verify that changes cannot be read()
33176 back from the file, nor mmap's back from the file at a different
33177 address. (There have been systems where private was not correctly
33178 implemented like the infamous i386 svr4.0, and systems where the
33179 VM page cache was not coherent with the file system buffer cache
33180 like early versions of FreeBSD and possibly contemporary NetBSD.)
33181 For shared mappings, we should conversely verify that changes get
33182 propagated back to all the places they're supposed to be.
33184 Grep wants private fixed already mapped.
33185 The main things grep needs to know about mmap are:
33186 * does it exist and is it safe to write into the mmap'd area
33187 * how to use it (BSD variants) */
33190 #include <sys/mman.h>
33192 #if !STDC_HEADERS && !HAVE_STDLIB_H
33196 /* This mess was copied from the GNU getpagesize.h. */
33197 #if !HAVE_GETPAGESIZE
33198 /* Assume that all systems that can run configure have sys/param.h. */
33199 # if !HAVE_SYS_PARAM_H
33200 # define HAVE_SYS_PARAM_H 1
33203 # ifdef _SC_PAGESIZE
33204 # define getpagesize() sysconf(_SC_PAGESIZE)
33205 # else /* no _SC_PAGESIZE */
33206 # if HAVE_SYS_PARAM_H
33207 # include <sys/param.h>
33208 # ifdef EXEC_PAGESIZE
33209 # define getpagesize() EXEC_PAGESIZE
33210 # else /* no EXEC_PAGESIZE */
33212 # define getpagesize() NBPG * CLSIZE
33215 # endif /* no CLSIZE */
33216 # else /* no NBPG */
33218 # define getpagesize() NBPC
33219 # else /* no NBPC */
33221 # define getpagesize() PAGESIZE
33222 # endif /* PAGESIZE */
33223 # endif /* no NBPC */
33224 # endif /* no NBPG */
33225 # endif /* no EXEC_PAGESIZE */
33226 # else /* no HAVE_SYS_PARAM_H */
33227 # define getpagesize() 8192 /* punt totally */
33228 # endif /* no HAVE_SYS_PARAM_H */
33229 # endif /* no _SC_PAGESIZE */
33231 #endif /* no HAVE_GETPAGESIZE */
33236 char *data, *data2, *data3;
33240 pagesize = getpagesize ();
33242 /* First, make a file with some known garbage in it. */
33243 data = (char *) malloc (pagesize);
33246 for (i = 0; i < pagesize; ++i)
33247 *(data + i) = rand ();
33249 fd = creat ("conftest.mmap", 0600);
33252 if (write (fd, data, pagesize) != pagesize)
33256 /* Next, try to mmap the file at a fixed address which already has
33257 something else allocated at it. If we can, also make sure that
33258 we see the same garbage. */
33259 fd = open ("conftest.mmap", O_RDWR);
33262 data2 = (char *) malloc (2 * pagesize);
33265 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33266 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33267 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33269 for (i = 0; i < pagesize; ++i)
33270 if (*(data + i) != *(data2 + i))
33273 /* Finally, make sure that changes to the mapped area do not
33274 percolate back to the file as seen by read(). (This is a bug on
33275 some variants of i386 svr4.0.) */
33276 for (i = 0; i < pagesize; ++i)
33277 *(data2 + i) = *(data2 + i) + 1;
33278 data3 = (char *) malloc (pagesize);
33281 if (read (fd, data3, pagesize) != pagesize)
33283 for (i = 0; i < pagesize; ++i)
33284 if (*(data + i) != *(data3 + i))
33290 rm -f conftest
$ac_exeext
33291 if { (ac_try
="$ac_link"
33292 case "(($ac_try" in
33293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33294 *) ac_try_echo=$ac_try;;
33296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33297 (eval "$ac_link") 2>&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33301 { (case "(($ac_try" in
33302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33303 *) ac_try_echo
=$ac_try;;
33305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33306 (eval "$ac_try") 2>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; }; then
33310 ac_cv_func_mmap_fixed_mapped
=yes
33312 echo "$as_me: program exited with status $ac_status" >&5
33313 echo "$as_me: failed program was:" >&5
33314 sed 's/^/| /' conftest.
$ac_ext >&5
33316 ( exit $ac_status )
33317 ac_cv_func_mmap_fixed_mapped
=no
33319 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33324 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33325 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33326 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33328 cat >>confdefs.h
<<\_ACEOF
33329 #define HAVE_MMAP 1
33333 rm -f conftest.mmap
33335 { echo "$as_me:$LINENO: checking for mmap of files" >&5
33336 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6; }
33337 if test "${ac_cv_func_mmap_file+set}" = set; then
33338 echo $ECHO_N "(cached) $ECHO_C" >&6
33341 ac_cpp
='$CPP $CPPFLAGS'
33342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33346 if test "$cross_compiling" = yes; then
33347 ac_cv_func_mmap_file
=no
33349 cat >conftest.
$ac_ext <<_ACEOF
33353 cat confdefs.h
>>conftest.
$ac_ext
33354 cat >>conftest.
$ac_ext <<_ACEOF
33355 /* end confdefs.h. */
33357 #include <sys/types.h>
33358 #include <sys/mman.h>
33366 fd = creat ("foo",0777);
33367 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33369 return (fd != (int) MAP_FAILED);
33374 rm -f conftest
$ac_exeext
33375 if { (ac_try
="$ac_link"
33376 case "(($ac_try" in
33377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
33378 *) ac_try_echo=$ac_try;;
33380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33381 (eval "$ac_link") 2>&5
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33385 { (case "(($ac_try" in
33386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
33387 *) ac_try_echo
=$ac_try;;
33389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33390 (eval "$ac_try") 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; }; then
33394 ac_cv_func_mmap_file
=yes
33396 echo "$as_me: program exited with status $ac_status" >&5
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.
$ac_ext >&5
33400 ( exit $ac_status )
33401 ac_cv_func_mmap_file
=no
33403 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33408 ac_cpp
='$CPP $CPPFLAGS'
33409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33415 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
33416 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33417 if test "$ac_cv_func_mmap_file" = yes; then
33419 cat >>confdefs.h
<<\_ACEOF
33420 #define HAVE_MMAP_FILE
33427 { echo "$as_me:$LINENO: checking if /dev/zero is needed for mmap" >&5
33428 echo $ECHO_N "checking if /dev/zero is needed for mmap... $ECHO_C" >&6; }
33429 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 if test "$llvm_cv_os_type" = "Interix" ; then
33433 ac_cv_need_dev_zero_for_mmap
=yes
33435 ac_cv_need_dev_zero_for_mmap
=no
33439 { echo "$as_me:$LINENO: result: $ac_cv_need_dev_zero_for_mmap" >&5
33440 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33441 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33443 cat >>confdefs.h
<<\_ACEOF
33444 #define NEED_DEV_ZERO_FOR_MMAP 1
33449 if test "$ac_cv_func_mmap_fixed_mapped" = "no"
33451 { echo "$as_me:$LINENO: WARNING: mmap() of a fixed address required but not supported" >&5
33452 echo "$as_me: WARNING: mmap() of a fixed address required but not supported" >&2;}
33454 if test "$ac_cv_func_mmap_file" = "no"
33456 { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
33457 echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
33462 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
33463 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6; }
33464 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 llvm_cv_llvmgcc_sanity
="no"
33468 if test -x "$LLVMGCC" ; then
33469 cp /dev
/null conftest.c
33470 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33471 grep 'target datalayout =' > /dev
/null
2>&1
33472 if test $?
-eq 0 ; then
33473 llvm_cv_llvmgcc_sanity
="yes"
33478 { echo "$as_me:$LINENO: result: $llvm_cv_llvmgcc_sanity" >&5
33479 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33481 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33482 { echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
33483 echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
33484 llvmcc1path
=`"$LLVMGCC" --print-prog-name=cc1`
33485 LLVMCC1
=$llvmcc1path
33487 llvmcc1pluspath
=`"$LLVMGCC" --print-prog-name=cc1plus`
33488 LLVMCC1PLUS
=$llvmcc1pluspath
33490 llvmgccdir
=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
33491 LLVMGCCDIR
=$llvmgccdir
33493 llvmgcclibexec
=`echo "$llvmcc1path" | sed 's,/cc1,,'`
33494 LLVMGCCLIBEXEC
=$llvmgcclibexec
33496 llvmgccversion
=`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`
33497 llvmgccmajvers
=`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`
33498 LLVMGCC_VERSION
=$llvmgccversion
33500 LLVMGCC_MAJVERS
=$llvmgccmajvers
33502 llvmgcclangs
=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ -]*\).*/\1/'`
33503 LLVMGCC_LANGS
=$llvmgcclangs
33505 { echo "$as_me:$LINENO: result: ok" >&5
33506 echo "${ECHO_T}ok" >&6; }
33509 SHLIBEXT
=$libltdl_cv_shlibext
33512 # Translate the various configuration directories and other basic
33513 # information into substitutions that will end up in Makefile.config.in
33514 # that these configured values can be used by the makefiles
33515 if test "${prefix}" = "NONE" ; then
33516 prefix
="/usr/local"
33518 eval LLVM_PREFIX
="${prefix}";
33519 eval LLVM_BINDIR
="${prefix}/bin";
33520 eval LLVM_LIBDIR
="${prefix}/lib";
33521 eval LLVM_DATADIR
="${prefix}/share/llvm";
33522 eval LLVM_DOCSDIR
="${prefix}/docs/llvm";
33523 eval LLVM_ETCDIR
="${prefix}/etc/llvm";
33524 eval LLVM_INCLUDEDIR
="${prefix}/include";
33525 eval LLVM_INFODIR
="${prefix}/info";
33526 eval LLVM_MANDIR
="${prefix}/man";
33527 LLVM_CONFIGTIME
=`date`
33539 # Place the various directores into the config.h file as #defines so that we
33540 # can know about the installation paths within LLVM.
33542 cat >>confdefs.h
<<_ACEOF
33543 #define LLVM_PREFIX "$LLVM_PREFIX"
33547 cat >>confdefs.h
<<_ACEOF
33548 #define LLVM_BINDIR "$LLVM_BINDIR"
33552 cat >>confdefs.h
<<_ACEOF
33553 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33557 cat >>confdefs.h
<<_ACEOF
33558 #define LLVM_DATADIR "$LLVM_DATADIR"
33562 cat >>confdefs.h
<<_ACEOF
33563 #define LLVM_DATADIR "$LLVM_DOCSDIR"
33567 cat >>confdefs.h
<<_ACEOF
33568 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33572 cat >>confdefs.h
<<_ACEOF
33573 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33577 cat >>confdefs.h
<<_ACEOF
33578 #define LLVM_INFODIR "$LLVM_INFODIR"
33582 cat >>confdefs.h
<<_ACEOF
33583 #define LLVM_MANDIR "$LLVM_MANDIR"
33587 cat >>confdefs.h
<<_ACEOF
33588 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33593 ac_config_headers
="$ac_config_headers include/llvm/Config/config.h"
33595 ac_config_headers
="$ac_config_headers include/llvm/Support/DataTypes.h"
33597 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_map"
33599 ac_config_headers
="$ac_config_headers include/llvm/ADT/hash_set"
33601 ac_config_headers
="$ac_config_headers include/llvm/ADT/iterator"
33604 ac_config_files
="$ac_config_files Makefile.config"
33607 ac_config_files
="$ac_config_files llvm.spec"
33610 ac_config_files
="$ac_config_files docs/doxygen.cfg"
33613 ac_config_files
="$ac_config_files tools/llvm-config/llvm-config.in"
33616 ac_config_commands
="$ac_config_commands setup"
33618 ac_config_commands
="$ac_config_commands Makefile"
33621 ac_config_commands
="$ac_config_commands Makefile.common"
33624 ac_config_commands
="$ac_config_commands examples/Makefile"
33627 ac_config_commands
="$ac_config_commands lib/Makefile"
33630 ac_config_commands
="$ac_config_commands runtime/Makefile"
33633 ac_config_commands
="$ac_config_commands test/Makefile"
33636 ac_config_commands
="$ac_config_commands test/Makefile.tests"
33639 ac_config_commands
="$ac_config_commands tools/Makefile"
33642 ac_config_commands
="$ac_config_commands utils/Makefile"
33645 ac_config_commands
="$ac_config_commands projects/Makefile"
33649 cat >confcache
<<\_ACEOF
33650 # This file is a shell script that caches the results of configure
33651 # tests run on this system so they can be shared between configure
33652 # scripts and configure runs, see configure's option --config-cache.
33653 # It is not useful on other systems. If it contains results you don't
33654 # want to keep, you may remove or edit it.
33656 # config.status only pays attention to the cache file if you give it
33657 # the --recheck option to rerun configure.
33659 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33660 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33661 # following values.
33665 # The following way of writing the cache mishandles newlines in values,
33666 # but we know of no workaround that is simple, portable, and efficient.
33667 # So, we kill variables containing newlines.
33668 # Ultrix sh set writes to stderr and can't be redirected directly,
33669 # and sets the high bit in the cache file unless we assign to the vars.
33671 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33672 eval ac_val
=\$
$ac_var
33676 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33677 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33680 _ | IFS | as_nl
) ;; #(
33681 *) $as_unset $ac_var ;;
33687 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33688 *${as_nl}ac_space
=\
*)
33689 # `set' does not quote correctly, so add quotes (double-quote
33690 # substitution turns \\\\ into \\, and sed turns \\ into \).
33693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33696 # `set' quotes correctly as required by POSIX, so do not add quotes.
33697 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33706 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33708 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33710 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
33711 if test -w "$cache_file"; then
33712 test "x$cache_file" != "x/dev/null" &&
33713 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33714 echo "$as_me: updating cache $cache_file" >&6;}
33715 cat confcache
>$cache_file
33717 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33718 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33723 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
33724 # Let make expand exec_prefix.
33725 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
33727 DEFS
=-DHAVE_CONFIG_H
33731 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
33732 # 1. Remove the extension, and $U if already installed.
33733 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
33734 ac_i
=`echo "$ac_i" | sed "$ac_script"`
33735 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33736 # will be set to the directory where LIBOBJS objects are built.
33737 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33738 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33740 LIBOBJS
=$ac_libobjs
33742 LTLIBOBJS
=$ac_ltlibobjs
33745 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
33746 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
33747 Usually this means the macro was only invoked conditionally." >&5
33748 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
33749 Usually this means the macro was only invoked conditionally." >&2;}
33750 { (exit 1); exit 1; }; }
33752 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
33753 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
33754 Usually this means the macro was only invoked conditionally." >&5
33755 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
33756 Usually this means the macro was only invoked conditionally." >&2;}
33757 { (exit 1); exit 1; }; }
33760 : ${CONFIG_STATUS=./config.status}
33761 ac_clean_files_save
=$ac_clean_files
33762 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
33763 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33764 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33765 cat >$CONFIG_STATUS <<_ACEOF
33767 # Generated by $as_me.
33768 # Run this file to recreate the current configuration.
33769 # Compiler output produced by configure, useful for debugging
33770 # configure, is in config.log if it exists.
33773 ac_cs_recheck=false
33775 SHELL=\${CONFIG_SHELL-$SHELL}
33778 cat >>$CONFIG_STATUS <<\_ACEOF
33779 ## --------------------- ##
33780 ## M4sh Initialization. ##
33781 ## --------------------- ##
33783 # Be Bourne compatible
33784 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
33787 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33788 # is contrary to our usage. Disable this feature.
33789 alias -g '${1+"$@"}'='"$@"'
33790 setopt NO_GLOB_SUBST
33792 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
33794 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
33795 DUALCASE
=1; export DUALCASE
# for MKS sh
33799 # Avoid depending upon Character Ranges.
33800 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33801 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33802 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33803 as_cr_digits
='0123456789'
33804 as_cr_alnum
=$as_cr_Letters$as_cr_digits
33806 # The user is always right.
33807 if test "${PATH_SEPARATOR+set}" != set; then
33808 echo "#! /bin/sh" >conf$$.sh
33809 echo "exit 0" >>conf$$.sh
33811 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
33819 # Support unset when possible.
33820 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33828 # We need space, tab and new line, in precisely that order. Quoting is
33829 # there to prevent editors from complaining about space-tab.
33830 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33831 # splitting by setting IFS to empty value.)
33836 # Find who we are. Look in the path if we contain no directory separator.
33838 *[\\/]* ) as_myself
=$0 ;;
33839 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33840 for as_dir
in $PATH
33843 test -z "$as_dir" && as_dir
=.
33844 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
33850 # We did not find ourselves, most probably we were run as `sh COMMAND'
33851 # in which case we are not to be found in the path.
33852 if test "x$as_myself" = x
; then
33855 if test ! -f "$as_myself"; then
33856 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33857 { (exit 1); exit 1; }
33860 # Work around bugs in pre-3.0 UWIN ksh.
33861 for as_var
in ENV MAIL MAILPATH
33862 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33870 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33871 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33872 LC_TELEPHONE LC_TIME
33874 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33875 eval $as_var=C
; export $as_var
33877 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33881 # Required to use basename.
33882 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33883 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33889 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33890 as_basename
=basename
33896 # Name of the executable.
33897 as_me
=`$as_basename -- "$0" ||
33898 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33899 X"$0" : 'X\(//\)$' \| \
33900 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33902 sed '/^.*\/\([^/][^/]*\)\/*$/{
33921 as_lineno_1
=$LINENO
33922 as_lineno_2
=$LINENO
33923 test "x$as_lineno_1" != "x$as_lineno_2" &&
33924 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
33926 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33927 # uniformly replaced by the line number. The first 'sed' inserts a
33928 # line-number line after each line using $LINENO; the second 'sed'
33929 # does the real work. The second script uses 'N' to pair each
33930 # line-number line with the line containing $LINENO, and appends
33931 # trailing '-' during substitution so that $LINENO is not a special
33932 # case at line end.
33933 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33934 # scripts with optimization help from Paolo Bonzini. Blame Lee
33935 # E. McMahon (1931-1989) for sed's syntax. :-)
33947 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33950 ' >$as_me.lineno
&&
33951 chmod +x
"$as_me.lineno" ||
33952 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33953 { (exit 1); exit 1; }; }
33955 # Don't try to exec as it changes $[0], causing all sort of problems
33956 # (the dirname of $[0] is not the place where we might find the
33957 # original and so on. Autoconf is especially sensitive to this).
33958 .
"./$as_me.lineno"
33959 # Exit status is that of the last command.
33964 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
33970 ECHO_C
= ECHO_N
= ECHO_T
=
33971 case `echo -n x` in
33973 case `echo 'x\c'` in
33974 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
33981 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33982 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33988 rm -f conf$$ conf$$.exe conf$$.
file
33989 if test -d conf$$.dir
; then
33990 rm -f conf$$.dir
/conf$$.
file
33996 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
33998 # ... but there are two gotchas:
33999 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34000 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34001 # In both cases, we have to default to `cp -p'.
34002 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34004 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34009 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34010 rmdir conf$$.dir
2>/dev
/null
34012 if mkdir
-p .
2>/dev
/null
; then
34015 test -d .
/-p && rmdir .
/-p
34019 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34020 # systems may use methods other than mode bits to determine executability.
34021 cat >conf$$.
file <<_ASEOF
34025 chmod +x conf$$.
file
34026 if test -x conf$$.
file >/dev
/null
2>&1; then
34027 as_executable_p
="test -x"
34033 # Sed expression to map a string onto a valid CPP name.
34034 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34036 # Sed expression to map a string onto a valid variable name.
34037 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34042 # Save the log message, to keep $[0] and so on meaningful, and to
34043 # report actual input values of CONFIG_FILES etc. instead of their
34044 # values after options handling.
34046 This file was extended by llvm $as_me 2.1cvs, which was
34047 generated by GNU Autoconf 2.60. Invocation command line was
34049 CONFIG_FILES = $CONFIG_FILES
34050 CONFIG_HEADERS = $CONFIG_HEADERS
34051 CONFIG_LINKS = $CONFIG_LINKS
34052 CONFIG_COMMANDS = $CONFIG_COMMANDS
34055 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34060 cat >>$CONFIG_STATUS <<_ACEOF
34061 # Files that config.status was made for.
34062 config_files="$ac_config_files"
34063 config_headers="$ac_config_headers"
34064 config_commands="$ac_config_commands"
34068 cat >>$CONFIG_STATUS <<\_ACEOF
34070 \`$as_me' instantiates files from templates according to the
34071 current configuration.
34073 Usage: $0 [OPTIONS] [FILE]...
34075 -h, --help print this help, then exit
34076 -V, --version print version number, then exit
34077 -q, --quiet do not print progress messages
34078 -d, --debug don't remove temporary files
34079 --recheck update $as_me by reconfiguring in the same conditions
34080 --file=FILE[:TEMPLATE]
34081 instantiate the configuration file FILE
34082 --header=FILE[:TEMPLATE]
34083 instantiate the configuration header FILE
34085 Configuration files:
34088 Configuration headers:
34091 Configuration commands:
34094 Report bugs to <bug-autoconf@gnu.org>."
34097 cat >>$CONFIG_STATUS <<_ACEOF
34099 llvm config.status 2.1cvs
34100 configured by $0, generated by GNU Autoconf 2.60,
34101 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34103 Copyright (C) 2006 Free Software Foundation, Inc.
34104 This config.status script is free software; the Free Software Foundation
34105 gives unlimited permission to copy, distribute and modify it."
34112 cat >>$CONFIG_STATUS <<\_ACEOF
34113 # If no file are specified by the user, then we need to provide default
34114 # value. By we need to know if files were specified by the user.
34120 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34121 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34132 # Handling of the options.
34133 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34135 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34136 echo "$ac_cs_version"; exit ;;
34137 --debug |
--debu |
--deb |
--de |
--d |
-d )
34139 --file |
--fil |
--fi |
--f )
34141 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34142 ac_need_defaults
=false
;;
34143 --header |
--heade |
--head |
--hea )
34145 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34146 ac_need_defaults
=false
;;
34148 # Conflict between --help and --header
34149 { echo "$as_me: error: ambiguous option: $1
34150 Try \`$0 --help' for more information." >&2
34151 { (exit 1); exit 1; }; };;
34152 --help |
--hel |
-h )
34153 echo "$ac_cs_usage"; exit ;;
34154 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34155 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34158 # This is an error.
34159 -*) { echo "$as_me: error: unrecognized option: $1
34160 Try \`$0 --help' for more information." >&2
34161 { (exit 1); exit 1; }; } ;;
34163 *) ac_config_targets
="$ac_config_targets $1"
34164 ac_need_defaults
=false
;;
34170 ac_configure_extra_args
=
34172 if $ac_cs_silent; then
34174 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34178 cat >>$CONFIG_STATUS <<_ACEOF
34179 if \$ac_cs_recheck; then
34180 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34181 CONFIG_SHELL=$SHELL
34182 export CONFIG_SHELL
34183 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34187 cat >>$CONFIG_STATUS <<\_ACEOF
34191 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34192 ## Running $as_me. ##
34198 cat >>$CONFIG_STATUS <<_ACEOF
34202 llvm_src="${srcdir}"
34206 cat >>$CONFIG_STATUS <<\_ACEOF
34208 # Handling of arguments.
34209 for ac_config_target
in $ac_config_targets
34211 case $ac_config_target in
34212 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34213 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34214 "include/llvm/ADT/hash_map") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_map" ;;
34215 "include/llvm/ADT/hash_set") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_set" ;;
34216 "include/llvm/ADT/iterator") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator" ;;
34217 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34218 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34219 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34220 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34221 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34222 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34223 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34224 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34225 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34226 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34227 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34228 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34229 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34230 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34231 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34233 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34234 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34235 { (exit 1); exit 1; }; };;
34240 # If the user did not use the arguments to specify the items to instantiate,
34241 # then the envvar interface is used. Set only those that are not.
34242 # We use the long form for the default assignment because of an extremely
34243 # bizarre bug on SunOS 4.1.3.
34244 if $ac_need_defaults; then
34245 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34246 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34247 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34250 # Have a temporary directory for convenience. Make it in the build tree
34251 # simply because there is no reason against having it here, and in addition,
34252 # creating and moving files from /tmp can sometimes cause problems.
34253 # Hook for its removal unless debugging.
34254 # Note that there is a small window in which the directory will not be cleaned:
34255 # after its creation but before its name has been assigned to `$tmp'.
34259 trap 'exit_status=$?
34260 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34262 trap '{ (exit 1); exit 1; }' 1 2 13 15
34264 # Create a (secure) tmp directory for tmp files.
34267 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34268 test -n "$tmp" && test -d "$tmp"
34271 tmp
=.
/conf$$
-$RANDOM
34272 (umask 077 && mkdir
"$tmp")
34275 echo "$me: cannot create a temporary directory in ." >&2
34276 { (exit 1); exit 1; }
34280 # Set up the sed scripts for CONFIG_FILES section.
34283 # No need to generate the scripts if there are no CONFIG_FILES.
34284 # This happens for instance when ./config.status config.h
34285 if test -n "$CONFIG_FILES"; then
34292 for ac_last_try
in false false false false false
:; do
34293 cat >conf$
$subs.
sed <<_ACEOF
34294 SHELL!$SHELL$ac_delim
34295 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34296 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34297 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34298 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34299 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34300 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34301 exec_prefix!$exec_prefix$ac_delim
34302 prefix!$prefix$ac_delim
34303 program_transform_name!$program_transform_name$ac_delim
34304 bindir!$bindir$ac_delim
34305 sbindir!$sbindir$ac_delim
34306 libexecdir!$libexecdir$ac_delim
34307 datarootdir!$datarootdir$ac_delim
34308 datadir!$datadir$ac_delim
34309 sysconfdir!$sysconfdir$ac_delim
34310 sharedstatedir!$sharedstatedir$ac_delim
34311 localstatedir!$localstatedir$ac_delim
34312 includedir!$includedir$ac_delim
34313 oldincludedir!$oldincludedir$ac_delim
34314 docdir!$docdir$ac_delim
34315 infodir!$infodir$ac_delim
34316 htmldir!$htmldir$ac_delim
34317 dvidir!$dvidir$ac_delim
34318 pdfdir!$pdfdir$ac_delim
34319 psdir!$psdir$ac_delim
34320 libdir!$libdir$ac_delim
34321 localedir!$localedir$ac_delim
34322 mandir!$mandir$ac_delim
34323 DEFS!$DEFS$ac_delim
34324 ECHO_C!$ECHO_C$ac_delim
34325 ECHO_N!$ECHO_N$ac_delim
34326 ECHO_T!$ECHO_T$ac_delim
34327 LIBS!$LIBS$ac_delim
34328 build_alias!$build_alias$ac_delim
34329 host_alias!$host_alias$ac_delim
34330 target_alias!$target_alias$ac_delim
34331 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34332 subdirs!$subdirs$ac_delim
34333 build!$build$ac_delim
34334 build_cpu!$build_cpu$ac_delim
34335 build_vendor!$build_vendor$ac_delim
34336 build_os!$build_os$ac_delim
34337 host!$host$ac_delim
34338 host_cpu!$host_cpu$ac_delim
34339 host_vendor!$host_vendor$ac_delim
34340 host_os!$host_os$ac_delim
34341 target!$target$ac_delim
34342 target_cpu!$target_cpu$ac_delim
34343 target_vendor!$target_vendor$ac_delim
34344 target_os!$target_os$ac_delim
34346 LINKALL!$LINKALL$ac_delim
34347 NOLINKALL!$NOLINKALL$ac_delim
34348 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34349 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34350 ARCH!$ARCH$ac_delim
34351 ENDIAN!$ENDIAN$ac_delim
34353 CFLAGS!$CFLAGS$ac_delim
34354 LDFLAGS!$LDFLAGS$ac_delim
34355 CPPFLAGS!$CPPFLAGS$ac_delim
34356 ac_ct_CC!$ac_ct_CC$ac_delim
34357 EXEEXT!$EXEEXT$ac_delim
34358 OBJEXT!$OBJEXT$ac_delim
34360 GREP!$GREP$ac_delim
34361 EGREP!$EGREP$ac_delim
34362 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34363 BUILD_CC!$BUILD_CC$ac_delim
34364 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34365 CVSBUILD!$CVSBUILD$ac_delim
34366 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34367 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34368 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34369 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34370 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34372 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34373 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34374 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34375 ENABLE_PIC!$ENABLE_PIC$ac_delim
34376 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34377 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34378 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34380 CXXFLAGS!$CXXFLAGS$ac_delim
34381 ac_ct_CXX!$ac_ct_CXX$ac_delim
34383 LEXLIB!$LEXLIB$ac_delim
34384 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
34385 FLEX!$FLEX$ac_delim
34386 YACC!$YACC$ac_delim
34387 YFLAGS!$YFLAGS$ac_delim
34388 BISON!$BISON$ac_delim
34390 ifGNUmake!$ifGNUmake$ac_delim
34393 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34395 elif $ac_last_try; then
34396 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34397 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34398 { (exit 1); exit 1; }; }
34400 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34404 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34405 if test -n "$ac_eof"; then
34406 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34407 ac_eof
=`expr $ac_eof + 1`
34410 cat >>$CONFIG_STATUS <<_ACEOF
34411 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34412 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34415 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34416 s/^/s,@/; s/!/@,|#_!!_#|/
34419 s/'"$ac_delim"'$/,g/; t
34421 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34422 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34423 rm -f conf$
$subs.
sed
34424 cat >>$CONFIG_STATUS <<_ACEOF
34430 for ac_last_try
in false false false false false
:; do
34431 cat >conf$
$subs.
sed <<_ACEOF
34432 LN_S!$LN_S$ac_delim
34435 DATE!$DATE$ac_delim
34436 FIND!$FIND$ac_delim
34437 MKDIR!$MKDIR$ac_delim
34439 RANLIB!$RANLIB$ac_delim
34443 BINPWD!$BINPWD$ac_delim
34444 GRAPHVIZ!$GRAPHVIZ$ac_delim
34447 DOTTY!$DOTTY$ac_delim
34448 PERL!$PERL$ac_delim
34449 HAVE_PERL!$HAVE_PERL$ac_delim
34450 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34451 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34452 INSTALL_DATA!$INSTALL_DATA$ac_delim
34453 BZIP2!$BZIP2$ac_delim
34454 DOXYGEN!$DOXYGEN$ac_delim
34455 GROFF!$GROFF$ac_delim
34456 GZIP!$GZIP$ac_delim
34457 POD2HTML!$POD2HTML$ac_delim
34458 POD2MAN!$POD2MAN$ac_delim
34459 RUNTEST!$RUNTEST$ac_delim
34460 TCLSH!$TCLSH$ac_delim
34462 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34463 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34464 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34465 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34466 LIBADD_DL!$LIBADD_DL$ac_delim
34467 ECHO!$ECHO$ac_delim
34469 STRIP!$STRIP$ac_delim
34470 CXXCPP!$CXXCPP$ac_delim
34472 FFLAGS!$FFLAGS$ac_delim
34473 ac_ct_F77!$ac_ct_F77$ac_delim
34474 LIBTOOL!$LIBTOOL$ac_delim
34475 ETAGSFLAGS!$ETAGSFLAGS$ac_delim
34476 LLVMGCC!$LLVMGCC$ac_delim
34477 LLVMGXX!$LLVMGXX$ac_delim
34478 USE_UDIS86!$USE_UDIS86$ac_delim
34479 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34480 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34481 ALLOCA!$ALLOCA$ac_delim
34482 MMAP_FILE!$MMAP_FILE$ac_delim
34483 LLVMCC1!$LLVMCC1$ac_delim
34484 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34485 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34486 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34487 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34488 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34489 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34490 SHLIBEXT!$SHLIBEXT$ac_delim
34491 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34492 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34493 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34494 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34495 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34496 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34497 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34498 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34499 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34500 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34501 LIBOBJS!$LIBOBJS$ac_delim
34502 LTLIBOBJS!$LTLIBOBJS$ac_delim
34505 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
34507 elif $ac_last_try; then
34508 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34509 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34510 { (exit 1); exit 1; }; }
34512 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34516 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34517 if test -n "$ac_eof"; then
34518 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34519 ac_eof
=`expr $ac_eof + 1`
34522 cat >>$CONFIG_STATUS <<_ACEOF
34523 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34527 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34528 s/^/s,@/; s/!/@,|#_!!_#|/
34531 s/'"$ac_delim"'$/,g/; t
34533 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34534 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34535 rm -f conf$
$subs.
sed
34536 cat >>$CONFIG_STATUS <<_ACEOF
34543 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34544 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34545 # trailing colons and then remove the whole line if VPATH becomes empty
34546 # (actually we leave an empty line to preserve line numbers).
34547 if test "x$srcdir" = x.
; then
34548 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34549 s/:*\$(srcdir):*/:/
34550 s/:*\${srcdir}:*/:/
34552 s/^\([^=]*=[ ]*\):*/\1/
34558 cat >>$CONFIG_STATUS <<\_ACEOF
34559 fi # test -n "$CONFIG_FILES"
34562 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
34565 :[FHLC
]) ac_mode
=$ac_tag; continue;;
34567 case $ac_mode$ac_tag in
34569 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34570 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34571 { (exit 1); exit 1; }; };;
34572 :[FH
]-) ac_tag
=-:-;;
34573 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34590 -) ac_f
="$tmp/stdin";;
34591 *) # Look for the file first in the build tree, then in the source tree
34592 # (if the path is not absolute). The absolute path cannot be DOS-style,
34593 # because $ac_f cannot contain `:'.
34597 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34599 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34600 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34601 { (exit 1); exit 1; }; };;
34603 ac_file_inputs
="$ac_file_inputs $ac_f"
34606 # Let's still pretend it is `configure' which instantiates (i.e., don't
34607 # use $as_me), people would be surprised to read:
34608 # /* config.h. Generated by config.status. */
34609 configure_input
="Generated from "`IFS=:
34610 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34611 if test x
"$ac_file" != x-
; then
34612 configure_input
="$ac_file. $configure_input"
34613 { echo "$as_me:$LINENO: creating $ac_file" >&5
34614 echo "$as_me: creating $ac_file" >&6;}
34618 *:-:* |
*:-) cat >"$tmp/stdin";;
34623 ac_dir
=`$as_dirname -- "$ac_file" ||
34624 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34625 X"$ac_file" : 'X\(//\)[^/]' \| \
34626 X"$ac_file" : 'X\(//\)$' \| \
34627 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34633 /^X\(\/\/\)[^/].*/{
34648 -*) as_dir
=.
/$as_dir;;
34650 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
34654 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34655 *) as_qdir
=$as_dir;;
34657 as_dirs
="'$as_qdir' $as_dirs"
34658 as_dir
=`$as_dirname -- "$as_dir" ||
34659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34660 X"$as_dir" : 'X\(//\)[^/]' \| \
34661 X"$as_dir" : 'X\(//\)$' \| \
34662 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34668 /^X\(\/\/\)[^/].*/{
34681 test -d "$as_dir" && break
34683 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
34684 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34685 echo "$as_me: error: cannot create directory $as_dir" >&2;}
34686 { (exit 1); exit 1; }; }; }
34690 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34692 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34693 # A ".." for each directory in $ac_dir_suffix.
34694 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34695 case $ac_top_builddir_sub in
34696 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34697 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
34700 ac_abs_top_builddir
=$ac_pwd
34701 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
34702 # for backward compatibility:
34703 ac_top_builddir
=$ac_top_build_prefix
34706 .
) # We are building in place.
34708 ac_top_srcdir
=$ac_top_builddir_sub
34709 ac_abs_top_srcdir
=$ac_pwd ;;
34710 [\\/]* | ?
:[\\/]* ) # Absolute name.
34711 ac_srcdir
=$srcdir$ac_dir_suffix;
34712 ac_top_srcdir
=$srcdir
34713 ac_abs_top_srcdir
=$srcdir ;;
34714 *) # Relative name.
34715 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
34716 ac_top_srcdir
=$ac_top_build_prefix$srcdir
34717 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
34719 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
34729 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
34730 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
34734 cat >>$CONFIG_STATUS <<\_ACEOF
34735 # If the template does not know about datarootdir, expand it.
34736 # FIXME: This hack should be removed a few years after 2.60.
34737 ac_datarootdir_hack
=; ac_datarootdir_seen
=
34739 case `sed -n '/datarootdir/ {
34748 ' $ac_file_inputs` in
34749 *datarootdir
*) ac_datarootdir_seen
=yes;;
34750 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
34751 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34752 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34754 cat >>$CONFIG_STATUS <<_ACEOF
34755 ac_datarootdir_hack='
34756 s&@datadir@&$datadir&g
34757 s&@docdir@&$docdir&g
34758 s&@infodir@&$infodir&g
34759 s&@localedir@&$localedir&g
34760 s&@mandir@&$mandir&g
34761 s&\\\${datarootdir}&$datarootdir&g' ;;
34765 # Neutralize VPATH when `$srcdir' = `.'.
34766 # Shell code in configure.ac might set extrasub.
34767 # FIXME: do we really want to maintain this feature?
34768 cat >>$CONFIG_STATUS <<_ACEOF
34772 cat >>$CONFIG_STATUS <<\_ACEOF
34774 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
34775 s
&@configure_input@
&$configure_input&;t t
34776 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
34777 s
&@srcdir@
&$ac_srcdir&;t t
34778 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
34779 s
&@top_srcdir@
&$ac_top_srcdir&;t t
34780 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
34781 s
&@builddir@
&$ac_builddir&;t t
34782 s
&@abs_builddir@
&$ac_abs_builddir&;t t
34783 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
34784 s
&@INSTALL@
&$ac_INSTALL&;t t
34785 $ac_datarootdir_hack
34786 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
34788 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34789 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
34790 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
34791 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
34792 which seems to be undefined. Please make sure it is defined." >&5
34793 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
34794 which seems to be undefined. Please make sure it is defined." >&2;}
34798 -) cat "$tmp/out"; rm -f "$tmp/out";;
34799 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34808 # Transform confdefs.h into a sed script `conftest.defines', that
34809 # substitutes the proper values into config.h.in to produce config.h.
34810 rm -f conftest.defines conftest.
tail
34811 # First, append a space to every undef/define line, to ease matching.
34812 echo 's/$/ /' >conftest.defines
34813 # Then, protect against being on the right side of a sed subst, or in
34814 # an unquoted here document, in config.status. If some macros were
34815 # called several times there might be several #defines for the same
34816 # symbol, which is useless. But do not sort them, since the last
34817 # AC_DEFINE must be honored.
34818 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
34819 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34820 # NAME is the cpp macro being defined, VALUE is the value it is being given.
34821 # PARAMS is the parameter list in the macro definition--in most cases, it's
34822 # just an empty string.
34823 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34824 ac_dB
='\\)[ (].*,\\1define\\2'
34832 s/^[ ]*#[ ]*define[ ][ ]*//
34837 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34838 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34839 ' >>conftest.defines
34841 # Remove the space that was appended to ease matching.
34842 # Then replace #undef with comments. This is necessary, for
34843 # example, in the case of _POSIX_SOURCE, which is predefined and required
34844 # on some systems where configure will not decide to define it.
34845 # (The regexp can be short, since the line contains either #define or #undef.)
34847 s,^[ #]*u.*,/* & */,' >>conftest.defines
34849 # Break up conftest.defines:
34850 ac_max_sed_lines
=50
34852 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34853 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34854 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34856 ac_in
='$ac_file_inputs'
34857 ac_out
='"$tmp/out1"'
34858 ac_nxt
='"$tmp/out2"'
34862 # Write a here document:
34863 cat >>$CONFIG_STATUS <<_ACEOF
34864 # First, check the format of the line:
34865 cat >"\$tmp/defines.sed" <<\\CEOF
34866 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34867 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34871 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
34873 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34874 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
34875 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
34876 grep . conftest.
tail >/dev
/null ||
break
34877 rm -f conftest.defines
34878 mv conftest.
tail conftest.defines
34880 rm -f conftest.defines conftest.
tail
34882 echo "ac_result=$ac_in" >>$CONFIG_STATUS
34883 cat >>$CONFIG_STATUS <<\_ACEOF
34884 if test x
"$ac_file" != x-
; then
34885 echo "/* $configure_input */" >"$tmp/config.h"
34886 cat "$ac_result" >>"$tmp/config.h"
34887 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
34888 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34889 echo "$as_me: $ac_file is unchanged" >&6;}
34892 mv "$tmp/config.h" $ac_file
34895 echo "/* $configure_input */"
34901 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34902 echo "$as_me: executing $ac_file commands" >&6;}
34907 case $ac_file$ac_mode in
34908 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
34909 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
34910 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
34911 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
34912 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
34913 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
34914 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
34915 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
34916 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
34917 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
34918 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
34919 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
34920 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
34921 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
34922 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
34923 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
34924 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
34925 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
34926 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
34927 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
34933 { (exit 0); exit 0; }
34935 chmod +x
$CONFIG_STATUS
34936 ac_clean_files
=$ac_clean_files_save
34939 # configure is writing to config.log, and then calls config.status.
34940 # config.status does its own redirection, appending to config.log.
34941 # Unfortunately, on DOS this fails, as config.log is still kept open
34942 # by configure, so config.status won't be able to write to it; its
34943 # output is simply discarded. So we exec the FD to /dev/null,
34944 # effectively closing config.log, so it can be properly (re)opened and
34945 # appended to by config.status. When coming back to configure, we
34946 # need to make the FD available again.
34947 if test "$no_create" != yes; then
34949 ac_config_status_args
=
34950 test "$silent" = yes &&
34951 ac_config_status_args
="$ac_config_status_args --quiet"
34953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34956 # would make configure fail if this is the last instruction.
34957 $ac_cs_success ||
{ (exit 1); exit 1; }
34961 # CONFIG_SUBDIRS section.
34963 if test "$no_recursion" != yes; then
34965 # Remove --cache-file and --srcdir arguments so they do not pile up.
34966 ac_sub_configure_args
=
34968 eval "set x $ac_configure_args"
34972 if test -n "$ac_prev"; then
34977 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
34978 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
34979 ac_prev
=cache_file
;;
34980 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
34981 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
34984 --config-cache |
-C)
34986 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
34988 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
34990 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
34992 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
34996 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
34998 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35002 # Always prepend --prefix to ensure using the same prefix
35003 # in subdir configurations.
35004 ac_arg
="--prefix=$prefix"
35006 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35008 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35011 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35013 # Do not complain, so a configure script can configure whichever
35014 # parts of a large source tree are present.
35015 test -d "$srcdir/$ac_dir" ||
continue
35017 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35018 echo "$as_me:$LINENO: $ac_msg" >&5
35022 -*) as_dir
=.
/$as_dir;;
35024 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35028 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35029 *) as_qdir
=$as_dir;;
35031 as_dirs
="'$as_qdir' $as_dirs"
35032 as_dir
=`$as_dirname -- "$as_dir" ||
35033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35034 X"$as_dir" : 'X\(//\)[^/]' \| \
35035 X"$as_dir" : 'X\(//\)$' \| \
35036 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35042 /^X\(\/\/\)[^/].*/{
35055 test -d "$as_dir" && break
35057 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35058 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35059 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35060 { (exit 1); exit 1; }; }; }
35064 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35066 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35067 # A ".." for each directory in $ac_dir_suffix.
35068 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35069 case $ac_top_builddir_sub in
35070 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35071 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35074 ac_abs_top_builddir
=$ac_pwd
35075 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35076 # for backward compatibility:
35077 ac_top_builddir
=$ac_top_build_prefix
35080 .
) # We are building in place.
35082 ac_top_srcdir
=$ac_top_builddir_sub
35083 ac_abs_top_srcdir
=$ac_pwd ;;
35084 [\\/]* | ?
:[\\/]* ) # Absolute name.
35085 ac_srcdir
=$srcdir$ac_dir_suffix;
35086 ac_top_srcdir
=$srcdir
35087 ac_abs_top_srcdir
=$srcdir ;;
35088 *) # Relative name.
35089 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35090 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35091 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35093 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35098 # Check for guested configure; otherwise get Cygnus style configure.
35099 if test -f "$ac_srcdir/configure.gnu"; then
35100 ac_sub_configure
=$ac_srcdir/configure.gnu
35101 elif test -f "$ac_srcdir/configure"; then
35102 ac_sub_configure
=$ac_srcdir/configure
35103 elif test -f "$ac_srcdir/configure.in"; then
35104 # This should be Cygnus configure.
35105 ac_sub_configure
=$ac_aux_dir/configure
35107 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35108 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35112 # The recursion is here.
35113 if test -n "$ac_sub_configure"; then
35114 # Make the cache file name correct relative to the subdirectory.
35115 case $cache_file in
35116 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35117 *) # Relative name.
35118 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35121 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35122 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35123 # The eval makes quoting arguments work.
35124 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35125 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35126 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35127 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35128 { (exit 1); exit 1; }; }