2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.1svn.
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.1svn'
719 PACKAGE_STRING
='llvm 2.1svn'
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
954 projects/llvm-kernel'
956 # Initialize some variables set by options.
958 ac_init_version
=false
959 # The variables have the same names as the options, with
960 # dashes changed to underlines.
968 program_transform_name
=s
,x
,x
,
976 # Installation directory options.
977 # These are left unexpanded so users can "make install exec_prefix=/foo"
978 # and all the variables that are supposed to be based on exec_prefix
979 # by default will actually change.
980 # Use braces instead of parens because sh, perl, etc. also accept them.
981 # (The list follows the same order as the GNU Coding Standards.)
982 bindir
='${exec_prefix}/bin'
983 sbindir
='${exec_prefix}/sbin'
984 libexecdir
='${exec_prefix}/libexec'
985 datarootdir
='${prefix}/share'
986 datadir
='${datarootdir}'
987 sysconfdir
='${prefix}/etc'
988 sharedstatedir
='${prefix}/com'
989 localstatedir
='${prefix}/var'
990 includedir
='${prefix}/include'
991 oldincludedir
='/usr/include'
992 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
993 infodir
='${datarootdir}/info'
998 libdir
='${exec_prefix}/lib'
999 localedir
='${datarootdir}/locale'
1000 mandir
='${datarootdir}/man'
1006 # If the previous option needs an argument, assign it.
1007 if test -n "$ac_prev"; then
1008 eval $ac_prev=\
$ac_option
1014 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1018 # Accept the important Cygnus configure options, so we can diagnose typos.
1020 case $ac_dashdash$ac_option in
1024 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1026 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1027 bindir
=$ac_optarg ;;
1029 -build |
--build |
--buil |
--bui |
--bu)
1030 ac_prev
=build_alias
;;
1031 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1032 build_alias
=$ac_optarg ;;
1034 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1035 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1036 ac_prev
=cache_file
;;
1037 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1038 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1039 cache_file
=$ac_optarg ;;
1041 --config-cache |
-C)
1042 cache_file
=config.cache
;;
1044 -datadir |
--datadir |
--datadi |
--datad)
1046 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1047 datadir
=$ac_optarg ;;
1049 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1050 |
--dataroo |
--dataro |
--datar)
1051 ac_prev
=datarootdir
;;
1052 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1053 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1054 datarootdir
=$ac_optarg ;;
1056 -disable-* |
--disable-*)
1057 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1060 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1063 eval enable_
$ac_feature=no
;;
1065 -docdir |
--docdir |
--docdi |
--doc |
--do)
1067 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1068 docdir
=$ac_optarg ;;
1070 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1072 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1073 dvidir
=$ac_optarg ;;
1075 -enable-* |
--enable-*)
1076 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1079 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1080 { (exit 1); exit 1; }; }
1081 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1082 eval enable_
$ac_feature=\
$ac_optarg ;;
1084 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1085 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1086 |
--exec |
--exe |
--ex)
1087 ac_prev
=exec_prefix
;;
1088 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1089 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1090 |
--exec=* |
--exe=* |
--ex=*)
1091 exec_prefix
=$ac_optarg ;;
1093 -gas |
--gas |
--ga |
--g)
1094 # Obsolete; use --with-gas.
1097 -help |
--help |
--hel |
--he |
-h)
1098 ac_init_help
=long
;;
1099 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1100 ac_init_help
=recursive
;;
1101 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1102 ac_init_help
=short
;;
1104 -host |
--host |
--hos |
--ho)
1105 ac_prev
=host_alias
;;
1106 -host=* |
--host=* |
--hos=* |
--ho=*)
1107 host_alias
=$ac_optarg ;;
1109 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1111 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1113 htmldir
=$ac_optarg ;;
1115 -includedir |
--includedir |
--includedi |
--included |
--include \
1116 |
--includ |
--inclu |
--incl |
--inc)
1117 ac_prev
=includedir
;;
1118 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1119 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1120 includedir
=$ac_optarg ;;
1122 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1124 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1125 infodir
=$ac_optarg ;;
1127 -libdir |
--libdir |
--libdi |
--libd)
1129 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1130 libdir
=$ac_optarg ;;
1132 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1133 |
--libexe |
--libex |
--libe)
1134 ac_prev
=libexecdir
;;
1135 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1136 |
--libexe=* |
--libex=* |
--libe=*)
1137 libexecdir
=$ac_optarg ;;
1139 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1140 ac_prev
=localedir
;;
1141 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1142 localedir
=$ac_optarg ;;
1144 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1145 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1146 ac_prev
=localstatedir
;;
1147 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1148 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1149 localstatedir
=$ac_optarg ;;
1151 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1153 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1154 mandir
=$ac_optarg ;;
1156 -nfp |
--nfp |
--nf)
1157 # Obsolete; use --without-fp.
1160 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1161 |
--no-cr |
--no-c |
-n)
1164 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1165 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1168 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1169 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1170 |
--oldin |
--oldi |
--old |
--ol |
--o)
1171 ac_prev
=oldincludedir
;;
1172 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1173 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1174 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1175 oldincludedir
=$ac_optarg ;;
1177 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1179 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1180 prefix
=$ac_optarg ;;
1182 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1183 |
--program-pre |
--program-pr |
--program-p)
1184 ac_prev
=program_prefix
;;
1185 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1186 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1187 program_prefix
=$ac_optarg ;;
1189 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1190 |
--program-suf |
--program-su |
--program-s)
1191 ac_prev
=program_suffix
;;
1192 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1193 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1194 program_suffix
=$ac_optarg ;;
1196 -program-transform-name |
--program-transform-name \
1197 |
--program-transform-nam |
--program-transform-na \
1198 |
--program-transform-n |
--program-transform- \
1199 |
--program-transform |
--program-transfor \
1200 |
--program-transfo |
--program-transf \
1201 |
--program-trans |
--program-tran \
1202 |
--progr-tra |
--program-tr |
--program-t)
1203 ac_prev
=program_transform_name
;;
1204 -program-transform-name=* |
--program-transform-name=* \
1205 |
--program-transform-nam=* |
--program-transform-na=* \
1206 |
--program-transform-n=* |
--program-transform-=* \
1207 |
--program-transform=* |
--program-transfor=* \
1208 |
--program-transfo=* |
--program-transf=* \
1209 |
--program-trans=* |
--program-tran=* \
1210 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1211 program_transform_name
=$ac_optarg ;;
1213 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1215 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1216 pdfdir
=$ac_optarg ;;
1218 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1220 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1223 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1224 |
-silent |
--silent |
--silen |
--sile |
--sil)
1227 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1229 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1231 sbindir
=$ac_optarg ;;
1233 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1234 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1235 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1237 ac_prev
=sharedstatedir
;;
1238 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1239 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1240 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1242 sharedstatedir
=$ac_optarg ;;
1244 -site |
--site |
--sit)
1246 -site=* |
--site=* |
--sit=*)
1249 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1251 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1252 srcdir
=$ac_optarg ;;
1254 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1255 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1256 ac_prev
=sysconfdir
;;
1257 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1258 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1259 sysconfdir
=$ac_optarg ;;
1261 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1262 ac_prev
=target_alias
;;
1263 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1264 target_alias
=$ac_optarg ;;
1266 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1269 -version |
--version |
--versio |
--versi |
--vers |
-V)
1270 ac_init_version
=: ;;
1273 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1276 { echo "$as_me: error: invalid package name: $ac_package" >&2
1277 { (exit 1); exit 1; }; }
1278 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1279 eval with_
$ac_package=\
$ac_optarg ;;
1281 -without-* |
--without-*)
1282 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1285 { echo "$as_me: error: invalid package name: $ac_package" >&2
1286 { (exit 1); exit 1; }; }
1287 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1288 eval with_
$ac_package=no
;;
1291 # Obsolete; use --with-x.
1294 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1295 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1296 ac_prev
=x_includes
;;
1297 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1298 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1299 x_includes
=$ac_optarg ;;
1301 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1302 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1303 ac_prev
=x_libraries
;;
1304 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1305 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1306 x_libraries
=$ac_optarg ;;
1308 -*) { echo "$as_me: error: unrecognized option: $ac_option
1309 Try \`$0 --help' for more information." >&2
1310 { (exit 1); exit 1; }; }
1314 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1317 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1318 { (exit 1); exit 1; }; }
1319 eval $ac_envvar=\
$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1326 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1333 if test -n "$ac_prev"; then
1334 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1335 { echo "$as_me: error: missing argument to $ac_option" >&2
1336 { (exit 1); exit 1; }; }
1339 # Be sure to have absolute directory names.
1340 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1341 datadir sysconfdir sharedstatedir localstatedir includedir \
1342 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1343 libdir localedir mandir
1345 eval ac_val
=\$
$ac_var
1347 [\\/$
]* | ?
:[\\/]* ) continue;;
1348 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1350 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1351 { (exit 1); exit 1; }; }
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1359 target
=$target_alias
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x
; then
1363 if test "x$build_alias" = x
; then
1364 cross_compiling
=maybe
1365 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1366 If a cross compiler is detected then cross compile mode will be used." >&2
1367 elif test "x$build_alias" != "x$host_alias"; then
1373 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1375 test "$silent" = yes && exec 6>/dev
/null
1378 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di
=`ls -di .` &&
1380 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1381 { echo "$as_me: error: Working directory cannot be determined" >&2
1382 { (exit 1); exit 1; }; }
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 { echo "$as_me: error: pwd does not report name of working directory" >&2
1385 { (exit 1); exit 1; }; }
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted
=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir
=`$as_dirname -- "$0" ||
1393 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$0" : 'X\(//\)[^/]' \| \
1395 X"$0" : 'X\(//\)$' \| \
1396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1420 ac_srcdir_defaulted
=no
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1424 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1425 { (exit 1); exit 1; }; }
1427 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1430 { (exit 1); exit 1; }; }
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1440 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 for ac_var
in $ac_precious_vars; do
1443 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1445 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1456 \`configure' configures llvm 2.1svn to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1514 --build=BUILD configure
for building on BUILD
[guessed
]
1515 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1516 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1520 if test -n "$ac_init_help"; then
1521 case $ac_init_help in
1522 short | recursive
) echo "Configuration of llvm 2.1svn:";;
1527 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1528 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1531 --enable-expensive-checks
1533 --enable-debug-runtime
1534 --enable-jit Enable Just In Time Compiling
(default is YES
)
1535 --enable-doxygen Build doxygen documentation
(default is NO
)
1536 --enable-threads Use threads
if available
(default is YES
)
1537 --enable-pic Build LLVM with Position Independent Code
(default
1539 --enable-targets Build specific
host targets
:
1540 all
,host-only
,{target-name
} (default
=all
)
1541 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1543 --enable-ltdl-install install libltdl
1544 --enable-shared[=PKGS
] build shared libraries
1545 [default
=enable_shared_default
]
1546 --enable-static[=PKGS
] build static libraries
1547 [default
=enable_static_default
]
1548 --enable-fast-install[=PKGS
]
1549 optimize
for fast installation
1550 [default
=enable_Fast_install_default
]
1551 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1554 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1555 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1556 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1558 --with-extra-options Specify addtional options to compile LLVM with
1559 --with-tclinclude directory where tcl headers are
1560 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1561 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1563 --with-tags[=TAGS
] include additional configurations
[automatic
]
1564 --with-udis86=<path
> Use udis86 external x86 disassembler library
1566 Some influential environment variables
:
1567 CC C compiler
command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1570 nonstandard directory
<lib dir
>
1571 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1572 you have headers
in a nonstandard directory
<include dir
>
1574 CXX C
++ compiler
command
1575 CXXFLAGS C
++ compiler flags
1576 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1577 the first program found out of: `bison
-y', `byacc', `yacc'.
1578 YFLAGS The list of arguments that will be passed by default to $YACC.
1579 This script will default YFLAGS to the empty string to avoid a
1580 default value of `-d' given by some make applications.
1581 CXXCPP C++ preprocessor
1582 F77 Fortran 77 compiler command
1583 FFLAGS Fortran 77 compiler flags
1585 Use these variables to override the choices made by `configure' or to
help
1586 it to
find libraries and programs with nonstandard names
/locations.
1588 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1593 if test "$ac_init_help" = "recursive"; then
1594 # If there are subdirs, report their specific --help.
1595 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1596 test -d "$ac_dir" ||
continue
1600 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1602 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1603 # A ".." for each directory in $ac_dir_suffix.
1604 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1605 case $ac_top_builddir_sub in
1606 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1607 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1610 ac_abs_top_builddir
=$ac_pwd
1611 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1612 # for backward compatibility:
1613 ac_top_builddir
=$ac_top_build_prefix
1616 .
) # We are building in place.
1618 ac_top_srcdir
=$ac_top_builddir_sub
1619 ac_abs_top_srcdir
=$ac_pwd ;;
1620 [\\/]* | ?
:[\\/]* ) # Absolute name.
1621 ac_srcdir
=$srcdir$ac_dir_suffix;
1622 ac_top_srcdir
=$srcdir
1623 ac_abs_top_srcdir
=$srcdir ;;
1625 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1626 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1627 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1629 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1631 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1632 # Check for guested configure.
1633 if test -f "$ac_srcdir/configure.gnu"; then
1635 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1636 elif test -f "$ac_srcdir/configure"; then
1638 $SHELL "$ac_srcdir/configure" --help=recursive
1640 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1646 test -n "$ac_init_help" && exit $ac_status
1647 if $ac_init_version; then
1649 llvm configure
2.1svn
1650 generated by GNU Autoconf
2.60
1652 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1653 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1654 This configure
script is free software
; the Free Software Foundation
1655 gives unlimited permission to copy
, distribute and modify it.
1657 Copyright
(c
) 2003-2007 University of Illinois
at Urbana-Champaign.
1661 cat >config.log
<<_ACEOF
1662 This file contains any messages produced by compilers while
1663 running configure, to aid debugging if configure makes a mistake.
1665 It was created by llvm $as_me 2.1svn, which was
1666 generated by GNU Autoconf 2.60. Invocation command line was
1678 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1679 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1680 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1681 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1682 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1684 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1685 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1687 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1688 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1689 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1690 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1691 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1692 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1693 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir
=.
1702 echo "PATH: $as_dir"
1718 # Keep a trace of the command line.
1719 # Strip out --no-create and --no-recursion so they do not pile up.
1720 # Strip out --silent because we don't want to record it for future runs.
1721 # Also quote any args containing shell meta-characters.
1722 # Make two passes to allow for proper duplicate-argument suppression.
1726 ac_must_keep_next
=false
1732 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1733 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1734 |
-silent |
--silent |
--silen |
--sile |
--sil)
1737 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1740 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1742 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1743 if test $ac_must_keep_next = true
; then
1744 ac_must_keep_next
=false
# Got value, back to normal.
1747 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1748 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1749 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1750 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1751 case "$ac_configure_args0 " in
1752 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1755 -* ) ac_must_keep_next
=true
;;
1758 ac_configure_args
="$ac_configure_args '$ac_arg'"
1763 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1764 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1766 # When interrupted or exit'd, cleanup temporary files, and complete
1767 # config.log. We remove comments because anyway the quotes in there
1768 # would cause problems or look ugly.
1769 # WARNING: Use '\'' to represent an apostrophe within the trap.
1770 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1771 trap 'exit_status=$?
1772 # Save into config.log some information that might help in debugging.
1777 ## ---------------- ##
1778 ## Cache variables. ##
1779 ## ---------------- ##
1782 # The following way of writing the cache mishandles newlines in values,
1784 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1785 eval ac_val=\$$ac_var
1789 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1790 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1793 _ | IFS | as_nl) ;; #(
1794 *) $as_unset $ac_var ;;
1799 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1800 *${as_nl}ac_space=\ *)
1802 "s/'\''/'\''\\\\'\'''\''/g;
1803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1814 ## ----------------- ##
1815 ## Output variables. ##
1816 ## ----------------- ##
1819 for ac_var in $ac_subst_vars
1821 eval ac_val=\$$ac_var
1823 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 echo "$ac_var='\''$ac_val'\''"
1829 if test -n "$ac_subst_files"; then
1831 ## ------------------- ##
1832 ## File substitutions. ##
1833 ## ------------------- ##
1836 for ac_var
in $ac_subst_files
1838 eval ac_val
=\$
$ac_var
1840 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 echo "$ac_var='\''$ac_val'\''"
1847 if test -s confdefs.h; then
1857 test "$ac_signal" != 0 &&
1858 echo "$as_me: caught signal $ac_signal"
1859 echo "$as_me: exit $exit_status"
1861 rm -f core *.core core.conftest.* &&
1862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865 for ac_signal
in 1 2 13 15; do
1866 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest
* confdefs.h
1873 # Predefined preprocessor variables.
1875 cat >>confdefs.h
<<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1880 cat >>confdefs.h
<<_ACEOF
1881 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1885 cat >>confdefs.h
<<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1890 cat >>confdefs.h
<<_ACEOF
1891 #define PACKAGE_STRING "$PACKAGE_STRING"
1895 cat >>confdefs.h
<<_ACEOF
1896 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer explicitly selected file to automatically selected ones.
1902 if test -n "$CONFIG_SITE"; then
1903 set x
"$CONFIG_SITE"
1904 elif test "x$prefix" != xNONE
; then
1905 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1907 set x
"$ac_default_prefix/share/config.site" \
1908 "$ac_default_prefix/etc/config.site"
1913 if test -r "$ac_site_file"; then
1914 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1915 echo "$as_me: loading site script $ac_site_file" >&6;}
1916 sed 's/^/| /' "$ac_site_file" >&5
1921 if test -r "$cache_file"; then
1922 # Some versions of bash will fail to source /dev/null (special
1923 # files actually), so we avoid doing that.
1924 if test -f "$cache_file"; then
1925 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1926 echo "$as_me: loading cache $cache_file" >&6;}
1928 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1929 *) .
"./$cache_file";;
1933 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1934 echo "$as_me: creating cache $cache_file" >&6;}
1938 # Check that the precious variables saved in the cache have kept the same
1940 ac_cache_corrupted
=false
1941 for ac_var
in $ac_precious_vars; do
1942 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1943 eval ac_new_set
=\
$ac_env_${ac_var}_set
1944 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1945 eval ac_new_val
=\
$ac_env_${ac_var}_value
1946 case $ac_old_set,$ac_new_set in
1948 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1949 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1950 ac_cache_corrupted
=: ;;
1952 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1953 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1954 ac_cache_corrupted
=: ;;
1957 if test "x$ac_old_val" != "x$ac_new_val"; then
1958 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1959 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1960 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1961 echo "$as_me: former value: $ac_old_val" >&2;}
1962 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1963 echo "$as_me: current value: $ac_new_val" >&2;}
1964 ac_cache_corrupted
=:
1967 # Pass precious variables to config.status.
1968 if test "$ac_new_set" = set; then
1970 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1971 *) ac_arg
=$ac_var=$ac_new_val ;;
1973 case " $ac_configure_args " in
1974 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1975 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1979 if $ac_cache_corrupted; then
1980 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1981 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1982 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1983 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1984 { (exit 1); exit 1; }; }
2012 ac_cpp
='$CPP $CPPFLAGS'
2013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2019 LLVM_COPYRIGHT
="Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign."
2028 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2029 if test -f "$ac_dir/install-sh"; then
2031 ac_install_sh
="$ac_aux_dir/install-sh -c"
2033 elif test -f "$ac_dir/install.sh"; then
2035 ac_install_sh
="$ac_aux_dir/install.sh -c"
2037 elif test -f "$ac_dir/shtool"; then
2039 ac_install_sh
="$ac_aux_dir/shtool install -c"
2043 if test -z "$ac_aux_dir"; then
2044 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2045 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2046 { (exit 1); exit 1; }; }
2049 # These three variables are undocumented and unsupported,
2050 # and are intended to be withdrawn in a future Autoconf release.
2051 # They can cause serious problems if a builder's source tree is in a directory
2052 # whose full name contains unusual characters.
2053 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2054 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2055 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2059 if test ${srcdir} != "." ; then
2060 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
2061 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2062 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2063 { (exit 1); exit 1; }; }
2067 for i
in `ls ${srcdir}/projects`
2069 if test -d ${srcdir}/projects
/${i} ; then
2072 sample
) subdirs
="$subdirs projects/sample"
2074 privbracket
) subdirs
="$subdirs projects/privbracket"
2076 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2078 llvm-test
) subdirs
="$subdirs projects/llvm-test"
2080 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2082 llvm-gcc
) subdirs
="$subdirs projects/llvm-gcc"
2084 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2086 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2088 llvm-poolalloc
) subdirs
="$subdirs projects/llvm-poolalloc"
2090 poolalloc
) subdirs
="$subdirs projects/poolalloc"
2092 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2095 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2096 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2103 # Make sure we can run config.sub.
2104 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2105 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2106 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2107 { (exit 1); exit 1; }; }
2109 { echo "$as_me:$LINENO: checking build system type" >&5
2110 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2111 if test "${ac_cv_build+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 ac_build_alias
=$build_alias
2115 test "x$ac_build_alias" = x
&&
2116 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2117 test "x$ac_build_alias" = x
&&
2118 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2119 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2120 { (exit 1); exit 1; }; }
2121 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2122 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2123 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2124 { (exit 1); exit 1; }; }
2127 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2128 echo "${ECHO_T}$ac_cv_build" >&6; }
2129 case $ac_cv_build in
2131 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2132 echo "$as_me: error: invalid value of canonical build" >&2;}
2133 { (exit 1); exit 1; }; };;
2136 ac_save_IFS
=$IFS; IFS
='-'
2142 # Remember, the first character of IFS is used to create $*,
2143 # except with old shells:
2146 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2149 { echo "$as_me:$LINENO: checking host system type" >&5
2150 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2151 if test "${ac_cv_host+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 if test "x$host_alias" = x
; then
2155 ac_cv_host
=$ac_cv_build
2157 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2158 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2159 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2160 { (exit 1); exit 1; }; }
2164 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2165 echo "${ECHO_T}$ac_cv_host" >&6; }
2168 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2169 echo "$as_me: error: invalid value of canonical host" >&2;}
2170 { (exit 1); exit 1; }; };;
2173 ac_save_IFS
=$IFS; IFS
='-'
2179 # Remember, the first character of IFS is used to create $*,
2180 # except with old shells:
2183 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2186 { echo "$as_me:$LINENO: checking target system type" >&5
2187 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2188 if test "${ac_cv_target+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test "x$target_alias" = x
; then
2192 ac_cv_target
=$ac_cv_host
2194 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2195 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2196 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2197 { (exit 1); exit 1; }; }
2201 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2202 echo "${ECHO_T}$ac_cv_target" >&6; }
2203 case $ac_cv_target in
2205 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2206 echo "$as_me: error: invalid value of canonical target" >&2;}
2207 { (exit 1); exit 1; }; };;
2209 target
=$ac_cv_target
2210 ac_save_IFS
=$IFS; IFS
='-'
2216 # Remember, the first character of IFS is used to create $*,
2217 # except with old shells:
2220 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2223 # The aliases save the names the user supplied, while $host etc.
2224 # will get canonicalized.
2225 test -n "$target_alias" &&
2226 test "$program_prefix$program_suffix$program_transform_name" = \
2228 program_prefix
=${target_alias}-
2230 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2231 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2232 if test "${llvm_cv_os_type+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 llvm_cv_link_all_option
="-Wl,--whole-archive"
2238 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2239 llvm_cv_os_type
="AIX"
2240 llvm_cv_platform_type
="Unix" ;;
2242 llvm_cv_link_all_option
="-Wl,--whole-archive"
2243 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2244 llvm_cv_os_type
="IRIX"
2245 llvm_cv_platform_type
="Unix" ;;
2247 llvm_cv_link_all_option
="-Wl,--whole-archive"
2248 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2249 llvm_cv_os_type
="Cygwin"
2250 llvm_cv_platform_type
="Unix" ;;
2252 llvm_cv_link_all_option
="-Wl,-all_load"
2253 llvm_cv_link_all_option
="-Wl,-noall_load"
2254 llvm_cv_os_type
="Darwin"
2255 llvm_cv_platform_type
="Unix" ;;
2257 llvm_cv_link_all_option
="-Wl,--whole-archive"
2258 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2259 llvm_cv_os_type
="FreeBSD"
2260 llvm_cv_platform_type
="Unix" ;;
2262 llvm_cv_link_all_option
="-Wl,--whole-archive"
2263 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2264 llvm_cv_os_type
="OpenBSD"
2265 llvm_cv_platform_type
="Unix" ;;
2267 llvm_cv_link_all_option
="-Wl,--whole-archive"
2268 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2269 llvm_cv_os_type
="NetBSD"
2270 llvm_cv_platform_type
="Unix" ;;
2272 llvm_cv_link_all_option
="-Wl,--whole-archive"
2273 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2274 llvm_cv_os_type
="HP-UX"
2275 llvm_cv_platform_type
="Unix" ;;
2277 llvm_cv_link_all_option
="-Wl,--whole-archive"
2278 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2279 llvm_cv_os_type
="Interix"
2280 llvm_cv_platform_type
="Unix" ;;
2282 llvm_cv_link_all_option
="-Wl,--whole-archive"
2283 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2284 llvm_cv_os_type
="Linux"
2285 llvm_cv_platform_type
="Unix" ;;
2287 llvm_cv_link_all_option
="-Wl,-z,allextract"
2288 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2289 llvm_cv_os_type
="SunOS"
2290 llvm_cv_platform_type
="Unix" ;;
2292 llvm_cv_link_all_option
="-Wl,--whole-archive"
2293 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2294 llvm_cv_os_type
="Win32"
2295 llvm_cv_platform_type
="Win32" ;;
2297 llvm_cv_link_all_option
="-Wl,--whole-archive"
2298 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2299 llvm_cv_os_type
="MingW"
2300 llvm_cv_platform_type
="Win32" ;;
2302 llvm_cv_link_all_option
=""
2303 llvm_cv_no_link_all_option
=""
2304 llvm_cv_os_type
="Unknown"
2305 llvm_cv_platform_type
="Unknown" ;;
2308 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2309 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2311 if test "$llvm_cv_os_type" = "Unknown" ; then
2312 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2313 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2314 { (exit 1); exit 1; }; }
2320 LINKALL
=$llvm_cv_link_all_option
2322 NOLINKALL
=$llvm_cv_no_link_all_option
2325 case $llvm_cv_platform_type in
2328 cat >>confdefs.h
<<\_ACEOF
2329 #define LLVM_ON_UNIX 1
2339 cat >>confdefs.h
<<\_ACEOF
2340 #define LLVM_ON_WIN32 1
2350 { echo "$as_me:$LINENO: checking target architecture" >&5
2351 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2352 if test "${llvm_cv_target_arch+set}" = set; then
2353 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 i?
86-*) llvm_cv_target_arch
="x86" ;;
2357 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2358 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2359 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2360 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2361 ia64-
*) llvm_cv_target_arch
="IA64" ;;
2362 arm-
*) llvm_cv_target_arch
="ARM" ;;
2363 *) llvm_cv_target_arch
="Unknown" ;;
2366 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2367 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2369 if test "$llvm_cv_target_arch" = "Unknown" ; then
2370 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2371 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2374 ARCH
=$llvm_cv_target_arch
2378 ac_cpp
='$CPP $CPPFLAGS'
2379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2382 if test -n "$ac_tool_prefix"; then
2383 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2384 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2387 if test "${ac_cv_prog_CC+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$CC"; then
2391 ac_cv_prog_CC
="$CC" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2400 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 if test -n "$CC"; then
2412 { echo "$as_me:$LINENO: result: $CC" >&5
2413 echo "${ECHO_T}$CC" >&6; }
2415 { echo "$as_me:$LINENO: result: no" >&5
2416 echo "${ECHO_T}no" >&6; }
2421 if test -z "$ac_cv_prog_CC"; then
2423 # Extract the first word of "gcc", so it can be a program name with args.
2424 set dummy gcc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$ac_ct_CC"; then
2431 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_ac_ct_CC
="gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2451 if test -n "$ac_ct_CC"; then
2452 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2453 echo "${ECHO_T}$ac_ct_CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2459 if test "x$ac_ct_CC" = x
; then
2462 case $cross_compiling:$ac_tool_warned in
2464 { echo "$as_me:$LINENO: 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." >&5
2467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2468 whose name does not start with the host triplet. If you think this
2469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2470 ac_tool_warned
=yes ;;
2478 if test -z "$CC"; then
2479 if test -n "$ac_tool_prefix"; then
2480 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2481 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2484 if test "${ac_cv_prog_CC+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test -n "$CC"; then
2488 ac_cv_prog_CC
="$CC" # Let the user override the test.
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test -n "$CC"; then
2509 { echo "$as_me:$LINENO: result: $CC" >&5
2510 echo "${ECHO_T}$CC" >&6; }
2512 { echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6; }
2519 if test -z "$CC"; then
2520 # Extract the first word of "cc", so it can be a program name with args.
2521 set dummy cc
; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC
="$CC" # Let the user override the test.
2531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir
=.
2536 for ac_exec_ext
in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2539 ac_prog_rejected
=yes
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test $ac_prog_rejected = yes; then
2551 # We found a bogon in the path, so make sure we never use it.
2552 set dummy
$ac_cv_prog_CC
2554 if test $# != 0; then
2555 # We chose a different compiler from the bogus one.
2556 # However, it has the same basename, so the bogon will be chosen
2557 # first if we set CC to just the basename; use the full file name.
2559 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2565 if test -n "$CC"; then
2566 { echo "$as_me:$LINENO: result: $CC" >&5
2567 echo "${ECHO_T}$CC" >&6; }
2569 { echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6; }
2575 if test -z "$CC"; then
2576 if test -n "$ac_tool_prefix"; then
2577 for ac_prog
in cl.exe
2579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2580 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2583 if test "${ac_cv_prog_CC+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 if test -n "$CC"; then
2587 ac_cv_prog_CC
="$CC" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 if test -n "$CC"; then
2608 { echo "$as_me:$LINENO: result: $CC" >&5
2609 echo "${ECHO_T}$CC" >&6; }
2611 { echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6; }
2616 test -n "$CC" && break
2619 if test -z "$CC"; then
2621 for ac_prog
in cl.exe
2623 # Extract the first word of "$ac_prog", so it can be a program name with args.
2624 set dummy
$ac_prog; ac_word
=$2
2625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 if test -n "$ac_ct_CC"; then
2631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2640 ac_cv_prog_ac_ct_CC
="$ac_prog"
2641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2651 if test -n "$ac_ct_CC"; then
2652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2653 echo "${ECHO_T}$ac_ct_CC" >&6; }
2655 { echo "$as_me:$LINENO: result: no" >&5
2656 echo "${ECHO_T}no" >&6; }
2660 test -n "$ac_ct_CC" && break
2663 if test "x$ac_ct_CC" = x
; then
2666 case $cross_compiling:$ac_tool_warned in
2668 { echo "$as_me:$LINENO: 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." >&5
2671 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2672 whose name does not start with the host triplet. If you think this
2673 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2674 ac_tool_warned
=yes ;;
2683 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2684 See \`config.log' for more details." >&5
2685 echo "$as_me: error: no acceptable C compiler found in \$PATH
2686 See \`config.log' for more details." >&2;}
2687 { (exit 1); exit 1; }; }
2689 # Provide some information about the compiler.
2690 echo "$as_me:$LINENO: checking for C compiler version" >&5
2691 ac_compiler
=`set X $ac_compile; echo $2`
2692 { (ac_try
="$ac_compiler --version >&5"
2694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2698 (eval "$ac_compiler --version >&5") 2>&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }
2702 { (ac_try="$ac_compiler -v >&5"
2704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2705 *) ac_try_echo
=$ac_try;;
2707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2708 (eval "$ac_compiler -v >&5") 2>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }
2712 { (ac_try
="$ac_compiler -V >&5"
2714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compiler -V >&5") 2>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }
2723 cat >conftest.$ac_ext <<_ACEOF
2726 cat confdefs.h >>conftest.$ac_ext
2727 cat >>conftest.$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2738 ac_clean_files_save=$ac_clean_files
2739 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2740 # Try to create an executable without -o first, disregard a.out.
2741 # It will help us diagnose broken compilers, and finding out an intuition
2743 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2744 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2745 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2747 # List of possible output files, starting from the most likely.
2748 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2749 # only as a last resort. b.out is created by i960 compilers.
2750 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2752 # The IRIX 6 linker writes into existing files which may not be
2753 # executable, retaining their permissions. Remove them first so a
2754 # subsequent execution test works.
2756 for ac_file in $ac_files
2759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2765 if { (ac_try="$ac_link_default"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_link_default") 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; then
2775 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2776 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2777 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2778 # so that the user can short-circuit this test for compilers unknown to
2780 for ac_file
in $ac_files
2782 test -f "$ac_file" ||
continue
2784 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2787 # We found the default executable, but exeext='' is most
2791 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2793 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2795 # We set ac_cv_exeext here because the later test for it is not
2796 # safe: cross compilers may not add the suffix if given an `-o'
2797 # argument, so we may need to know it at that point already.
2798 # Even if this section looks crufty: it has the advantage of
2805 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2808 echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.
$ac_ext >&5
2811 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: C compiler cannot create executables
2814 See \`config.log' for more details." >&2;}
2815 { (exit 77); exit 77; }; }
2818 ac_exeext
=$ac_cv_exeext
2819 { echo "$as_me:$LINENO: result: $ac_file" >&5
2820 echo "${ECHO_T}$ac_file" >&6; }
2822 # Check that the compiler produces executables we can run. If not, either
2823 # the compiler is broken, or we cross compile.
2824 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2825 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2826 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2827 # If not cross compiling, check that we can run a simple program.
2828 if test "$cross_compiling" != yes; then
2829 if { ac_try
='./$ac_file'
2830 { (case "(($ac_try" in
2831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_try") 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2841 if test "$cross_compiling" = maybe; then
2844 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2845 If you meant to cross compile, use \`--host'.
2846 See \`config.log' for more details.
" >&5
2847 echo "$as_me: error
: cannot run C compiled programs.
2848 If you meant to cross compile
, use \
`--host'.
2849 See \`config.log
' for more details." >&2;}
2850 { (exit 1); exit 1; }; }
2854 { echo "$as_me:$LINENO: result: yes" >&5
2855 echo "${ECHO_T}yes" >&6; }
2857 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2858 ac_clean_files=$ac_clean_files_save
2859 # Check that the compiler produces executables we can run. If not, either
2860 # the compiler is broken, or we cross compile.
2861 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2862 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2863 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2864 echo "${ECHO_T}$cross_compiling" >&6; }
2866 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2867 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2868 if { (ac_try="$ac_link"
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 (eval "$ac_link") 2>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2879 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2880 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2882 for ac_file
in conftest.exe conftest conftest.
*; do
2883 test -f "$ac_file" ||
continue
2885 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2886 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2892 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2893 See \`config.log' for more details." >&5
2894 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2895 See \`config.log' for more details." >&2;}
2896 { (exit 1); exit 1; }; }
2899 rm -f conftest
$ac_cv_exeext
2900 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2901 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2903 rm -f conftest.
$ac_ext
2904 EXEEXT
=$ac_cv_exeext
2906 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2907 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2908 if test "${ac_cv_objext+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 cat >conftest.
$ac_ext <<_ACEOF
2914 cat confdefs.h
>>conftest.
$ac_ext
2915 cat >>conftest.
$ac_ext <<_ACEOF
2916 /* end confdefs.h. */
2926 rm -f conftest.o conftest.obj
2927 if { (ac_try
="$ac_compile"
2929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; then
2937 for ac_file in conftest.o conftest.obj conftest.*; do
2938 test -f "$ac_file" || continue;
2940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2941 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2950 See \`config.log
' for more details." >&5
2951 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2952 See \`config.log' for more details.
" >&2;}
2953 { (exit 1); exit 1; }; }
2956 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2958 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2959 echo "${ECHO_T}$ac_cv_objext" >&6; }
2960 OBJEXT=$ac_cv_objext
2962 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2963 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2964 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2965 echo $ECHO_N "(cached
) $ECHO_C" >&6
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2985 rm -f conftest.$ac_objext
2986 if { (ac_try="$ac_compile"
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2992 (eval "$ac_compile") 2>conftest.er1
2994 grep -v '^ *+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2998 (exit $ac_status); } &&
2999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3000 { (case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_try") 2>&5
3007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3008 (exit $ac_status); }; } &&
3009 { ac_try='test -s conftest.$ac_objext'
3010 { (case "(($ac_try" in
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_try") 2>&5
3017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3018 (exit $ac_status); }; }; then
3021 echo "$as_me: failed program was
:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3031 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3032 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3033 GCC=`test $ac_compiler_gnu = yes && echo yes`
3034 ac_test_CFLAGS=${CFLAGS+set}
3035 ac_save_CFLAGS=$CFLAGS
3036 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3037 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3038 if test "${ac_cv_prog_cc_g+set}" = set; then
3039 echo $ECHO_N "(cached
) $ECHO_C" >&6
3041 ac_save_c_werror_flag=$ac_c_werror_flag
3042 ac_c_werror_flag=yes
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3060 rm -f conftest.$ac_objext
3061 if { (ac_try="$ac_compile"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_compile") 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3073 (exit $ac_status); } &&
3074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3075 { (case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3080 (eval "$ac_try") 2>&5
3082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3083 (exit $ac_status); }; } &&
3084 { ac_try='test -s conftest.$ac_objext'
3085 { (case "(($ac_try" in
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3090 (eval "$ac_try") 2>&5
3092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3093 (exit $ac_status); }; }; then
3096 echo "$as_me: failed program was
:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3100 cat >conftest.$ac_ext <<_ACEOF
3103 cat confdefs.h >>conftest.$ac_ext
3104 cat >>conftest.$ac_ext <<_ACEOF
3105 /* end confdefs.h. */
3115 rm -f conftest.$ac_objext
3116 if { (ac_try="$ac_compile"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compile") 2>conftest.er1
3124 grep -v '^ *+' conftest.er1 >conftest.err
3126 cat conftest.err >&5
3127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3128 (exit $ac_status); } &&
3129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3130 { (case "(($ac_try" in
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3135 (eval "$ac_try") 2>&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); }; } &&
3139 { ac_try='test -s conftest.$ac_objext'
3140 { (case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_try") 2>&5
3147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3148 (exit $ac_status); }; }; then
3151 echo "$as_me: failed program was
:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 ac_c_werror_flag=$ac_save_c_werror_flag
3156 cat >conftest.$ac_ext <<_ACEOF
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3171 rm -f conftest.$ac_objext
3172 if { (ac_try="$ac_compile"
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3178 (eval "$ac_compile") 2>conftest.er1
3180 grep -v '^ *+' conftest.er1 >conftest.err
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3186 { (case "(($ac_try" in
3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3191 (eval "$ac_try") 2>&5
3193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3194 (exit $ac_status); }; } &&
3195 { ac_try='test -s conftest.$ac_objext'
3196 { (case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_try") 2>&5
3203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3204 (exit $ac_status); }; }; then
3207 echo "$as_me: failed program was
:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 ac_c_werror_flag=$ac_save_c_werror_flag
3222 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3224 if test "$ac_test_CFLAGS" = set; then
3225 CFLAGS=$ac_save_CFLAGS
3226 elif test $ac_cv_prog_cc_g = yes; then
3227 if test "$GCC" = yes; then
3233 if test "$GCC" = yes; then
3239 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3240 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3241 if test "${ac_cv_prog_cc_c89+set}" = set; then
3242 echo $ECHO_N "(cached
) $ECHO_C" >&6
3244 ac_cv_prog_cc_c89=no
3246 cat >conftest.$ac_ext <<_ACEOF
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3254 #include <sys/types.h>
3255 #include <sys/stat.h>
3256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3257 struct buf { int x; };
3258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3259 static char *e (p, i)
3265 static char *f (char * (*g) (char **, int), char **p, ...)
3270 s = g (p, va_arg (v,int));
3275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3276 function prototypes and stuff, but not '\xHH' hex character constants.
3277 These don't provoke an error unfortunately, instead are silently treated
3278 as 'x'. The following induces an error, until -std is added to get
3279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3280 array size at least. It's necessary to write '\x00'==0 to get something
3281 that's true only with -std. */
3282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3285 inside strings and character constants. */
3287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3289 int test (int i, double x);
3290 struct s1 {int (*f) (int a);};
3291 struct s2 {int (*f) (double a);};
3292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3306 CC="$ac_save_CC $ac_arg"
3307 rm -f conftest.$ac_objext
3308 if { (ac_try="$ac_compile"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compile") 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3322 { (case "(($ac_try" in
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_try") 2>&5
3329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3330 (exit $ac_status); }; } &&
3331 { ac_try='test -s conftest.$ac_objext'
3332 { (case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_try") 2>&5
3339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3340 (exit $ac_status); }; }; then
3341 ac_cv_prog_cc_c89=$ac_arg
3343 echo "$as_me: failed program was
:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3349 rm -f core conftest.err conftest.$ac_objext
3350 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3352 rm -f conftest.$ac_ext
3357 case "x
$ac_cv_prog_cc_c89" in
3359 { echo "$as_me:$LINENO: result
: none needed
" >&5
3360 echo "${ECHO_T}none needed
" >&6; } ;;
3362 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3363 echo "${ECHO_T}unsupported
" >&6; } ;;
3365 CC="$CC $ac_cv_prog_cc_c89"
3366 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3367 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3372 ac_cpp='$CPP $CPPFLAGS'
3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3384 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3385 # On Suns, sometimes $CPP names a directory.
3386 if test -n "$CPP" && test -d "$CPP"; then
3389 if test -z "$CPP"; then
3390 if test "${ac_cv_prog_CPP+set}" = set; then
3391 echo $ECHO_N "(cached
) $ECHO_C" >&6
3393 # Double quotes because CPP needs to be expanded
3394 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3397 for ac_c_preproc_warn_flag in '' yes
3399 # Use a header file that comes with gcc, so configuring glibc
3400 # with a fresh cross-compiler works.
3401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3402 # <limits.h> exists even on freestanding compilers.
3403 # On the NeXT, cc -E runs the code through the compiler's parser,
3404 # not just through cpp. "Syntax error
" is here to catch this case.
3405 cat >conftest.$ac_ext <<_ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3412 # include <limits.h>
3414 # include <assert.h>
3418 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3424 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3426 grep -v '^ *+' conftest.er1 >conftest.err
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3430 (exit $ac_status); } >/dev/null; then
3431 if test -s conftest.err; then
3432 ac_cpp_err=$ac_c_preproc_warn_flag
3433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3440 if test -z "$ac_cpp_err"; then
3443 echo "$as_me: failed program was
:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 # Broken: fails on valid input.
3450 rm -f conftest.err conftest.$ac_ext
3452 # OK, works on sane cases. Now check whether nonexistent headers
3453 # can be detected and how.
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3460 #include <ac_nonexistent.h>
3462 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3468 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3470 grep -v '^ *+' conftest.er1 >conftest.err
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3474 (exit $ac_status); } >/dev/null; then
3475 if test -s conftest.err; then
3476 ac_cpp_err=$ac_c_preproc_warn_flag
3477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3484 if test -z "$ac_cpp_err"; then
3485 # Broken: success on invalid input.
3488 echo "$as_me: failed program was
:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 # Passes both tests.
3496 rm -f conftest.err conftest.$ac_ext
3499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3500 rm -f conftest.err conftest.$ac_ext
3501 if $ac_preproc_ok; then
3513 { echo "$as_me:$LINENO: result
: $CPP" >&5
3514 echo "${ECHO_T}$CPP" >&6; }
3516 for ac_c_preproc_warn_flag in '' yes
3518 # Use a header file that comes with gcc, so configuring glibc
3519 # with a fresh cross-compiler works.
3520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3521 # <limits.h> exists even on freestanding compilers.
3522 # On the NeXT, cc -E runs the code through the compiler's parser,
3523 # not just through cpp. "Syntax error
" is here to catch this case.
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3531 # include <limits.h>
3533 # include <assert.h>
3537 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3543 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3545 grep -v '^ *+' conftest.er1 >conftest.err
3547 cat conftest.err >&5
3548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3549 (exit $ac_status); } >/dev/null; then
3550 if test -s conftest.err; then
3551 ac_cpp_err=$ac_c_preproc_warn_flag
3552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3559 if test -z "$ac_cpp_err"; then
3562 echo "$as_me: failed program was
:" >&5
3563 sed 's/^/| /' conftest.$ac_ext >&5
3565 # Broken: fails on valid input.
3569 rm -f conftest.err conftest.$ac_ext
3571 # OK, works on sane cases. Now check whether nonexistent headers
3572 # can be detected and how.
3573 cat >conftest.$ac_ext <<_ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3579 #include <ac_nonexistent.h>
3581 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3587 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3593 (exit $ac_status); } >/dev/null; then
3594 if test -s conftest.err; then
3595 ac_cpp_err=$ac_c_preproc_warn_flag
3596 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3603 if test -z "$ac_cpp_err"; then
3604 # Broken: success on invalid input.
3607 echo "$as_me: failed program was
:" >&5
3608 sed 's/^/| /' conftest.$ac_ext >&5
3610 # Passes both tests.
3615 rm -f conftest.err conftest.$ac_ext
3618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3619 rm -f conftest.err conftest.$ac_ext
3620 if $ac_preproc_ok; then
3623 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3624 See \
`config.log' for more details." >&5
3625 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3626 See \`config.log
' for more details." >&2;}
3627 { (exit 1); exit 1; }; }
3631 ac_cpp='$CPP $CPPFLAGS'
3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3633 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3638 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3639 if test "${ac_cv_path_GREP+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 # Extract the first word of "grep ggrep" to use in msg output
3643 if test -z "$GREP"; then
3644 set dummy grep ggrep; ac_prog_name=$2
3645 if test "${ac_cv_path_GREP+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 ac_path_GREP_found=false
3649 # Loop through the user's path and
test for each of PROGNAME-LIST
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_prog
in grep ggrep
; do
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3658 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3659 # Check for GNU ac_path_GREP and select it if it is found.
3660 # Check for GNU $ac_path_GREP
3661 case `"$ac_path_GREP" --version 2>&1` in
3663 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3666 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3669 cat "conftest.in" "conftest.in" >"conftest.tmp"
3670 mv "conftest.tmp" "conftest.in"
3671 cp "conftest.in" "conftest.nl"
3672 echo 'GREP' >> "conftest.nl"
3673 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3674 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3675 ac_count
=`expr $ac_count + 1`
3676 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3677 # Best one so far, save it but keep looking for a better one
3678 ac_cv_path_GREP
="$ac_path_GREP"
3679 ac_path_GREP_max
=$ac_count
3681 # 10*(2^10) chars as input seems more than enough
3682 test $ac_count -gt 10 && break
3684 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3688 $ac_path_GREP_found && break 3
3698 GREP
="$ac_cv_path_GREP"
3699 if test -z "$GREP"; then
3700 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3701 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3702 { (exit 1); exit 1; }; }
3706 ac_cv_path_GREP
=$GREP
3711 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3712 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3713 GREP
="$ac_cv_path_GREP"
3716 { echo "$as_me:$LINENO: checking for egrep" >&5
3717 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3718 if test "${ac_cv_path_EGREP+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3722 then ac_cv_path_EGREP
="$GREP -E"
3724 # Extract the first word of "egrep" to use in msg output
3725 if test -z "$EGREP"; then
3726 set dummy
egrep; ac_prog_name
=$2
3727 if test "${ac_cv_path_EGREP+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 ac_path_EGREP_found
=false
3731 # Loop through the user's path and test for each of PROGNAME-LIST
3732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3733 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3736 test -z "$as_dir" && as_dir
=.
3737 for ac_prog
in egrep; do
3738 for ac_exec_ext
in '' $ac_executable_extensions; do
3739 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3740 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3741 # Check for GNU ac_path_EGREP and select it if it is found.
3742 # Check for GNU $ac_path_EGREP
3743 case `"$ac_path_EGREP" --version 2>&1` in
3745 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3748 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3751 cat "conftest.in" "conftest.in" >"conftest.tmp"
3752 mv "conftest.tmp" "conftest.in"
3753 cp "conftest.in" "conftest.nl"
3754 echo 'EGREP' >> "conftest.nl"
3755 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3756 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3757 ac_count
=`expr $ac_count + 1`
3758 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3759 # Best one so far, save it but keep looking for a better one
3760 ac_cv_path_EGREP
="$ac_path_EGREP"
3761 ac_path_EGREP_max
=$ac_count
3763 # 10*(2^10) chars as input seems more than enough
3764 test $ac_count -gt 10 && break
3766 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3770 $ac_path_EGREP_found && break 3
3780 EGREP
="$ac_cv_path_EGREP"
3781 if test -z "$EGREP"; then
3782 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3783 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3784 { (exit 1); exit 1; }; }
3788 ac_cv_path_EGREP
=$EGREP
3794 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3795 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3796 EGREP
="$ac_cv_path_EGREP"
3799 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3800 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3801 if test "${ac_cv_header_stdc+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 cat >conftest.
$ac_ext <<_ACEOF
3807 cat confdefs.h
>>conftest.
$ac_ext
3808 cat >>conftest.
$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3823 rm -f conftest.
$ac_objext
3824 if { (ac_try
="$ac_compile"
3826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;;
3829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3830 (eval "$ac_compile") 2>conftest.er1
3832 grep -v '^ *+' conftest.er1 >conftest.err
3834 cat conftest.err >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } &&
3837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3838 { (case "(($ac_try" in
3839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3840 *) ac_try_echo
=$ac_try;;
3842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3843 (eval "$ac_try") 2>&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; } &&
3847 { ac_try
='test -s conftest.$ac_objext'
3848 { (case "(($ac_try" in
3849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_try") 2>&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; }; then
3857 ac_cv_header_stdc=yes
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 ac_cv_header_stdc=no
3865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867 if test $ac_cv_header_stdc = yes; then
3868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3869 cat >conftest.$ac_ext <<_ACEOF
3872 cat confdefs.h >>conftest.$ac_ext
3873 cat >>conftest.$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3879 $EGREP "memchr" >/dev/null 2>&1; then
3882 ac_cv_header_stdc=no
3888 if test $ac_cv_header_stdc = yes; then
3889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3890 cat >conftest.$ac_ext <<_ACEOF
3893 cat confdefs.h >>conftest.$ac_ext
3894 cat >>conftest.$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3900 $EGREP "free" >/dev/null 2>&1; then
3903 ac_cv_header_stdc=no
3909 if test $ac_cv_header_stdc = yes; then
3910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3911 if test "$cross_compiling" = yes; then
3914 cat >conftest.$ac_ext <<_ACEOF
3917 cat confdefs.h >>conftest.$ac_ext
3918 cat >>conftest.$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3922 #if ((' ' & 0x0FF) == 0x020)
3923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3926 # define ISLOWER(c) \
3927 (('a' <= (c) && (c) <= 'i') \
3928 || ('j' <= (c) && (c) <= 'r') \
3929 || ('s' <= (c) && (c) <= 'z'))
3930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3938 for (i = 0; i < 256; i++)
3939 if (XOR (islower (i), ISLOWER (i))
3940 || toupper (i) != TOUPPER (i))
3945 rm -f conftest$ac_exeext
3946 if { (ac_try="$ac_link"
3948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3949 *) ac_try_echo
=$ac_try;;
3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952 (eval "$ac_link") 2>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3956 { (case "(($ac_try" in
3957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_try") 2>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }; }; then
3967 echo "$as_me: program exited with status $ac_status" >&5
3968 echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
3972 ac_cv_header_stdc=no
3974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3980 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3981 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3982 if test $ac_cv_header_stdc = yes; then
3984 cat >>confdefs.h <<\_ACEOF
3985 #define STDC_HEADERS 1
3990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4001 inttypes.h stdint.h unistd.h
4003 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 cat >conftest.$ac_ext <<_ACEOF
4012 cat confdefs.h >>conftest.$ac_ext
4013 cat >>conftest.$ac_ext <<_ACEOF
4014 /* end confdefs.h. */
4015 $ac_includes_default
4017 #include <$ac_header>
4019 rm -f conftest.$ac_objext
4020 if { (ac_try="$ac_compile"
4022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4023 *) ac_try_echo
=$ac_try;;
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_compile") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1
>conftest.err
4030 cat conftest.err
>&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } &&
4033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4034 { (case "(($ac_try" in
4035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4039 (eval "$ac_try") 2>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; } &&
4043 { ac_try='test -s conftest.$ac_objext'
4044 { (case "(($ac_try" in
4045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4046 *) ac_try_echo
=$ac_try;;
4048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4049 (eval "$ac_try") 2>&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; }; then
4053 eval "$as_ac_Header=yes"
4055 echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.
$ac_ext >&5
4058 eval "$as_ac_Header=no"
4061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4063 ac_res
=`eval echo '${'$as_ac_Header'}'`
4064 { echo "$as_me:$LINENO: result: $ac_res" >&5
4065 echo "${ECHO_T}$ac_res" >&6; }
4066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4067 cat >>confdefs.h
<<_ACEOF
4068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4076 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4077 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4078 if test "${ac_cv_c_bigendian+set}" = set; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 # See if sys/param.h defines the BYTE_ORDER macro.
4082 cat >conftest.
$ac_ext <<_ACEOF
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4088 #include <sys/types.h>
4089 #include <sys/param.h>
4094 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4102 rm -f conftest.
$ac_objext
4103 if { (ac_try
="$ac_compile"
4105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4109 (eval "$ac_compile") 2>conftest.er1
4111 grep -v '^ *+' conftest.er1 >conftest.err
4113 cat conftest.err >&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } &&
4116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4117 { (case "(($ac_try" in
4118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4119 *) ac_try_echo
=$ac_try;;
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_try") 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; } &&
4126 { ac_try
='test -s conftest.$ac_objext'
4127 { (case "(($ac_try" in
4128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_try") 2>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; }; then
4136 # It does; now see whether it defined to BIG_ENDIAN or not.
4137 cat >conftest.$ac_ext <<_ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 #include <sys/types.h>
4144 #include <sys/param.h>
4149 #if BYTE_ORDER != BIG_ENDIAN
4157 rm -f conftest.$ac_objext
4158 if { (ac_try="$ac_compile"
4160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4161 *) ac_try_echo
=$ac_try;;
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_compile") 2>conftest.er1
4166 grep -v '^ *+' conftest.er1
>conftest.err
4168 cat conftest.err
>&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } &&
4171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4172 { (case "(($ac_try" in
4173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_try") 2>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; } &&
4181 { ac_try='test -s conftest.$ac_objext'
4182 { (case "(($ac_try" in
4183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4184 *) ac_try_echo
=$ac_try;;
4186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187 (eval "$ac_try") 2>&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
4191 ac_cv_c_bigendian
=yes
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4196 ac_cv_c_bigendian
=no
4199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.
$ac_ext >&5
4204 # It does not; compile a test program.
4205 if test "$cross_compiling" = yes; then
4206 # try to guess the endianness by grepping values into an object file
4207 ac_cv_c_bigendian
=unknown
4208 cat >conftest.
$ac_ext <<_ACEOF
4211 cat confdefs.h
>>conftest.
$ac_ext
4212 cat >>conftest.
$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4215 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4216 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4217 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4218 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4219 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4223 _ascii (); _ebcdic ();
4228 rm -f conftest.
$ac_objext
4229 if { (ac_try
="$ac_compile"
4231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4235 (eval "$ac_compile") 2>conftest.er1
4237 grep -v '^ *+' conftest.er1 >conftest.err
4239 cat conftest.err >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4243 { (case "(($ac_try" in
4244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4245 *) ac_try_echo
=$ac_try;;
4247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4248 (eval "$ac_try") 2>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); }; } &&
4252 { ac_try
='test -s conftest.$ac_objext'
4253 { (case "(($ac_try" in
4254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4255 *) ac_try_echo=$ac_try;;
4257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4258 (eval "$ac_try") 2>&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4263 ac_cv_c_bigendian=yes
4265 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4266 if test "$ac_cv_c_bigendian" = unknown; then
4267 ac_cv_c_bigendian=no
4269 # finding both strings is unlikely to happen, but who knows?
4270 ac_cv_c_bigendian=unknown
4274 echo "$as_me: failed program was:" >&5
4275 sed 's/^/| /' conftest.$ac_ext >&5
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 cat >conftest.$ac_ext <<_ACEOF
4285 cat confdefs.h >>conftest.$ac_ext
4286 cat >>conftest.$ac_ext <<_ACEOF
4287 /* end confdefs.h. */
4288 $ac_includes_default
4293 /* Are we little or big endian? From Harbison&Steele. */
4297 char c[sizeof (long int)];
4300 return u.c[sizeof (long int) - 1] == 1;
4306 rm -f conftest$ac_exeext
4307 if { (ac_try="$ac_link"
4309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4310 *) ac_try_echo
=$ac_try;;
4312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4313 (eval "$ac_link") 2>&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4317 { (case "(($ac_try" in
4318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4326 ac_cv_c_bigendian=no
4328 echo "$as_me: program exited with status $ac_status" >&5
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_c_bigendian=yes
4335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4344 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4345 case $ac_cv_c_bigendian in
4353 { { echo "$as_me:$LINENO: error: unknown endianness
4354 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4355 echo "$as_me: error: unknown endianness
4356 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4357 { (exit 1); exit 1; }; } ;;
4361 if test "$cross_compiling" = yes; then
4362 LLVM_CROSS_COMPILING=1
4365 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4366 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4367 if test "${ac_cv_build_exeext+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4371 ac_cv_build_exeext=.exe
4373 ac_build_prefix=${build_alias}-
4375 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4376 set dummy ${ac_build_prefix}gcc; ac_word=$2
4377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4379 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 if test -n "$BUILD_CC"; then
4383 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 BUILD_CC=$ac_cv_prog_BUILD_CC
4403 if test -n "$BUILD_CC"; then
4404 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4405 echo "${ECHO_T}$BUILD_CC" >&6; }
4407 { echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6; }
4412 if test -z "$BUILD_CC"; then
4413 # Extract the first word of "gcc", so it can be a program name with args.
4414 set dummy gcc; ac_word=$2
4415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4417 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 if test -n "$BUILD_CC"; then
4421 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_BUILD_CC="gcc"
4431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 BUILD_CC=$ac_cv_prog_BUILD_CC
4441 if test -n "$BUILD_CC"; then
4442 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4443 echo "${ECHO_T}$BUILD_CC" >&6; }
4445 { echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6; }
4450 if test -z "$BUILD_CC"; then
4451 # Extract the first word of "cc", so it can be a program name with args.
4452 set dummy cc; ac_word=$2
4453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4455 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 if test -n "$BUILD_CC"; then
4459 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4469 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4470 ac_prog_rejected=yes
4473 ac_cv_prog_BUILD_CC="cc"
4474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 if test $ac_prog_rejected = yes; then
4482 # We found a bogon in the path, so make sure we never use it.
4483 set dummy $ac_cv_prog_BUILD_CC
4485 if test $# != 0; then
4486 # We chose a different compiler from the bogus one.
4487 # However, it has the same basename, so the bogon will be chosen
4488 # first if we set BUILD_CC to just the basename; use the full file name.
4490 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4495 BUILD_CC=$ac_cv_prog_BUILD_CC
4496 if test -n "$BUILD_CC"; then
4497 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4498 echo "${ECHO_T}$BUILD_CC" >&6; }
4500 { echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6; }
4507 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4508 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4509 { (exit 1); exit 1; }; }
4510 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4512 echo 'int main () { return 0; }' > conftest.$ac_ext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4515 (eval $ac_build_link) 2>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; then
4519 for file in conftest.*; do
4521 *.c | *.o | *.obj) ;;
4522 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4526 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4527 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4528 { (exit 1); exit 1; }; }
4531 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4536 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4537 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4538 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4539 ac_build_exeext=$BUILD_EXEEXT
4542 LLVM_CROSS_COMPILING=0
4546 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
4557 # Check whether --enable-optimized was given.
4558 if test "${enable_optimized+set}" = set; then
4559 enableval=$enable_optimized;
4564 if test ${enableval} = "no" ; then
4568 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4572 # Check whether --enable-assertions was given.
4573 if test "${enable_assertions+set}" = set; then
4574 enableval=$enable_assertions;
4579 if test ${enableval} = "yes" ; then
4583 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4587 # Check whether --enable-expensive-checks was given.
4588 if test "${enable_expensive_checks+set}" = set; then
4589 enableval=$enable_expensive_checks;
4594 if test ${enableval} = "yes" ; then
4595 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4597 EXPENSIVE_CHECKS=yes
4600 ENABLE_EXPENSIVE_CHECKS=
4606 # Check whether --enable-debug-runtime was given.
4607 if test "${enable_debug_runtime+set}" = set; then
4608 enableval=$enable_debug_runtime;
4613 if test ${enableval} = "no" ; then
4617 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4621 # Check whether --enable-jit was given.
4622 if test "${enable_jit+set}" = set; then
4623 enableval=$enable_jit;
4628 if test ${enableval} = "no"
4633 case "$llvm_cv_target_arch" in
4634 x86) TARGET_HAS_JIT=1
4636 Sparc) TARGET_HAS_JIT=0
4638 PowerPC) TARGET_HAS_JIT=1
4640 x86_64) TARGET_HAS_JIT=1
4642 Alpha) TARGET_HAS_JIT=1
4644 IA64) TARGET_HAS_JIT=0
4646 ARM) TARGET_HAS_JIT=0
4653 # Check whether --enable-doxygen was given.
4654 if test "${enable_doxygen+set}" = set; then
4655 enableval=$enable_doxygen;
4660 case "$enableval" in
4661 yes) ENABLE_DOXYGEN=1
4663 no) ENABLE_DOXYGEN=0
4665 default) ENABLE_DOXYGEN=0
4667 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4668 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4669 { (exit 1); exit 1; }; } ;;
4672 # Check whether --enable-threads was given.
4673 if test "${enable_threads+set}" = set; then
4674 enableval=$enable_threads;
4679 case "$enableval" in
4680 yes) ENABLE_THREADS=1
4682 no) ENABLE_THREADS=0
4684 default) ENABLE_THREADS=1
4686 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4687 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4688 { (exit 1); exit 1; }; } ;;
4691 cat >>confdefs.h <<_ACEOF
4692 #define ENABLE_THREADS $ENABLE_THREADS
4696 # Check whether --enable-pic was given.
4697 if test "${enable_pic+set}" = set; then
4698 enableval=$enable_pic;
4703 case "$enableval" in
4708 default) ENABLE_PIC=0
4710 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4711 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4712 { (exit 1); exit 1; }; } ;;
4715 cat >>confdefs.h <<_ACEOF
4716 #define ENABLE_PIC $ENABLE_PIC
4721 # Check whether --enable-targets was given.
4722 if test "${enable_targets+set}" = set; then
4723 enableval=$enable_targets;
4728 case "$enableval" in
4729 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM" ;;
4731 case "$llvm_cv_target_arch" in
4732 x86) TARGETS_TO_BUILD="X86" ;;
4733 x86_64) TARGETS_TO_BUILD="X86" ;;
4734 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4735 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4736 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4737 IA64) TARGETS_TO_BUILD="IA64" ;;
4738 ARM) TARGETS_TO_BUILD="ARM" ;;
4739 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4740 echo "$as_me: error: Can not set target to build" >&2;}
4741 { (exit 1); exit 1; }; } ;;
4744 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4746 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4747 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4748 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4749 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4750 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4751 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4752 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4753 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4754 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4755 { (exit 1); exit 1; }; } ;;
4760 TARGETS_TO_BUILD="CBackend MSIL $TARGETS_TO_BUILD"
4761 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4764 # Check whether --enable-cbe-printf-a was given.
4765 if test "${enable_cbe_printf_a+set}" = set; then
4766 enableval=$enable_cbe_printf_a;
4771 case "$enableval" in
4772 yes) ENABLE_CBE_PRINTF_A=1
4774 no) ENABLE_CBE_PRINTF_A=0
4776 default) ENABLE_CBE_PRINTF_A=1
4778 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4779 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4780 { (exit 1); exit 1; }; } ;;
4783 cat >>confdefs.h <<_ACEOF
4784 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4789 # Check whether --with-llvmgccdir was given.
4790 if test "${with_llvmgccdir+set}" = set; then
4791 withval=$with_llvmgccdir;
4797 default) WITH_LLVMGCCDIR=default ;;
4798 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4799 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4800 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4801 { (exit 1); exit 1; }; } ;;
4805 # Check whether --with-extra-options was given.
4806 if test "${with_extra_options+set}" = set; then
4807 withval=$with_extra_options;
4813 default) EXTRA_OPTIONS= ;;
4814 *) EXTRA_OPTIONS=$withval ;;
4816 EXTRA_OPTIONS=$EXTRA_OPTIONS
4821 ac_cpp='$CPP $CPPFLAGS'
4822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4825 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4826 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4827 # On Suns, sometimes $CPP names a directory.
4828 if test -n "$CPP" && test -d "$CPP"; then
4831 if test -z "$CPP"; then
4832 if test "${ac_cv_prog_CPP+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 # Double quotes because CPP needs to be expanded
4836 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4839 for ac_c_preproc_warn_flag in '' yes
4841 # Use a header file that comes with gcc, so configuring glibc
4842 # with a fresh cross-compiler works.
4843 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4844 # <limits.h> exists even on freestanding compilers.
4845 # On the NeXT, cc -E runs the code through the compiler's parser,
4846 # not just through cpp. "Syntax error" is here to catch this case.
4847 cat >conftest.$ac_ext <<_ACEOF
4850 cat confdefs.h >>conftest.$ac_ext
4851 cat >>conftest.$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4854 # include <limits.h>
4856 # include <assert.h>
4860 if { (ac_try="$ac_cpp conftest.$ac_ext"
4862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4863 *) ac_try_echo
=$ac_try;;
4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4868 grep -v '^ *+' conftest.er1
>conftest.err
4870 cat conftest.err
>&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); } >/dev
/null
; then
4873 if test -s conftest.err
; then
4874 ac_cpp_err
=$ac_c_preproc_warn_flag
4875 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4882 if test -z "$ac_cpp_err"; then
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.
$ac_ext >&5
4888 # Broken: fails on valid input.
4892 rm -f conftest.err conftest.
$ac_ext
4894 # OK, works on sane cases. Now check whether nonexistent headers
4895 # can be detected and how.
4896 cat >conftest.
$ac_ext <<_ACEOF
4899 cat confdefs.h
>>conftest.
$ac_ext
4900 cat >>conftest.
$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4902 #include <ac_nonexistent.h>
4904 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4912 grep -v '^ *+' conftest.er1 >conftest.err
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } >/dev/null; then
4917 if test -s conftest.err; then
4918 ac_cpp_err=$ac_c_preproc_warn_flag
4919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4926 if test -z "$ac_cpp_err"; then
4927 # Broken: success on invalid input.
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4933 # Passes both tests.
4938 rm -f conftest.err conftest.$ac_ext
4941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4942 rm -f conftest.err conftest.
$ac_ext
4943 if $ac_preproc_ok; then
4955 { echo "$as_me:$LINENO: result: $CPP" >&5
4956 echo "${ECHO_T}$CPP" >&6; }
4958 for ac_c_preproc_warn_flag
in '' yes
4960 # Use a header file that comes with gcc, so configuring glibc
4961 # with a fresh cross-compiler works.
4962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4963 # <limits.h> exists even on freestanding compilers.
4964 # On the NeXT, cc -E runs the code through the compiler's parser,
4965 # not just through cpp. "Syntax error" is here to catch this case.
4966 cat >conftest.
$ac_ext <<_ACEOF
4969 cat confdefs.h
>>conftest.
$ac_ext
4970 cat >>conftest.
$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4973 # include <limits.h>
4975 # include <assert.h>
4979 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;;
4984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4987 grep -v '^ *+' conftest.er1 >conftest.err
4989 cat conftest.err >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } >/dev/null; then
4992 if test -s conftest.err; then
4993 ac_cpp_err=$ac_c_preproc_warn_flag
4994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5001 if test -z "$ac_cpp_err"; then
5004 echo "$as_me: failed program was:" >&5
5005 sed 's/^/| /' conftest.$ac_ext >&5
5007 # Broken: fails on valid input.
5011 rm -f conftest.err conftest.$ac_ext
5013 # OK, works on sane cases. Now check whether nonexistent headers
5014 # can be detected and how.
5015 cat >conftest.$ac_ext <<_ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 #include <ac_nonexistent.h>
5023 if { (ac_try="$ac_cpp conftest.$ac_ext"
5025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5026 *) ac_try_echo
=$ac_try;;
5028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5031 grep -v '^ *+' conftest.er1
>conftest.err
5033 cat conftest.err
>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } >/dev
/null
; then
5036 if test -s conftest.err
; then
5037 ac_cpp_err
=$ac_c_preproc_warn_flag
5038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5045 if test -z "$ac_cpp_err"; then
5046 # Broken: success on invalid input.
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.
$ac_ext >&5
5052 # Passes both tests.
5057 rm -f conftest.err conftest.
$ac_ext
5060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5061 rm -f conftest.err conftest.
$ac_ext
5062 if $ac_preproc_ok; then
5065 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5066 See \`config.log' for more details." >&5
5067 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5068 See \`config.log' for more details." >&2;}
5069 { (exit 1); exit 1; }; }
5073 ac_cpp
='$CPP $CPPFLAGS'
5074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5079 ac_cpp
='$CPP $CPPFLAGS'
5080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5083 if test -n "$ac_tool_prefix"; then
5086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5087 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5090 if test "${ac_cv_prog_CC+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 if test -n "$CC"; then
5094 ac_cv_prog_CC
="$CC" # Let the user override the test.
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 if test -n "$CC"; then
5115 { echo "$as_me:$LINENO: result: $CC" >&5
5116 echo "${ECHO_T}$CC" >&6; }
5118 { echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6; }
5123 test -n "$CC" && break
5126 if test -z "$CC"; then
5130 # Extract the first word of "$ac_prog", so it can be a program name with args.
5131 set dummy
$ac_prog; ac_word
=$2
5132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5134 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 if test -n "$ac_ct_CC"; then
5138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5147 ac_cv_prog_ac_ct_CC
="$ac_prog"
5148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5158 if test -n "$ac_ct_CC"; then
5159 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5160 echo "${ECHO_T}$ac_ct_CC" >&6; }
5162 { echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6; }
5167 test -n "$ac_ct_CC" && break
5170 if test "x$ac_ct_CC" = x
; then
5173 case $cross_compiling:$ac_tool_warned in
5175 { echo "$as_me:$LINENO: 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." >&5
5178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5179 whose name does not start with the host triplet. If you think this
5180 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5181 ac_tool_warned
=yes ;;
5188 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5189 See \`config.log' for more details." >&5
5190 echo "$as_me: error: no acceptable C compiler found in \$PATH
5191 See \`config.log' for more details." >&2;}
5192 { (exit 1); exit 1; }; }
5194 # Provide some information about the compiler.
5195 echo "$as_me:$LINENO: checking for C compiler version" >&5
5196 ac_compiler
=`set X $ac_compile; echo $2`
5197 { (ac_try
="$ac_compiler --version >&5"
5199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5200 *) ac_try_echo=$ac_try;;
5202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5203 (eval "$ac_compiler --version >&5") 2>&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); }
5207 { (ac_try="$ac_compiler -v >&5"
5209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5210 *) ac_try_echo
=$ac_try;;
5212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 (eval "$ac_compiler -v >&5") 2>&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); }
5217 { (ac_try
="$ac_compiler -V >&5"
5219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5223 (eval "$ac_compiler -V >&5") 2>&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); }
5228 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5229 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5230 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 cat >conftest.$ac_ext <<_ACEOF
5236 cat confdefs.h >>conftest.$ac_ext
5237 cat >>conftest.$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5251 rm -f conftest.$ac_objext
5252 if { (ac_try="$ac_compile"
5254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5255 *) ac_try_echo
=$ac_try;;
5257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 (eval "$ac_compile") 2>conftest.er1
5260 grep -v '^ *+' conftest.er1
>conftest.err
5262 cat conftest.err
>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } &&
5265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5266 { (case "(($ac_try" in
5267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5268 *) ac_try_echo=$ac_try;;
5270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271 (eval "$ac_try") 2>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try='test -s conftest.$ac_objext'
5276 { (case "(($ac_try" in
5277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5278 *) ac_try_echo
=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_try") 2>&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; }; then
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.
$ac_ext >&5
5293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5294 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5297 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5298 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5299 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5300 ac_test_CFLAGS
=${CFLAGS+set}
5301 ac_save_CFLAGS
=$CFLAGS
5302 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5303 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5304 if test "${ac_cv_prog_cc_g+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 ac_save_c_werror_flag
=$ac_c_werror_flag
5308 ac_c_werror_flag
=yes
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5326 rm -f conftest.
$ac_objext
5327 if { (ac_try
="$ac_compile"
5329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5330 *) ac_try_echo=$ac_try;;
5332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5333 (eval "$ac_compile") 2>conftest.er1
5335 grep -v '^ *+' conftest.er1 >conftest.err
5337 cat conftest.err >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); } &&
5340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5341 { (case "(($ac_try" in
5342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5343 *) ac_try_echo
=$ac_try;;
5345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5346 (eval "$ac_try") 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; } &&
5350 { ac_try
='test -s conftest.$ac_objext'
5351 { (case "(($ac_try" in
5352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5353 *) ac_try_echo=$ac_try;;
5355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5356 (eval "$ac_try") 2>&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; }; then
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5366 cat >conftest.$ac_ext <<_ACEOF
5369 cat confdefs.h >>conftest.$ac_ext
5370 cat >>conftest.$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5381 rm -f conftest.$ac_objext
5382 if { (ac_try="$ac_compile"
5384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5385 *) ac_try_echo
=$ac_try;;
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_compile") 2>conftest.er1
5390 grep -v '^ *+' conftest.er1
>conftest.err
5392 cat conftest.err
>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } &&
5395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5396 { (case "(($ac_try" in
5397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5398 *) ac_try_echo=$ac_try;;
5400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5401 (eval "$ac_try") 2>&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; } &&
5405 { ac_try='test -s conftest.$ac_objext'
5406 { (case "(($ac_try" in
5407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5408 *) ac_try_echo
=$ac_try;;
5410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5411 (eval "$ac_try") 2>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); }; }; then
5417 echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.
$ac_ext >&5
5420 ac_c_werror_flag
=$ac_save_c_werror_flag
5422 cat >conftest.
$ac_ext <<_ACEOF
5425 cat confdefs.h
>>conftest.
$ac_ext
5426 cat >>conftest.
$ac_ext <<_ACEOF
5427 /* end confdefs.h. */
5437 rm -f conftest.
$ac_objext
5438 if { (ac_try
="$ac_compile"
5440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_compile") 2>conftest.er1
5446 grep -v '^ *+' conftest.er1 >conftest.err
5448 cat conftest.err >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5452 { (case "(($ac_try" in
5453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5454 *) ac_try_echo
=$ac_try;;
5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5457 (eval "$ac_try") 2>&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); }; } &&
5461 { ac_try
='test -s conftest.$ac_objext'
5462 { (case "(($ac_try" in
5463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_try") 2>&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); }; }; then
5473 echo "$as_me: failed program was:" >&5
5474 sed 's/^/| /' conftest.$ac_ext >&5
5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486 ac_c_werror_flag=$ac_save_c_werror_flag
5488 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5489 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5490 if test "$ac_test_CFLAGS" = set; then
5491 CFLAGS=$ac_save_CFLAGS
5492 elif test $ac_cv_prog_cc_g = yes; then
5493 if test "$GCC" = yes; then
5499 if test "$GCC" = yes; then
5505 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5506 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5507 if test "${ac_cv_prog_cc_c89+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 ac_cv_prog_cc_c89=no
5512 cat >conftest.$ac_ext <<_ACEOF
5515 cat confdefs.h >>conftest.$ac_ext
5516 cat >>conftest.$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5520 #include <sys/types.h>
5521 #include <sys/stat.h>
5522 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5523 struct buf { int x; };
5524 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5525 static char *e (p, i)
5531 static char *f (char * (*g) (char **, int), char **p, ...)
5536 s = g (p, va_arg (v,int));
5541 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5542 function prototypes and stuff, but not '\xHH' hex character constants.
5543 These don't provoke an error unfortunately, instead are silently treated
5544 as 'x'. The following induces an error, until -std is added to get
5545 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5546 array size at least. It's necessary to write '\x00'==0 to get something
5547 that's true only with -std. */
5548 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5550 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5551 inside strings and character constants. */
5553 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5555 int test (int i, double x);
5556 struct s1 {int (*f) (int a);};
5557 struct s2 {int (*f) (double a);};
5558 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5564 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5569 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5570 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5572 CC="$ac_save_CC $ac_arg"
5573 rm -f conftest.$ac_objext
5574 if { (ac_try="$ac_compile"
5576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5577 *) ac_try_echo
=$ac_try;;
5579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5580 (eval "$ac_compile") 2>conftest.er1
5582 grep -v '^ *+' conftest.er1
>conftest.err
5584 cat conftest.err
>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } &&
5587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5588 { (case "(($ac_try" in
5589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5590 *) ac_try_echo=$ac_try;;
5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 (eval "$ac_try") 2>&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; } &&
5597 { ac_try='test -s conftest.$ac_objext'
5598 { (case "(($ac_try" in
5599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5600 *) ac_try_echo
=$ac_try;;
5602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5603 (eval "$ac_try") 2>&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; }; then
5607 ac_cv_prog_cc_c89
=$ac_arg
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.
$ac_ext >&5
5615 rm -f core conftest.err conftest.
$ac_objext
5616 test "x$ac_cv_prog_cc_c89" != "xno" && break
5618 rm -f conftest.
$ac_ext
5623 case "x$ac_cv_prog_cc_c89" in
5625 { echo "$as_me:$LINENO: result: none needed" >&5
5626 echo "${ECHO_T}none needed" >&6; } ;;
5628 { echo "$as_me:$LINENO: result: unsupported" >&5
5629 echo "${ECHO_T}unsupported" >&6; } ;;
5631 CC
="$CC $ac_cv_prog_cc_c89"
5632 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5633 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5638 ac_cpp
='$CPP $CPPFLAGS'
5639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5644 ac_cpp
='$CXXCPP $CPPFLAGS'
5645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5648 if test -z "$CXX"; then
5649 if test -n "$CCC"; then
5652 if test -n "$ac_tool_prefix"; then
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_prog_CXX+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 if test -n "$CXX"; then
5663 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir
=.
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 if test -n "$CXX"; then
5684 { echo "$as_me:$LINENO: result: $CXX" >&5
5685 echo "${ECHO_T}$CXX" >&6; }
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5692 test -n "$CXX" && break
5695 if test -z "$CXX"; then
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy
$ac_prog; ac_word
=$2
5701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5703 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 if test -n "$ac_ct_CXX"; then
5707 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5727 if test -n "$ac_ct_CXX"; then
5728 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5729 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5731 { echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6; }
5736 test -n "$ac_ct_CXX" && break
5739 if test "x$ac_ct_CXX" = x
; then
5742 case $cross_compiling:$ac_tool_warned in
5744 { echo "$as_me:$LINENO: 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." >&5
5747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5748 whose name does not start with the host triplet. If you think this
5749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5750 ac_tool_warned
=yes ;;
5758 # Provide some information about the compiler.
5759 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5760 ac_compiler
=`set X $ac_compile; echo $2`
5761 { (ac_try
="$ac_compiler --version >&5"
5763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5764 *) ac_try_echo=$ac_try;;
5766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767 (eval "$ac_compiler --version >&5") 2>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }
5771 { (ac_try="$ac_compiler -v >&5"
5773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5774 *) ac_try_echo
=$ac_try;;
5776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5777 (eval "$ac_compiler -v >&5") 2>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }
5781 { (ac_try
="$ac_compiler -V >&5"
5783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5784 *) ac_try_echo=$ac_try;;
5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5787 (eval "$ac_compiler -V >&5") 2>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }
5792 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5793 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5794 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 cat >conftest.$ac_ext <<_ACEOF
5800 cat confdefs.h >>conftest.$ac_ext
5801 cat >>conftest.$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5815 rm -f conftest.$ac_objext
5816 if { (ac_try="$ac_compile"
5818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5819 *) ac_try_echo
=$ac_try;;
5821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822 (eval "$ac_compile") 2>conftest.er1
5824 grep -v '^ *+' conftest.er1
>conftest.err
5826 cat conftest.err
>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5830 { (case "(($ac_try" in
5831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5835 (eval "$ac_try") 2>&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; } &&
5839 { ac_try='test -s conftest.$ac_objext'
5840 { (case "(($ac_try" in
5841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5842 *) ac_try_echo
=$ac_try;;
5844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5845 (eval "$ac_try") 2>&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.
$ac_ext >&5
5857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5858 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5861 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5862 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5863 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5864 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5865 ac_save_CXXFLAGS
=$CXXFLAGS
5866 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5867 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5868 if test "${ac_cv_prog_cxx_g+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5872 ac_cxx_werror_flag
=yes
5875 cat >conftest.
$ac_ext <<_ACEOF
5878 cat confdefs.h
>>conftest.
$ac_ext
5879 cat >>conftest.
$ac_ext <<_ACEOF
5880 /* end confdefs.h. */
5890 rm -f conftest.
$ac_objext
5891 if { (ac_try
="$ac_compile"
5893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5894 *) ac_try_echo=$ac_try;;
5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5897 (eval "$ac_compile") 2>conftest.er1
5899 grep -v '^ *+' conftest.er1 >conftest.err
5901 cat conftest.err >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5905 { (case "(($ac_try" in
5906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5907 *) ac_try_echo
=$ac_try;;
5909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5910 (eval "$ac_try") 2>&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; } &&
5914 { ac_try
='test -s conftest.$ac_objext'
5915 { (case "(($ac_try" in
5916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5917 *) ac_try_echo=$ac_try;;
5919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5920 (eval "$ac_try") 2>&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; }; then
5924 ac_cv_prog_cxx_g=yes
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.$ac_ext >&5
5930 cat >conftest.$ac_ext <<_ACEOF
5933 cat confdefs.h >>conftest.$ac_ext
5934 cat >>conftest.$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5945 rm -f conftest.$ac_objext
5946 if { (ac_try="$ac_compile"
5948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5949 *) ac_try_echo
=$ac_try;;
5951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5952 (eval "$ac_compile") 2>conftest.er1
5954 grep -v '^ *+' conftest.er1
>conftest.err
5956 cat conftest.err
>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } &&
5959 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5960 { (case "(($ac_try" in
5961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5962 *) ac_try_echo=$ac_try;;
5964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5965 (eval "$ac_try") 2>&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; } &&
5969 { ac_try='test -s conftest.$ac_objext'
5970 { (case "(($ac_try" in
5971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5972 *) ac_try_echo
=$ac_try;;
5974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5975 (eval "$ac_try") 2>&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }; }; then
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.
$ac_ext >&5
5984 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5986 cat >conftest.
$ac_ext <<_ACEOF
5989 cat confdefs.h
>>conftest.
$ac_ext
5990 cat >>conftest.
$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
6001 rm -f conftest.
$ac_objext
6002 if { (ac_try
="$ac_compile"
6004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6005 *) ac_try_echo=$ac_try;;
6007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008 (eval "$ac_compile") 2>conftest.er1
6010 grep -v '^ *+' conftest.er1 >conftest.err
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6016 { (case "(($ac_try" in
6017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6018 *) ac_try_echo
=$ac_try;;
6020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6021 (eval "$ac_try") 2>&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; } &&
6025 { ac_try
='test -s conftest.$ac_objext'
6026 { (case "(($ac_try" in
6027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6028 *) ac_try_echo=$ac_try;;
6030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6031 (eval "$ac_try") 2>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }; then
6035 ac_cv_prog_cxx_g=yes
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5
6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6052 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6053 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6054 if test "$ac_test_CXXFLAGS" = set; then
6055 CXXFLAGS=$ac_save_CXXFLAGS
6056 elif test $ac_cv_prog_cxx_g = yes; then
6057 if test "$GXX" = yes; then
6063 if test "$GXX" = yes; then
6070 ac_cpp='$CPP $CPPFLAGS'
6071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6075 { echo "$as_me:$LINENO: checking " >&5
6076 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6077 if test "${ac_cv_has_flex+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 for ac_prog in flex lex
6082 # Extract the first word of "$ac_prog", so it can be a program name with args.
6083 set dummy $ac_prog; ac_word=$2
6084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6086 if test "${ac_cv_prog_LEX+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 if test -n "$LEX"; then
6090 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_LEX="$ac_prog"
6100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 if test -n "$LEX"; then
6111 { echo "$as_me:$LINENO: result: $LEX" >&5
6112 echo "${ECHO_T}$LEX" >&6; }
6114 { echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6; }
6119 test -n "$LEX" && break
6121 test -n "$LEX" || LEX=":"
6123 if test -z "$LEXLIB"
6125 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6126 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
6127 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 ac_check_lib_save_LIBS=$LIBS
6132 cat >conftest.$ac_ext <<_ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6139 /* Override any GCC internal prototype to avoid an error.
6140 Use char because int might match the return type of a GCC
6141 builtin and then its argument prototype would still apply. */
6154 rm -f conftest.$ac_objext conftest$ac_exeext
6155 if { (ac_try="$ac_link"
6157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6158 *) ac_try_echo
=$ac_try;;
6160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6161 (eval "$ac_link") 2>conftest.er1
6163 grep -v '^ *+' conftest.er1
>conftest.err
6165 cat conftest.err
>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6169 { (case "(($ac_try" in
6170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_try") 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; } &&
6178 { ac_try='test -s conftest$ac_exeext'
6179 { (case "(($ac_try" in
6180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6181 *) ac_try_echo
=$ac_try;;
6183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6184 (eval "$ac_try") 2>&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; }; then
6188 ac_cv_lib_fl_yywrap
=yes
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.
$ac_ext >&5
6193 ac_cv_lib_fl_yywrap
=no
6196 rm -f core conftest.err conftest.
$ac_objext \
6197 conftest
$ac_exeext conftest.
$ac_ext
6198 LIBS
=$ac_check_lib_save_LIBS
6200 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6201 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
6202 if test $ac_cv_lib_fl_yywrap = yes; then
6205 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6206 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
6207 if test "${ac_cv_lib_l_yywrap+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 ac_check_lib_save_LIBS
=$LIBS
6212 cat >conftest.
$ac_ext <<_ACEOF
6215 cat confdefs.h
>>conftest.
$ac_ext
6216 cat >>conftest.
$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6219 /* Override any GCC internal prototype to avoid an error.
6220 Use char because int might match the return type of a GCC
6221 builtin and then its argument prototype would still apply. */
6234 rm -f conftest.
$ac_objext conftest
$ac_exeext
6235 if { (ac_try
="$ac_link"
6237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6238 *) ac_try_echo=$ac_try;;
6240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6241 (eval "$ac_link") 2>conftest.er1
6243 grep -v '^ *+' conftest.er1 >conftest.err
6245 cat conftest.err >&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } &&
6248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6249 { (case "(($ac_try" in
6250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6251 *) ac_try_echo
=$ac_try;;
6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6254 (eval "$ac_try") 2>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; } &&
6258 { ac_try
='test -s conftest$ac_exeext'
6259 { (case "(($ac_try" in
6260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6261 *) ac_try_echo=$ac_try;;
6263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6264 (eval "$ac_try") 2>&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; }; then
6268 ac_cv_lib_l_yywrap=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.$ac_ext >&5
6273 ac_cv_lib_l_yywrap=no
6276 rm -f core conftest.err conftest.$ac_objext \
6277 conftest$ac_exeext conftest.$ac_ext
6278 LIBS=$ac_check_lib_save_LIBS
6280 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6281 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
6282 if test $ac_cv_lib_l_yywrap = yes; then
6290 if test "x$LEX" != "x:"; then
6291 { echo "$as_me:$LINENO: checking lex output file root" >&5
6292 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
6293 if test "${ac_cv_prog_lex_root+set}" = set; then
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 # The minimal lex program is just a single line: %%. But some broken lexes
6297 # (Solaris, I think it was) want two %% lines, so accommodate them.
6298 cat >conftest.l <<_ACEOF
6302 { (ac_try="$LEX conftest.l"
6304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6305 *) ac_try_echo
=$ac_try;;
6307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6308 (eval "$LEX conftest.l") 2>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); }
6312 if test -f lex.yy.c
; then
6313 ac_cv_prog_lex_root
=lex.yy
6314 elif test -f lexyy.c
; then
6315 ac_cv_prog_lex_root
=lexyy
6317 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6318 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6319 { (exit 1); exit 1; }; }
6322 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6323 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
6325 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
6327 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6328 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
6329 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 # POSIX says lex can declare yytext either as a pointer or an array; the
6333 # default is implementation-dependent. Figure out which it is, since
6334 # not all implementations provide the %pointer and %array declarations.
6335 ac_cv_prog_lex_yytext_pointer
=no
6336 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6338 LIBS
="$LIBS $LEXLIB"
6339 cat >conftest.
$ac_ext <<_ACEOF
6340 `cat $LEX_OUTPUT_ROOT.c`
6342 rm -f conftest.
$ac_objext conftest
$ac_exeext
6343 if { (ac_try
="$ac_link"
6345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6346 *) ac_try_echo=$ac_try;;
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349 (eval "$ac_link") 2>conftest.er1
6351 grep -v '^ *+' conftest.er1 >conftest.err
6353 cat conftest.err >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } &&
6356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6357 { (case "(($ac_try" in
6358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6359 *) ac_try_echo
=$ac_try;;
6361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6362 (eval "$ac_try") 2>&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); }; } &&
6366 { ac_try
='test -s conftest$ac_exeext'
6367 { (case "(($ac_try" in
6368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6369 *) ac_try_echo=$ac_try;;
6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6372 (eval "$ac_try") 2>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6376 ac_cv_prog_lex_yytext_pointer=yes
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.$ac_ext >&5
6384 rm -f core conftest.err conftest.$ac_objext \
6385 conftest$ac_exeext conftest.$ac_ext
6387 rm -f "${LEX_OUTPUT_ROOT}.c"
6390 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6391 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
6392 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6394 cat >>confdefs.h <<\_ACEOF
6395 #define YYTEXT_POINTER 1
6403 { echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
6404 echo "${ECHO_T}$ac_cv_has_flex" >&6; }
6405 if test "$LEX" != "flex"; then
6406 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
6407 echo "$as_me: error: flex not found but required" >&2;}
6408 { (exit 1); exit 1; }; }
6414 { echo "$as_me:$LINENO: checking " >&5
6415 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6416 if test "${llvm_cv_has_bison+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 for ac_prog in 'bison -y' byacc
6421 # Extract the first word of "$ac_prog", so it can be a program name with args.
6422 set dummy $ac_prog; ac_word=$2
6423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6425 if test "${ac_cv_prog_YACC+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 if test -n "$YACC"; then
6429 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_YACC="$ac_prog"
6439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 YACC=$ac_cv_prog_YACC
6449 if test -n "$YACC"; then
6450 { echo "$as_me:$LINENO: result: $YACC" >&5
6451 echo "${ECHO_T}$YACC" >&6; }
6453 { echo "$as_me:$LINENO: result: no" >&5
6454 echo "${ECHO_T}no" >&6; }
6458 test -n "$YACC" && break
6460 test -n "$YACC" || YACC="yacc"
6463 { echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
6464 echo "${ECHO_T}$llvm_cv_has_bison" >&6; }
6465 if test "$YACC" != "bison -y"; then
6467 { echo "$as_me:$LINENO: WARNING: bison not found, can't rebuild grammars" >&5
6468 echo "$as_me: WARNING: bison not found, can't rebuild grammars" >&2;}
6474 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6475 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6476 if test "${lt_cv_path_NM+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 if test -n "$NM"; then
6480 # Let the user override the test.
6483 lt_nm_to_check="${ac_tool_prefix}nm"
6484 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6485 lt_nm_to_check="$lt_nm_to_check nm"
6487 for lt_tmp_nm in $lt_nm_to_check; do
6488 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6489 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6491 test -z "$ac_dir" && ac_dir=.
6492 tmp_nm="$ac_dir/$lt_tmp_nm"
6493 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6494 # Check to see if the nm accepts a BSD-compat flag.
6495 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6496 # nm: unknown option "B" ignored
6497 # Tru64's nm complains that
/dev
/null is an invalid object
file
6498 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6499 */dev
/null
* |
*'Invalid file or object type'*)
6500 lt_cv_path_NM
="$tmp_nm -B"
6504 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6506 lt_cv_path_NM
="$tmp_nm -p"
6510 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6511 continue # so that we can try to find one that supports BSD flags
6520 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6523 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6524 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6529 { echo "$as_me:$LINENO: checking for GNU make" >&5
6530 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6531 if test "${llvm_cv_gnu_make_command+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 llvm_cv_gnu_make_command
=''
6535 for a
in "$MAKE" make gmake gnumake
; do
6536 if test -z "$a" ; then continue ; fi ;
6537 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6539 llvm_cv_gnu_make_command
=$a ;
6544 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6545 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6546 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6550 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6551 echo "${ECHO_T}\"Not found\"" >&6; };
6555 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6556 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6558 if test "$LN_S" = "ln -s"; then
6559 { echo "$as_me:$LINENO: result: yes" >&5
6560 echo "${ECHO_T}yes" >&6; }
6562 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6563 echo "${ECHO_T}no, using $LN_S" >&6; }
6566 # Extract the first word of "cmp", so it can be a program name with args.
6567 set dummy
cmp; ac_word
=$2
6568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6570 if test "${ac_cv_path_CMP+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6582 test -z "$as_dir" && as_dir
=.
6583 for ac_exec_ext
in '' $ac_executable_extensions; do
6584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6585 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6598 if test -n "$CMP"; then
6599 { echo "$as_me:$LINENO: result: $CMP" >&5
6600 echo "${ECHO_T}$CMP" >&6; }
6602 { echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6; }
6607 # Extract the first word of "cp", so it can be a program name with args.
6608 set dummy
cp; ac_word
=$2
6609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6611 if test "${ac_cv_path_CP+set}" = set; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir
=.
6624 for ac_exec_ext
in '' $ac_executable_extensions; do
6625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6634 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6639 if test -n "$CP"; then
6640 { echo "$as_me:$LINENO: result: $CP" >&5
6641 echo "${ECHO_T}$CP" >&6; }
6643 { echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6; }
6648 # Extract the first word of "date", so it can be a program name with args.
6649 set dummy
date; ac_word
=$2
6650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6652 if test "${ac_cv_path_DATE+set}" = set; then
6653 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6664 test -z "$as_dir" && as_dir
=.
6665 for ac_exec_ext
in '' $ac_executable_extensions; do
6666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6667 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6679 DATE
=$ac_cv_path_DATE
6680 if test -n "$DATE"; then
6681 { echo "$as_me:$LINENO: result: $DATE" >&5
6682 echo "${ECHO_T}$DATE" >&6; }
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6689 # Extract the first word of "find", so it can be a program name with args.
6690 set dummy
find; ac_word
=$2
6691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6693 if test "${ac_cv_path_FIND+set}" = set; then
6694 echo $ECHO_N "(cached) $ECHO_C" >&6
6698 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir
=.
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6720 FIND
=$ac_cv_path_FIND
6721 if test -n "$FIND"; then
6722 { echo "$as_me:$LINENO: result: $FIND" >&5
6723 echo "${ECHO_T}$FIND" >&6; }
6725 { echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6; }
6730 # Extract the first word of "grep", so it can be a program name with args.
6731 set dummy
grep; ac_word
=$2
6732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6734 if test "${ac_cv_path_GREP+set}" = set; then
6735 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir
=.
6747 for ac_exec_ext
in '' $ac_executable_extensions; do
6748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6749 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6761 GREP
=$ac_cv_path_GREP
6762 if test -n "$GREP"; then
6763 { echo "$as_me:$LINENO: result: $GREP" >&5
6764 echo "${ECHO_T}$GREP" >&6; }
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6771 # Extract the first word of "mkdir", so it can be a program name with args.
6772 set dummy mkdir
; ac_word
=$2
6773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6775 if test "${ac_cv_path_MKDIR+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir
=.
6788 for ac_exec_ext
in '' $ac_executable_extensions; do
6789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6790 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6802 MKDIR
=$ac_cv_path_MKDIR
6803 if test -n "$MKDIR"; then
6804 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6805 echo "${ECHO_T}$MKDIR" >&6; }
6807 { echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6; }
6812 # Extract the first word of "mv", so it can be a program name with args.
6813 set dummy
mv; ac_word
=$2
6814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6816 if test "${ac_cv_path_MV+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir
=.
6829 for ac_exec_ext
in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6839 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6844 if test -n "$MV"; then
6845 { echo "$as_me:$LINENO: result: $MV" >&5
6846 echo "${ECHO_T}$MV" >&6; }
6848 { echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6; }
6853 if test -n "$ac_tool_prefix"; then
6854 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6855 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6858 if test "${ac_cv_prog_RANLIB+set}" = set; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6861 if test -n "$RANLIB"; then
6862 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir
=.
6869 for ac_exec_ext
in '' $ac_executable_extensions; do
6870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6871 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6881 RANLIB
=$ac_cv_prog_RANLIB
6882 if test -n "$RANLIB"; then
6883 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6884 echo "${ECHO_T}$RANLIB" >&6; }
6886 { echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6; }
6892 if test -z "$ac_cv_prog_RANLIB"; then
6893 ac_ct_RANLIB
=$RANLIB
6894 # Extract the first word of "ranlib", so it can be a program name with args.
6895 set dummy ranlib
; ac_word
=$2
6896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6898 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6899 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 if test -n "$ac_ct_RANLIB"; then
6902 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir
=.
6909 for ac_exec_ext
in '' $ac_executable_extensions; do
6910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6911 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6922 if test -n "$ac_ct_RANLIB"; then
6923 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6924 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6926 { echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6; }
6930 if test "x$ac_ct_RANLIB" = x
; then
6933 case $cross_compiling:$ac_tool_warned in
6935 { echo "$as_me:$LINENO: 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." >&5
6938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6939 whose name does not start with the host triplet. If you think this
6940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6941 ac_tool_warned
=yes ;;
6943 RANLIB
=$ac_ct_RANLIB
6946 RANLIB
="$ac_cv_prog_RANLIB"
6949 # Extract the first word of "rm", so it can be a program name with args.
6950 set dummy
rm; ac_word
=$2
6951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6953 if test "${ac_cv_path_RM+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6958 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
6961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir
=.
6966 for ac_exec_ext
in '' $ac_executable_extensions; do
6967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6968 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
6969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
6981 if test -n "$RM"; then
6982 { echo "$as_me:$LINENO: result: $RM" >&5
6983 echo "${ECHO_T}$RM" >&6; }
6985 { echo "$as_me:$LINENO: result: no" >&5
6986 echo "${ECHO_T}no" >&6; }
6990 # Extract the first word of "sed", so it can be a program name with args.
6991 set dummy
sed; ac_word
=$2
6992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6994 if test "${ac_cv_path_SED+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
7002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir
=.
7007 for ac_exec_ext
in '' $ac_executable_extensions; do
7008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7009 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7022 if test -n "$SED"; then
7023 { echo "$as_me:$LINENO: result: $SED" >&5
7024 echo "${ECHO_T}$SED" >&6; }
7026 { echo "$as_me:$LINENO: result: no" >&5
7027 echo "${ECHO_T}no" >&6; }
7031 # Extract the first word of "tar", so it can be a program name with args.
7032 set dummy
tar; ac_word
=$2
7033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7035 if test "${ac_cv_path_TAR+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7040 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir
=.
7048 for ac_exec_ext
in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7058 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7063 if test -n "$TAR"; then
7064 { echo "$as_me:$LINENO: result: $TAR" >&5
7065 echo "${ECHO_T}$TAR" >&6; }
7067 { echo "$as_me:$LINENO: result: no" >&5
7068 echo "${ECHO_T}no" >&6; }
7072 # Extract the first word of "pwd", so it can be a program name with args.
7073 set dummy
pwd; ac_word
=$2
7074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7076 if test "${ac_cv_path_BINPWD+set}" = set; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir
=.
7089 for ac_exec_ext
in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7103 BINPWD
=$ac_cv_path_BINPWD
7104 if test -n "$BINPWD"; then
7105 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7106 echo "${ECHO_T}$BINPWD" >&6; }
7108 { echo "$as_me:$LINENO: result: no" >&5
7109 echo "${ECHO_T}no" >&6; }
7114 # Extract the first word of "Graphviz", so it can be a program name with args.
7115 set dummy Graphviz
; ac_word
=$2
7116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7118 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7123 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir
=.
7131 for ac_exec_ext
in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7145 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7146 if test -n "$GRAPHVIZ"; then
7147 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7148 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7150 { echo "$as_me:$LINENO: result: no" >&5
7151 echo "${ECHO_T}no" >&6; }
7155 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7157 cat >>confdefs.h
<<\_ACEOF
7158 #define HAVE_GRAPHVIZ 1
7161 if test "$llvm_cv_os_type" = "MingW" ; then
7162 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7165 cat >>confdefs.h
<<_ACEOF
7166 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7170 # Extract the first word of "dot", so it can be a program name with args.
7171 set dummy dot
; ac_word
=$2
7172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7174 if test "${ac_cv_path_DOT+set}" = set; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir
=.
7187 for ac_exec_ext
in '' $ac_executable_extensions; do
7188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7189 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7202 if test -n "$DOT"; then
7203 { echo "$as_me:$LINENO: result: $DOT" >&5
7204 echo "${ECHO_T}$DOT" >&6; }
7206 { echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6; }
7211 if test "$DOT" != "echo dot" ; then
7213 cat >>confdefs.h
<<\_ACEOF
7217 if test "$llvm_cv_os_type" = "MingW" ; then
7218 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7221 cat >>confdefs.h
<<_ACEOF
7222 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7226 for ac_prog
in gv gsview32
7228 # Extract the first word of "$ac_prog", so it can be a program name with args.
7229 set dummy
$ac_prog; ac_word
=$2
7230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7232 if test "${ac_cv_path_GV+set}" = set; then
7233 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7244 test -z "$as_dir" && as_dir
=.
7245 for ac_exec_ext
in '' $ac_executable_extensions; do
7246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7247 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 if test -n "$GV"; then
7260 { echo "$as_me:$LINENO: result: $GV" >&5
7261 echo "${ECHO_T}$GV" >&6; }
7263 { echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6; }
7268 test -n "$GV" && break
7270 test -n "$GV" || GV
="echo gv"
7272 if test "$GV" != "echo gv" ; then
7274 cat >>confdefs.h
<<\_ACEOF
7278 if test "$llvm_cv_os_type" = "MingW" ; then
7279 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7282 cat >>confdefs.h
<<_ACEOF
7283 #define LLVM_PATH_GV "$GV${EXEEXT}"
7287 # Extract the first word of "dotty", so it can be a program name with args.
7288 set dummy dotty
; ac_word
=$2
7289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7291 if test "${ac_cv_path_DOTTY+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir
=.
7304 for ac_exec_ext
in '' $ac_executable_extensions; do
7305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7306 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7318 DOTTY
=$ac_cv_path_DOTTY
7319 if test -n "$DOTTY"; then
7320 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7321 echo "${ECHO_T}$DOTTY" >&6; }
7323 { echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6; }
7328 if test "$DOTTY" != "echo dotty" ; then
7330 cat >>confdefs.h
<<\_ACEOF
7331 #define HAVE_DOTTY 1
7334 if test "$llvm_cv_os_type" = "MingW" ; then
7335 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7338 cat >>confdefs.h
<<_ACEOF
7339 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7345 # Extract the first word of "perl", so it can be a program name with args.
7346 set dummy perl
; ac_word
=$2
7347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7349 if test "${ac_cv_path_PERL+set}" = set; then
7350 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir
=.
7362 for ac_exec_ext
in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7376 PERL
=$ac_cv_path_PERL
7377 if test -n "$PERL"; then
7378 { echo "$as_me:$LINENO: result: $PERL" >&5
7379 echo "${ECHO_T}$PERL" >&6; }
7381 { echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6; }
7386 if test "$PERL" != "none"; then
7387 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7388 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7389 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7390 { echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6; }
7394 { echo "$as_me:$LINENO: result: not found" >&5
7395 echo "${ECHO_T}not found" >&6; }
7400 if test x
"$PERL" = xnone
; then
7403 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7404 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7405 { (exit 1); exit 1; }; }
7411 # Find a good install program. We prefer a C program (faster),
7412 # so one script is as good as another. But avoid the broken or
7413 # incompatible versions:
7414 # SysV /etc/install, /usr/sbin/install
7415 # SunOS /usr/etc/install
7416 # IRIX /sbin/install
7418 # AmigaOS /C/install, which installs bootblocks on floppy discs
7419 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7420 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7421 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7422 # OS/2's system install, which has a completely different semantic
7423 # ./install, which can be erroneously created by make from ./install.sh.
7424 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7425 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7426 if test -z "$INSTALL"; then
7427 if test "${ac_cv_path_install+set}" = set; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7434 test -z "$as_dir" && as_dir
=.
7435 # Account for people who put trailing slashes in PATH elements.
7437 .
/ | .
// |
/cC
/* | \
7438 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7439 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7442 # OSF1 and SCO ODT 3.0 have their own names for install.
7443 # Don't use installbsd from OSF since it installs stuff as root
7445 for ac_prog
in ginstall scoinst
install; do
7446 for ac_exec_ext
in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7448 if test $ac_prog = install &&
7449 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7450 # AIX install. It has an incompatible calling convention.
7452 elif test $ac_prog = install &&
7453 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7454 # program-specific install script used by HP pwplus--don't use.
7457 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7470 if test "${ac_cv_path_install+set}" = set; then
7471 INSTALL
=$ac_cv_path_install
7473 # As a last resort, use the slow shell script. Don't cache a
7474 # value for INSTALL within a source directory, because that will
7475 # break other packages using the cache if that directory is
7476 # removed, or if the value is a relative name.
7477 INSTALL
=$ac_install_sh
7480 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7481 echo "${ECHO_T}$INSTALL" >&6; }
7483 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7484 # It thinks the first close brace ends the variable substitution.
7485 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7487 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7489 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7492 # Extract the first word of "bzip2", so it can be a program name with args.
7493 set dummy
bzip2; ac_word
=$2
7494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7496 if test "${ac_cv_path_BZIP2+set}" = set; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7508 test -z "$as_dir" && as_dir
=.
7509 for ac_exec_ext
in '' $ac_executable_extensions; do
7510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7511 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="echo "Skipped
: bzip2 not found
""
7523 BZIP2
=$ac_cv_path_BZIP2
7524 if test -n "$BZIP2"; then
7525 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7526 echo "${ECHO_T}$BZIP2" >&6; }
7528 { echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6; }
7533 # Extract the first word of "doxygen", so it can be a program name with args.
7534 set dummy doxygen
; ac_word
=$2
7535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7537 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7549 test -z "$as_dir" && as_dir
=.
7550 for ac_exec_ext
in '' $ac_executable_extensions; do
7551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7552 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="echo "Skipped
: doxygen not found
""
7564 DOXYGEN
=$ac_cv_path_DOXYGEN
7565 if test -n "$DOXYGEN"; then
7566 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7567 echo "${ECHO_T}$DOXYGEN" >&6; }
7569 { echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6; }
7574 # Extract the first word of "groff", so it can be a program name with args.
7575 set dummy
groff; ac_word
=$2
7576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7578 if test "${ac_cv_path_GROFF+set}" = set; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7583 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir
=.
7591 for ac_exec_ext
in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF
="echo "Skipped
: groff not found
""
7605 GROFF
=$ac_cv_path_GROFF
7606 if test -n "$GROFF"; then
7607 { echo "$as_me:$LINENO: result: $GROFF" >&5
7608 echo "${ECHO_T}$GROFF" >&6; }
7610 { echo "$as_me:$LINENO: result: no" >&5
7611 echo "${ECHO_T}no" >&6; }
7615 # Extract the first word of "gzip", so it can be a program name with args.
7616 set dummy
gzip; ac_word
=$2
7617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7619 if test "${ac_cv_path_GZIP+set}" = set; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7624 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir
=.
7632 for ac_exec_ext
in '' $ac_executable_extensions; do
7633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7634 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP
="echo "Skipped
: gzip not found
""
7646 GZIP
=$ac_cv_path_GZIP
7647 if test -n "$GZIP"; then
7648 { echo "$as_me:$LINENO: result: $GZIP" >&5
7649 echo "${ECHO_T}$GZIP" >&6; }
7651 { echo "$as_me:$LINENO: result: no" >&5
7652 echo "${ECHO_T}no" >&6; }
7656 # Extract the first word of "pod2html", so it can be a program name with args.
7657 set dummy pod2html
; ac_word
=$2
7658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7660 if test "${ac_cv_path_POD2HTML+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7665 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7672 test -z "$as_dir" && as_dir
=.
7673 for ac_exec_ext
in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="echo "Skipped
: pod2html not found
""
7687 POD2HTML
=$ac_cv_path_POD2HTML
7688 if test -n "$POD2HTML"; then
7689 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7690 echo "${ECHO_T}$POD2HTML" >&6; }
7692 { echo "$as_me:$LINENO: result: no" >&5
7693 echo "${ECHO_T}no" >&6; }
7697 # Extract the first word of "pod2man", so it can be a program name with args.
7698 set dummy pod2man
; ac_word
=$2
7699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7701 if test "${ac_cv_path_POD2MAN+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7713 test -z "$as_dir" && as_dir
=.
7714 for ac_exec_ext
in '' $ac_executable_extensions; do
7715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7716 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="echo "Skipped
: pod2man not found
""
7728 POD2MAN
=$ac_cv_path_POD2MAN
7729 if test -n "$POD2MAN"; then
7730 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7731 echo "${ECHO_T}$POD2MAN" >&6; }
7733 { echo "$as_me:$LINENO: result: no" >&5
7734 echo "${ECHO_T}no" >&6; }
7738 # Extract the first word of "runtest", so it can be a program name with args.
7739 set dummy runtest
; ac_word
=$2
7740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7742 if test "${ac_cv_path_RUNTEST+set}" = set; then
7743 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7754 test -z "$as_dir" && as_dir
=.
7755 for ac_exec_ext
in '' $ac_executable_extensions; do
7756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7757 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST
="echo "Skipped
: runtest not found
""
7769 RUNTEST
=$ac_cv_path_RUNTEST
7770 if test -n "$RUNTEST"; then
7771 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7772 echo "${ECHO_T}$RUNTEST" >&6; }
7774 { echo "$as_me:$LINENO: result: no" >&5
7775 echo "${ECHO_T}no" >&6; }
7781 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7782 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7784 # Check whether --with-tclinclude was given.
7785 if test "${with_tclinclude+set}" = set; then
7786 withval
=$with_tclinclude; with_tclinclude
=${withval}
7791 if test "${ac_cv_path_tclsh+set}" = set; then
7792 echo $ECHO_N "(cached) $ECHO_C" >&6
7795 if test x
"${with_tclinclude}" != x
; then
7796 if test -f ${with_tclinclude}/tclsh
; then
7797 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7798 elif test -f ${with_tclinclude}/src
/tclsh
; then
7799 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7801 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7802 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7803 { (exit 1); exit 1; }; }
7807 if test x
"${ac_cv_path_tclsh}" = x
; then
7808 { echo "$as_me:$LINENO: result: none" >&5
7809 echo "${ECHO_T}none" >&6; }
7810 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
7812 # Extract the first word of "$ac_prog", so it can be a program name with args.
7813 set dummy
$ac_prog; ac_word
=$2
7814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7816 if test "${ac_cv_path_TCLSH+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7828 test -z "$as_dir" && as_dir
=.
7829 for ac_exec_ext
in '' $ac_executable_extensions; do
7830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7831 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7842 TCLSH
=$ac_cv_path_TCLSH
7843 if test -n "$TCLSH"; then
7844 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7845 echo "${ECHO_T}$TCLSH" >&6; }
7847 { echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6; }
7852 test -n "$TCLSH" && break
7855 if test x
"${TCLSH}" = x
; then
7856 ac_cv_path_tclsh
='';
7858 ac_cv_path_tclsh
="${TCLSH}";
7861 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7862 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7863 TCLSH="${ac_cv_path_tclsh}"
7869 # Extract the first word of "zip", so it can be a program name with args.
7870 set dummy zip; ac_word=$2
7871 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7872 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7873 if test "${ac_cv_path_ZIP+set}" = set; then
7874 echo $ECHO_N "(cached
) $ECHO_C" >&6
7878 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7888 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7889 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7896 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="echo "Skipped: zip not found""
7901 if test -n "$ZIP"; then
7902 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7903 echo "${ECHO_T}$ZIP" >&6; }
7905 { echo "$as_me:$LINENO: result
: no
" >&5
7906 echo "${ECHO_T}no
" >&6; }
7911 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
7912 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
7913 if test "${llvm_cv_link_use_r+set}" = set; then
7914 echo $ECHO_N "(cached
) $ECHO_C" >&6
7917 ac_cpp='$CPP $CPPFLAGS'
7918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7923 CFLAGS="$CFLAGS -Wl,-R.
"
7924 cat >conftest.$ac_ext <<_ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7934 int main() { return 0; }
7939 rm -f conftest.$ac_objext conftest$ac_exeext
7940 if { (ac_try="$ac_link"
7942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7943 *) ac_try_echo=$ac_try;;
7945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7946 (eval "$ac_link") 2>conftest.er1
7948 grep -v '^ *+' conftest.er1 >conftest.err
7950 cat conftest.err >&5
7951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7952 (exit $ac_status); } &&
7953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7954 { (case "(($ac_try" in
7955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7956 *) ac_try_echo=$ac_try;;
7958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7959 (eval "$ac_try") 2>&5
7961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7962 (exit $ac_status); }; } &&
7963 { ac_try='test -s conftest$ac_exeext'
7964 { (case "(($ac_try" in
7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7966 *) ac_try_echo=$ac_try;;
7968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7969 (eval "$ac_try") 2>&5
7971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7972 (exit $ac_status); }; }; then
7973 llvm_cv_link_use_r=yes
7975 echo "$as_me: failed program was
:" >&5
7976 sed 's/^/| /' conftest.$ac_ext >&5
7978 llvm_cv_link_use_r=no
7981 rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext conftest.$ac_ext
7985 ac_cpp='$CPP $CPPFLAGS'
7986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7992 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
7993 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
7994 if test "$llvm_cv_link_use_r" = yes ; then
7996 cat >>confdefs.h <<\_ACEOF
7997 #define HAVE_LINK_R 1
8005 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8006 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8007 if test "${ac_cv_c_const+set}" = set; then
8008 echo $ECHO_N "(cached
) $ECHO_C" >&6
8010 cat >conftest.$ac_ext <<_ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8020 /* FIXME: Include the comments suggested by Paul. */
8022 /* Ultrix mips cc rejects this. */
8023 typedef int charset[2];
8025 /* SunOS 4.1.1 cc rejects this. */
8026 char const *const *ccp;
8028 /* NEC SVR4.0.2 mips cc rejects this. */
8029 struct point {int x, y;};
8030 static struct point const zero = {0,0};
8031 /* AIX XL C 1.02.0.0 rejects this.
8032 It does not let you subtract one const X* pointer from another in
8033 an arm of an if-expression whose if-part is not a constant
8035 const char *g = "string
";
8036 ccp = &g + (g ? g-g : 0);
8037 /* HPUX 7.0 cc rejects these. */
8040 ccp = (char const *const *) p;
8041 { /* SCO 3.2v4 cc rejects this. */
8043 char const *s = 0 ? (char *) 0 : (char const *) 0;
8048 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8050 const int *foo = &x[0];
8053 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8054 typedef const int *iptr;
8058 { /* AIX XL C 1.02.0.0 rejects this saying
8059 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8060 struct s { int j; const int *ap[3]; };
8061 struct s *b; b->j = 5;
8063 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8067 return !x[0] && !zero.x;
8074 rm -f conftest.$ac_objext
8075 if { (ac_try="$ac_compile"
8077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8078 *) ac_try_echo=$ac_try;;
8080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8081 (eval "$ac_compile") 2>conftest.er1
8083 grep -v '^ *+' conftest.er1 >conftest.err
8085 cat conftest.err >&5
8086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8087 (exit $ac_status); } &&
8088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8089 { (case "(($ac_try" in
8090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8091 *) ac_try_echo=$ac_try;;
8093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8094 (eval "$ac_try") 2>&5
8096 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8097 (exit $ac_status); }; } &&
8098 { ac_try='test -s conftest.$ac_objext'
8099 { (case "(($ac_try" in
8100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8101 *) ac_try_echo=$ac_try;;
8103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8104 (eval "$ac_try") 2>&5
8106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8107 (exit $ac_status); }; }; then
8110 echo "$as_me: failed program was
:" >&5
8111 sed 's/^/| /' conftest.$ac_ext >&5
8116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8118 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8119 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8120 if test $ac_cv_c_const = no; then
8122 cat >>confdefs.h <<\_ACEOF
8134 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8135 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8136 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8137 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8138 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8139 echo $ECHO_N "(cached
) $ECHO_C" >&6
8141 cat >conftest.$ac_ext <<_ACEOF
8144 cat confdefs.h >>conftest.$ac_ext
8145 cat >>conftest.$ac_ext <<_ACEOF
8146 /* end confdefs.h. */
8147 #include <sys/types.h>
8159 rm -f conftest.$ac_objext
8160 if { (ac_try="$ac_compile"
8162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8163 *) ac_try_echo=$ac_try;;
8165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8166 (eval "$ac_compile") 2>conftest.er1
8168 grep -v '^ *+' conftest.er1 >conftest.err
8170 cat conftest.err >&5
8171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8172 (exit $ac_status); } &&
8173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8174 { (case "(($ac_try" in
8175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8176 *) ac_try_echo=$ac_try;;
8178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8179 (eval "$ac_try") 2>&5
8181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8182 (exit $ac_status); }; } &&
8183 { ac_try='test -s conftest.$ac_objext'
8184 { (case "(($ac_try" in
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8188 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_try") 2>&5
8191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8192 (exit $ac_status); }; }; then
8193 eval "$as_ac_Header=yes"
8195 echo "$as_me: failed program was
:" >&5
8196 sed 's/^/| /' conftest.$ac_ext >&5
8198 eval "$as_ac_Header=no
"
8201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8203 ac_res=`eval echo '${'$as_ac_Header'}'`
8204 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8205 echo "${ECHO_T}$ac_res" >&6; }
8206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8207 cat >>confdefs.h <<_ACEOF
8208 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8211 ac_header_dirent=$ac_hdr; break
8215 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8216 if test $ac_header_dirent = dirent.h; then
8217 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8218 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8219 if test "${ac_cv_search_opendir+set}" = set; then
8220 echo $ECHO_N "(cached
) $ECHO_C" >&6
8222 ac_func_search_save_LIBS=$LIBS
8223 cat >conftest.$ac_ext <<_ACEOF
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8230 /* Override any GCC internal prototype to avoid an error.
8231 Use char because int might match the return type of a GCC
8232 builtin and then its argument prototype would still apply. */
8245 for ac_lib in '' dir; do
8246 if test -z "$ac_lib"; then
8247 ac_res="none required
"
8250 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8252 rm -f conftest.$ac_objext conftest$ac_exeext
8253 if { (ac_try="$ac_link"
8255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256 *) ac_try_echo=$ac_try;;
8258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8259 (eval "$ac_link") 2>conftest.er1
8261 grep -v '^ *+' conftest.er1 >conftest.err
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8265 (exit $ac_status); } &&
8266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8267 { (case "(($ac_try" in
8268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8269 *) ac_try_echo=$ac_try;;
8271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8272 (eval "$ac_try") 2>&5
8274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8275 (exit $ac_status); }; } &&
8276 { ac_try='test -s conftest$ac_exeext'
8277 { (case "(($ac_try" in
8278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8279 *) ac_try_echo=$ac_try;;
8281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8282 (eval "$ac_try") 2>&5
8284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8285 (exit $ac_status); }; }; then
8286 ac_cv_search_opendir=$ac_res
8288 echo "$as_me: failed program was
:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8294 rm -f core conftest.err conftest.$ac_objext \
8296 if test "${ac_cv_search_opendir+set}" = set; then
8300 if test "${ac_cv_search_opendir+set}" = set; then
8303 ac_cv_search_opendir=no
8306 LIBS=$ac_func_search_save_LIBS
8308 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8309 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8310 ac_res=$ac_cv_search_opendir
8311 if test "$ac_res" != no; then
8312 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8317 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8318 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8319 if test "${ac_cv_search_opendir+set}" = set; then
8320 echo $ECHO_N "(cached
) $ECHO_C" >&6
8322 ac_func_search_save_LIBS=$LIBS
8323 cat >conftest.$ac_ext <<_ACEOF
8326 cat confdefs.h >>conftest.$ac_ext
8327 cat >>conftest.$ac_ext <<_ACEOF
8328 /* end confdefs.h. */
8330 /* Override any GCC internal prototype to avoid an error.
8331 Use char because int might match the return type of a GCC
8332 builtin and then its argument prototype would still apply. */
8345 for ac_lib in '' x; do
8346 if test -z "$ac_lib"; then
8347 ac_res="none required
"
8350 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8352 rm -f conftest.$ac_objext conftest$ac_exeext
8353 if { (ac_try="$ac_link"
8355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8356 *) ac_try_echo=$ac_try;;
8358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8359 (eval "$ac_link") 2>conftest.er1
8361 grep -v '^ *+' conftest.er1 >conftest.err
8363 cat conftest.err >&5
8364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8365 (exit $ac_status); } &&
8366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8367 { (case "(($ac_try" in
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_try") 2>&5
8374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try='test -s conftest$ac_exeext'
8377 { (case "(($ac_try" in
8378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8379 *) ac_try_echo=$ac_try;;
8381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_try") 2>&5
8384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8385 (exit $ac_status); }; }; then
8386 ac_cv_search_opendir=$ac_res
8388 echo "$as_me: failed program was
:" >&5
8389 sed 's/^/| /' conftest.$ac_ext >&5
8394 rm -f core conftest.err conftest.$ac_objext \
8396 if test "${ac_cv_search_opendir+set}" = set; then
8400 if test "${ac_cv_search_opendir+set}" = set; then
8403 ac_cv_search_opendir=no
8406 LIBS=$ac_func_search_save_LIBS
8408 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8409 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8410 ac_res=$ac_cv_search_opendir
8411 if test "$ac_res" != no; then
8412 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8419 for ac_header in dlfcn.h
8421 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8422 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8423 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8424 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8425 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8426 echo $ECHO_N "(cached
) $ECHO_C" >&6
8428 ac_res=`eval echo '${'$as_ac_Header'}'`
8429 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8430 echo "${ECHO_T}$ac_res" >&6; }
8432 # Is the header compilable?
8433 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8434 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8435 cat >conftest.$ac_ext <<_ACEOF
8438 cat confdefs.h >>conftest.$ac_ext
8439 cat >>conftest.$ac_ext <<_ACEOF
8440 /* end confdefs.h. */
8441 $ac_includes_default
8442 #include <$ac_header>
8444 rm -f conftest.$ac_objext
8445 if { (ac_try="$ac_compile"
8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_compile") 2>conftest.er1
8453 grep -v '^ *+' conftest.er1 >conftest.err
8455 cat conftest.err >&5
8456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8457 (exit $ac_status); } &&
8458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8459 { (case "(($ac_try" in
8460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8461 *) ac_try_echo=$ac_try;;
8463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8464 (eval "$ac_try") 2>&5
8466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try='test -s conftest.$ac_objext'
8469 { (case "(($ac_try" in
8470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8471 *) ac_try_echo=$ac_try;;
8473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8474 (eval "$ac_try") 2>&5
8476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8477 (exit $ac_status); }; }; then
8478 ac_header_compiler=yes
8480 echo "$as_me: failed program was
:" >&5
8481 sed 's/^/| /' conftest.$ac_ext >&5
8483 ac_header_compiler=no
8486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8487 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8488 echo "${ECHO_T}$ac_header_compiler" >&6; }
8490 # Is the header present?
8491 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8492 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8493 cat >conftest.$ac_ext <<_ACEOF
8496 cat confdefs.h >>conftest.$ac_ext
8497 cat >>conftest.$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8499 #include <$ac_header>
8501 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8504 *) ac_try_echo=$ac_try;;
8506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8507 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8509 grep -v '^ *+' conftest.er1 >conftest.err
8511 cat conftest.err >&5
8512 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8513 (exit $ac_status); } >/dev/null; then
8514 if test -s conftest.err; then
8515 ac_cpp_err=$ac_c_preproc_warn_flag
8516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8523 if test -z "$ac_cpp_err"; then
8524 ac_header_preproc=yes
8526 echo "$as_me: failed program was
:" >&5
8527 sed 's/^/| /' conftest.$ac_ext >&5
8529 ac_header_preproc=no
8532 rm -f conftest.err conftest.$ac_ext
8533 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8534 echo "${ECHO_T}$ac_header_preproc" >&6; }
8536 # So? What about this header?
8537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8539 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8540 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8541 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8543 ac_header_preproc=yes
8546 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8547 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8548 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8549 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8550 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8551 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8552 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8553 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8554 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8556 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8557 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8559 ## ----------------------------------- ##
8560 ## Report this to llvmbugs@cs.uiuc.edu ##
8561 ## ----------------------------------- ##
8563 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8566 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8567 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8568 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8569 echo $ECHO_N "(cached
) $ECHO_C" >&6
8571 eval "$as_ac_Header=\
$ac_header_preproc"
8573 ac_res=`eval echo '${'$as_ac_Header'}'`
8574 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8575 echo "${ECHO_T}$ac_res" >&6; }
8578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8579 cat >>confdefs.h <<_ACEOF
8580 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8587 # Check whether --enable-ltdl-install was given.
8588 if test "${enable_ltdl_install+set}" = set; then
8589 enableval=$enable_ltdl_install;
8595 if test x"${enable_ltdl_install-no}" != xno; then
8597 INSTALL_LTDL_FALSE='#'
8599 INSTALL_LTDL_TRUE='#'
8605 if test x"${enable_ltdl_convenience-no}" != xno; then
8606 CONVENIENCE_LTDL_TRUE=
8607 CONVENIENCE_LTDL_FALSE='#'
8609 CONVENIENCE_LTDL_TRUE='#'
8610 CONVENIENCE_LTDL_FALSE=
8614 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8615 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8617 libname_spec='lib$name'
8625 shlibpath_overrides_runpath=unknown
8627 dynamic_linker="$host_os ld.so
"
8628 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8629 if test "$GCC" = yes; then
8630 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8631 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8632 # if the path contains ";" then we assume it to be the separator
8633 # otherwise default to the standard path separator (i.e. ":") - it is
8634 # assumed that no part of a normal pathname contains ";" but that should
8635 # okay in the real world where ";" in dirpaths is itself problematic.
8636 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8638 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8641 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8643 need_lib_prefix=unknown
8644 hardcode_into_libs=no
8646 # when you set need_version to no, make sure it does not cause -set_version
8647 # flags to be left without arguments
8648 need_version=unknown
8653 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8654 shlibpath_var=LIBPATH
8656 # AIX 3 has no versioning support, so we append a major version to the name.
8657 soname_spec='${libname}${release}${shared_ext}$major'
8664 hardcode_into_libs=yes
8665 if test "$host_cpu" = ia64; then
8666 # AIX 5 supports IA64
8667 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8668 shlibpath_var=LD_LIBRARY_PATH
8670 # With GCC up to 2.95.x, collect2 would create an import file
8671 # for dependence libraries. The import file would start with
8672 # the line `#! .'. This would cause the generated library to
8673 # depend on `.', always an invalid library. This was fixed in
8674 # development snapshots of GCC prior to 3.0.
8676 aix4 | aix4.[01] | aix4.[01].*)
8677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8679 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8687 # soname into executable. Probably we can add versioning support to
8688 # collect2, so additional links can be useful in future.
8689 if test "$aix_use_runtimelinking" = yes; then
8690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8691 # instead of lib<name>.a to let people know that these are not
8692 # typical AIX shared libraries.
8693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8695 # We preserve .a as extension for shared libraries through AIX4.2
8696 # and later when we are not doing run time linking.
8697 library_names_spec='${libname}${release}.a $libname.a'
8698 soname_spec='${libname}${release}${shared_ext}$major'
8700 shlibpath_var=LIBPATH
8705 library_names_spec='$libname.ixlibrary $libname.a'
8706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8707 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'
8711 library_names_spec='${libname}${shared_ext}'
8712 dynamic_linker="$host_os ld.so
"
8713 shlibpath_var=LIBRARY_PATH
8719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8720 soname_spec='${libname}${release}${shared_ext}$major'
8721 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8722 shlibpath_var=LD_LIBRARY_PATH
8723 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8724 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8725 # the default ld.so.conf also contains /usr/contrib/lib and
8726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8727 # libtool to hard-code these into programs
8730 cygwin* | mingw* | pw32*)
8731 version_type=windows
8736 case $GCC,$host_os in
8737 yes,cygwin* | yes,mingw* | yes,pw32*)
8738 library_names_spec='$libname.dll.a'
8739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8740 postinstall_cmds='base_file=`basename \${file}`~
8741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8742 dldir=$destdir/`dirname \$dlpath`~
8743 test -d \$dldir || mkdir -p \$dldir~
8744 $install_prog $dir/$dlname \$dldir/$dlname~
8745 chmod a+x \$dldir/$dlname'
8746 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8747 dlpath=$dir/\$dldll~
8749 shlibpath_overrides_runpath=yes
8753 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8754 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8755 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8758 # MinGW DLLs use traditional 'lib' prefix
8759 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8760 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8761 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8762 # It is most probably a Windows format PATH printed by
8763 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8764 # path with ; separators, and with drive letters. We can handle the
8765 # drive letters (cygwin fileutils understands them), so leave them,
8766 # especially as we might pass files found there to a mingw objdump,
8767 # which wouldn't understand a cygwinified path. Ahh.
8768 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8770 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8774 # pw32 DLLs use 'pw' prefix rather than 'lib'
8775 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8781 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8784 dynamic_linker='Win32 ld.exe'
8785 # FIXME: first we should search . and the directory the executable is in
8789 darwin* | rhapsody*)
8790 dynamic_linker="$host_os dyld
"
8794 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8795 soname_spec='${libname}${release}${major}$shared_ext'
8796 shlibpath_overrides_runpath=yes
8797 shlibpath_var=DYLD_LIBRARY_PATH
8798 shrext_cmds='.dylib'
8799 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8800 if test "$GCC" = yes; then
8801 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
"`
8803 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8805 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8813 soname_spec='${libname}${release}${shared_ext}$major'
8814 shlibpath_var=LD_LIBRARY_PATH
8825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8826 soname_spec='${libname}${release}${shared_ext}$major'
8827 shlibpath_var=LD_LIBRARY_PATH
8828 shlibpath_overrides_runpath=no
8829 hardcode_into_libs=yes
8830 dynamic_linker='GNU ld.so'
8833 freebsd* | dragonfly*)
8834 # DragonFly does not have aout. When/if they implement a new
8835 # versioning mechanism, adjust this.
8836 if test -x /usr/bin/objformat; then
8837 objformat=`/usr/bin/objformat`
8840 freebsd[123]*) objformat=aout ;;
8844 version_type=freebsd-$objformat
8845 case $version_type in
8847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8852 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8856 shlibpath_var=LD_LIBRARY_PATH
8859 shlibpath_overrides_runpath=yes
8861 freebsd3.[01]* | freebsdelf3.[01]*)
8862 shlibpath_overrides_runpath=yes
8863 hardcode_into_libs=yes
8865 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8866 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8867 shlibpath_overrides_runpath=no
8868 hardcode_into_libs=yes
8870 freebsd*) # from 4.6 on
8871 shlibpath_overrides_runpath=yes
8872 hardcode_into_libs=yes
8881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8882 soname_spec='${libname}${release}${shared_ext}$major'
8883 shlibpath_var=LD_LIBRARY_PATH
8884 hardcode_into_libs=yes
8887 hpux9* | hpux10* | hpux11*)
8888 # Give a soname corresponding to the major version so that dld.sl refuses to
8889 # link against other versions.
8896 hardcode_into_libs=yes
8897 dynamic_linker="$host_os dld.so
"
8898 shlibpath_var=LD_LIBRARY_PATH
8899 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8901 soname_spec='${libname}${release}${shared_ext}$major'
8902 if test "X
$HPUX_IA64_MODE" = X32; then
8903 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
8905 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
8907 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8911 hardcode_into_libs=yes
8912 dynamic_linker="$host_os dld.sl
"
8913 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8914 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8916 soname_spec='${libname}${release}${shared_ext}$major'
8917 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
8918 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8922 dynamic_linker="$host_os dld.sl
"
8923 shlibpath_var=SHLIB_PATH
8924 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8926 soname_spec='${libname}${release}${shared_ext}$major'
8929 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8930 postinstall_cmds='chmod 555 $lib'
8937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8938 soname_spec='${libname}${release}${shared_ext}$major'
8939 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8940 shlibpath_var=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath=no
8942 hardcode_into_libs=yes
8945 irix5* | irix6* | nonstopux*)
8947 nonstopux*) version_type=nonstopux ;;
8949 if test "$lt_cv_prog_gnu_ld" = yes; then
8957 soname_spec='${libname}${release}${shared_ext}$major'
8958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8960 irix5* | nonstopux*)
8964 case $LD in # libtool.m4 will add one of these switches to LD
8965 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8966 libsuff= shlibsuff= libmagic=32-bit;;
8967 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8968 libsuff=32 shlibsuff=N32 libmagic=N32;;
8969 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8970 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8971 *) libsuff= shlibsuff= libmagic=never-match;;
8975 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8976 shlibpath_overrides_runpath=no
8977 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8978 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
8979 hardcode_into_libs=yes
8982 # No shared lib support for Linux oldld, aout, or coff.
8983 linux*oldld* | linux*aout* | linux*coff*)
8987 # This must be Linux ELF.
8992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8993 soname_spec='${libname}${release}${shared_ext}$major'
8994 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
8995 shlibpath_var=LD_LIBRARY_PATH
8996 shlibpath_overrides_runpath=no
8997 # This implies no fast_install, which is unacceptable.
8998 # Some rework will be needed to allow for fast_install
8999 # before this can be enabled.
9000 hardcode_into_libs=yes
9002 # Append ld.so.conf contents to the search path
9003 if test -f /etc/ld.so.conf; then
9004 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' ' '`
9005 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9008 # We used to test for /lib/ld.so.1 and disable shared libraries on
9009 # powerpc, because MkLinux only supported shared libraries with the
9010 # GNU dynamic linker. Since this was broken with cross compilers,
9011 # most powerpc-linux boxes support dynamic linking these days and
9012 # people can always --disable-shared, the test was removed, and we
9013 # assume the GNU/Linux dynamic linker is in use.
9014 dynamic_linker='GNU/Linux ld.so'
9021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9022 soname_spec='${libname}${release}${shared_ext}$major'
9023 shlibpath_var=LD_LIBRARY_PATH
9024 shlibpath_overrides_runpath=no
9025 hardcode_into_libs=yes
9026 dynamic_linker='GNU ld.so'
9033 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9035 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9036 dynamic_linker='NetBSD (a.out) ld.so'
9038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9039 soname_spec='${libname}${release}${shared_ext}$major'
9040 dynamic_linker='NetBSD ld.elf_so'
9042 shlibpath_var=LD_LIBRARY_PATH
9043 shlibpath_overrides_runpath=yes
9044 hardcode_into_libs=yes
9049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9050 shlibpath_var=LD_LIBRARY_PATH
9051 shlibpath_overrides_runpath=yes
9058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9059 soname_spec='${libname}${release}${shared_ext}$major'
9060 shlibpath_var=LD_LIBRARY_PATH
9061 shlibpath_overrides_runpath=yes
9066 sys_lib_dlsearch_path_spec="/usr
/lib
"
9068 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9070 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9071 *) need_version=no ;;
9073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9074 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9075 shlibpath_var=LD_LIBRARY_PATH
9076 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9078 openbsd2.[89] | openbsd2.[89].*)
9079 shlibpath_overrides_runpath=no
9082 shlibpath_overrides_runpath=yes
9086 shlibpath_overrides_runpath=yes
9091 libname_spec='$name'
9094 library_names_spec='$libname${shared_ext} $libname.a'
9095 dynamic_linker='OS/2 ld.exe'
9096 shlibpath_var=LIBPATH
9099 osf3* | osf4* | osf5*)
9103 soname_spec='${libname}${release}${shared_ext}$major'
9104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9105 shlibpath_var=LD_LIBRARY_PATH
9106 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9107 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9115 soname_spec='${libname}${release}${shared_ext}$major'
9116 shlibpath_var=LD_LIBRARY_PATH
9117 shlibpath_overrides_runpath=yes
9118 hardcode_into_libs=yes
9119 # ldd complains unless libraries are executable
9120 postinstall_cmds='chmod +x $lib'
9125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9126 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9127 shlibpath_var=LD_LIBRARY_PATH
9128 shlibpath_overrides_runpath=yes
9129 if test "$with_gnu_ld" = yes; then
9137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9138 soname_spec='${libname}${release}${shared_ext}$major'
9139 shlibpath_var=LD_LIBRARY_PATH
9140 case $host_vendor in
9142 shlibpath_overrides_runpath=no
9144 export_dynamic_flag_spec='${wl}-Blargedynsym'
9145 runpath_var=LD_RUN_PATH
9153 shlibpath_overrides_runpath=no
9154 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9160 if test -d /usr/nec ;then
9162 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9163 soname_spec='$libname${shared_ext}.$major'
9164 shlibpath_var=LD_LIBRARY_PATH
9168 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9169 version_type=freebsd-elf
9172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9173 soname_spec='${libname}${release}${shared_ext}$major'
9174 shlibpath_var=LD_LIBRARY_PATH
9175 hardcode_into_libs=yes
9176 if test "$with_gnu_ld" = yes; then
9177 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9178 shlibpath_overrides_runpath=no
9180 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9181 shlibpath_overrides_runpath=yes
9184 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9188 sys_lib_dlsearch_path_spec='/usr/lib'
9193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9194 soname_spec='${libname}${release}${shared_ext}$major'
9195 shlibpath_var=LD_LIBRARY_PATH
9202 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9203 echo "${ECHO_T}$dynamic_linker" >&6; }
9204 test "$dynamic_linker" = no && can_build_shared=no
9206 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9207 if test "$GCC" = yes; then
9208 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9212 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9213 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9214 if test "${libltdl_cv_shlibext+set}" = set; then
9215 echo $ECHO_N "(cached
) $ECHO_C" >&6
9219 eval libltdl_cv_shlibext=$shrext_cmds
9222 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9223 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9224 if test -n "$libltdl_cv_shlibext"; then
9226 cat >>confdefs.h <<_ACEOF
9227 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9233 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9234 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9235 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9236 echo $ECHO_N "(cached
) $ECHO_C" >&6
9238 libltdl_cv_shlibpath_var="$shlibpath_var"
9240 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9241 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9242 if test -n "$libltdl_cv_shlibpath_var"; then
9244 cat >>confdefs.h <<_ACEOF
9245 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9251 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9252 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9253 if test "${libltdl_cv_sys_search_path+set}" = set; then
9254 echo $ECHO_N "(cached
) $ECHO_C" >&6
9256 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9258 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9259 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9260 if test -n "$libltdl_cv_sys_search_path"; then
9262 for dir in $libltdl_cv_sys_search_path; do
9263 if test -z "$sys_search_path"; then
9264 sys_search_path="$dir"
9266 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9270 cat >>confdefs.h <<_ACEOF
9271 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9276 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9277 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9278 if test "${libltdl_cv_objdir+set}" = set; then
9279 echo $ECHO_N "(cached
) $ECHO_C" >&6
9281 libltdl_cv_objdir="$objdir"
9282 if test -n "$objdir"; then
9285 rm -f .libs 2>/dev/null
9286 mkdir .libs 2>/dev/null
9287 if test -d .libs; then
9288 libltdl_cv_objdir=.libs
9290 # MS-DOS does not allow filenames that begin with a dot.
9291 libltdl_cv_objdir=_libs
9293 rmdir .libs 2>/dev/null
9297 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9298 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9300 cat >>confdefs.h <<_ACEOF
9301 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9309 # Check for command to grab the raw symbol name followed by C symbol from nm.
9310 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9311 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9312 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9313 echo $ECHO_N "(cached
) $ECHO_C" >&6
9316 # These are sane defaults that work on at least a few old systems.
9317 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9319 # Character class describing NM global symbol codes.
9320 symcode='[BCDEGRST]'
9322 # Regexp to match symbols that can be accessed directly from C.
9323 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9325 # Transform an extracted symbol line into a proper C declaration
9326 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9328 # Transform an extracted symbol line into symbol name and symbol address
9329 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'"
9331 # Define system-specific variables.
9336 cygwin* | mingw* | pw32*)
9337 symcode='[ABCDGISTW]'
9339 hpux*) # Its linker distinguishes data from code symbols
9340 if test "$host_cpu" = ia64; then
9341 symcode='[ABCDEGRST]'
9343 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9344 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'"
9347 if test "$host_cpu" = ia64; then
9348 symcode='[ABCDGIRSTW]'
9349 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9350 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'"
9354 symcode='[BCDEGRST]'
9357 symcode='[BCDEGQRST]'
9368 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9376 # Handle CRLF in mingw tool chain
9380 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9384 # If we're using GNU nm, then use its standard symbol codes.
9385 case `$NM -V 2>&1` in
9386 *GNU* | *'with BFD'*)
9387 symcode='[ABCDGIRSTW]' ;;
9390 # Try without a prefix undercore, then with it.
9391 for ac_symprfx in "" "_
"; do
9393 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9394 symxfrm="\\1 $ac_symprfx\\2 \\2"
9396 # Write the raw and C identifiers.
9397 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9399 # Check to see that the pipe works correctly.
9403 cat > conftest.$ac_ext <<EOF
9408 void nm_test_func(){}
9412 int main(){nm_test_var='a';nm_test_func();return(0);}
9415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9416 (eval $ac_compile) 2>&5
9418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9419 (exit $ac_status); }; then
9420 # Now try to grab the symbols.
9422 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9423 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9426 (exit $ac_status); } && test -s "$nlist"; then
9427 # Try sorting and uniquifying the output.
9428 if sort "$nlist" | uniq > "$nlist"T; then
9429 mv -f "$nlist"T "$nlist"
9434 # Make sure that we snagged all the symbols we need.
9435 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9436 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9437 cat <<EOF > conftest.$ac_ext
9443 # Now generate the symbol file.
9444 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9446 cat <<EOF >> conftest.$ac_ext
9447 #if defined (__STDC__) && __STDC__
9448 # define lt_ptr_t void *
9450 # define lt_ptr_t char *
9454 /* The mapping between symbol names and symbols. */
9459 lt_preloaded_symbols[] =
9462 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9463 cat <<\EOF >> conftest.$ac_ext
9471 # Now try linking the two files.
9472 mv conftest.$ac_objext conftstm.$ac_objext
9473 lt_save_LIBS="$LIBS"
9474 lt_save_CFLAGS="$CFLAGS"
9475 LIBS="conftstm.
$ac_objext"
9476 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9478 (eval $ac_link) 2>&5
9480 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9481 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9484 LIBS="$lt_save_LIBS"
9485 CFLAGS="$lt_save_CFLAGS"
9487 echo "cannot
find nm_test_func
in $nlist" >&5
9490 echo "cannot
find nm_test_var
in $nlist" >&5
9493 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9496 echo "$progname: failed program was
:" >&5
9497 cat conftest.$ac_ext >&5
9499 rm -f conftest* conftst*
9501 # Do not use the global_symbol_pipe unless it works.
9502 if test "$pipe_works" = yes; then
9505 lt_cv_sys_global_symbol_pipe=
9511 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9512 lt_cv_sys_global_symbol_to_cdecl=
9514 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9515 { echo "$as_me:$LINENO: result
: failed
" >&5
9516 echo "${ECHO_T}failed
" >&6; }
9518 { echo "$as_me:$LINENO: result
: ok
" >&5
9519 echo "${ECHO_T}ok
" >&6; }
9523 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9524 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9525 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9526 echo $ECHO_N "(cached
) $ECHO_C" >&6
9528 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9529 libltdl_cv_preloaded_symbols=yes
9531 libltdl_cv_preloaded_symbols=no
9535 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9536 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9537 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9539 cat >>confdefs.h <<\_ACEOF
9540 #define HAVE_PRELOADED_SYMBOLS 1
9548 ac_cpp='$CPP $CPPFLAGS'
9549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9554 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9555 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9556 if test "${ac_cv_func_shl_load+set}" = set; then
9557 echo $ECHO_N "(cached
) $ECHO_C" >&6
9559 cat >conftest.$ac_ext <<_ACEOF
9562 cat confdefs.h >>conftest.$ac_ext
9563 cat >>conftest.$ac_ext <<_ACEOF
9564 /* end confdefs.h. */
9565 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9567 #define shl_load innocuous_shl_load
9569 /* System header to define __stub macros and hopefully few prototypes,
9570 which can conflict with char shl_load (); below.
9571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9572 <limits.h> exists even on freestanding compilers. */
9575 # include <limits.h>
9577 # include <assert.h>
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9589 /* The GNU C library defines this for functions which it implements
9590 to always fail with ENOSYS. Some functions are actually named
9591 something starting with __ and the normal name is an alias. */
9592 #if defined __stub_shl_load || defined __stub___shl_load
9604 rm -f conftest.$ac_objext conftest$ac_exeext
9605 if { (ac_try="$ac_link"
9607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9608 *) ac_try_echo=$ac_try;;
9610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9611 (eval "$ac_link") 2>conftest.er1
9613 grep -v '^ *+' conftest.er1 >conftest.err
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9617 (exit $ac_status); } &&
9618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9619 { (case "(($ac_try" in
9620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9621 *) ac_try_echo=$ac_try;;
9623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9624 (eval "$ac_try") 2>&5
9626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9627 (exit $ac_status); }; } &&
9628 { ac_try='test -s conftest$ac_exeext'
9629 { (case "(($ac_try" in
9630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9631 *) ac_try_echo=$ac_try;;
9633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9634 (eval "$ac_try") 2>&5
9636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9637 (exit $ac_status); }; }; then
9638 ac_cv_func_shl_load=yes
9640 echo "$as_me: failed program was
:" >&5
9641 sed 's/^/| /' conftest.$ac_ext >&5
9643 ac_cv_func_shl_load=no
9646 rm -f core conftest.err conftest.$ac_objext \
9647 conftest$ac_exeext conftest.$ac_ext
9649 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9650 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9651 if test $ac_cv_func_shl_load = yes; then
9653 cat >>confdefs.h <<\_ACEOF
9654 #define HAVE_SHL_LOAD 1
9658 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9659 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9660 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9661 echo $ECHO_N "(cached
) $ECHO_C" >&6
9663 ac_check_lib_save_LIBS=$LIBS
9665 cat >conftest.$ac_ext <<_ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9687 rm -f conftest.$ac_objext conftest$ac_exeext
9688 if { (ac_try="$ac_link"
9690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9694 (eval "$ac_link") 2>conftest.er1
9696 grep -v '^ *+' conftest.er1 >conftest.err
9698 cat conftest.err >&5
9699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9700 (exit $ac_status); } &&
9701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9702 { (case "(($ac_try" in
9703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9704 *) ac_try_echo=$ac_try;;
9706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9707 (eval "$ac_try") 2>&5
9709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try='test -s conftest$ac_exeext'
9712 { (case "(($ac_try" in
9713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_try") 2>&5
9719 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9720 (exit $ac_status); }; }; then
9721 ac_cv_lib_dld_shl_load=yes
9723 echo "$as_me: failed program was
:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9726 ac_cv_lib_dld_shl_load=no
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 LIBS=$ac_check_lib_save_LIBS
9733 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9734 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9735 if test $ac_cv_lib_dld_shl_load = yes; then
9737 cat >>confdefs.h <<\_ACEOF
9738 #define HAVE_SHL_LOAD 1
9741 LIBADD_DL="$LIBADD_DL -ldld"
9743 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9744 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9745 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9746 echo $ECHO_N "(cached
) $ECHO_C" >&6
9748 ac_check_lib_save_LIBS=$LIBS
9750 cat >conftest.$ac_ext <<_ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9772 rm -f conftest.$ac_objext conftest$ac_exeext
9773 if { (ac_try="$ac_link"
9775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9776 *) ac_try_echo=$ac_try;;
9778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9779 (eval "$ac_link") 2>conftest.er1
9781 grep -v '^ *+' conftest.er1 >conftest.err
9783 cat conftest.err >&5
9784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9785 (exit $ac_status); } &&
9786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9787 { (case "(($ac_try" in
9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9789 *) ac_try_echo=$ac_try;;
9791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9792 (eval "$ac_try") 2>&5
9794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9795 (exit $ac_status); }; } &&
9796 { ac_try='test -s conftest$ac_exeext'
9797 { (case "(($ac_try" in
9798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9799 *) ac_try_echo=$ac_try;;
9801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9802 (eval "$ac_try") 2>&5
9804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9805 (exit $ac_status); }; }; then
9806 ac_cv_lib_dl_dlopen=yes
9808 echo "$as_me: failed program was
:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9811 ac_cv_lib_dl_dlopen=no
9814 rm -f core conftest.err conftest.$ac_objext \
9815 conftest$ac_exeext conftest.$ac_ext
9816 LIBS=$ac_check_lib_save_LIBS
9818 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
9819 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9820 if test $ac_cv_lib_dl_dlopen = yes; then
9822 cat >>confdefs.h <<\_ACEOF
9823 #define HAVE_LIBDL 1
9826 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
9828 cat >conftest.$ac_ext <<_ACEOF
9831 cat confdefs.h >>conftest.$ac_ext
9832 cat >>conftest.$ac_ext <<_ACEOF
9833 /* end confdefs.h. */
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (ac_try="$ac_link"
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9859 (exit $ac_status); } &&
9860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9861 { (case "(($ac_try" in
9862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9863 *) ac_try_echo=$ac_try;;
9865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9866 (eval "$ac_try") 2>&5
9868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9869 (exit $ac_status); }; } &&
9870 { ac_try='test -s conftest$ac_exeext'
9871 { (case "(($ac_try" in
9872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9873 *) ac_try_echo=$ac_try;;
9875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9876 (eval "$ac_try") 2>&5
9878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9879 (exit $ac_status); }; }; then
9881 cat >>confdefs.h <<\_ACEOF
9882 #define HAVE_LIBDL 1
9884 libltdl_cv_func_dlopen="yes"
9886 echo "$as_me: failed program was
:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9889 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
9890 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
9891 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9892 echo $ECHO_N "(cached
) $ECHO_C" >&6
9894 ac_check_lib_save_LIBS=$LIBS
9896 cat >conftest.$ac_ext <<_ACEOF
9899 cat confdefs.h >>conftest.$ac_ext
9900 cat >>conftest.$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9918 rm -f conftest.$ac_objext conftest$ac_exeext
9919 if { (ac_try="$ac_link"
9921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9922 *) ac_try_echo=$ac_try;;
9924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9925 (eval "$ac_link") 2>conftest.er1
9927 grep -v '^ *+' conftest.er1 >conftest.err
9929 cat conftest.err >&5
9930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9931 (exit $ac_status); } &&
9932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9933 { (case "(($ac_try" in
9934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9935 *) ac_try_echo=$ac_try;;
9937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9938 (eval "$ac_try") 2>&5
9940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9941 (exit $ac_status); }; } &&
9942 { ac_try='test -s conftest$ac_exeext'
9943 { (case "(($ac_try" in
9944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9945 *) ac_try_echo=$ac_try;;
9947 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9948 (eval "$ac_try") 2>&5
9950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9951 (exit $ac_status); }; }; then
9952 ac_cv_lib_svld_dlopen=yes
9954 echo "$as_me: failed program was
:" >&5
9955 sed 's/^/| /' conftest.$ac_ext >&5
9957 ac_cv_lib_svld_dlopen=no
9960 rm -f core conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext
9962 LIBS=$ac_check_lib_save_LIBS
9964 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
9965 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9966 if test $ac_cv_lib_svld_dlopen = yes; then
9968 cat >>confdefs.h <<\_ACEOF
9969 #define HAVE_LIBDL 1
9972 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
9974 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
9975 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
9976 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9977 echo $ECHO_N "(cached
) $ECHO_C" >&6
9979 ac_check_lib_save_LIBS=$LIBS
9981 cat >conftest.$ac_ext <<_ACEOF
9984 cat confdefs.h >>conftest.$ac_ext
9985 cat >>conftest.$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9988 /* Override any GCC internal prototype to avoid an error.
9989 Use char because int might match the return type of a GCC
9990 builtin and then its argument prototype would still apply. */
10003 rm -f conftest.$ac_objext conftest$ac_exeext
10004 if { (ac_try="$ac_link"
10005 case "(($ac_try" in
10006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10007 *) ac_try_echo=$ac_try;;
10009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10010 (eval "$ac_link") 2>conftest.er1
10012 grep -v '^ *+' conftest.er1 >conftest.err
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10018 { (case "(($ac_try" in
10019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10020 *) ac_try_echo=$ac_try;;
10022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10023 (eval "$ac_try") 2>&5
10025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10026 (exit $ac_status); }; } &&
10027 { ac_try='test -s conftest$ac_exeext'
10028 { (case "(($ac_try" in
10029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10030 *) ac_try_echo=$ac_try;;
10032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10033 (eval "$ac_try") 2>&5
10035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 ac_cv_lib_dld_dld_link=yes
10039 echo "$as_me: failed program was
:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 ac_cv_lib_dld_dld_link=no
10045 rm -f core conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10047 LIBS=$ac_check_lib_save_LIBS
10049 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10050 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10051 if test $ac_cv_lib_dld_dld_link = yes; then
10053 cat >>confdefs.h <<\_ACEOF
10057 LIBADD_DL="$LIBADD_DL -ldld"
10059 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10060 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10061 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10062 echo $ECHO_N "(cached
) $ECHO_C" >&6
10064 cat >conftest.$ac_ext <<_ACEOF
10067 cat confdefs.h >>conftest.$ac_ext
10068 cat >>conftest.$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10072 #define _dyld_func_lookup innocuous__dyld_func_lookup
10074 /* System header to define __stub macros and hopefully few prototypes,
10075 which can conflict with char _dyld_func_lookup (); below.
10076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10077 <limits.h> exists even on freestanding compilers. */
10080 # include <limits.h>
10082 # include <assert.h>
10085 #undef _dyld_func_lookup
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10093 char _dyld_func_lookup ();
10094 /* The GNU C library defines this for functions which it implements
10095 to always fail with ENOSYS. Some functions are actually named
10096 something starting with __ and the normal name is an alias. */
10097 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10104 return _dyld_func_lookup ();
10109 rm -f conftest.$ac_objext conftest$ac_exeext
10110 if { (ac_try="$ac_link"
10111 case "(($ac_try" in
10112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10113 *) ac_try_echo=$ac_try;;
10115 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10116 (eval "$ac_link") 2>conftest.er1
10118 grep -v '^ *+' conftest.er1 >conftest.err
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10122 (exit $ac_status); } &&
10123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10124 { (case "(($ac_try" in
10125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10126 *) ac_try_echo=$ac_try;;
10128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10129 (eval "$ac_try") 2>&5
10131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10132 (exit $ac_status); }; } &&
10133 { ac_try='test -s conftest$ac_exeext'
10134 { (case "(($ac_try" in
10135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10136 *) ac_try_echo=$ac_try;;
10138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10139 (eval "$ac_try") 2>&5
10141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10142 (exit $ac_status); }; }; then
10143 ac_cv_func__dyld_func_lookup=yes
10145 echo "$as_me: failed program was
:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10148 ac_cv_func__dyld_func_lookup=no
10151 rm -f core conftest.err conftest.$ac_objext \
10152 conftest$ac_exeext conftest.$ac_ext
10154 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10155 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10156 if test $ac_cv_func__dyld_func_lookup = yes; then
10158 cat >>confdefs.h <<\_ACEOF
10159 #define HAVE_DYLD 1
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10185 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10187 lt_save_LIBS="$LIBS"
10188 LIBS="$LIBS $LIBADD_DL"
10190 for ac_func in dlerror
10192 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10193 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10194 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10195 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10196 echo $ECHO_N "(cached
) $ECHO_C" >&6
10198 cat >conftest.$ac_ext <<_ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10206 #define $ac_func innocuous_$ac_func
10208 /* System header to define __stub macros and hopefully few prototypes,
10209 which can conflict with char $ac_func (); below.
10210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10211 <limits.h> exists even on freestanding compilers. */
10214 # include <limits.h>
10216 # include <assert.h>
10221 /* Override any GCC internal prototype to avoid an error.
10222 Use char because int might match the return type of a GCC
10223 builtin and then its argument prototype would still apply. */
10228 /* The GNU C library defines this for functions which it implements
10229 to always fail with ENOSYS. Some functions are actually named
10230 something starting with __ and the normal name is an alias. */
10231 #if defined __stub_$ac_func || defined __stub___$ac_func
10238 return $ac_func ();
10243 rm -f conftest.$ac_objext conftest$ac_exeext
10244 if { (ac_try="$ac_link"
10245 case "(($ac_try" in
10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 *) ac_try_echo=$ac_try;;
10249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_link") 2>conftest.er1
10252 grep -v '^ *+' conftest.er1 >conftest.err
10254 cat conftest.err >&5
10255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10256 (exit $ac_status); } &&
10257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10258 { (case "(($ac_try" in
10259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10260 *) ac_try_echo=$ac_try;;
10262 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10263 (eval "$ac_try") 2>&5
10265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try='test -s conftest$ac_exeext'
10268 { (case "(($ac_try" in
10269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10270 *) ac_try_echo=$ac_try;;
10272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10273 (eval "$ac_try") 2>&5
10275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10276 (exit $ac_status); }; }; then
10277 eval "$as_ac_var=yes"
10279 echo "$as_me: failed program was
:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10282 eval "$as_ac_var=no
"
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10288 ac_res=`eval echo '${'$as_ac_var'}'`
10289 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10290 echo "${ECHO_T}$ac_res" >&6; }
10291 if test `eval echo '${'$as_ac_var'}'` = yes; then
10292 cat >>confdefs.h <<_ACEOF
10293 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10299 LIBS="$lt_save_LIBS"
10302 ac_cpp='$CPP $CPPFLAGS'
10303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10309 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10310 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10311 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10312 echo $ECHO_N "(cached
) $ECHO_C" >&6
10314 ac_cv_sys_symbol_underscore=no
10315 cat > conftest.$ac_ext <<EOF
10316 void nm_test_func(){}
10317 int main(){nm_test_func;return 0;}
10319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10320 (eval $ac_compile) 2>&5
10322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10323 (exit $ac_status); }; then
10324 # Now try to grab the symbols.
10325 ac_nlist=conftest.nm
10326 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10327 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10330 (exit $ac_status); } && test -s "$ac_nlist"; then
10331 # See whether the symbols have a leading underscore.
10332 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10333 ac_cv_sys_symbol_underscore=yes
10335 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10338 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10342 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10345 echo "configure
: failed program was
:" >&5
10351 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10352 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10355 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10356 if test x"$libltdl_cv_func_dlopen" = xyes ||
10357 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10358 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10359 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10360 if test "${libltdl_cv_need_uscore+set}" = set; then
10361 echo $ECHO_N "(cached
) $ECHO_C" >&6
10363 libltdl_cv_need_uscore=unknown
10365 LIBS="$LIBS $LIBADD_DL"
10366 if test "$cross_compiling" = yes; then :
10367 libltdl_cv_need_uscore=cross
10369 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10370 lt_status=$lt_dlunknown
10371 cat > conftest.$ac_ext <<EOF
10372 #line 10372 "configure
"
10373 #include "confdefs.h
"
10382 # define LT_DLGLOBAL RTLD_GLOBAL
10385 # define LT_DLGLOBAL DL_GLOBAL
10387 # define LT_DLGLOBAL 0
10391 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10392 find out it does not work in some platform. */
10393 #ifndef LT_DLLAZY_OR_NOW
10395 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10398 # define LT_DLLAZY_OR_NOW DL_LAZY
10401 # define LT_DLLAZY_OR_NOW RTLD_NOW
10404 # define LT_DLLAZY_OR_NOW DL_NOW
10406 # define LT_DLLAZY_OR_NOW 0
10414 extern "C
" void exit (int);
10417 void fnord() { int i=42;}
10420 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10421 int status = $lt_dlunknown;
10425 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10426 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10427 /* dlclose (self); */
10435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10436 (eval $ac_link) 2>&5
10438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10439 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10440 (./conftest; exit; ) >&5 2>/dev/null
10442 case x$lt_status in
10443 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10444 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10445 x$lt_dlunknown|x*) ;;
10448 # compilation failed
10457 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10458 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10462 if test x"$libltdl_cv_need_uscore" = xyes; then
10464 cat >>confdefs.h <<\_ACEOF
10465 #define NEED_USCORE 1
10471 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10472 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10473 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10474 echo $ECHO_N "(cached
) $ECHO_C" >&6
10476 # PORTME does your system automatically load deplibs for dlopen?
10477 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10478 # For now, we just catch OSes we know something about -- in the
10479 # future, we'll try test this programmatically.
10480 libltdl_cv_sys_dlopen_deplibs=unknown
10482 aix3*|aix4.1.*|aix4.2.*)
10483 # Unknown whether this is true for these versions of AIX, but
10484 # we want this `case' here to explicitly catch those versions.
10485 libltdl_cv_sys_dlopen_deplibs=unknown
10488 libltdl_cv_sys_dlopen_deplibs=yes
10491 # Assuming the user has installed a libdl from somewhere, this is true
10492 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10493 libltdl_cv_sys_dlopen_deplibs=yes
10495 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10496 # GNU and its variants, using gnu ld.so (Glibc)
10497 libltdl_cv_sys_dlopen_deplibs=yes
10500 libltdl_cv_sys_dlopen_deplibs=yes
10503 libltdl_cv_sys_dlopen_deplibs=yes
10505 irix[12345]*|irix6.[01]*)
10506 # Catch all versions of IRIX before 6.2, and indicate that we don't
10507 # know how it worked for any of those versions.
10508 libltdl_cv_sys_dlopen_deplibs=unknown
10511 # The case above catches anything before 6.2, and it's known that
10512 # at 6.2 and later dlopen does load deplibs.
10513 libltdl_cv_sys_dlopen_deplibs=yes
10516 libltdl_cv_sys_dlopen_deplibs=yes
10519 libltdl_cv_sys_dlopen_deplibs=yes
10522 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10523 # it did *not* use an RPATH in a shared library to find objects the
10524 # library depends on, so we explictly say `no'.
10525 libltdl_cv_sys_dlopen_deplibs=no
10527 osf5.0|osf5.0a|osf5.1)
10528 # dlopen *does* load deplibs and with the right loader patch applied
10529 # it even uses RPATH in a shared library to search for shared objects
10530 # that the library depends on, but there's no easy way to know if that
10531 # patch is installed. Since this is the case, all we can really
10532 # say is unknown -- it depends on the patch being installed. If
10533 # it is, this changes to `yes'. Without it, it would be `no'.
10534 libltdl_cv_sys_dlopen_deplibs=unknown
10537 # the two cases above should catch all versions of osf <= 5.1. Read
10538 # the comments above for what we know about them.
10539 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10540 # is used to find them so we can finally say `yes'.
10541 libltdl_cv_sys_dlopen_deplibs=yes
10544 libltdl_cv_sys_dlopen_deplibs=yes
10546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10547 libltdl_cv_sys_dlopen_deplibs=yes
10552 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10553 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10554 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10556 cat >>confdefs.h <<\_ACEOF
10557 #define LTDL_DLOPEN_DEPLIBS 1
10563 for ac_header in argz.h
10565 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10566 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10567 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10568 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10569 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10570 echo $ECHO_N "(cached
) $ECHO_C" >&6
10572 ac_res=`eval echo '${'$as_ac_Header'}'`
10573 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10574 echo "${ECHO_T}$ac_res" >&6; }
10576 # Is the header compilable?
10577 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10578 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10579 cat >conftest.$ac_ext <<_ACEOF
10582 cat confdefs.h >>conftest.$ac_ext
10583 cat >>conftest.$ac_ext <<_ACEOF
10584 /* end confdefs.h. */
10585 $ac_includes_default
10586 #include <$ac_header>
10588 rm -f conftest.$ac_objext
10589 if { (ac_try="$ac_compile"
10590 case "(($ac_try" in
10591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592 *) ac_try_echo=$ac_try;;
10594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10595 (eval "$ac_compile") 2>conftest.er1
10597 grep -v '^ *+' conftest.er1 >conftest.err
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10603 { (case "(($ac_try" in
10604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10605 *) ac_try_echo=$ac_try;;
10607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10608 (eval "$ac_try") 2>&5
10610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10611 (exit $ac_status); }; } &&
10612 { ac_try='test -s conftest.$ac_objext'
10613 { (case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10617 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_try") 2>&5
10620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10621 (exit $ac_status); }; }; then
10622 ac_header_compiler=yes
10624 echo "$as_me: failed program was
:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ac_header_compiler=no
10630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10631 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10632 echo "${ECHO_T}$ac_header_compiler" >&6; }
10634 # Is the header present?
10635 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10636 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10637 cat >conftest.$ac_ext <<_ACEOF
10640 cat confdefs.h >>conftest.$ac_ext
10641 cat >>conftest.$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10643 #include <$ac_header>
10645 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10646 case "(($ac_try" in
10647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10648 *) ac_try_echo=$ac_try;;
10650 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10651 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10653 grep -v '^ *+' conftest.er1 >conftest.err
10655 cat conftest.err >&5
10656 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10657 (exit $ac_status); } >/dev/null; then
10658 if test -s conftest.err; then
10659 ac_cpp_err=$ac_c_preproc_warn_flag
10660 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10667 if test -z "$ac_cpp_err"; then
10668 ac_header_preproc=yes
10670 echo "$as_me: failed program was
:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10673 ac_header_preproc=no
10676 rm -f conftest.err conftest.$ac_ext
10677 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10678 echo "${ECHO_T}$ac_header_preproc" >&6; }
10680 # So? What about this header?
10681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10683 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10684 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10685 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10687 ac_header_preproc=yes
10690 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10691 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10692 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10693 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10694 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10695 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10696 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10697 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10698 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10700 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10701 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10703 ## ----------------------------------- ##
10704 ## Report this to llvmbugs@cs.uiuc.edu ##
10705 ## ----------------------------------- ##
10707 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10710 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10711 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10712 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10713 echo $ECHO_N "(cached
) $ECHO_C" >&6
10715 eval "$as_ac_Header=\
$ac_header_preproc"
10717 ac_res=`eval echo '${'$as_ac_Header'}'`
10718 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10719 echo "${ECHO_T}$ac_res" >&6; }
10722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10723 cat >>confdefs.h <<_ACEOF
10724 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10732 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10733 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10734 if test "${ac_cv_type_error_t+set}" = set; then
10735 echo $ECHO_N "(cached
) $ECHO_C" >&6
10737 cat >conftest.$ac_ext <<_ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10747 typedef error_t ac__type_new_;
10751 if ((ac__type_new_ *) 0)
10753 if (sizeof (ac__type_new_))
10759 rm -f conftest.$ac_objext
10760 if { (ac_try="$ac_compile"
10761 case "(($ac_try" in
10762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10763 *) ac_try_echo=$ac_try;;
10765 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10766 (eval "$ac_compile") 2>conftest.er1
10768 grep -v '^ *+' conftest.er1 >conftest.err
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10774 { (case "(($ac_try" in
10775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10776 *) ac_try_echo=$ac_try;;
10778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10779 (eval "$ac_try") 2>&5
10781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10782 (exit $ac_status); }; } &&
10783 { ac_try='test -s conftest.$ac_objext'
10784 { (case "(($ac_try" in
10785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10786 *) ac_try_echo=$ac_try;;
10788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10789 (eval "$ac_try") 2>&5
10791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10792 (exit $ac_status); }; }; then
10793 ac_cv_type_error_t=yes
10795 echo "$as_me: failed program was
:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_cv_type_error_t=no
10801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10803 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
10804 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10805 if test $ac_cv_type_error_t = yes; then
10807 cat >>confdefs.h <<_ACEOF
10808 #define HAVE_ERROR_T 1
10814 cat >>confdefs.h <<\_ACEOF
10815 #define error_t int
10826 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
10828 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10829 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10830 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10831 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10832 echo $ECHO_N "(cached
) $ECHO_C" >&6
10834 cat >conftest.$ac_ext <<_ACEOF
10837 cat confdefs.h >>conftest.$ac_ext
10838 cat >>conftest.$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10842 #define $ac_func innocuous_$ac_func
10844 /* System header to define __stub macros and hopefully few prototypes,
10845 which can conflict with char $ac_func (); below.
10846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10847 <limits.h> exists even on freestanding compilers. */
10850 # include <limits.h>
10852 # include <assert.h>
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10864 /* The GNU C library defines this for functions which it implements
10865 to always fail with ENOSYS. Some functions are actually named
10866 something starting with __ and the normal name is an alias. */
10867 #if defined __stub_$ac_func || defined __stub___$ac_func
10874 return $ac_func ();
10879 rm -f conftest.$ac_objext conftest$ac_exeext
10880 if { (ac_try="$ac_link"
10881 case "(($ac_try" in
10882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10883 *) ac_try_echo=$ac_try;;
10885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10886 (eval "$ac_link") 2>conftest.er1
10888 grep -v '^ *+' conftest.er1 >conftest.err
10890 cat conftest.err >&5
10891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10894 { (case "(($ac_try" in
10895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10896 *) ac_try_echo=$ac_try;;
10898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10899 (eval "$ac_try") 2>&5
10901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10902 (exit $ac_status); }; } &&
10903 { ac_try='test -s conftest$ac_exeext'
10904 { (case "(($ac_try" in
10905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10906 *) ac_try_echo=$ac_try;;
10908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10909 (eval "$ac_try") 2>&5
10911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10912 (exit $ac_status); }; }; then
10913 eval "$as_ac_var=yes"
10915 echo "$as_me: failed program was
:" >&5
10916 sed 's/^/| /' conftest.$ac_ext >&5
10918 eval "$as_ac_var=no
"
10921 rm -f core conftest.err conftest.$ac_objext \
10922 conftest$ac_exeext conftest.$ac_ext
10924 ac_res=`eval echo '${'$as_ac_var'}'`
10925 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10926 echo "${ECHO_T}$ac_res" >&6; }
10927 if test `eval echo '${'$as_ac_var'}'` = yes; then
10928 cat >>confdefs.h <<_ACEOF
10929 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10962 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
10965 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10966 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10967 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10968 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10969 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10970 echo $ECHO_N "(cached
) $ECHO_C" >&6
10972 ac_res=`eval echo '${'$as_ac_Header'}'`
10973 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10974 echo "${ECHO_T}$ac_res" >&6; }
10976 # Is the header compilable?
10977 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10978 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10979 cat >conftest.$ac_ext <<_ACEOF
10982 cat confdefs.h >>conftest.$ac_ext
10983 cat >>conftest.$ac_ext <<_ACEOF
10984 /* end confdefs.h. */
10985 $ac_includes_default
10986 #include <$ac_header>
10988 rm -f conftest.$ac_objext
10989 if { (ac_try="$ac_compile"
10990 case "(($ac_try" in
10991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10992 *) ac_try_echo=$ac_try;;
10994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10995 (eval "$ac_compile") 2>conftest.er1
10997 grep -v '^ *+' conftest.er1 >conftest.err
10999 cat conftest.err >&5
11000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11001 (exit $ac_status); } &&
11002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11003 { (case "(($ac_try" in
11004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11005 *) ac_try_echo=$ac_try;;
11007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11008 (eval "$ac_try") 2>&5
11010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11011 (exit $ac_status); }; } &&
11012 { ac_try='test -s conftest.$ac_objext'
11013 { (case "(($ac_try" in
11014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11015 *) ac_try_echo=$ac_try;;
11017 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11018 (eval "$ac_try") 2>&5
11020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 ac_header_compiler=yes
11024 echo "$as_me: failed program was
:" >&5
11025 sed 's/^/| /' conftest.$ac_ext >&5
11027 ac_header_compiler=no
11030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11031 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11032 echo "${ECHO_T}$ac_header_compiler" >&6; }
11034 # Is the header present?
11035 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11036 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11037 cat >conftest.$ac_ext <<_ACEOF
11040 cat confdefs.h >>conftest.$ac_ext
11041 cat >>conftest.$ac_ext <<_ACEOF
11042 /* end confdefs.h. */
11043 #include <$ac_header>
11045 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11046 case "(($ac_try" in
11047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11048 *) ac_try_echo=$ac_try;;
11050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11053 grep -v '^ *+' conftest.er1 >conftest.err
11055 cat conftest.err >&5
11056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11057 (exit $ac_status); } >/dev/null; then
11058 if test -s conftest.err; then
11059 ac_cpp_err=$ac_c_preproc_warn_flag
11060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11067 if test -z "$ac_cpp_err"; then
11068 ac_header_preproc=yes
11070 echo "$as_me: failed program was
:" >&5
11071 sed 's/^/| /' conftest.$ac_ext >&5
11073 ac_header_preproc=no
11076 rm -f conftest.err conftest.$ac_ext
11077 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11078 echo "${ECHO_T}$ac_header_preproc" >&6; }
11080 # So? What about this header?
11081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11083 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11084 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11085 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11086 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11087 ac_header_preproc=yes
11090 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11091 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11092 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11093 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11094 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11095 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11096 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11097 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11098 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11100 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11101 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11103 ## ----------------------------------- ##
11104 ## Report this to llvmbugs@cs.uiuc.edu ##
11105 ## ----------------------------------- ##
11107 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11110 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11111 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11112 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11113 echo $ECHO_N "(cached
) $ECHO_C" >&6
11115 eval "$as_ac_Header=\
$ac_header_preproc"
11117 ac_res=`eval echo '${'$as_ac_Header'}'`
11118 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11119 echo "${ECHO_T}$ac_res" >&6; }
11122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11123 cat >>confdefs.h <<_ACEOF
11124 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11135 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11137 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11138 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11139 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11140 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11141 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11142 echo $ECHO_N "(cached
) $ECHO_C" >&6
11144 ac_res=`eval echo '${'$as_ac_Header'}'`
11145 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11146 echo "${ECHO_T}$ac_res" >&6; }
11148 # Is the header compilable?
11149 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11150 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11151 cat >conftest.$ac_ext <<_ACEOF
11154 cat confdefs.h >>conftest.$ac_ext
11155 cat >>conftest.$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 $ac_includes_default
11158 #include <$ac_header>
11160 rm -f conftest.$ac_objext
11161 if { (ac_try="$ac_compile"
11162 case "(($ac_try" in
11163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11164 *) ac_try_echo=$ac_try;;
11166 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11167 (eval "$ac_compile") 2>conftest.er1
11169 grep -v '^ *+' conftest.er1 >conftest.err
11171 cat conftest.err >&5
11172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11173 (exit $ac_status); } &&
11174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11175 { (case "(($ac_try" in
11176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11177 *) ac_try_echo=$ac_try;;
11179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11180 (eval "$ac_try") 2>&5
11182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11183 (exit $ac_status); }; } &&
11184 { ac_try='test -s conftest.$ac_objext'
11185 { (case "(($ac_try" in
11186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11187 *) ac_try_echo=$ac_try;;
11189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11190 (eval "$ac_try") 2>&5
11192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 ac_header_compiler=yes
11196 echo "$as_me: failed program was
:" >&5
11197 sed 's/^/| /' conftest.$ac_ext >&5
11199 ac_header_compiler=no
11202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11203 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11204 echo "${ECHO_T}$ac_header_compiler" >&6; }
11206 # Is the header present?
11207 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11208 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11209 cat >conftest.$ac_ext <<_ACEOF
11212 cat confdefs.h >>conftest.$ac_ext
11213 cat >>conftest.$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 #include <$ac_header>
11217 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11218 case "(($ac_try" in
11219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11220 *) ac_try_echo=$ac_try;;
11222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11223 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11225 grep -v '^ *+' conftest.er1 >conftest.err
11227 cat conftest.err >&5
11228 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11229 (exit $ac_status); } >/dev/null; then
11230 if test -s conftest.err; then
11231 ac_cpp_err=$ac_c_preproc_warn_flag
11232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11239 if test -z "$ac_cpp_err"; then
11240 ac_header_preproc=yes
11242 echo "$as_me: failed program was
:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11245 ac_header_preproc=no
11248 rm -f conftest.err conftest.$ac_ext
11249 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11250 echo "${ECHO_T}$ac_header_preproc" >&6; }
11252 # So? What about this header?
11253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11255 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11256 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11257 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11259 ac_header_preproc=yes
11262 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11263 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11264 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11265 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11266 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11267 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11268 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11269 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11270 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11272 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11273 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11275 ## ----------------------------------- ##
11276 ## Report this to llvmbugs@cs.uiuc.edu ##
11277 ## ----------------------------------- ##
11279 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11282 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11283 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11284 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11285 echo $ECHO_N "(cached
) $ECHO_C" >&6
11287 eval "$as_ac_Header=\
$ac_header_preproc"
11289 ac_res=`eval echo '${'$as_ac_Header'}'`
11290 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11291 echo "${ECHO_T}$ac_res" >&6; }
11294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11295 cat >>confdefs.h <<_ACEOF
11296 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11305 for ac_header in string.h strings.h
11307 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11308 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11309 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11310 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11311 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11312 echo $ECHO_N "(cached
) $ECHO_C" >&6
11314 ac_res=`eval echo '${'$as_ac_Header'}'`
11315 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11316 echo "${ECHO_T}$ac_res" >&6; }
11318 # Is the header compilable?
11319 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11320 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11321 cat >conftest.$ac_ext <<_ACEOF
11324 cat confdefs.h >>conftest.$ac_ext
11325 cat >>conftest.$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 $ac_includes_default
11328 #include <$ac_header>
11330 rm -f conftest.$ac_objext
11331 if { (ac_try="$ac_compile"
11332 case "(($ac_try" in
11333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11334 *) ac_try_echo=$ac_try;;
11336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11337 (eval "$ac_compile") 2>conftest.er1
11339 grep -v '^ *+' conftest.er1 >conftest.err
11341 cat conftest.err >&5
11342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11343 (exit $ac_status); } &&
11344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11345 { (case "(($ac_try" in
11346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11347 *) ac_try_echo=$ac_try;;
11349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11350 (eval "$ac_try") 2>&5
11352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11353 (exit $ac_status); }; } &&
11354 { ac_try='test -s conftest.$ac_objext'
11355 { (case "(($ac_try" in
11356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11357 *) ac_try_echo=$ac_try;;
11359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11360 (eval "$ac_try") 2>&5
11362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11363 (exit $ac_status); }; }; then
11364 ac_header_compiler=yes
11366 echo "$as_me: failed program was
:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5
11369 ac_header_compiler=no
11372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11373 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11374 echo "${ECHO_T}$ac_header_compiler" >&6; }
11376 # Is the header present?
11377 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11378 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11379 cat >conftest.$ac_ext <<_ACEOF
11382 cat confdefs.h >>conftest.$ac_ext
11383 cat >>conftest.$ac_ext <<_ACEOF
11384 /* end confdefs.h. */
11385 #include <$ac_header>
11387 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11388 case "(($ac_try" in
11389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390 *) ac_try_echo=$ac_try;;
11392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11393 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11395 grep -v '^ *+' conftest.er1 >conftest.err
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11399 (exit $ac_status); } >/dev/null; then
11400 if test -s conftest.err; then
11401 ac_cpp_err=$ac_c_preproc_warn_flag
11402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11409 if test -z "$ac_cpp_err"; then
11410 ac_header_preproc=yes
11412 echo "$as_me: failed program was
:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 ac_header_preproc=no
11418 rm -f conftest.err conftest.$ac_ext
11419 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11420 echo "${ECHO_T}$ac_header_preproc" >&6; }
11422 # So? What about this header?
11423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11425 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11426 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11427 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11429 ac_header_preproc=yes
11432 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11433 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11434 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11435 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11436 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11437 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11438 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11439 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11440 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11442 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11443 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11445 ## ----------------------------------- ##
11446 ## Report this to llvmbugs@cs.uiuc.edu ##
11447 ## ----------------------------------- ##
11449 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11452 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11453 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11454 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11455 echo $ECHO_N "(cached
) $ECHO_C" >&6
11457 eval "$as_ac_Header=\
$ac_header_preproc"
11459 ac_res=`eval echo '${'$as_ac_Header'}'`
11460 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11461 echo "${ECHO_T}$ac_res" >&6; }
11464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11465 cat >>confdefs.h <<_ACEOF
11466 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11476 for ac_func in strchr index
11478 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11479 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11480 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11481 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11482 echo $ECHO_N "(cached
) $ECHO_C" >&6
11484 cat >conftest.$ac_ext <<_ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11492 #define $ac_func innocuous_$ac_func
11494 /* System header to define __stub macros and hopefully few prototypes,
11495 which can conflict with char $ac_func (); below.
11496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11497 <limits.h> exists even on freestanding compilers. */
11500 # include <limits.h>
11502 # include <assert.h>
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11514 /* The GNU C library defines this for functions which it implements
11515 to always fail with ENOSYS. Some functions are actually named
11516 something starting with __ and the normal name is an alias. */
11517 #if defined __stub_$ac_func || defined __stub___$ac_func
11524 return $ac_func ();
11529 rm -f conftest.$ac_objext conftest$ac_exeext
11530 if { (ac_try="$ac_link"
11531 case "(($ac_try" in
11532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11533 *) ac_try_echo=$ac_try;;
11535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11536 (eval "$ac_link") 2>conftest.er1
11538 grep -v '^ *+' conftest.er1 >conftest.err
11540 cat conftest.err >&5
11541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11542 (exit $ac_status); } &&
11543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11544 { (case "(($ac_try" in
11545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11546 *) ac_try_echo=$ac_try;;
11548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11549 (eval "$ac_try") 2>&5
11551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11552 (exit $ac_status); }; } &&
11553 { ac_try='test -s conftest$ac_exeext'
11554 { (case "(($ac_try" in
11555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11556 *) ac_try_echo=$ac_try;;
11558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11559 (eval "$ac_try") 2>&5
11561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11562 (exit $ac_status); }; }; then
11563 eval "$as_ac_var=yes"
11565 echo "$as_me: failed program was
:" >&5
11566 sed 's/^/| /' conftest.$ac_ext >&5
11568 eval "$as_ac_var=no
"
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11574 ac_res=`eval echo '${'$as_ac_var'}'`
11575 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11576 echo "${ECHO_T}$ac_res" >&6; }
11577 if test `eval echo '${'$as_ac_var'}'` = yes; then
11578 cat >>confdefs.h <<_ACEOF
11579 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11587 for ac_func in strrchr rindex
11589 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11590 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11591 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11592 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11593 echo $ECHO_N "(cached
) $ECHO_C" >&6
11595 cat >conftest.$ac_ext <<_ACEOF
11598 cat confdefs.h >>conftest.$ac_ext
11599 cat >>conftest.$ac_ext <<_ACEOF
11600 /* end confdefs.h. */
11601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11603 #define $ac_func innocuous_$ac_func
11605 /* System header to define __stub macros and hopefully few prototypes,
11606 which can conflict with char $ac_func (); below.
11607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11608 <limits.h> exists even on freestanding compilers. */
11611 # include <limits.h>
11613 # include <assert.h>
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11625 /* The GNU C library defines this for functions which it implements
11626 to always fail with ENOSYS. Some functions are actually named
11627 something starting with __ and the normal name is an alias. */
11628 #if defined __stub_$ac_func || defined __stub___$ac_func
11635 return $ac_func ();
11640 rm -f conftest.$ac_objext conftest$ac_exeext
11641 if { (ac_try="$ac_link"
11642 case "(($ac_try" in
11643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11644 *) ac_try_echo=$ac_try;;
11646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11647 (eval "$ac_link") 2>conftest.er1
11649 grep -v '^ *+' conftest.er1 >conftest.err
11651 cat conftest.err >&5
11652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11653 (exit $ac_status); } &&
11654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11655 { (case "(($ac_try" in
11656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11657 *) ac_try_echo=$ac_try;;
11659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11660 (eval "$ac_try") 2>&5
11662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11663 (exit $ac_status); }; } &&
11664 { ac_try='test -s conftest$ac_exeext'
11665 { (case "(($ac_try" in
11666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667 *) ac_try_echo=$ac_try;;
11669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11670 (eval "$ac_try") 2>&5
11672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11673 (exit $ac_status); }; }; then
11674 eval "$as_ac_var=yes"
11676 echo "$as_me: failed program was
:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 eval "$as_ac_var=no
"
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11685 ac_res=`eval echo '${'$as_ac_var'}'`
11686 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11687 echo "${ECHO_T}$ac_res" >&6; }
11688 if test `eval echo '${'$as_ac_var'}'` = yes; then
11689 cat >>confdefs.h <<_ACEOF
11690 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11698 for ac_func in memcpy bcopy
11700 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11701 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11702 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11703 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11704 echo $ECHO_N "(cached
) $ECHO_C" >&6
11706 cat >conftest.$ac_ext <<_ACEOF
11709 cat confdefs.h >>conftest.$ac_ext
11710 cat >>conftest.$ac_ext <<_ACEOF
11711 /* end confdefs.h. */
11712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11714 #define $ac_func innocuous_$ac_func
11716 /* System header to define __stub macros and hopefully few prototypes,
11717 which can conflict with char $ac_func (); below.
11718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11719 <limits.h> exists even on freestanding compilers. */
11722 # include <limits.h>
11724 # include <assert.h>
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11736 /* The GNU C library defines this for functions which it implements
11737 to always fail with ENOSYS. Some functions are actually named
11738 something starting with __ and the normal name is an alias. */
11739 #if defined __stub_$ac_func || defined __stub___$ac_func
11746 return $ac_func ();
11751 rm -f conftest.$ac_objext conftest$ac_exeext
11752 if { (ac_try="$ac_link"
11753 case "(($ac_try" in
11754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11755 *) ac_try_echo=$ac_try;;
11757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11758 (eval "$ac_link") 2>conftest.er1
11760 grep -v '^ *+' conftest.er1 >conftest.err
11762 cat conftest.err >&5
11763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11764 (exit $ac_status); } &&
11765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11766 { (case "(($ac_try" in
11767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11768 *) ac_try_echo=$ac_try;;
11770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11771 (eval "$ac_try") 2>&5
11773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11774 (exit $ac_status); }; } &&
11775 { ac_try='test -s conftest$ac_exeext'
11776 { (case "(($ac_try" in
11777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778 *) ac_try_echo=$ac_try;;
11780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11781 (eval "$ac_try") 2>&5
11783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 eval "$as_ac_var=yes"
11787 echo "$as_me: failed program was
:" >&5
11788 sed 's/^/| /' conftest.$ac_ext >&5
11790 eval "$as_ac_var=no
"
11793 rm -f core conftest.err conftest.$ac_objext \
11794 conftest$ac_exeext conftest.$ac_ext
11796 ac_res=`eval echo '${'$as_ac_var'}'`
11797 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11798 echo "${ECHO_T}$ac_res" >&6; }
11799 if test `eval echo '${'$as_ac_var'}'` = yes; then
11800 cat >>confdefs.h <<_ACEOF
11801 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11809 for ac_func in memmove strcmp
11811 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11812 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11813 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11814 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11815 echo $ECHO_N "(cached
) $ECHO_C" >&6
11817 cat >conftest.$ac_ext <<_ACEOF
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11825 #define $ac_func innocuous_$ac_func
11827 /* System header to define __stub macros and hopefully few prototypes,
11828 which can conflict with char $ac_func (); below.
11829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11830 <limits.h> exists even on freestanding compilers. */
11833 # include <limits.h>
11835 # include <assert.h>
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11847 /* The GNU C library defines this for functions which it implements
11848 to always fail with ENOSYS. Some functions are actually named
11849 something starting with __ and the normal name is an alias. */
11850 #if defined __stub_$ac_func || defined __stub___$ac_func
11857 return $ac_func ();
11862 rm -f conftest.$ac_objext conftest$ac_exeext
11863 if { (ac_try="$ac_link"
11864 case "(($ac_try" in
11865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11866 *) ac_try_echo=$ac_try;;
11868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11869 (eval "$ac_link") 2>conftest.er1
11871 grep -v '^ *+' conftest.er1 >conftest.err
11873 cat conftest.err >&5
11874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11875 (exit $ac_status); } &&
11876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11877 { (case "(($ac_try" in
11878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11879 *) ac_try_echo=$ac_try;;
11881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11882 (eval "$ac_try") 2>&5
11884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try='test -s conftest$ac_exeext'
11887 { (case "(($ac_try" in
11888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_try") 2>&5
11894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 eval "$as_ac_var=yes"
11898 echo "$as_me: failed program was
:" >&5
11899 sed 's/^/| /' conftest.$ac_ext >&5
11901 eval "$as_ac_var=no
"
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11907 ac_res=`eval echo '${'$as_ac_var'}'`
11908 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11909 echo "${ECHO_T}$ac_res" >&6; }
11910 if test `eval echo '${'$as_ac_var'}'` = yes; then
11911 cat >>confdefs.h <<_ACEOF
11912 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11921 for ac_func in closedir opendir readdir
11923 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11924 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11925 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11926 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11927 echo $ECHO_N "(cached
) $ECHO_C" >&6
11929 cat >conftest.$ac_ext <<_ACEOF
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11937 #define $ac_func innocuous_$ac_func
11939 /* System header to define __stub macros and hopefully few prototypes,
11940 which can conflict with char $ac_func (); below.
11941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11942 <limits.h> exists even on freestanding compilers. */
11945 # include <limits.h>
11947 # include <assert.h>
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11959 /* The GNU C library defines this for functions which it implements
11960 to always fail with ENOSYS. Some functions are actually named
11961 something starting with __ and the normal name is an alias. */
11962 #if defined __stub_$ac_func || defined __stub___$ac_func
11969 return $ac_func ();
11974 rm -f conftest.$ac_objext conftest$ac_exeext
11975 if { (ac_try="$ac_link"
11976 case "(($ac_try" in
11977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11980 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_link") 2>conftest.er1
11983 grep -v '^ *+' conftest.er1 >conftest.err
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11989 { (case "(($ac_try" in
11990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11991 *) ac_try_echo=$ac_try;;
11993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11994 (eval "$ac_try") 2>&5
11996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11997 (exit $ac_status); }; } &&
11998 { ac_try='test -s conftest$ac_exeext'
11999 { (case "(($ac_try" in
12000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12001 *) ac_try_echo=$ac_try;;
12003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12004 (eval "$ac_try") 2>&5
12006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12007 (exit $ac_status); }; }; then
12008 eval "$as_ac_var=yes"
12010 echo "$as_me: failed program was
:" >&5
12011 sed 's/^/| /' conftest.$ac_ext >&5
12013 eval "$as_ac_var=no
"
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12019 ac_res=`eval echo '${'$as_ac_var'}'`
12020 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12021 echo "${ECHO_T}$ac_res" >&6; }
12022 if test `eval echo '${'$as_ac_var'}'` = yes; then
12023 cat >>confdefs.h <<_ACEOF
12024 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12031 # Check whether --enable-shared was given.
12032 if test "${enable_shared+set}" = set; then
12033 enableval=$enable_shared; p=${PACKAGE-default}
12035 yes) enable_shared=yes ;;
12036 no) enable_shared=no ;;
12039 # Look at the argument we got. We use all the common list separators.
12040 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12041 for pkg in $enableval; do
12043 if test "X
$pkg" = "X
$p"; then
12055 # Check whether --enable-static was given.
12056 if test "${enable_static+set}" = set; then
12057 enableval=$enable_static; p=${PACKAGE-default}
12059 yes) enable_static=yes ;;
12060 no) enable_static=no ;;
12063 # Look at the argument we got. We use all the common list separators.
12064 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12065 for pkg in $enableval; do
12067 if test "X
$pkg" = "X
$p"; then
12079 # Check whether --enable-fast-install was given.
12080 if test "${enable_fast_install+set}" = set; then
12081 enableval=$enable_fast_install; p=${PACKAGE-default}
12083 yes) enable_fast_install=yes ;;
12084 no) enable_fast_install=no ;;
12086 enable_fast_install=no
12087 # Look at the argument we got. We use all the common list separators.
12088 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12089 for pkg in $enableval; do
12091 if test "X
$pkg" = "X
$p"; then
12092 enable_fast_install=yes
12099 enable_fast_install=yes
12103 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12104 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12105 if test "${lt_cv_path_SED+set}" = set; then
12106 echo $ECHO_N "(cached
) $ECHO_C" >&6
12108 # Loop through the user's path and test for sed and gsed.
12109 # Then use that list of sed's as ones to test for truncation.
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 for as_dir in $PATH
12114 test -z "$as_dir" && as_dir=.
12115 for lt_ac_prog in sed gsed; do
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12118 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12125 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12126 # along with /bin/sed that truncates output.
12127 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12128 test ! -f $lt_ac_sed && continue
12129 cat /dev/null > conftest.in
12131 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12132 # Check for GNU sed and select it if it is found.
12133 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12134 lt_cv_path_SED=$lt_ac_sed
12138 cat conftest.in conftest.in >conftest.tmp
12139 mv conftest.tmp conftest.in
12140 cp conftest.in conftest.nl
12142 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12143 cmp -s conftest.out conftest.nl || break
12144 # 10000 chars as input seems more than enough
12145 test $lt_ac_count -gt 10 && break
12146 lt_ac_count=`expr $lt_ac_count + 1`
12147 if test $lt_ac_count -gt $lt_ac_max; then
12148 lt_ac_max=$lt_ac_count
12149 lt_cv_path_SED=$lt_ac_sed
12156 SED=$lt_cv_path_SED
12157 { echo "$as_me:$LINENO: result
: $SED" >&5
12158 echo "${ECHO_T}$SED" >&6; }
12161 # Check whether --with-gnu-ld was given.
12162 if test "${with_gnu_ld+set}" = set; then
12163 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12169 if test "$GCC" = yes; then
12170 # Check if gcc -print-prog-name=ld gives a path.
12171 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12172 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12175 # gcc leaves a trailing carriage return which upsets mingw
12176 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12178 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12181 # Accept absolute paths.
12183 re_direlt='/[^/][^/]*/\.\./'
12184 # Canonicalize the pathname of ld
12185 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12186 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12187 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12189 test -z "$LD" && LD="$ac_prog"
12192 # If it fails, then pretend we aren't using GCC.
12196 # If it is relative, then search for the first ld in PATH.
12197 with_gnu_ld=unknown
12200 elif test "$with_gnu_ld" = yes; then
12201 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12202 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12204 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12205 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12207 if test "${lt_cv_path_LD+set}" = set; then
12208 echo $ECHO_N "(cached
) $ECHO_C" >&6
12210 if test -z "$LD"; then
12211 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12212 for ac_dir in $PATH; do
12214 test -z "$ac_dir" && ac_dir=.
12215 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12216 lt_cv_path_LD="$ac_dir/$ac_prog"
12217 # Check to see if the program is GNU ld. I'd rather use --version,
12218 # but apparently some variants of GNU ld only accept -v.
12219 # Break only if it was the GNU/non-GNU ld that we prefer.
12220 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12221 *GNU* | *'with BFD'*)
12222 test "$with_gnu_ld" != no && break
12225 test "$with_gnu_ld" != yes && break
12232 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12236 LD="$lt_cv_path_LD"
12237 if test -n "$LD"; then
12238 { echo "$as_me:$LINENO: result
: $LD" >&5
12239 echo "${ECHO_T}$LD" >&6; }
12241 { echo "$as_me:$LINENO: result
: no
" >&5
12242 echo "${ECHO_T}no
" >&6; }
12244 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12245 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12246 { (exit 1); exit 1; }; }
12247 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12248 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12249 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12250 echo $ECHO_N "(cached
) $ECHO_C" >&6
12252 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12253 case `$LD -v 2>&1 </dev/null` in
12254 *GNU* | *'with BFD'*)
12255 lt_cv_prog_gnu_ld=yes
12258 lt_cv_prog_gnu_ld=no
12262 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12263 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12264 with_gnu_ld=$lt_cv_prog_gnu_ld
12267 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12268 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12269 if test "${lt_cv_ld_reload_flag+set}" = set; then
12270 echo $ECHO_N "(cached
) $ECHO_C" >&6
12272 lt_cv_ld_reload_flag='-r'
12274 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12275 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12276 reload_flag=$lt_cv_ld_reload_flag
12277 case $reload_flag in
12279 *) reload_flag=" $reload_flag" ;;
12281 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12284 if test "$GCC" = yes; then
12285 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12287 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12292 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12293 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12294 if test "${lt_cv_deplibs_check_method+set}" = set; then
12295 echo $ECHO_N "(cached
) $ECHO_C" >&6
12297 lt_cv_file_magic_cmd='$MAGIC_CMD'
12298 lt_cv_file_magic_test_file=
12299 lt_cv_deplibs_check_method='unknown'
12300 # Need to set the preceding variable on all platforms that support
12301 # interlibrary dependencies.
12302 # 'none' -- dependencies not supported.
12303 # `unknown' -- same as none, but documents that we really don't know.
12304 # 'pass_all' -- all dependencies passed with no checks.
12305 # 'test_compile' -- check by making test program.
12306 # 'file_magic [[regex]]' -- check by looking for files in library path
12307 # which responds to the $file_magic_cmd with a given extended regex.
12308 # If you have `file' or equivalent on your system and you're not sure
12309 # whether `pass_all' will *always* work, you probably want this one.
12313 lt_cv_deplibs_check_method=pass_all
12317 lt_cv_deplibs_check_method=pass_all
12321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12322 lt_cv_file_magic_cmd='/usr/bin/file -L'
12323 lt_cv_file_magic_test_file=/shlib/libc.so
12327 # func_win32_libid is a shell function defined in ltmain.sh
12328 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12329 lt_cv_file_magic_cmd='func_win32_libid'
12333 # Base MSYS/MinGW do not provide the 'file' command needed by
12334 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12335 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12336 lt_cv_file_magic_cmd='$OBJDUMP -f'
12339 darwin* | rhapsody*)
12340 lt_cv_deplibs_check_method=pass_all
12343 freebsd* | kfreebsd*-gnu | dragonfly*)
12344 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12347 # Not sure whether the presence of OpenBSD here was a mistake.
12348 # Let's accept both of them until this is cleared up.
12349 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12350 lt_cv_file_magic_cmd=/usr/bin/file
12351 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12355 lt_cv_deplibs_check_method=pass_all
12360 lt_cv_deplibs_check_method=pass_all
12363 hpux10.20* | hpux11*)
12364 lt_cv_file_magic_cmd=/usr/bin/file
12367 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12368 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12371 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]'
12372 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12376 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12382 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12386 irix5* | irix6* | nonstopux*)
12388 *-32|*"-32 ") libmagic=32-bit;;
12389 *-n32|*"-n32 ") libmagic=N32;;
12390 *-64|*"-64 ") libmagic=64-bit;;
12391 *) libmagic=never-match;;
12393 lt_cv_deplibs_check_method=pass_all
12396 # This must be Linux ELF.
12398 lt_cv_deplibs_check_method=pass_all
12402 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12410 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12411 lt_cv_file_magic_cmd=/usr/bin/file
12412 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12416 lt_cv_deplibs_check_method=unknown
12420 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12427 osf3* | osf4* | osf5*)
12428 lt_cv_deplibs_check_method=pass_all
12432 lt_cv_deplibs_check_method=pass_all
12436 case $host_vendor in
12438 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]'
12439 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12442 lt_cv_deplibs_check_method=pass_all
12445 lt_cv_file_magic_cmd='/bin/file'
12446 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12449 lt_cv_file_magic_cmd='/bin/file'
12450 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12451 lt_cv_file_magic_test_file=/lib/libc.so
12454 lt_cv_deplibs_check_method=pass_all
12457 lt_cv_deplibs_check_method=pass_all
12462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12463 lt_cv_deplibs_check_method=pass_all
12468 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12469 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12470 file_magic_cmd=$lt_cv_file_magic_cmd
12471 deplibs_check_method=$lt_cv_deplibs_check_method
12472 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12476 # If no C compiler was specified, use CC.
12479 # If no C compiler flags were specified, use CFLAGS.
12480 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12482 # Allow CC to be a program name with arguments.
12485 # Check whether --enable-libtool-lock was given.
12486 if test "${enable_libtool_lock+set}" = set; then
12487 enableval=$enable_libtool_lock;
12490 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12492 # Some flags need to be propagated to the compiler or linker for good
12496 # Find out which ABI we are using.
12497 echo 'int i;' > conftest.$ac_ext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12499 (eval $ac_compile) 2>&5
12501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12502 (exit $ac_status); }; then
12503 case `/usr/bin/file conftest.$ac_objext` in
12505 HPUX_IA64_MODE="32"
12508 HPUX_IA64_MODE="64"
12515 # Find out which ABI we are using.
12516 echo '#line 12516 "configure
"' > conftest.$ac_ext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12518 (eval $ac_compile) 2>&5
12520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12521 (exit $ac_status); }; then
12522 if test "$lt_cv_prog_gnu_ld" = yes; then
12523 case `/usr/bin/file conftest.$ac_objext` in
12525 LD="${LD-ld} -melf32bsmip"
12528 LD="${LD-ld} -melf32bmipn32"
12531 LD="${LD-ld} -melf64bmip"
12535 case `/usr/bin/file conftest.$ac_objext` in
12551 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12552 # Find out which ABI we are using.
12553 echo 'int i;' > conftest.$ac_ext
12554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12555 (eval $ac_compile) 2>&5
12557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12558 (exit $ac_status); }; then
12559 case `/usr/bin/file conftest.o` in
12563 LD="${LD-ld} -m elf_i386
"
12565 ppc64-*linux*|powerpc64-*linux*)
12566 LD="${LD-ld} -m elf32ppclinux
"
12569 LD="${LD-ld} -m elf_s390
"
12572 LD="${LD-ld} -m elf32_sparc
"
12579 LD="${LD-ld} -m elf_x86_64
"
12581 ppc*-*linux*|powerpc*-*linux*)
12582 LD="${LD-ld} -m elf64ppc
"
12585 LD="${LD-ld} -m elf64_s390
"
12588 LD="${LD-ld} -m elf64_sparc
"
12598 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12599 SAVE_CFLAGS="$CFLAGS"
12600 CFLAGS="$CFLAGS -belf"
12601 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12602 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12603 if test "${lt_cv_cc_needs_belf+set}" = set; then
12604 echo $ECHO_N "(cached
) $ECHO_C" >&6
12607 ac_cpp='$CPP $CPPFLAGS'
12608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12612 cat >conftest.$ac_ext <<_ACEOF
12615 cat confdefs.h >>conftest.$ac_ext
12616 cat >>conftest.$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12627 rm -f conftest.$ac_objext conftest$ac_exeext
12628 if { (ac_try="$ac_link"
12629 case "(($ac_try" in
12630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12631 *) ac_try_echo=$ac_try;;
12633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12634 (eval "$ac_link") 2>conftest.er1
12636 grep -v '^ *+' conftest.er1 >conftest.err
12638 cat conftest.err >&5
12639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12642 { (case "(($ac_try" in
12643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12644 *) ac_try_echo=$ac_try;;
12646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12647 (eval "$ac_try") 2>&5
12649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12650 (exit $ac_status); }; } &&
12651 { ac_try='test -s conftest$ac_exeext'
12652 { (case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12657 (eval "$ac_try") 2>&5
12659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12660 (exit $ac_status); }; }; then
12661 lt_cv_cc_needs_belf=yes
12663 echo "$as_me: failed program was
:" >&5
12664 sed 's/^/| /' conftest.$ac_ext >&5
12666 lt_cv_cc_needs_belf=no
12669 rm -f core conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12672 ac_cpp='$CPP $CPPFLAGS'
12673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12678 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12679 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12680 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12681 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12682 CFLAGS="$SAVE_CFLAGS"
12686 # Find out which ABI we are using.
12687 echo 'int i;' > conftest.$ac_ext
12688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12689 (eval $ac_compile) 2>&5
12691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12692 (exit $ac_status); }; then
12693 case `/usr/bin/file conftest.o` in
12695 case $lt_cv_prog_gnu_ld in
12696 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12697 *) LD="${LD-ld} -64" ;;
12708 need_locks="$enable_libtool_lock"
12713 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12714 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12715 (test "X
$CXX" != "Xg
++"))) ; then
12717 ac_cpp='$CXXCPP $CPPFLAGS'
12718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12721 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12722 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12723 if test -z "$CXXCPP"; then
12724 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12725 echo $ECHO_N "(cached
) $ECHO_C" >&6
12727 # Double quotes because CXXCPP needs to be expanded
12728 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12730 ac_preproc_ok=false
12731 for ac_cxx_preproc_warn_flag in '' yes
12733 # Use a header file that comes with gcc, so configuring glibc
12734 # with a fresh cross-compiler works.
12735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12736 # <limits.h> exists even on freestanding compilers.
12737 # On the NeXT, cc -E runs the code through the compiler's parser,
12738 # not just through cpp. "Syntax error
" is here to catch this case.
12739 cat >conftest.$ac_ext <<_ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12746 # include <limits.h>
12748 # include <assert.h>
12752 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12753 case "(($ac_try" in
12754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12755 *) ac_try_echo=$ac_try;;
12757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12758 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12760 grep -v '^ *+' conftest.er1 >conftest.err
12762 cat conftest.err >&5
12763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12764 (exit $ac_status); } >/dev/null; then
12765 if test -s conftest.err; then
12766 ac_cpp_err=$ac_cxx_preproc_warn_flag
12767 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12774 if test -z "$ac_cpp_err"; then
12777 echo "$as_me: failed program was
:" >&5
12778 sed 's/^/| /' conftest.$ac_ext >&5
12780 # Broken: fails on valid input.
12784 rm -f conftest.err conftest.$ac_ext
12786 # OK, works on sane cases. Now check whether nonexistent headers
12787 # can be detected and how.
12788 cat >conftest.$ac_ext <<_ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 #include <ac_nonexistent.h>
12796 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12797 case "(($ac_try" in
12798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12799 *) ac_try_echo=$ac_try;;
12801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12802 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12804 grep -v '^ *+' conftest.er1 >conftest.err
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12808 (exit $ac_status); } >/dev/null; then
12809 if test -s conftest.err; then
12810 ac_cpp_err=$ac_cxx_preproc_warn_flag
12811 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12818 if test -z "$ac_cpp_err"; then
12819 # Broken: success on invalid input.
12822 echo "$as_me: failed program was
:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12825 # Passes both tests.
12830 rm -f conftest.err conftest.$ac_ext
12833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12834 rm -f conftest.err conftest.$ac_ext
12835 if $ac_preproc_ok; then
12840 ac_cv_prog_CXXCPP=$CXXCPP
12843 CXXCPP=$ac_cv_prog_CXXCPP
12845 ac_cv_prog_CXXCPP=$CXXCPP
12847 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
12848 echo "${ECHO_T}$CXXCPP" >&6; }
12849 ac_preproc_ok=false
12850 for ac_cxx_preproc_warn_flag in '' yes
12852 # Use a header file that comes with gcc, so configuring glibc
12853 # with a fresh cross-compiler works.
12854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12855 # <limits.h> exists even on freestanding compilers.
12856 # On the NeXT, cc -E runs the code through the compiler's parser,
12857 # not just through cpp. "Syntax error
" is here to catch this case.
12858 cat >conftest.$ac_ext <<_ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12865 # include <limits.h>
12867 # include <assert.h>
12871 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12872 case "(($ac_try" in
12873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12874 *) ac_try_echo=$ac_try;;
12876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12877 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12879 grep -v '^ *+' conftest.er1 >conftest.err
12881 cat conftest.err >&5
12882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12883 (exit $ac_status); } >/dev/null; then
12884 if test -s conftest.err; then
12885 ac_cpp_err=$ac_cxx_preproc_warn_flag
12886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12893 if test -z "$ac_cpp_err"; then
12896 echo "$as_me: failed program was
:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12899 # Broken: fails on valid input.
12903 rm -f conftest.err conftest.$ac_ext
12905 # OK, works on sane cases. Now check whether nonexistent headers
12906 # can be detected and how.
12907 cat >conftest.$ac_ext <<_ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12913 #include <ac_nonexistent.h>
12915 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12916 case "(($ac_try" in
12917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12918 *) ac_try_echo=$ac_try;;
12920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12921 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12923 grep -v '^ *+' conftest.er1 >conftest.err
12925 cat conftest.err >&5
12926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12927 (exit $ac_status); } >/dev/null; then
12928 if test -s conftest.err; then
12929 ac_cpp_err=$ac_cxx_preproc_warn_flag
12930 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12937 if test -z "$ac_cpp_err"; then
12938 # Broken: success on invalid input.
12941 echo "$as_me: failed program was
:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12944 # Passes both tests.
12949 rm -f conftest.err conftest.$ac_ext
12952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12953 rm -f conftest.err conftest.$ac_ext
12954 if $ac_preproc_ok; then
12957 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
12958 See \
`config.log' for more details." >&5
12959 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12960 See \`config.log
' for more details." >&2;}
12961 { (exit 1); exit 1; }; }
12965 ac_cpp='$CXXCPP $CPPFLAGS'
12966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12967 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12974 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
12975 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12976 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12977 if test -n "$ac_tool_prefix"; then
12978 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
12980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12984 if test "${ac_cv_prog_F77+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 if test -n "$F77"; then
12988 ac_cv_prog_F77="$F77" # Let the user override the test.
12990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12991 for as_dir in $PATH
12994 test -z "$as_dir" && as_dir=.
12995 for ac_exec_ext in '' $ac_executable_extensions; do
12996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12997 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
12998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13007 F77=$ac_cv_prog_F77
13008 if test -n "$F77"; then
13009 { echo "$as_me:$LINENO: result: $F77" >&5
13010 echo "${ECHO_T}$F77" >&6; }
13012 { echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6; }
13017 test -n "$F77" && break
13020 if test -z "$F77"; then
13022 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
13024 # Extract the first word of "$ac_prog", so it can be a program name with args.
13025 set dummy $ac_prog; ac_word=$2
13026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13028 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 if test -n "$ac_ct_F77"; then
13032 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13035 for as_dir in $PATH
13038 test -z "$as_dir" && as_dir=.
13039 for ac_exec_ext in '' $ac_executable_extensions; do
13040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13041 ac_cv_prog_ac_ct_F77="$ac_prog"
13042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13052 if test -n "$ac_ct_F77"; then
13053 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13054 echo "${ECHO_T}$ac_ct_F77" >&6; }
13056 { echo "$as_me:$LINENO: result: no" >&5
13057 echo "${ECHO_T}no" >&6; }
13061 test -n "$ac_ct_F77" && break
13064 if test "x$ac_ct_F77" = x; then
13067 case $cross_compiling:$ac_tool_warned in
13069 { echo "$as_me:$LINENO: 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." >&5
13072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13073 whose name does not start with the host triplet. If you think this
13074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13075 ac_tool_warned=yes ;;
13082 # Provide some information about the compiler.
13083 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13084 ac_compiler=`set X $ac_compile; echo $2`
13085 { (ac_try="$ac_compiler --version >&5"
13086 case "(($ac_try" in
13087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13088 *) ac_try_echo=$ac_try;;
13090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13091 (eval "$ac_compiler --version >&5") 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); }
13095 { (ac_try="$ac_compiler -v >&5"
13096 case "(($ac_try" in
13097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13098 *) ac_try_echo=$ac_try;;
13100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13101 (eval "$ac_compiler -v >&5") 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }
13105 { (ac_try="$ac_compiler -V >&5"
13106 case "(($ac_try" in
13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13108 *) ac_try_echo=$ac_try;;
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13111 (eval "$ac_compiler -V >&5") 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }
13117 # If we don't use
`.F' as extension, the preprocessor is not run on the
13118 # input file. (Note that this only needs to work for GNU compilers.)
13119 ac_save_ext=$ac_ext
13121 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13122 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13123 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13124 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 cat >conftest.$ac_ext <<_ACEOF
13134 rm -f conftest.$ac_objext
13135 if { (ac_try="$ac_compile"
13136 case "(($ac_try" in
13137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13138 *) ac_try_echo
=$ac_try;;
13140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13141 (eval "$ac_compile") 2>conftest.er1
13143 grep -v '^ *+' conftest.er1
>conftest.err
13145 cat conftest.err
>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13149 { (case "(($ac_try" in
13150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13151 *) ac_try_echo=$ac_try;;
13153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13154 (eval "$ac_try") 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try='test -s conftest.$ac_objext'
13159 { (case "(($ac_try" in
13160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13161 *) ac_try_echo
=$ac_try;;
13163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13164 (eval "$ac_try") 2>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; }; then
13168 ac_compiler_gnu
=yes
13170 echo "$as_me: failed program was:" >&5
13171 sed 's/^/| /' conftest.
$ac_ext >&5
13176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13177 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13180 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13181 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13182 ac_ext
=$ac_save_ext
13183 ac_test_FFLAGS
=${FFLAGS+set}
13184 ac_save_FFLAGS
=$FFLAGS
13186 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13187 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13188 if test "${ac_cv_prog_f77_g+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 cat >conftest.
$ac_ext <<_ACEOF
13197 rm -f conftest.
$ac_objext
13198 if { (ac_try
="$ac_compile"
13199 case "(($ac_try" in
13200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13201 *) ac_try_echo=$ac_try;;
13203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13204 (eval "$ac_compile") 2>conftest.er1
13206 grep -v '^ *+' conftest.er1 >conftest.err
13208 cat conftest.err >&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } &&
13211 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13212 { (case "(($ac_try" in
13213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13214 *) ac_try_echo
=$ac_try;;
13216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13217 (eval "$ac_try") 2>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); }; } &&
13221 { ac_try
='test -s conftest.$ac_objext'
13222 { (case "(($ac_try" in
13223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13224 *) ac_try_echo=$ac_try;;
13226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13227 (eval "$ac_try") 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 ac_cv_prog_f77_g=yes
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.$ac_ext >&5
13236 ac_cv_prog_f77_g=no
13239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13242 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13243 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13244 if test "$ac_test_FFLAGS" = set; then
13245 FFLAGS=$ac_save_FFLAGS
13246 elif test $ac_cv_prog_f77_g = yes; then
13247 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13253 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13260 G77=`test $ac_compiler_gnu = yes && echo yes`
13262 ac_cpp='$CPP $CPPFLAGS'
13263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13269 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13271 # find the maximum length of command line arguments
13272 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13273 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13274 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 # On DJGPP, this test can blow up pretty badly due to problems in libc
13283 # (any single argument exceeding 2000 bytes causes a buffer overrun
13284 # during glob expansion). Even if it were fixed, the result of this
13285 # check would be larger than it should be.
13286 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13290 # Under GNU Hurd, this test is not required because there is
13291 # no limit to the length of command line arguments.
13292 # Libtool will interpret -1 as no limit whatsoever
13293 lt_cv_sys_max_cmd_len=-1;
13297 # On Win9x/ME, this test blows up -- it succeeds, but takes
13298 # about 5 minutes as the teststring grows exponentially.
13299 # Worse, since 9x/ME are not pre-emptively multitasking,
13300 # you end up with a "frozen" computer, even though with patience
13301 # the test eventually succeeds (with a max line length of 256k).
13302 # Instead, let's just punt: use the minimum linelength reported by
13303 # all of the supported platforms: 8192 (on NT/2K/XP).
13304 lt_cv_sys_max_cmd_len=8192;
13308 # On AmigaOS with pdksh, this test takes hours, literally.
13309 # So we just punt and use a minimum line length of 8192.
13310 lt_cv_sys_max_cmd_len=8192;
13313 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13314 # This has been around since 386BSD, at least. Likely further.
13315 if test -x /sbin/sysctl; then
13316 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13317 elif test -x /usr/sbin/sysctl; then
13318 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13320 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13322 # And add a safety zone
13323 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13324 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13328 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13329 lt_cv_sys_max_cmd_len=196608
13333 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13334 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13335 # nice to cause kernel panics so lets avoid the loop below.
13336 # First set a reasonable default.
13337 lt_cv_sys_max_cmd_len=16384
13339 if test -x /sbin/sysconfig; then
13340 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13341 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13346 lt_cv_sys_max_cmd_len=102400
13348 sysv5* | sco5v6* | sysv4.2uw2*)
13349 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13350 if test -n "$kargmax"; then
13351 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13353 lt_cv_sys_max_cmd_len=32768
13357 # If test is not a shell built-in, we'll probably end up computing a
13358 # maximum length that is only half of the actual maximum length, but
13360 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13361 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13362 = "XX$teststring") >/dev/null 2>&1 &&
13363 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13364 lt_cv_sys_max_cmd_len=$new_result &&
13365 test $i != 17 # 1/2 MB should be enough
13368 teststring=$teststring$teststring
13371 # Add a significant safety factor because C++ compilers can tack on massive
13372 # amounts of additional arguments before passing them to the linker.
13373 # It appears as though 1/2 is a usable value.
13374 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13380 if test -n $lt_cv_sys_max_cmd_len ; then
13381 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13382 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13384 { echo "$as_me:$LINENO: result: none" >&5
13385 echo "${ECHO_T}none" >&6; }
13391 # Check for command to grab the raw symbol name followed by C symbol from nm.
13392 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13393 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13394 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 # These are sane defaults that work on at least a few old systems.
13399 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13401 # Character class describing NM global symbol codes.
13402 symcode='[BCDEGRST]'
13404 # Regexp to match symbols that can be accessed directly from C.
13405 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13407 # Transform an extracted symbol line into a proper C declaration
13408 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13410 # Transform an extracted symbol line into symbol name and symbol address
13411 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'"
13413 # Define system-specific variables.
13418 cygwin* | mingw* | pw32*)
13419 symcode='[ABCDGISTW]'
13421 hpux*) # Its linker distinguishes data from code symbols
13422 if test "$host_cpu" = ia64; then
13423 symcode='[ABCDEGRST]'
13425 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13426 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'"
13429 if test "$host_cpu" = ia64; then
13430 symcode='[ABCDGIRSTW]'
13431 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13432 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'"
13435 irix* | nonstopux*)
13436 symcode='[BCDEGRST]'
13439 symcode='[BCDEGQRST]'
13450 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13458 # Handle CRLF in mingw tool chain
13462 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13466 # If we're using GNU nm, then use its standard symbol codes.
13467 case `$NM -V 2>&1` in
13468 *GNU* | *'with BFD'*)
13469 symcode='[ABCDGIRSTW]' ;;
13472 # Try without a prefix undercore, then with it.
13473 for ac_symprfx in "" "_"; do
13475 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13476 symxfrm="\\1 $ac_symprfx\\2 \\2"
13478 # Write the raw and C identifiers.
13479 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13481 # Check to see that the pipe works correctly.
13485 cat > conftest.$ac_ext <<EOF
13490 void nm_test_func(){}
13494 int main(){nm_test_var='a';nm_test_func();return(0);}
13497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13498 (eval $ac_compile) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; then
13502 # Now try to grab the symbols.
13504 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13505 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } && test -s "$nlist"; then
13509 # Try sorting and uniquifying the output.
13510 if sort "$nlist" | uniq > "$nlist"T; then
13511 mv -f "$nlist"T "$nlist"
13516 # Make sure that we snagged all the symbols we need.
13517 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13518 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13519 cat <<EOF > conftest.$ac_ext
13525 # Now generate the symbol file.
13526 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13528 cat <<EOF >> conftest.$ac_ext
13529 #if defined (__STDC__) && __STDC__
13530 # define lt_ptr_t void *
13532 # define lt_ptr_t char *
13536 /* The mapping between symbol names and symbols. */
13541 lt_preloaded_symbols[] =
13544 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13545 cat <<\EOF >> conftest.$ac_ext
13553 # Now try linking the two files.
13554 mv conftest.$ac_objext conftstm.$ac_objext
13555 lt_save_LIBS="$LIBS"
13556 lt_save_CFLAGS="$CFLAGS"
13557 LIBS="conftstm.$ac_objext"
13558 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13560 (eval $ac_link) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13566 LIBS="$lt_save_LIBS"
13567 CFLAGS="$lt_save_CFLAGS"
13569 echo "cannot find nm_test_func in $nlist" >&5
13572 echo "cannot find nm_test_var in $nlist" >&5
13575 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13578 echo "$progname: failed program was:" >&5
13579 cat conftest.$ac_ext >&5
13581 rm -f conftest* conftst*
13583 # Do not use the global_symbol_pipe unless it works.
13584 if test "$pipe_works" = yes; then
13587 lt_cv_sys_global_symbol_pipe=
13593 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13594 lt_cv_sys_global_symbol_to_cdecl=
13596 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13597 { echo "$as_me:$LINENO: result: failed" >&5
13598 echo "${ECHO_T}failed" >&6; }
13600 { echo "$as_me:$LINENO: result: ok" >&5
13601 echo "${ECHO_T}ok" >&6; }
13604 { echo "$as_me:$LINENO: checking for objdir" >&5
13605 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13606 if test "${lt_cv_objdir+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 rm -f .libs 2>/dev/null
13610 mkdir .libs 2>/dev/null
13611 if test -d .libs; then
13614 # MS-DOS does not allow filenames that begin with a dot.
13617 rmdir .libs 2>/dev/null
13619 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13620 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13621 objdir=$lt_cv_objdir
13629 # AIX sometimes has problems with the GCC collect2 program. For some
13630 # reason, if we set the COLLECT_NAMES environment variable, the problems
13631 # vanish in a puff of smoke.
13632 if test "X${COLLECT_NAMES+set}" != Xset; then
13634 export COLLECT_NAMES
13639 # Sed substitution that helps us do robust quoting. It backslashifies
13640 # metacharacters that are still active within double-quoted strings.
13641 Xsed='sed -e 1s/^X//'
13642 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13644 # Same as above, but do not quote variable references.
13645 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13647 # Sed substitution to delay expansion of an escaped shell variable in a
13648 # double_quote_subst'ed string.
13649 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13651 # Sed substitution to avoid accidental globbing in evaled expressions
13652 no_glob_subst='s/\*/\\\*/g'
13657 # Global variables:
13658 default_ofile=mklib
13659 can_build_shared=yes
13661 # All known linkers require a `.a' archive for static linking (except MSVC,
13662 # which needs '.lib').
13664 ltmain="$ac_aux_dir/ltmain.sh
"
13665 ofile="$default_ofile"
13666 with_gnu_ld="$lt_cv_prog_gnu_ld"
13668 if test -n "$ac_tool_prefix"; then
13669 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13670 set dummy ${ac_tool_prefix}ar; ac_word=$2
13671 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13672 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13673 if test "${ac_cv_prog_AR+set}" = set; then
13674 echo $ECHO_N "(cached
) $ECHO_C" >&6
13676 if test -n "$AR"; then
13677 ac_cv_prog_AR="$AR" # Let the user override the test.
13679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13680 for as_dir in $PATH
13683 test -z "$as_dir" && as_dir=.
13684 for ac_exec_ext in '' $ac_executable_extensions; do
13685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13686 ac_cv_prog_AR="${ac_tool_prefix}ar"
13687 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13697 if test -n "$AR"; then
13698 { echo "$as_me:$LINENO: result
: $AR" >&5
13699 echo "${ECHO_T}$AR" >&6; }
13701 { echo "$as_me:$LINENO: result
: no
" >&5
13702 echo "${ECHO_T}no
" >&6; }
13707 if test -z "$ac_cv_prog_AR"; then
13709 # Extract the first word of "ar", so it can be a program name with args.
13710 set dummy ar; ac_word=$2
13711 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13712 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13713 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13714 echo $ECHO_N "(cached
) $ECHO_C" >&6
13716 if test -n "$ac_ct_AR"; then
13717 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13720 for as_dir in $PATH
13723 test -z "$as_dir" && as_dir=.
13724 for ac_exec_ext in '' $ac_executable_extensions; do
13725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13726 ac_cv_prog_ac_ct_AR="ar"
13727 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13736 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13737 if test -n "$ac_ct_AR"; then
13738 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13739 echo "${ECHO_T}$ac_ct_AR" >&6; }
13741 { echo "$as_me:$LINENO: result
: no
" >&5
13742 echo "${ECHO_T}no
" >&6; }
13745 if test "x
$ac_ct_AR" = x; then
13748 case $cross_compiling:$ac_tool_warned in
13750 { echo "$as_me:$LINENO: 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.
" >&5
13753 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13754 whose name does not start with the
host triplet. If you think this
13755 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13756 ac_tool_warned=yes ;;
13761 AR="$ac_cv_prog_AR"
13764 if test -n "$ac_tool_prefix"; then
13765 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13766 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13767 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13768 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13769 if test "${ac_cv_prog_RANLIB+set}" = set; then
13770 echo $ECHO_N "(cached
) $ECHO_C" >&6
13772 if test -n "$RANLIB"; then
13773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13779 test -z "$as_dir" && as_dir=.
13780 for ac_exec_ext in '' $ac_executable_extensions; do
13781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13782 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13783 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13792 RANLIB=$ac_cv_prog_RANLIB
13793 if test -n "$RANLIB"; then
13794 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13795 echo "${ECHO_T}$RANLIB" >&6; }
13797 { echo "$as_me:$LINENO: result
: no
" >&5
13798 echo "${ECHO_T}no
" >&6; }
13803 if test -z "$ac_cv_prog_RANLIB"; then
13804 ac_ct_RANLIB=$RANLIB
13805 # Extract the first word of "ranlib
", so it can be a program name with args.
13806 set dummy ranlib; ac_word=$2
13807 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13808 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13809 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13810 echo $ECHO_N "(cached
) $ECHO_C" >&6
13812 if test -n "$ac_ct_RANLIB"; then
13813 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13816 for as_dir in $PATH
13819 test -z "$as_dir" && as_dir=.
13820 for ac_exec_ext in '' $ac_executable_extensions; do
13821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13822 ac_cv_prog_ac_ct_RANLIB="ranlib
"
13823 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13832 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13833 if test -n "$ac_ct_RANLIB"; then
13834 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
13835 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
13837 { echo "$as_me:$LINENO: result
: no
" >&5
13838 echo "${ECHO_T}no
" >&6; }
13841 if test "x
$ac_ct_RANLIB" = x; then
13844 case $cross_compiling:$ac_tool_warned in
13846 { echo "$as_me:$LINENO: 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.
" >&5
13849 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13850 whose name does not start with the
host triplet. If you think this
13851 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13852 ac_tool_warned=yes ;;
13854 RANLIB=$ac_ct_RANLIB
13857 RANLIB="$ac_cv_prog_RANLIB"
13860 if test -n "$ac_tool_prefix"; then
13861 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
13862 set dummy ${ac_tool_prefix}strip; ac_word=$2
13863 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13864 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13865 if test "${ac_cv_prog_STRIP+set}" = set; then
13866 echo $ECHO_N "(cached
) $ECHO_C" >&6
13868 if test -n "$STRIP"; then
13869 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13872 for as_dir in $PATH
13875 test -z "$as_dir" && as_dir=.
13876 for ac_exec_ext in '' $ac_executable_extensions; do
13877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13878 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
13879 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13888 STRIP=$ac_cv_prog_STRIP
13889 if test -n "$STRIP"; then
13890 { echo "$as_me:$LINENO: result
: $STRIP" >&5
13891 echo "${ECHO_T}$STRIP" >&6; }
13893 { echo "$as_me:$LINENO: result
: no
" >&5
13894 echo "${ECHO_T}no
" >&6; }
13899 if test -z "$ac_cv_prog_STRIP"; then
13901 # Extract the first word of "strip
", so it can be a program name with args.
13902 set dummy strip; ac_word=$2
13903 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13904 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13905 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13906 echo $ECHO_N "(cached
) $ECHO_C" >&6
13908 if test -n "$ac_ct_STRIP"; then
13909 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13912 for as_dir in $PATH
13915 test -z "$as_dir" && as_dir=.
13916 for ac_exec_ext in '' $ac_executable_extensions; do
13917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13918 ac_cv_prog_ac_ct_STRIP="strip
"
13919 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13928 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13929 if test -n "$ac_ct_STRIP"; then
13930 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
13931 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
13933 { echo "$as_me:$LINENO: result
: no
" >&5
13934 echo "${ECHO_T}no
" >&6; }
13937 if test "x
$ac_ct_STRIP" = x; then
13940 case $cross_compiling:$ac_tool_warned in
13942 { echo "$as_me:$LINENO: 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.
" >&5
13945 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13946 whose name does not start with the
host triplet. If you think this
13947 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13948 ac_tool_warned=yes ;;
13953 STRIP="$ac_cv_prog_STRIP"
13958 old_CFLAGS="$CFLAGS"
13960 # Set sane defaults for various variables
13961 test -z "$AR" && AR=ar
13962 test -z "$AR_FLAGS" && AR_FLAGS=cru
13963 test -z "$AS" && AS=as
13964 test -z "$CC" && CC=cc
13965 test -z "$LTCC" && LTCC=$CC
13966 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13967 test -z "$DLLTOOL" && DLLTOOL=dlltool
13968 test -z "$LD" && LD=ld
13969 test -z "$LN_S" && LN_S="ln -s"
13970 test -z "$MAGIC_CMD" && MAGIC_CMD=file
13971 test -z "$NM" && NM=nm
13972 test -z "$SED" && SED=sed
13973 test -z "$OBJDUMP" && OBJDUMP=objdump
13974 test -z "$RANLIB" && RANLIB=:
13975 test -z "$STRIP" && STRIP=:
13976 test -z "$ac_objext" && ac_objext=o
13978 # Determine commands to create old-style static archives.
13979 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
13980 old_postinstall_cmds='chmod 644 $oldlib'
13981 old_postuninstall_cmds=
13983 if test -n "$RANLIB"; then
13986 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
13989 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
13992 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
13995 for cc_temp in $compiler""; do
13997 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13998 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14003 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14006 # Only perform the check for file, if the check method requires it
14007 case $deplibs_check_method in
14009 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14010 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14011 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14012 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14013 echo $ECHO_N "(cached
) $ECHO_C" >&6
14017 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14020 lt_save_MAGIC_CMD="$MAGIC_CMD"
14021 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14022 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14023 for ac_dir in $ac_dummy; do
14025 test -z "$ac_dir" && ac_dir=.
14026 if test -f $ac_dir/${ac_tool_prefix}file; then
14027 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14028 if test -n "$file_magic_test_file"; then
14029 case $deplibs_check_method in
14031 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14033 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14034 $EGREP "$file_magic_regex" > /dev/null; then
14039 *** Warning: the command libtool uses to detect shared libraries,
14040 *** $file_magic_cmd, produces output that libtool cannot recognize.
14041 *** The result is that libtool may fail to recognize shared libraries
14042 *** as such. This will affect the creation of libtool libraries that
14043 *** depend on shared libraries, but programs linked with such libtool
14044 *** libraries will work regardless of this problem. Nevertheless, you
14045 *** may want to report the problem to your system manager and/or to
14046 *** bug-libtool@gnu.org
14056 MAGIC_CMD="$lt_save_MAGIC_CMD"
14061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14062 if test -n "$MAGIC_CMD"; then
14063 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14064 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14066 { echo "$as_me:$LINENO: result
: no
" >&5
14067 echo "${ECHO_T}no
" >&6; }
14070 if test -z "$lt_cv_path_MAGIC_CMD"; then
14071 if test -n "$ac_tool_prefix"; then
14072 { echo "$as_me:$LINENO: checking
for file" >&5
14073 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14074 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14075 echo $ECHO_N "(cached
) $ECHO_C" >&6
14079 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14082 lt_save_MAGIC_CMD="$MAGIC_CMD"
14083 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14084 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14085 for ac_dir in $ac_dummy; do
14087 test -z "$ac_dir" && ac_dir=.
14088 if test -f $ac_dir/file; then
14089 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14090 if test -n "$file_magic_test_file"; then
14091 case $deplibs_check_method in
14093 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14095 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14096 $EGREP "$file_magic_regex" > /dev/null; then
14101 *** Warning: the command libtool uses to detect shared libraries,
14102 *** $file_magic_cmd, produces output that libtool cannot recognize.
14103 *** The result is that libtool may fail to recognize shared libraries
14104 *** as such. This will affect the creation of libtool libraries that
14105 *** depend on shared libraries, but programs linked with such libtool
14106 *** libraries will work regardless of this problem. Nevertheless, you
14107 *** may want to report the problem to your system manager and/or to
14108 *** bug-libtool@gnu.org
14118 MAGIC_CMD="$lt_save_MAGIC_CMD"
14123 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14124 if test -n "$MAGIC_CMD"; then
14125 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14126 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14128 { echo "$as_me:$LINENO: result
: no
" >&5
14129 echo "${ECHO_T}no
" >&6; }
14142 enable_win32_dll=no
14144 # Check whether --enable-libtool-lock was given.
14145 if test "${enable_libtool_lock+set}" = set; then
14146 enableval=$enable_libtool_lock;
14149 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14152 # Check whether --with-pic was given.
14153 if test "${with_pic+set}" = set; then
14154 withval=$with_pic; pic_mode="$withval"
14159 test -z "$pic_mode" && pic_mode=default
14161 # Use C for the default configuration in the libtool script
14165 ac_cpp='$CPP $CPPFLAGS'
14166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14171 # Source file extension for C test sources.
14174 # Object file extension for compiled C test sources.
14178 # Code to be used in simple compile tests
14179 lt_simple_compile_test_code="int some_variable
= 0;\n"
14181 # Code to be used in simple link tests
14182 lt_simple_link_test_code='int main(){return(0);}\n'
14185 # If no C compiler was specified, use CC.
14188 # If no C compiler flags were specified, use CFLAGS.
14189 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14191 # Allow CC to be a program name with arguments.
14195 # save warnings/boilerplate of simple test code
14196 ac_outfile=conftest.$ac_objext
14197 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14198 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14199 _lt_compiler_boilerplate=`cat conftest.err`
14202 ac_outfile=conftest.$ac_objext
14203 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14204 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14205 _lt_linker_boilerplate=`cat conftest.err`
14210 lt_prog_compiler_no_builtin_flag=
14212 if test "$GCC" = yes; then
14213 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14216 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14217 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14218 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14219 echo $ECHO_N "(cached
) $ECHO_C" >&6
14221 lt_cv_prog_compiler_rtti_exceptions=no
14222 ac_outfile=conftest.$ac_objext
14223 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14224 lt_compiler_flag="-fno-rtti -fno-exceptions"
14225 # Insert the option either (1) after the last *FLAGS variable, or
14226 # (2) before a word containing "conftest.
", or (3) at the end.
14227 # Note that $ac_compile itself does not contain backslashes and begins
14228 # with a dollar sign (not a hyphen), so the echo should work correctly.
14229 # The option is referenced via a variable to avoid confusing sed.
14230 lt_compile=`echo "$ac_compile" | $SED \
14231 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14232 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14233 -e 's:$: $lt_compiler_flag:'`
14234 (eval echo "\"\
$as_me:14234: $lt_compile\"" >&5)
14235 (eval "$lt_compile" 2>conftest.err)
14237 cat conftest.err >&5
14238 echo "$as_me:14238: \$?
= $ac_status" >&5
14239 if (exit $ac_status) && test -s "$ac_outfile"; then
14240 # The compiler can only warn and ignore the option if not recognized
14241 # So say no if there are warnings other than the usual output.
14242 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14244 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14245 lt_cv_prog_compiler_rtti_exceptions=yes
14251 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14252 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14254 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14255 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14262 lt_prog_compiler_wl=
14263 lt_prog_compiler_pic=
14264 lt_prog_compiler_static=
14266 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14267 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14269 if test "$GCC" = yes; then
14270 lt_prog_compiler_wl='-Wl,'
14271 lt_prog_compiler_static='-static'
14275 # All AIX code is PIC.
14276 if test "$host_cpu" = ia64; then
14277 # AIX 5 now supports IA64 processor
14278 lt_prog_compiler_static='-Bstatic'
14283 # FIXME: we need at least 68020 code to build shared libraries, but
14284 # adding the `-m68020' flag to GCC prevents building anything better,
14286 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14289 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14290 # PIC is the default for these OSes.
14293 mingw* | pw32* | os2*)
14294 # This hack is so that the source file can tell whether it is being
14295 # built for inclusion in a dll (and should export symbols for example).
14296 lt_prog_compiler_pic='-DDLL_EXPORT'
14299 darwin* | rhapsody*)
14300 # PIC is the default on this platform
14301 # Common symbols not allowed in MH_DYLIB files
14302 lt_prog_compiler_pic='-fno-common'
14306 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14307 # Instead, we relocate shared libraries at runtime.
14311 # Just because we use GCC doesn't mean we suddenly get shared libraries
14312 # on systems that don't support them.
14313 lt_prog_compiler_can_build_shared=no
14318 if test -d /usr/nec; then
14319 lt_prog_compiler_pic=-Kconform_pic
14324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14325 # not for PA HP-UX.
14331 lt_prog_compiler_pic='-fPIC'
14337 lt_prog_compiler_pic='-fPIC'
14341 # PORTME Check for flag to pass linker flags through the system compiler.
14344 lt_prog_compiler_wl='-Wl,'
14345 if test "$host_cpu" = ia64; then
14346 # AIX 5 now supports IA64 processor
14347 lt_prog_compiler_static='-Bstatic'
14349 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14353 # PIC is the default on this platform
14354 # Common symbols not allowed in MH_DYLIB files
14355 case $cc_basename in
14357 lt_prog_compiler_pic='-qnocommon'
14358 lt_prog_compiler_wl='-Wl,'
14363 mingw* | pw32* | os2*)
14364 # This hack is so that the source file can tell whether it is being
14365 # built for inclusion in a dll (and should export symbols for example).
14366 lt_prog_compiler_pic='-DDLL_EXPORT'
14369 hpux9* | hpux10* | hpux11*)
14370 lt_prog_compiler_wl='-Wl,'
14371 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14372 # not for PA HP-UX.
14378 lt_prog_compiler_pic='+Z'
14381 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14382 lt_prog_compiler_static='${wl}-a ${wl}archive'
14385 irix5* | irix6* | nonstopux*)
14386 lt_prog_compiler_wl='-Wl,'
14387 # PIC (with -KPIC) is the default.
14388 lt_prog_compiler_static='-non_shared'
14392 lt_prog_compiler_pic='-KPIC'
14393 lt_prog_compiler_static='-Bstatic'
14397 case $cc_basename in
14399 lt_prog_compiler_wl='-Wl,'
14400 lt_prog_compiler_pic='-KPIC'
14401 lt_prog_compiler_static='-static'
14403 pgcc* | pgf77* | pgf90* | pgf95*)
14404 # Portland Group compilers (*not* the Pentium gcc compiler,
14405 # which looks to be a dead project)
14406 lt_prog_compiler_wl='-Wl,'
14407 lt_prog_compiler_pic='-fpic'
14408 lt_prog_compiler_static='-Bstatic'
14411 lt_prog_compiler_wl='-Wl,'
14412 # All Alpha code is PIC.
14413 lt_prog_compiler_static='-non_shared'
14418 osf3* | osf4* | osf5*)
14419 lt_prog_compiler_wl='-Wl,'
14420 # All OSF/1 code is PIC.
14421 lt_prog_compiler_static='-non_shared'
14425 lt_prog_compiler_pic='-KPIC'
14426 lt_prog_compiler_static='-Bstatic'
14427 case $cc_basename in
14428 f77* | f90* | f95*)
14429 lt_prog_compiler_wl='-Qoption ld ';;
14431 lt_prog_compiler_wl='-Wl,';;
14436 lt_prog_compiler_wl='-Qoption ld '
14437 lt_prog_compiler_pic='-PIC'
14438 lt_prog_compiler_static='-Bstatic'
14441 sysv4 | sysv4.2uw2* | sysv4.3*)
14442 lt_prog_compiler_wl='-Wl,'
14443 lt_prog_compiler_pic='-KPIC'
14444 lt_prog_compiler_static='-Bstatic'
14448 if test -d /usr/nec ;then
14449 lt_prog_compiler_pic='-Kconform_pic'
14450 lt_prog_compiler_static='-Bstatic'
14454 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14455 lt_prog_compiler_wl='-Wl,'
14456 lt_prog_compiler_pic='-KPIC'
14457 lt_prog_compiler_static='-Bstatic'
14461 lt_prog_compiler_wl='-Wl,'
14462 lt_prog_compiler_can_build_shared=no
14466 lt_prog_compiler_pic='-pic'
14467 lt_prog_compiler_static='-Bstatic'
14471 lt_prog_compiler_can_build_shared=no
14476 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14477 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14480 # Check to make sure the PIC flag actually works.
14482 if test -n "$lt_prog_compiler_pic"; then
14484 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14485 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14486 if test "${lt_prog_compiler_pic_works+set}" = set; then
14487 echo $ECHO_N "(cached
) $ECHO_C" >&6
14489 lt_prog_compiler_pic_works=no
14490 ac_outfile=conftest.$ac_objext
14491 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14492 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14493 # Insert the option either (1) after the last *FLAGS variable, or
14494 # (2) before a word containing "conftest.
", or (3) at the end.
14495 # Note that $ac_compile itself does not contain backslashes and begins
14496 # with a dollar sign (not a hyphen), so the echo should work correctly.
14497 # The option is referenced via a variable to avoid confusing sed.
14498 lt_compile=`echo "$ac_compile" | $SED \
14499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14501 -e 's:$: $lt_compiler_flag:'`
14502 (eval echo "\"\
$as_me:14502: $lt_compile\"" >&5)
14503 (eval "$lt_compile" 2>conftest.err)
14505 cat conftest.err >&5
14506 echo "$as_me:14506: \$?
= $ac_status" >&5
14507 if (exit $ac_status) && test -s "$ac_outfile"; then
14508 # The compiler can only warn and ignore the option if not recognized
14509 # So say no if there are warnings other than the usual output.
14510 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14511 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14512 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14513 lt_prog_compiler_pic_works=yes
14519 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14520 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14522 if test x"$lt_prog_compiler_pic_works" = xyes; then
14523 case $lt_prog_compiler_pic in
14525 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14528 lt_prog_compiler_pic=
14529 lt_prog_compiler_can_build_shared=no
14534 # For platforms which do not support PIC, -DPIC is meaningless:
14536 lt_prog_compiler_pic=
14539 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14544 # Check to make sure the static flag actually works.
14546 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14547 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14548 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14549 if test "${lt_prog_compiler_static_works+set}" = set; then
14550 echo $ECHO_N "(cached
) $ECHO_C" >&6
14552 lt_prog_compiler_static_works=no
14553 save_LDFLAGS="$LDFLAGS"
14554 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14555 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14556 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14557 # The linker can only warn and ignore the option if not recognized
14558 # So say no if there are warnings
14559 if test -s conftest.err; then
14560 # Append any errors to the config.log.
14561 cat conftest.err 1>&5
14562 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14563 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14564 if diff conftest.exp conftest.er2 >/dev/null; then
14565 lt_prog_compiler_static_works=yes
14568 lt_prog_compiler_static_works=yes
14572 LDFLAGS="$save_LDFLAGS"
14575 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14576 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14578 if test x"$lt_prog_compiler_static_works" = xyes; then
14581 lt_prog_compiler_static=
14585 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14586 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14587 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14588 echo $ECHO_N "(cached
) $ECHO_C" >&6
14590 lt_cv_prog_compiler_c_o=no
14591 $rm -r conftest 2>/dev/null
14595 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14597 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14598 # Insert the option either (1) after the last *FLAGS variable, or
14599 # (2) before a word containing "conftest.
", or (3) at the end.
14600 # Note that $ac_compile itself does not contain backslashes and begins
14601 # with a dollar sign (not a hyphen), so the echo should work correctly.
14602 lt_compile=`echo "$ac_compile" | $SED \
14603 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14604 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14605 -e 's:$: $lt_compiler_flag:'`
14606 (eval echo "\"\
$as_me:14606: $lt_compile\"" >&5)
14607 (eval "$lt_compile" 2>out/conftest.err)
14609 cat out/conftest.err >&5
14610 echo "$as_me:14610: \$?
= $ac_status" >&5
14611 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14613 # The compiler can only warn and ignore the option if not recognized
14614 # So say no if there are warnings
14615 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14616 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14617 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14618 lt_cv_prog_compiler_c_o=yes
14623 # SGI C++ compiler will create directory out/ii_files/ for
14624 # template instantiation
14625 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14626 $rm out/* && rmdir out
14632 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14633 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14636 hard_links="nottested
"
14637 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14638 # do not overwrite the value of need_locks provided by the user
14639 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14640 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14643 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14645 ln conftest.a conftest.b 2>&5 || hard_links=no
14646 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14647 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14648 echo "${ECHO_T}$hard_links" >&6; }
14649 if test "$hard_links" = no; then
14650 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14651 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14658 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14659 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14662 allow_undefined_flag=
14663 enable_shared_with_static_runtimes=no
14665 archive_expsym_cmds=
14666 old_archive_From_new_cmds=
14667 old_archive_from_expsyms_cmds=
14668 export_dynamic_flag_spec=
14669 whole_archive_flag_spec=
14670 thread_safe_flag_spec=
14671 hardcode_libdir_flag_spec=
14672 hardcode_libdir_flag_spec_ld=
14673 hardcode_libdir_separator=
14675 hardcode_minus_L=no
14676 hardcode_shlibpath_var=unsupported
14677 link_all_deplibs=unknown
14678 hardcode_automatic=no
14680 module_expsym_cmds=
14681 always_export_symbols=no
14682 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14683 # include_expsyms should be a list of space-separated symbols to be *always*
14684 # included in the symbol list
14686 # exclude_expsyms can be an extended regexp of symbols to exclude
14687 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14688 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14689 # as well as any symbol that contains `d'.
14690 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14691 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14692 # platforms (ab)use it in PIC code, but their linkers get confused if
14693 # the symbol is explicitly referenced. Since portable code cannot
14694 # rely on this symbol name, it's probably fine to never include it in
14695 # preloaded symbol tables.
14696 extract_expsyms_cmds=
14697 # Just being paranoid about ensuring that cc_basename is set.
14698 for cc_temp in $compiler""; do
14700 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14701 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14706 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14709 cygwin* | mingw* | pw32*)
14710 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14711 # When not using gcc, we currently assume that we are using
14712 # Microsoft Visual C++.
14713 if test "$GCC" != yes; then
14718 # we just hope/assume this is gcc and not c89 (= MSVC++)
14727 if test "$with_gnu_ld" = yes; then
14728 # If archive_cmds runs LD, not CC, wlarc should be empty
14731 # Set some defaults for GNU ld with shared library support. These
14732 # are reset later if shared libraries are not supported. Putting them
14733 # here allows them to be overridden if necessary.
14734 runpath_var=LD_RUN_PATH
14735 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14736 export_dynamic_flag_spec='${wl}--export-dynamic'
14737 # ancient GNU ld didn't support --whole-archive et. al.
14738 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14739 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14741 whole_archive_flag_spec=
14743 supports_anon_versioning=no
14744 case `$LD -v 2>/dev/null` in
14745 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14746 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14747 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14748 *\ 2.11.*) ;; # other 2.11 versions
14749 *) supports_anon_versioning=yes ;;
14752 # See if GNU ld supports shared libraries.
14754 aix3* | aix4* | aix5*)
14755 # On AIX/PPC, the GNU linker is very broken
14756 if test "$host_cpu" != ia64; then
14760 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14761 *** to be unable to reliably create shared libraries on AIX.
14762 *** Therefore, libtool is disabling shared libraries support. If you
14763 *** really care for shared libraries, you may want to modify your PATH
14764 *** so that a non-GNU linker is found, and then restart.
14771 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)'
14772 hardcode_libdir_flag_spec
='-L$libdir'
14773 hardcode_minus_L
=yes
14775 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14776 # that the semantics of dynamic libraries on AmigaOS, at least up
14777 # to version 4, is to share data among multiple programs linked
14778 # with the same dynamic library. Since this doesn't match the
14779 # behavior of shared libraries on other platforms, we can't use
14785 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14786 allow_undefined_flag
=unsupported
14787 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14788 # support --undefined. This deserves some investigation. FIXME
14789 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14795 cygwin
* | mingw
* | pw32
*)
14796 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14797 # as there is no search path for DLLs.
14798 hardcode_libdir_flag_spec
='-L$libdir'
14799 allow_undefined_flag
=unsupported
14800 always_export_symbols
=no
14801 enable_shared_with_static_runtimes
=yes
14802 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14804 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14805 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14806 # If the export-symbols file already is a .def file (1st line
14807 # is EXPORTS), use it as is; otherwise, prepend...
14808 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14809 cp $export_symbols $output_objdir/$soname.def;
14811 echo EXPORTS > $output_objdir/$soname.def;
14812 cat $export_symbols >> $output_objdir/$soname.def;
14814 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14822 hardcode_shlibpath_var
=no
14823 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
14824 export_dynamic_flag_spec
='${wl}-E'
14825 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14826 # Instead, shared libraries are loaded at an image base (0x10000000 by
14827 # default) and relocated if they conflict, which is a slow very memory
14828 # consuming and fragmenting process. To avoid this, we pick a random,
14829 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14830 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14831 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14832 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'
14836 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14838 case $cc_basename,$host_cpu in
14839 pgcc
*) # Portland Group C compiler
14840 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'
14841 tmp_addflag
=' $pic_flag'
14843 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14844 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'
14845 tmp_addflag
=' $pic_flag -Mnomain' ;;
14846 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14847 tmp_addflag
=' -i_dynamic' ;;
14848 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14849 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14850 ifc
* | ifort
*) # Intel Fortran compiler
14851 tmp_addflag
=' -nofor_main' ;;
14853 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14855 if test $supports_anon_versioning = yes; then
14856 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
14857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14858 $echo "local: *; };" >> $output_objdir/$libname.ver~
14859 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14867 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14868 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14871 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14872 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14877 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14881 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14882 *** create shared libraries on Solaris systems. Therefore, libtool
14883 *** is disabling shared libraries support. We urge you to upgrade GNU
14884 *** binutils to release 2.9.1 or newer. Another option is to modify
14885 *** your PATH or compiler configuration so that the native linker is
14886 *** used, and then restart.
14889 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14890 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14891 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14897 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14898 case `$LD -v 2>&1` in
14899 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14903 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14904 *** reliably create shared libraries on SCO systems. Therefore, libtool
14905 *** is disabling shared libraries support. We urge you to upgrade GNU
14906 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14907 *** your PATH or compiler configuration so that the native linker is
14908 *** used, and then restart.
14913 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14914 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14915 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14916 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14925 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14927 hardcode_direct
=yes
14928 hardcode_shlibpath_var
=no
14932 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14933 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14934 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14941 if test "$ld_shlibs" = no
; then
14943 hardcode_libdir_flag_spec
=
14944 export_dynamic_flag_spec
=
14945 whole_archive_flag_spec
=
14948 # PORTME fill in a description of your system's linker (not GNU ld)
14951 allow_undefined_flag
=unsupported
14952 always_export_symbols
=yes
14953 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'
14954 # Note: this linker hardcodes the directories in LIBPATH if there
14955 # are no directories specified by -L.
14956 hardcode_minus_L
=yes
14957 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14958 # Neither direct hardcoding nor static linking is supported with a
14960 hardcode_direct
=unsupported
14965 if test "$host_cpu" = ia64
; then
14966 # On IA64, the linker does run time linking by default, so we don't
14967 # have to do anything special.
14968 aix_use_runtimelinking
=no
14969 exp_sym_flag
='-Bexport'
14972 # If we're using GNU nm, then we don't want the "-C" option.
14973 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14974 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14975 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'
14977 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'
14979 aix_use_runtimelinking
=no
14981 # Test if we are trying to use run time linking or normal
14982 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14983 # need to do runtime linking.
14984 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14985 for ld_flag
in $LDFLAGS; do
14986 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14987 aix_use_runtimelinking
=yes
14994 exp_sym_flag
='-bexport'
14995 no_entry_flag
='-bnoentry'
14998 # When large executables or shared objects are built, AIX ld can
14999 # have problems creating the table of contents. If linking a library
15000 # or program results in "error TOC overflow" add -mminimal-toc to
15001 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15002 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15005 hardcode_direct
=yes
15006 hardcode_libdir_separator
=':'
15007 link_all_deplibs
=yes
15009 if test "$GCC" = yes; then
15010 case $host_os in aix4.
[012]|aix4.
[012].
*)
15011 # We only want to do this on AIX 4.2 and lower, the check
15012 # below for broken collect2 doesn't work under 4.3+
15013 collect2name
=`${CC} -print-prog-name=collect2`
15014 if test -f "$collect2name" && \
15015 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15017 # We have reworked collect2
15018 hardcode_direct
=yes
15020 # We have old collect2
15021 hardcode_direct
=unsupported
15022 # It fails to find uninstalled libraries when the uninstalled
15023 # path is not listed in the libpath. Setting hardcode_minus_L
15024 # to unsupported forces relinking
15025 hardcode_minus_L
=yes
15026 hardcode_libdir_flag_spec
='-L$libdir'
15027 hardcode_libdir_separator
=
15031 shared_flag
='-shared'
15032 if test "$aix_use_runtimelinking" = yes; then
15033 shared_flag
="$shared_flag "'${wl}-G'
15037 if test "$host_cpu" = ia64
; then
15038 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15039 # chokes on -Wl,-G. The following line is correct:
15042 if test "$aix_use_runtimelinking" = yes; then
15043 shared_flag
='${wl}-G'
15045 shared_flag
='${wl}-bM:SRE'
15050 # It seems that -bexpall does not export symbols beginning with
15051 # underscore (_), so it is better to generate a list of symbols to export.
15052 always_export_symbols
=yes
15053 if test "$aix_use_runtimelinking" = yes; then
15054 # Warning - without using the other runtime loading flags (-brtl),
15055 # -berok will link without error, but may produce a broken library.
15056 allow_undefined_flag
='-berok'
15057 # Determine the default libpath from the value encoded in an empty executable.
15058 cat >conftest.
$ac_ext <<_ACEOF
15061 cat confdefs.h
>>conftest.
$ac_ext
15062 cat >>conftest.
$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15073 rm -f conftest.
$ac_objext conftest
$ac_exeext
15074 if { (ac_try
="$ac_link"
15075 case "(($ac_try" in
15076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15077 *) ac_try_echo=$ac_try;;
15079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15080 (eval "$ac_link") 2>conftest.er1
15082 grep -v '^ *+' conftest.er1 >conftest.err
15084 cat conftest.err >&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15088 { (case "(($ac_try" in
15089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15090 *) ac_try_echo
=$ac_try;;
15092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15093 (eval "$ac_try") 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; } &&
15097 { ac_try
='test -s conftest$ac_exeext'
15098 { (case "(($ac_try" in
15099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15100 *) ac_try_echo=$ac_try;;
15102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15103 (eval "$ac_try") 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15108 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15110 # Check for a 64-bit object if we didn't find anything.
15111 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; }
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15120 rm -f core conftest.err conftest.$ac_objext \
15121 conftest$ac_exeext conftest.$ac_ext
15122 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15124 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15125 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"
15127 if test "$host_cpu" = ia64; then
15128 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15129 allow_undefined_flag="-z nodefs"
15130 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"
15132 # Determine the default libpath from the value encoded in an empty executable.
15133 cat >conftest.$ac_ext <<_ACEOF
15136 cat confdefs.h >>conftest.$ac_ext
15137 cat >>conftest.$ac_ext <<_ACEOF
15138 /* end confdefs.h. */
15148 rm -f conftest.$ac_objext conftest$ac_exeext
15149 if { (ac_try="$ac_link"
15150 case "(($ac_try" in
15151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15152 *) ac_try_echo
=$ac_try;;
15154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15155 (eval "$ac_link") 2>conftest.er1
15157 grep -v '^ *+' conftest.er1
>conftest.err
15159 cat conftest.err
>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); } &&
15162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15163 { (case "(($ac_try" in
15164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15165 *) ac_try_echo=$ac_try;;
15167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15168 (eval "$ac_try") 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; } &&
15172 { ac_try='test -s conftest$ac_exeext'
15173 { (case "(($ac_try" in
15174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15175 *) ac_try_echo
=$ac_try;;
15177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15178 (eval "$ac_try") 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15183 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15185 # Check for a 64-bit object if we didn't find anything.
15186 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; }
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.
$ac_ext >&5
15195 rm -f core conftest.err conftest.
$ac_objext \
15196 conftest
$ac_exeext conftest.
$ac_ext
15197 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15199 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15200 # Warning - without using the other run time loading flags,
15201 # -berok will link without error, but may produce a broken library.
15202 no_undefined_flag
=' ${wl}-bernotok'
15203 allow_undefined_flag
=' ${wl}-berok'
15204 # Exported symbols can be pulled into shared objects from archives
15205 whole_archive_flag_spec
='$convenience'
15206 archive_cmds_need_lc
=yes
15207 # This is similar to how AIX traditionally builds its shared libraries.
15208 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'
15214 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)'
15215 hardcode_libdir_flag_spec
='-L$libdir'
15216 hardcode_minus_L
=yes
15217 # see comment about different semantics on the GNU ld section
15222 export_dynamic_flag_spec
=-rdynamic
15225 cygwin
* | mingw
* | pw32
*)
15226 # When not using gcc, we currently assume that we are using
15227 # Microsoft Visual C++.
15228 # hardcode_libdir_flag_spec is actually meaningless, as there is
15229 # no search path for DLLs.
15230 hardcode_libdir_flag_spec
=' '
15231 allow_undefined_flag
=unsupported
15232 # Tell ltmain to make .lib files, not .a files.
15234 # Tell ltmain to make .dll files, not .so files.
15236 # FIXME: Setting linknames here is a bad hack.
15237 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15238 # The linker will automatically build a .lib file if we build a DLL.
15239 old_archive_From_new_cmds
='true'
15240 # FIXME: Should let the user specify the lib program.
15241 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15242 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15243 enable_shared_with_static_runtimes
=yes
15246 darwin
* | rhapsody
*)
15248 rhapsody
* | darwin1.
[012])
15249 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15252 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15253 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15255 case ${MACOSX_DEPLOYMENT_TARGET} in
15257 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15260 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15266 archive_cmds_need_lc
=no
15268 hardcode_automatic
=yes
15269 hardcode_shlibpath_var
=unsupported
15270 whole_archive_flag_spec
=''
15271 link_all_deplibs
=yes
15272 if test "$GCC" = yes ; then
15273 output_verbose_link_cmd
='echo'
15274 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15275 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15276 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15277 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}'
15278 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}'
15280 case $cc_basename in
15282 output_verbose_link_cmd
='echo'
15283 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15284 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15285 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15286 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}'
15287 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}'
15297 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15298 hardcode_libdir_flag_spec
='-L$libdir'
15299 hardcode_shlibpath_var
=no
15306 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15307 # support. Future versions do this automatically, but an explicit c++rt0.o
15308 # does not break anything, and helps significantly (at the cost of a little
15311 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15312 hardcode_libdir_flag_spec
='-R$libdir'
15313 hardcode_direct
=yes
15314 hardcode_shlibpath_var
=no
15317 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15319 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15320 hardcode_direct
=yes
15321 hardcode_minus_L
=yes
15322 hardcode_shlibpath_var
=no
15325 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15326 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15327 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15328 hardcode_libdir_flag_spec
='-R$libdir'
15329 hardcode_direct
=yes
15330 hardcode_shlibpath_var
=no
15334 if test "$GCC" = yes; then
15335 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'
15337 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'
15339 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15340 hardcode_libdir_separator
=:
15341 hardcode_direct
=yes
15343 # hardcode_minus_L: Not really in the search PATH,
15344 # but as the default location of the library.
15345 hardcode_minus_L
=yes
15346 export_dynamic_flag_spec
='${wl}-E'
15350 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15351 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15353 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15355 if test "$with_gnu_ld" = no
; then
15356 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15357 hardcode_libdir_separator
=:
15359 hardcode_direct
=yes
15360 export_dynamic_flag_spec
='${wl}-E'
15362 # hardcode_minus_L: Not really in the search PATH,
15363 # but as the default location of the library.
15364 hardcode_minus_L
=yes
15369 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15372 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15375 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15378 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15384 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15387 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15390 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15394 if test "$with_gnu_ld" = no
; then
15395 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15396 hardcode_libdir_separator
=:
15400 hardcode_libdir_flag_spec_ld
='+b $libdir'
15402 hardcode_shlibpath_var
=no
15405 hardcode_direct
=yes
15406 export_dynamic_flag_spec
='${wl}-E'
15408 # hardcode_minus_L: Not really in the search PATH,
15409 # but as the default location of the library.
15410 hardcode_minus_L
=yes
15416 irix5
* | irix6
* | nonstopux
*)
15417 if test "$GCC" = yes; then
15418 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'
15420 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'
15421 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15423 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15424 hardcode_libdir_separator
=:
15425 link_all_deplibs
=yes
15429 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15430 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15432 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15434 hardcode_libdir_flag_spec
='-R$libdir'
15435 hardcode_direct
=yes
15436 hardcode_shlibpath_var
=no
15440 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15441 hardcode_direct
=yes
15442 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15443 hardcode_libdir_separator
=:
15444 hardcode_shlibpath_var
=no
15448 hardcode_direct
=yes
15449 hardcode_shlibpath_var
=no
15450 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15451 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15452 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15453 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15454 export_dynamic_flag_spec
='${wl}-E'
15457 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15458 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15459 hardcode_libdir_flag_spec
='-R$libdir'
15462 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15463 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15470 hardcode_libdir_flag_spec
='-L$libdir'
15471 hardcode_minus_L
=yes
15472 allow_undefined_flag
=unsupported
15473 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'
15474 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15478 if test "$GCC" = yes; then
15479 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15480 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'
15482 allow_undefined_flag
=' -expect_unresolved \*'
15483 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'
15485 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15486 hardcode_libdir_separator
=:
15489 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15490 if test "$GCC" = yes; then
15491 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15492 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'
15493 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15495 allow_undefined_flag
=' -expect_unresolved \*'
15496 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'
15497 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15498 $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'
15500 # Both c and cxx compiler support -rpath directly
15501 hardcode_libdir_flag_spec
='-rpath $libdir'
15503 hardcode_libdir_separator
=:
15507 no_undefined_flag
=' -z text'
15508 if test "$GCC" = yes; then
15510 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15511 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15512 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15515 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15516 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15517 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15519 hardcode_libdir_flag_spec
='-R$libdir'
15520 hardcode_shlibpath_var
=no
15522 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15524 # The compiler driver will combine linker options so we
15525 # cannot just pass the convience library names through
15526 # without $wl, iff we do not link with $LD.
15527 # Luckily, gcc supports the same syntax we need for Sun Studio.
15528 # Supported since Solaris 2.6 (maybe 2.5.1?)
15531 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15533 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' ;;
15536 link_all_deplibs
=yes
15540 if test "x$host_vendor" = xsequent
; then
15541 # Use $CC to link under sequent, because it throws in some extra .o
15542 # files that make .init and .fini sections work.
15543 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15545 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15547 hardcode_libdir_flag_spec
='-L$libdir'
15548 hardcode_direct
=yes
15549 hardcode_minus_L
=yes
15550 hardcode_shlibpath_var
=no
15554 case $host_vendor in
15556 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15557 hardcode_direct
=yes # is this really true???
15560 ## LD is ld it makes a PLAMLIB
15561 ## CC just makes a GrossModule.
15562 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15563 reload_cmds
='$CC -r -o $output$reload_objs'
15567 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15568 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15571 runpath_var
='LD_RUN_PATH'
15572 hardcode_shlibpath_var
=no
15576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15577 hardcode_shlibpath_var
=no
15578 export_dynamic_flag_spec
='-Bexport'
15582 if test -d /usr
/nec
; then
15583 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15584 hardcode_shlibpath_var
=no
15585 runpath_var
=LD_RUN_PATH
15586 hardcode_runpath_var
=yes
15591 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15592 no_undefined_flag
='${wl}-z,text'
15593 archive_cmds_need_lc
=no
15594 hardcode_shlibpath_var
=no
15595 runpath_var
='LD_RUN_PATH'
15597 if test "$GCC" = yes; then
15598 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15599 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15601 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15602 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15606 sysv5
* | sco3.2v5
* | sco5v6
*)
15607 # Note: We can NOT use -z defs as we might desire, because we do not
15608 # link with -lc, and that would cause any symbols used from libc to
15609 # always be unresolved, which means just about no library would
15610 # ever link correctly. If we're not using GNU ld we use -z text
15611 # though, which does catch some bad symbols but isn't as heavy-handed
15613 no_undefined_flag
='${wl}-z,text'
15614 allow_undefined_flag
='${wl}-z,nodefs'
15615 archive_cmds_need_lc
=no
15616 hardcode_shlibpath_var
=no
15617 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15618 hardcode_libdir_separator
=':'
15619 link_all_deplibs
=yes
15620 export_dynamic_flag_spec
='${wl}-Bexport'
15621 runpath_var
='LD_RUN_PATH'
15623 if test "$GCC" = yes; then
15624 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15625 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15627 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15628 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15633 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15634 hardcode_libdir_flag_spec
='-L$libdir'
15635 hardcode_shlibpath_var
=no
15644 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15645 echo "${ECHO_T}$ld_shlibs" >&6; }
15646 test "$ld_shlibs" = no
&& can_build_shared
=no
15649 # Do we need to explicitly link libc?
15651 case "x$archive_cmds_need_lc" in
15653 # Assume -lc should be added
15654 archive_cmds_need_lc
=yes
15656 if test "$enable_shared" = yes && test "$GCC" = yes; then
15657 case $archive_cmds in
15659 # FIXME: we may have to deal with multi-command sequences.
15662 # Test whether the compiler implicitly links with -lc since on some
15663 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15664 # to ld, don't add -lc before -lgcc.
15665 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15666 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15668 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15671 (eval $ac_compile) 2>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } 2>conftest.err
; then
15677 libobjs
=conftest.
$ac_objext
15679 wl
=$lt_prog_compiler_wl
15680 pic_flag
=$lt_prog_compiler_pic
15686 lt_save_allow_undefined_flag
=$allow_undefined_flag
15687 allow_undefined_flag
=
15688 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15689 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }
15694 archive_cmds_need_lc
=no
15696 archive_cmds_need_lc
=yes
15698 allow_undefined_flag
=$lt_save_allow_undefined_flag
15700 cat conftest.err
1>&5
15703 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15704 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15711 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15712 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15713 library_names_spec
=
15714 libname_spec
='lib$name'
15718 postuninstall_cmds
=
15722 shlibpath_overrides_runpath
=unknown
15724 dynamic_linker
="$host_os ld.so"
15725 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15726 if test "$GCC" = yes; then
15727 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15728 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15729 # if the path contains ";" then we assume it to be the separator
15730 # otherwise default to the standard path separator (i.e. ":") - it is
15731 # assumed that no part of a normal pathname contains ";" but that should
15732 # okay in the real world where ";" in dirpaths is itself problematic.
15733 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15735 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15738 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15740 need_lib_prefix
=unknown
15741 hardcode_into_libs
=no
15743 # when you set need_version to no, make sure it does not cause -set_version
15744 # flags to be left without arguments
15745 need_version
=unknown
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15751 shlibpath_var
=LIBPATH
15753 # AIX 3 has no versioning support, so we append a major version to the name.
15754 soname_spec
='${libname}${release}${shared_ext}$major'
15761 hardcode_into_libs
=yes
15762 if test "$host_cpu" = ia64
; then
15763 # AIX 5 supports IA64
15764 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15765 shlibpath_var
=LD_LIBRARY_PATH
15767 # With GCC up to 2.95.x, collect2 would create an import file
15768 # for dependence libraries. The import file would start with
15769 # the line `#! .'. This would cause the generated library to
15770 # depend on `.', always an invalid library. This was fixed in
15771 # development snapshots of GCC prior to 3.0.
15773 aix4 | aix4.
[01] | aix4.
[01].
*)
15774 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15776 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15779 can_build_shared
=no
15783 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15784 # soname into executable. Probably we can add versioning support to
15785 # collect2, so additional links can be useful in future.
15786 if test "$aix_use_runtimelinking" = yes; then
15787 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15788 # instead of lib<name>.a to let people know that these are not
15789 # typical AIX shared libraries.
15790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792 # We preserve .a as extension for shared libraries through AIX4.2
15793 # and later when we are not doing run time linking.
15794 library_names_spec
='${libname}${release}.a $libname.a'
15795 soname_spec
='${libname}${release}${shared_ext}$major'
15797 shlibpath_var
=LIBPATH
15802 library_names_spec
='$libname.ixlibrary $libname.a'
15803 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15804 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'
15808 library_names_spec
='${libname}${shared_ext}'
15809 dynamic_linker
="$host_os ld.so"
15810 shlibpath_var
=LIBRARY_PATH
15816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15817 soname_spec
='${libname}${release}${shared_ext}$major'
15818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15819 shlibpath_var
=LD_LIBRARY_PATH
15820 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15821 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15822 # the default ld.so.conf also contains /usr/contrib/lib and
15823 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15824 # libtool to hard-code these into programs
15827 cygwin
* | mingw
* | pw32
*)
15828 version_type
=windows
15833 case $GCC,$host_os in
15834 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15835 library_names_spec
='$libname.dll.a'
15836 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15837 postinstall_cmds
='base_file=`basename \${file}`~
15838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15839 dldir=$destdir/`dirname \$dlpath`~
15840 test -d \$dldir || mkdir -p \$dldir~
15841 $install_prog $dir/$dlname \$dldir/$dlname~
15842 chmod a+x \$dldir/$dlname'
15843 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15844 dlpath=$dir/\$dldll~
15846 shlibpath_overrides_runpath
=yes
15850 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15851 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15852 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15855 # MinGW DLLs use traditional 'lib' prefix
15856 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15857 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15858 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15859 # It is most probably a Windows format PATH printed by
15860 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15861 # path with ; separators, and with drive letters. We can handle the
15862 # drive letters (cygwin fileutils understands them), so leave them,
15863 # especially as we might pass files found there to a mingw objdump,
15864 # which wouldn't understand a cygwinified path. Ahh.
15865 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15867 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15871 # pw32 DLLs use 'pw' prefix rather than 'lib'
15872 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15878 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15881 dynamic_linker
='Win32 ld.exe'
15882 # FIXME: first we should search . and the directory the executable is in
15886 darwin
* | rhapsody
*)
15887 dynamic_linker
="$host_os dyld"
15888 version_type
=darwin
15891 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15892 soname_spec
='${libname}${release}${major}$shared_ext'
15893 shlibpath_overrides_runpath
=yes
15894 shlibpath_var
=DYLD_LIBRARY_PATH
15895 shrext_cmds
='.dylib'
15896 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15897 if test "$GCC" = yes; then
15898 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"`
15900 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15902 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15910 soname_spec
='${libname}${release}${shared_ext}$major'
15911 shlibpath_var
=LD_LIBRARY_PATH
15922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15923 soname_spec
='${libname}${release}${shared_ext}$major'
15924 shlibpath_var
=LD_LIBRARY_PATH
15925 shlibpath_overrides_runpath
=no
15926 hardcode_into_libs
=yes
15927 dynamic_linker
='GNU ld.so'
15930 freebsd
* | dragonfly
*)
15931 # DragonFly does not have aout. When/if they implement a new
15932 # versioning mechanism, adjust this.
15933 if test -x /usr
/bin
/objformat
; then
15934 objformat
=`/usr/bin/objformat`
15937 freebsd
[123]*) objformat
=aout
;;
15938 *) objformat
=elf
;;
15941 version_type
=freebsd-
$objformat
15942 case $version_type in
15944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15949 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15953 shlibpath_var
=LD_LIBRARY_PATH
15956 shlibpath_overrides_runpath
=yes
15958 freebsd3.
[01]* | freebsdelf3.
[01]*)
15959 shlibpath_overrides_runpath
=yes
15960 hardcode_into_libs
=yes
15962 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15963 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15964 shlibpath_overrides_runpath
=no
15965 hardcode_into_libs
=yes
15967 freebsd
*) # from 4.6 on
15968 shlibpath_overrides_runpath
=yes
15969 hardcode_into_libs
=yes
15978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15979 soname_spec
='${libname}${release}${shared_ext}$major'
15980 shlibpath_var
=LD_LIBRARY_PATH
15981 hardcode_into_libs
=yes
15984 hpux9
* | hpux10
* | hpux11
*)
15985 # Give a soname corresponding to the major version so that dld.sl refuses to
15986 # link against other versions.
15993 hardcode_into_libs
=yes
15994 dynamic_linker
="$host_os dld.so"
15995 shlibpath_var
=LD_LIBRARY_PATH
15996 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15998 soname_spec
='${libname}${release}${shared_ext}$major'
15999 if test "X$HPUX_IA64_MODE" = X32
; then
16000 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16002 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16004 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16008 hardcode_into_libs
=yes
16009 dynamic_linker
="$host_os dld.sl"
16010 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16011 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16013 soname_spec
='${libname}${release}${shared_ext}$major'
16014 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16015 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16019 dynamic_linker
="$host_os dld.sl"
16020 shlibpath_var
=SHLIB_PATH
16021 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16023 soname_spec
='${libname}${release}${shared_ext}$major'
16026 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16027 postinstall_cmds
='chmod 555 $lib'
16034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16035 soname_spec
='${libname}${release}${shared_ext}$major'
16036 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16037 shlibpath_var
=LD_LIBRARY_PATH
16038 shlibpath_overrides_runpath
=no
16039 hardcode_into_libs
=yes
16042 irix5
* | irix6
* | nonstopux
*)
16044 nonstopux
*) version_type
=nonstopux
;;
16046 if test "$lt_cv_prog_gnu_ld" = yes; then
16054 soname_spec
='${libname}${release}${shared_ext}$major'
16055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16057 irix5
* | nonstopux
*)
16058 libsuff
= shlibsuff
=
16061 case $LD in # libtool.m4 will add one of these switches to LD
16062 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16063 libsuff
= shlibsuff
= libmagic
=32-bit;;
16064 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16065 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16066 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16067 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16068 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16072 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16073 shlibpath_overrides_runpath
=no
16074 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16075 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16076 hardcode_into_libs
=yes
16079 # No shared lib support for Linux oldld, aout, or coff.
16080 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16084 # This must be Linux ELF.
16089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16090 soname_spec
='${libname}${release}${shared_ext}$major'
16091 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16092 shlibpath_var
=LD_LIBRARY_PATH
16093 shlibpath_overrides_runpath
=no
16094 # This implies no fast_install, which is unacceptable.
16095 # Some rework will be needed to allow for fast_install
16096 # before this can be enabled.
16097 hardcode_into_libs
=yes
16099 # Append ld.so.conf contents to the search path
16100 if test -f /etc
/ld.so.conf
; then
16101 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' ' '`
16102 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16105 # We used to test for /lib/ld.so.1 and disable shared libraries on
16106 # powerpc, because MkLinux only supported shared libraries with the
16107 # GNU dynamic linker. Since this was broken with cross compilers,
16108 # most powerpc-linux boxes support dynamic linking these days and
16109 # people can always --disable-shared, the test was removed, and we
16110 # assume the GNU/Linux dynamic linker is in use.
16111 dynamic_linker
='GNU/Linux ld.so'
16118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16119 soname_spec
='${libname}${release}${shared_ext}$major'
16120 shlibpath_var
=LD_LIBRARY_PATH
16121 shlibpath_overrides_runpath
=no
16122 hardcode_into_libs
=yes
16123 dynamic_linker
='GNU ld.so'
16130 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16132 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16133 dynamic_linker
='NetBSD (a.out) ld.so'
16135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16136 soname_spec
='${libname}${release}${shared_ext}$major'
16137 dynamic_linker
='NetBSD ld.elf_so'
16139 shlibpath_var
=LD_LIBRARY_PATH
16140 shlibpath_overrides_runpath
=yes
16141 hardcode_into_libs
=yes
16146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16147 shlibpath_var
=LD_LIBRARY_PATH
16148 shlibpath_overrides_runpath
=yes
16155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16156 soname_spec
='${libname}${release}${shared_ext}$major'
16157 shlibpath_var
=LD_LIBRARY_PATH
16158 shlibpath_overrides_runpath
=yes
16163 sys_lib_dlsearch_path_spec
="/usr/lib"
16165 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16167 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16168 *) need_version
=no
;;
16170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16172 shlibpath_var
=LD_LIBRARY_PATH
16173 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16175 openbsd2.
[89] | openbsd2.
[89].
*)
16176 shlibpath_overrides_runpath
=no
16179 shlibpath_overrides_runpath
=yes
16183 shlibpath_overrides_runpath
=yes
16188 libname_spec
='$name'
16191 library_names_spec
='$libname${shared_ext} $libname.a'
16192 dynamic_linker
='OS/2 ld.exe'
16193 shlibpath_var
=LIBPATH
16196 osf3
* | osf4
* | osf5
*)
16200 soname_spec
='${libname}${release}${shared_ext}$major'
16201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16202 shlibpath_var
=LD_LIBRARY_PATH
16203 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16204 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16212 soname_spec
='${libname}${release}${shared_ext}$major'
16213 shlibpath_var
=LD_LIBRARY_PATH
16214 shlibpath_overrides_runpath
=yes
16215 hardcode_into_libs
=yes
16216 # ldd complains unless libraries are executable
16217 postinstall_cmds
='chmod +x $lib'
16222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16223 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16224 shlibpath_var
=LD_LIBRARY_PATH
16225 shlibpath_overrides_runpath
=yes
16226 if test "$with_gnu_ld" = yes; then
16234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16235 soname_spec
='${libname}${release}${shared_ext}$major'
16236 shlibpath_var
=LD_LIBRARY_PATH
16237 case $host_vendor in
16239 shlibpath_overrides_runpath
=no
16241 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16242 runpath_var
=LD_RUN_PATH
16250 shlibpath_overrides_runpath
=no
16251 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16257 if test -d /usr
/nec
;then
16259 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16260 soname_spec
='$libname${shared_ext}.$major'
16261 shlibpath_var
=LD_LIBRARY_PATH
16265 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16266 version_type
=freebsd-elf
16269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16270 soname_spec
='${libname}${release}${shared_ext}$major'
16271 shlibpath_var
=LD_LIBRARY_PATH
16272 hardcode_into_libs
=yes
16273 if test "$with_gnu_ld" = yes; then
16274 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16275 shlibpath_overrides_runpath
=no
16277 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16278 shlibpath_overrides_runpath
=yes
16281 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16285 sys_lib_dlsearch_path_spec
='/usr/lib'
16290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16291 soname_spec
='${libname}${release}${shared_ext}$major'
16292 shlibpath_var
=LD_LIBRARY_PATH
16299 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16300 echo "${ECHO_T}$dynamic_linker" >&6; }
16301 test "$dynamic_linker" = no
&& can_build_shared
=no
16303 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16304 if test "$GCC" = yes; then
16305 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16308 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16309 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16311 if test -n "$hardcode_libdir_flag_spec" || \
16312 test -n "$runpath_var" || \
16313 test "X$hardcode_automatic" = "Xyes" ; then
16315 # We can hardcode non-existant directories.
16316 if test "$hardcode_direct" != no
&&
16317 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16318 # have to relink, otherwise we might link with an installed library
16319 # when we should be linking with a yet-to-be-installed one
16320 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16321 test "$hardcode_minus_L" != no
; then
16322 # Linking always hardcodes the temporary library directory.
16323 hardcode_action
=relink
16325 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16326 hardcode_action
=immediate
16329 # We cannot hardcode anything, or else we can only hardcode existing
16331 hardcode_action
=unsupported
16333 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16334 echo "${ECHO_T}$hardcode_action" >&6; }
16336 if test "$hardcode_action" = relink
; then
16337 # Fast installation is not supported
16338 enable_fast_install
=no
16339 elif test "$shlibpath_overrides_runpath" = yes ||
16340 test "$enable_shared" = no
; then
16341 # Fast installation is not necessary
16342 enable_fast_install
=needless
16347 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16348 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16349 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16350 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16351 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16352 { echo "$as_me:$LINENO: result: yes" >&5
16353 echo "${ECHO_T}yes" >&6; }
16355 # FIXME - insert some real tests, host_os isn't really good enough
16358 if test -n "$STRIP" ; then
16359 striplib
="$STRIP -x"
16360 { echo "$as_me:$LINENO: result: yes" >&5
16361 echo "${ECHO_T}yes" >&6; }
16363 { echo "$as_me:$LINENO: result: no" >&5
16364 echo "${ECHO_T}no" >&6; }
16368 { echo "$as_me:$LINENO: result: no" >&5
16369 echo "${ECHO_T}no" >&6; }
16374 if test "x$enable_dlopen" != xyes
; then
16375 enable_dlopen
=unknown
16376 enable_dlopen_self
=unknown
16377 enable_dlopen_self_static
=unknown
16384 lt_cv_dlopen
="load_add_on"
16386 lt_cv_dlopen_self
=yes
16390 lt_cv_dlopen
="LoadLibrary"
16395 lt_cv_dlopen
="dlopen"
16400 # if libdl is installed we need to link against it
16401 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16402 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16403 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16404 echo $ECHO_N "(cached) $ECHO_C" >&6
16406 ac_check_lib_save_LIBS
=$LIBS
16408 cat >conftest.
$ac_ext <<_ACEOF
16411 cat confdefs.h
>>conftest.
$ac_ext
16412 cat >>conftest.
$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16415 /* Override any GCC internal prototype to avoid an error.
16416 Use char because int might match the return type of a GCC
16417 builtin and then its argument prototype would still apply. */
16430 rm -f conftest.
$ac_objext conftest
$ac_exeext
16431 if { (ac_try
="$ac_link"
16432 case "(($ac_try" in
16433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16434 *) ac_try_echo=$ac_try;;
16436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16437 (eval "$ac_link") 2>conftest.er1
16439 grep -v '^ *+' conftest.er1 >conftest.err
16441 cat conftest.err >&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16445 { (case "(($ac_try" in
16446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16447 *) ac_try_echo
=$ac_try;;
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_try") 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; } &&
16454 { ac_try
='test -s conftest$ac_exeext'
16455 { (case "(($ac_try" in
16456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16464 ac_cv_lib_dl_dlopen=yes
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16469 ac_cv_lib_dl_dlopen=no
16472 rm -f core conftest.err conftest.$ac_objext \
16473 conftest$ac_exeext conftest.$ac_ext
16474 LIBS=$ac_check_lib_save_LIBS
16476 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16477 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16478 if test $ac_cv_lib_dl_dlopen = yes; then
16479 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16482 lt_cv_dlopen="dyld"
16484 lt_cv_dlopen_self=yes
16491 { echo "$as_me:$LINENO: checking for shl_load" >&5
16492 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16493 if test "${ac_cv_func_shl_load+set}" = set; then
16494 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 cat >conftest.$ac_ext <<_ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16504 #define shl_load innocuous_shl_load
16506 /* System header to define __stub macros and hopefully few prototypes,
16507 which can conflict with char shl_load (); below.
16508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16509 <limits.h> exists even on freestanding compilers. */
16512 # include <limits.h>
16514 # include <assert.h>
16519 /* Override any GCC internal prototype to avoid an error.
16520 Use char because int might match the return type of a GCC
16521 builtin and then its argument prototype would still apply. */
16526 /* The GNU C library defines this for functions which it implements
16527 to always fail with ENOSYS. Some functions are actually named
16528 something starting with __ and the normal name is an alias. */
16529 #if defined __stub_shl_load || defined __stub___shl_load
16536 return shl_load ();
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (ac_try="$ac_link"
16543 case "(($ac_try" in
16544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16545 *) ac_try_echo
=$ac_try;;
16547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16548 (eval "$ac_link") 2>conftest.er1
16550 grep -v '^ *+' conftest.er1
>conftest.err
16552 cat conftest.err
>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } &&
16555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16556 { (case "(($ac_try" in
16557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_try") 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; } &&
16565 { ac_try='test -s conftest$ac_exeext'
16566 { (case "(($ac_try" in
16567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16568 *) ac_try_echo
=$ac_try;;
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_try") 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 ac_cv_func_shl_load
=yes
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 ac_cv_func_shl_load
=no
16583 rm -f core conftest.err conftest.
$ac_objext \
16584 conftest
$ac_exeext conftest.
$ac_ext
16586 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16587 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16588 if test $ac_cv_func_shl_load = yes; then
16589 lt_cv_dlopen
="shl_load"
16591 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16592 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16593 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 ac_check_lib_save_LIBS
=$LIBS
16598 cat >conftest.
$ac_ext <<_ACEOF
16601 cat confdefs.h
>>conftest.
$ac_ext
16602 cat >>conftest.
$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16605 /* Override any GCC internal prototype to avoid an error.
16606 Use char because int might match the return type of a GCC
16607 builtin and then its argument prototype would still apply. */
16615 return shl_load ();
16620 rm -f conftest.
$ac_objext conftest
$ac_exeext
16621 if { (ac_try
="$ac_link"
16622 case "(($ac_try" in
16623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16624 *) ac_try_echo=$ac_try;;
16626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16627 (eval "$ac_link") 2>conftest.er1
16629 grep -v '^ *+' conftest.er1 >conftest.err
16631 cat conftest.err >&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } &&
16634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16635 { (case "(($ac_try" in
16636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16637 *) ac_try_echo
=$ac_try;;
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_try") 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; } &&
16644 { ac_try
='test -s conftest$ac_exeext'
16645 { (case "(($ac_try" in
16646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16647 *) ac_try_echo=$ac_try;;
16649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16650 (eval "$ac_try") 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 ac_cv_lib_dld_shl_load=yes
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16659 ac_cv_lib_dld_shl_load=no
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16664 LIBS=$ac_check_lib_save_LIBS
16666 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16667 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16668 if test $ac_cv_lib_dld_shl_load = yes; then
16669 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16671 { echo "$as_me:$LINENO: checking for dlopen" >&5
16672 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16673 if test "${ac_cv_func_dlopen+set}" = set; then
16674 echo $ECHO_N "(cached) $ECHO_C" >&6
16676 cat >conftest.$ac_ext <<_ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16684 #define dlopen innocuous_dlopen
16686 /* System header to define __stub macros and hopefully few prototypes,
16687 which can conflict with char dlopen (); below.
16688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16689 <limits.h> exists even on freestanding compilers. */
16692 # include <limits.h>
16694 # include <assert.h>
16699 /* Override any GCC internal prototype to avoid an error.
16700 Use char because int might match the return type of a GCC
16701 builtin and then its argument prototype would still apply. */
16706 /* The GNU C library defines this for functions which it implements
16707 to always fail with ENOSYS. Some functions are actually named
16708 something starting with __ and the normal name is an alias. */
16709 #if defined __stub_dlopen || defined __stub___dlopen
16721 rm -f conftest.$ac_objext conftest$ac_exeext
16722 if { (ac_try="$ac_link"
16723 case "(($ac_try" in
16724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16725 *) ac_try_echo
=$ac_try;;
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_link") 2>conftest.er1
16730 grep -v '^ *+' conftest.er1
>conftest.err
16732 cat conftest.err
>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16736 { (case "(($ac_try" in
16737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 (eval "$ac_try") 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try='test -s conftest$ac_exeext'
16746 { (case "(($ac_try" in
16747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16748 *) ac_try_echo
=$ac_try;;
16750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751 (eval "$ac_try") 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 ac_cv_func_dlopen
=yes
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.
$ac_ext >&5
16760 ac_cv_func_dlopen
=no
16763 rm -f core conftest.err conftest.
$ac_objext \
16764 conftest
$ac_exeext conftest.
$ac_ext
16766 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16767 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16768 if test $ac_cv_func_dlopen = yes; then
16769 lt_cv_dlopen
="dlopen"
16771 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16772 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16773 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 ac_check_lib_save_LIBS
=$LIBS
16778 cat >conftest.
$ac_ext <<_ACEOF
16781 cat confdefs.h
>>conftest.
$ac_ext
16782 cat >>conftest.
$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16785 /* Override any GCC internal prototype to avoid an error.
16786 Use char because int might match the return type of a GCC
16787 builtin and then its argument prototype would still apply. */
16800 rm -f conftest.
$ac_objext conftest
$ac_exeext
16801 if { (ac_try
="$ac_link"
16802 case "(($ac_try" in
16803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16804 *) ac_try_echo=$ac_try;;
16806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16807 (eval "$ac_link") 2>conftest.er1
16809 grep -v '^ *+' conftest.er1 >conftest.err
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (case "(($ac_try" in
16816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16817 *) ac_try_echo
=$ac_try;;
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_try") 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; } &&
16824 { ac_try
='test -s conftest$ac_exeext'
16825 { (case "(($ac_try" in
16826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16827 *) ac_try_echo=$ac_try;;
16829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16830 (eval "$ac_try") 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 ac_cv_lib_dl_dlopen=yes
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5
16839 ac_cv_lib_dl_dlopen=no
16842 rm -f core conftest.err conftest.$ac_objext \
16843 conftest$ac_exeext conftest.$ac_ext
16844 LIBS=$ac_check_lib_save_LIBS
16846 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16847 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16848 if test $ac_cv_lib_dl_dlopen = yes; then
16849 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16851 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16852 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
16853 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16854 echo $ECHO_N "(cached) $ECHO_C" >&6
16856 ac_check_lib_save_LIBS=$LIBS
16857 LIBS="-lsvld $LIBS"
16858 cat >conftest.$ac_ext <<_ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16865 /* Override any GCC internal prototype to avoid an error.
16866 Use char because int might match the return type of a GCC
16867 builtin and then its argument prototype would still apply. */
16880 rm -f conftest.$ac_objext conftest$ac_exeext
16881 if { (ac_try="$ac_link"
16882 case "(($ac_try" in
16883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16884 *) ac_try_echo
=$ac_try;;
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_link") 2>conftest.er1
16889 grep -v '^ *+' conftest.er1
>conftest.err
16891 cat conftest.err
>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } &&
16894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16895 { (case "(($ac_try" in
16896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16897 *) ac_try_echo=$ac_try;;
16899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900 (eval "$ac_try") 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; } &&
16904 { ac_try='test -s conftest$ac_exeext'
16905 { (case "(($ac_try" in
16906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16907 *) ac_try_echo
=$ac_try;;
16909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16910 (eval "$ac_try") 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_cv_lib_svld_dlopen
=yes
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.
$ac_ext >&5
16919 ac_cv_lib_svld_dlopen
=no
16922 rm -f core conftest.err conftest.
$ac_objext \
16923 conftest
$ac_exeext conftest.
$ac_ext
16924 LIBS
=$ac_check_lib_save_LIBS
16926 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16927 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16928 if test $ac_cv_lib_svld_dlopen = yes; then
16929 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
16931 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16932 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16933 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 ac_check_lib_save_LIBS
=$LIBS
16938 cat >conftest.
$ac_ext <<_ACEOF
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16945 /* Override any GCC internal prototype to avoid an error.
16946 Use char because int might match the return type of a GCC
16947 builtin and then its argument prototype would still apply. */
16955 return dld_link ();
16960 rm -f conftest.
$ac_objext conftest
$ac_exeext
16961 if { (ac_try
="$ac_link"
16962 case "(($ac_try" in
16963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16964 *) ac_try_echo=$ac_try;;
16966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16967 (eval "$ac_link") 2>conftest.er1
16969 grep -v '^ *+' conftest.er1 >conftest.err
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } &&
16974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16975 { (case "(($ac_try" in
16976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16977 *) ac_try_echo
=$ac_try;;
16979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16980 (eval "$ac_try") 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; } &&
16984 { ac_try
='test -s conftest$ac_exeext'
16985 { (case "(($ac_try" in
16986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16987 *) ac_try_echo=$ac_try;;
16989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16990 (eval "$ac_try") 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_lib_dld_dld_link=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.$ac_ext >&5
16999 ac_cv_lib_dld_dld_link=no
17002 rm -f core conftest.err conftest.$ac_objext \
17003 conftest$ac_exeext conftest.$ac_ext
17004 LIBS=$ac_check_lib_save_LIBS
17006 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17007 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17008 if test $ac_cv_lib_dld_dld_link = yes; then
17009 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17030 if test "x$lt_cv_dlopen" != xno; then
17036 case $lt_cv_dlopen in
17038 save_CPPFLAGS="$CPPFLAGS"
17039 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17041 save_LDFLAGS="$LDFLAGS"
17042 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17045 LIBS="$lt_cv_dlopen_libs $LIBS"
17047 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17048 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17049 if test "${lt_cv_dlopen_self+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 if test "$cross_compiling" = yes; then :
17053 lt_cv_dlopen_self=cross
17055 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17056 lt_status=$lt_dlunknown
17057 cat > conftest.$ac_ext <<EOF
17058 #line 17058 "configure"
17059 #include "confdefs.h"
17068 # define LT_DLGLOBAL RTLD_GLOBAL
17071 # define LT_DLGLOBAL DL_GLOBAL
17073 # define LT_DLGLOBAL 0
17077 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17078 find out it does not work in some platform. */
17079 #ifndef LT_DLLAZY_OR_NOW
17081 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17084 # define LT_DLLAZY_OR_NOW DL_LAZY
17087 # define LT_DLLAZY_OR_NOW RTLD_NOW
17090 # define LT_DLLAZY_OR_NOW DL_NOW
17092 # define LT_DLLAZY_OR_NOW 0
17100 extern "C" void exit (int);
17103 void fnord() { int i=42;}
17106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17107 int status = $lt_dlunknown;
17111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17112 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17113 /* dlclose (self); */
17121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17122 (eval $ac_link) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17126 (./conftest; exit; ) >&5 2>/dev/null
17128 case x$lt_status in
17129 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17130 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17131 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17134 # compilation failed
17135 lt_cv_dlopen_self=no
17142 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17143 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17145 if test "x$lt_cv_dlopen_self" = xyes; then
17146 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17147 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17148 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17149 if test "${lt_cv_dlopen_self_static+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 if test "$cross_compiling" = yes; then :
17153 lt_cv_dlopen_self_static=cross
17155 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17156 lt_status=$lt_dlunknown
17157 cat > conftest.$ac_ext <<EOF
17158 #line 17158 "configure"
17159 #include "confdefs.h"
17168 # define LT_DLGLOBAL RTLD_GLOBAL
17171 # define LT_DLGLOBAL DL_GLOBAL
17173 # define LT_DLGLOBAL 0
17177 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17178 find out it does not work in some platform. */
17179 #ifndef LT_DLLAZY_OR_NOW
17181 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17184 # define LT_DLLAZY_OR_NOW DL_LAZY
17187 # define LT_DLLAZY_OR_NOW RTLD_NOW
17190 # define LT_DLLAZY_OR_NOW DL_NOW
17192 # define LT_DLLAZY_OR_NOW 0
17200 extern "C" void exit (int);
17203 void fnord() { int i=42;}
17206 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17207 int status = $lt_dlunknown;
17211 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17212 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17213 /* dlclose (self); */
17221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17222 (eval $ac_link) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17226 (./conftest; exit; ) >&5 2>/dev/null
17228 case x$lt_status in
17229 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17230 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17231 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17234 # compilation failed
17235 lt_cv_dlopen_self_static=no
17242 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17243 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17246 CPPFLAGS="$save_CPPFLAGS"
17247 LDFLAGS="$save_LDFLAGS"
17252 case $lt_cv_dlopen_self in
17253 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17254 *) enable_dlopen_self=unknown ;;
17257 case $lt_cv_dlopen_self_static in
17258 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17259 *) enable_dlopen_self_static=unknown ;;
17264 # Report which library types will actually be built
17265 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17266 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17267 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17268 echo "${ECHO_T}$can_build_shared" >&6; }
17270 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17271 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17272 test "$can_build_shared" = "no" && enable_shared=no
17274 # On AIX, shared libraries and static libraries use the same namespace, and
17275 # are all built from PIC.
17278 test "$enable_shared" = yes && enable_static=no
17279 if test -n "$RANLIB"; then
17280 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17281 postinstall_cmds='$RANLIB $lib'
17286 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17287 test "$enable_shared" = yes && enable_static=no
17291 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17292 echo "${ECHO_T}$enable_shared" >&6; }
17294 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17295 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17296 # Make sure either enable_shared or enable_static is yes.
17297 test "$enable_shared" = yes || enable_static=yes
17298 { echo "$as_me:$LINENO: result: $enable_static" >&5
17299 echo "${ECHO_T}$enable_static" >&6; }
17301 # The else clause should only fire when bootstrapping the
17302 # libtool distribution, otherwise you forgot to ship ltmain.sh
17303 # with your package, and you will get complaints that there are
17304 # no rules to generate ltmain.sh.
17305 if test -f "$ltmain"; then
17306 # See if we are running on zsh, and set the options which allow our commands through
17307 # without removal of \ escapes.
17308 if test -n "${ZSH_VERSION+set}" ; then
17309 setopt NO_GLOB_SUBST
17311 # Now quote all the things that may contain metacharacters while being
17312 # careful not to overquote the AC_SUBSTed values. We take copies of the
17313 # variables and quote the copies for generation of the libtool script.
17314 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17316 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17317 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17318 deplibs_check_method reload_flag reload_cmds need_locks \
17319 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17320 lt_cv_sys_global_symbol_to_c_name_address \
17321 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17322 old_postinstall_cmds old_postuninstall_cmds \
17326 lt_prog_compiler_wl \
17327 lt_prog_compiler_pic \
17328 lt_prog_compiler_static \
17329 lt_prog_compiler_no_builtin_flag \
17330 export_dynamic_flag_spec \
17331 thread_safe_flag_spec \
17332 whole_archive_flag_spec \
17333 enable_shared_with_static_runtimes \
17335 old_archive_from_new_cmds \
17340 compiler_lib_search_path \
17342 archive_expsym_cmds \
17344 postuninstall_cmds \
17345 old_archive_from_expsyms_cmds \
17346 allow_undefined_flag \
17347 no_undefined_flag \
17348 export_symbols_cmds \
17349 hardcode_libdir_flag_spec \
17350 hardcode_libdir_flag_spec_ld \
17351 hardcode_libdir_separator \
17352 hardcode_automatic \
17354 module_expsym_cmds \
17355 lt_cv_prog_compiler_c_o \
17357 include_expsyms; do
17360 old_archive_cmds | \
17361 old_archive_from_new_cmds | \
17363 archive_expsym_cmds | \
17365 module_expsym_cmds | \
17366 old_archive_from_expsyms_cmds | \
17367 export_symbols_cmds | \
17368 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17369 postinstall_cmds | postuninstall_cmds | \
17370 old_postinstall_cmds | old_postuninstall_cmds | \
17371 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17372 # Double-quote double-evaled strings.
17373 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17376 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17382 *'\$0 --fallback-echo"')
17383 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17387 cfgfile="${ofile}T"
17388 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17390 { echo "$as_me:$LINENO: creating $ofile" >&5
17391 echo "$as_me: creating $ofile" >&6;}
17393 cat <<__EOF__ >> "$cfgfile"
17396 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17397 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17398 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17400 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17401 # Free Software Foundation, Inc.
17403 # This file is part of GNU Libtool:
17404 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17406 # This program is free software; you can redistribute it and/or modify
17407 # it under the terms of the GNU General Public License as published by
17408 # the Free Software Foundation; either version 2 of the License, or
17409 # (at your option) any later version.
17411 # This program is distributed in the hope that it will be useful, but
17412 # WITHOUT ANY WARRANTY; without even the implied warranty of
17413 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17414 # General Public License for more details.
17416 # You should have received a copy of the GNU General Public License
17417 # along with this program; if not, write to the Free Software
17418 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17420 # As a special exception to the GNU General Public License, if you
17421 # distribute this file as part of a program that contains a
17422 # configuration script generated by Autoconf, you may include it under
17423 # the same distribution terms that you use for the rest of that program.
17425 # A sed program that does not truncate output.
17428 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17429 Xsed="$SED -e 1s/^X//"
17431 # The HP-UX ksh and POSIX shell print the target directory to stdout
17432 # if CDPATH is set.
17433 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17435 # The names of the tagged configurations supported by this script.
17438 # ### BEGIN LIBTOOL CONFIG
17440 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17442 # Shell to use when invoking shell scripts.
17445 # Whether or not to build shared libraries.
17446 build_libtool_libs=$enable_shared
17448 # Whether or not to build static libraries.
17449 build_old_libs=$enable_static
17451 # Whether or not to add -lc for building shared libraries.
17452 build_libtool_need_lc=$archive_cmds_need_lc
17454 # Whether or not to disallow shared libs when runtime libs are static
17455 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17457 # Whether or not to optimize for fast installation.
17458 fast_install=$enable_fast_install
17461 host_alias=$host_alias
17465 # The build system.
17466 build_alias=$build_alias
17470 # An echo program that does not interpret backslashes.
17475 AR_FLAGS=$lt_AR_FLAGS
17480 # LTCC compiler flags.
17481 LTCFLAGS=$lt_LTCFLAGS
17483 # A language-specific compiler.
17486 # Is the compiler the GNU C compiler?
17492 # The linker used to build libraries.
17495 # Whether we need hard or soft links.
17498 # A BSD-compatible nm program.
17501 # A symbol stripping program
17504 # Used to examine libraries when file_magic_cmd begins "file"
17505 MAGIC_CMD=$MAGIC_CMD
17507 # Used on cygwin: DLL creation program.
17510 # Used on cygwin: object dumper.
17513 # Used on cygwin: assembler.
17516 # The name of the directory that contains temporary libtool files.
17519 # How to create reloadable object files.
17520 reload_flag=$lt_reload_flag
17521 reload_cmds=$lt_reload_cmds
17523 # How to pass a linker flag through the compiler.
17524 wl=$lt_lt_prog_compiler_wl
17526 # Object file suffix (normally "o").
17527 objext="$ac_objext"
17529 # Old archive suffix (normally "a").
17532 # Shared library suffix (normally ".so").
17533 shrext_cmds='$shrext_cmds'
17535 # Executable file suffix (normally "").
17538 # Additional compiler flags for building library objects.
17539 pic_flag=$lt_lt_prog_compiler_pic
17542 # What is the maximum length of a command?
17543 max_cmd_len=$lt_cv_sys_max_cmd_len
17545 # Does compiler simultaneously support -c and -o options?
17546 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17548 # Must we lock files when doing compilation?
17549 need_locks=$lt_need_locks
17551 # Do we need the lib prefix for modules?
17552 need_lib_prefix=$need_lib_prefix
17554 # Do we need a version for libraries?
17555 need_version=$need_version
17557 # Whether dlopen is supported.
17558 dlopen_support=$enable_dlopen
17560 # Whether dlopen of programs is supported.
17561 dlopen_self=$enable_dlopen_self
17563 # Whether dlopen of statically linked programs is supported.
17564 dlopen_self_static=$enable_dlopen_self_static
17566 # Compiler flag to prevent dynamic linking.
17567 link_static_flag=$lt_lt_prog_compiler_static
17569 # Compiler flag to turn off builtin functions.
17570 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17572 # Compiler flag to allow reflexive dlopens.
17573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17575 # Compiler flag to generate shared objects directly from archives.
17576 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17578 # Compiler flag to generate thread-safe objects.
17579 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17581 # Library versioning type.
17582 version_type=$version_type
17584 # Format of library name prefix.
17585 libname_spec=$lt_libname_spec
17587 # List of archive names. First name is the real one, the rest are links.
17588 # The last name is the one that the linker finds with -lNAME.
17589 library_names_spec=$lt_library_names_spec
17591 # The coded name of the library, if different from the real name.
17592 soname_spec=$lt_soname_spec
17594 # Commands used to build and install an old-style archive.
17596 old_archive_cmds=$lt_old_archive_cmds
17597 old_postinstall_cmds=$lt_old_postinstall_cmds
17598 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17600 # Create an old-style archive from a shared archive.
17601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17603 # Create a temporary old-style archive to link instead of a shared archive.
17604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17606 # Commands used to build and install a shared archive.
17607 archive_cmds=$lt_archive_cmds
17608 archive_expsym_cmds=$lt_archive_expsym_cmds
17609 postinstall_cmds=$lt_postinstall_cmds
17610 postuninstall_cmds=$lt_postuninstall_cmds
17612 # Commands used to build a loadable module (assumed same as above if empty)
17613 module_cmds=$lt_module_cmds
17614 module_expsym_cmds=$lt_module_expsym_cmds
17616 # Commands to strip libraries.
17617 old_striplib=$lt_old_striplib
17618 striplib=$lt_striplib
17620 # Dependencies to place before the objects being linked to create a
17622 predep_objects=$lt_predep_objects
17624 # Dependencies to place after the objects being linked to create a
17626 postdep_objects=$lt_postdep_objects
17628 # Dependencies to place before the objects being linked to create a
17630 predeps=$lt_predeps
17632 # Dependencies to place after the objects being linked to create a
17634 postdeps=$lt_postdeps
17636 # The library search path used internally by the compiler when linking
17637 # a shared library.
17638 compiler_lib_search_path=$lt_compiler_lib_search_path
17640 # Method to check whether dependent libraries are shared objects.
17641 deplibs_check_method=$lt_deplibs_check_method
17643 # Command to use when deplibs_check_method == file_magic.
17644 file_magic_cmd=$lt_file_magic_cmd
17646 # Flag that allows shared libraries with undefined symbols to be built.
17647 allow_undefined_flag=$lt_allow_undefined_flag
17649 # Flag that forces no undefined symbols.
17650 no_undefined_flag=$lt_no_undefined_flag
17652 # Commands used to finish a libtool library installation in a directory.
17653 finish_cmds=$lt_finish_cmds
17655 # Same as above, but a single script fragment to be evaled but not shown.
17656 finish_eval=$lt_finish_eval
17658 # Take the output of nm and produce a listing of raw symbols and C names.
17659 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17661 # Transform the output of nm in a proper C declaration
17662 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17664 # Transform the output of nm in a C name address pair
17665 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17667 # This is the shared library runtime path variable.
17668 runpath_var=$runpath_var
17670 # This is the shared library path variable.
17671 shlibpath_var=$shlibpath_var
17673 # Is shlibpath searched before the hard-coded library search path?
17674 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17676 # How to hardcode a shared library path into an executable.
17677 hardcode_action=$hardcode_action
17679 # Whether we should hardcode library paths into libraries.
17680 hardcode_into_libs=$hardcode_into_libs
17682 # Flag to hardcode \$libdir into a binary during linking.
17683 # This must work even if \$libdir does not exist.
17684 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17686 # If ld is used when linking, flag to hardcode \$libdir into
17687 # a binary during linking. This must work even if \$libdir does
17689 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17691 # Whether we need a single -rpath flag with a separated argument.
17692 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17694 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17695 # resulting binary.
17696 hardcode_direct=$hardcode_direct
17698 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17699 # resulting binary.
17700 hardcode_minus_L=$hardcode_minus_L
17702 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17703 # the resulting binary.
17704 hardcode_shlibpath_var=$hardcode_shlibpath_var
17706 # Set to yes if building a shared library automatically hardcodes DIR into the library
17707 # and all subsequent libraries and executables linked against it.
17708 hardcode_automatic=$hardcode_automatic
17710 # Variables whose values should be saved in libtool wrapper scripts and
17711 # restored at relink time.
17712 variables_saved_for_relink="$variables_saved_for_relink"
17714 # Whether libtool must link a program against all its dependency libraries.
17715 link_all_deplibs=$link_all_deplibs
17717 # Compile-time system search path for libraries
17718 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17720 # Run-time system search path for libraries
17721 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17723 # Fix the shell variable \$srcfile for the compiler.
17724 fix_srcfile_path="$fix_srcfile_path"
17726 # Set to yes if exported symbols are required.
17727 always_export_symbols=$always_export_symbols
17729 # The commands to list exported symbols.
17730 export_symbols_cmds=$lt_export_symbols_cmds
17732 # The commands to extract the exported symbol list from a shared archive.
17733 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17735 # Symbols that should not be listed in the preloaded symbols.
17736 exclude_expsyms=$lt_exclude_expsyms
17738 # Symbols that must always be exported.
17739 include_expsyms=$lt_include_expsyms
17741 # ### END LIBTOOL CONFIG
17748 cat <<\EOF >> "$cfgfile"
17750 # AIX sometimes has problems with the GCC collect2 program. For some
17751 # reason, if we set the COLLECT_NAMES environment variable, the problems
17752 # vanish in a puff of smoke.
17753 if test "X${COLLECT_NAMES+set}" != Xset; then
17755 export COLLECT_NAMES
17761 # We use sed instead of cat because bash on DJGPP gets confused if
17762 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17763 # text mode, it properly converts lines to CR/LF. This bash problem
17764 # is reportedly fixed, but why not run on old versions too?
17765 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17767 mv -f "$cfgfile" "$ofile" || \
17768 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17772 # If there is no Makefile yet, we rely on a make rule to execute
17773 # `config.status
--recheck' to rerun these tests and create the
17774 # libtool script then.
17775 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17776 if test -f "$ltmain_in"; then
17777 test -f Makefile && make "$ltmain"
17783 ac_cpp='$CPP $CPPFLAGS'
17784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17785 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17791 # Check whether --with-tags was given.
17792 if test "${with_tags+set}" = set; then
17793 withval=$with_tags; tagnames="$withval"
17797 if test -f "$ltmain" && test -n "$tagnames"; then
17798 if test ! -f "${ofile}"; then
17799 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
17800 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
17803 if test -z "$LTCC"; then
17804 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
17805 if test -z "$LTCC"; then
17806 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17807 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
17809 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
17810 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
17813 if test -z "$LTCFLAGS"; then
17814 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
17817 # Extract list of available tagged configurations in $ofile.
17818 # Note that this assumes the entire list is on one line.
17819 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17821 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17822 for tagname in $tagnames; do
17824 # Check whether tagname contains only valid characters
17825 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
17827 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
17828 echo "$as_me: error: invalid tag name: $tagname" >&2;}
17829 { (exit 1); exit 1; }; }
17833 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
17835 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
17836 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
17837 { (exit 1); exit 1; }; }
17840 # Update the list of available tags.
17841 if test -n "$tagname"; then
17842 echo appending configuration tag \"$tagname\" to $ofile
17846 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17847 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
17848 (test "X$CXX" != "Xg++"))) ; then
17850 ac_cpp='$CXXCPP $CPPFLAGS'
17851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17858 archive_cmds_need_lc_CXX=no
17859 allow_undefined_flag_CXX=
17860 always_export_symbols_CXX=no
17861 archive_expsym_cmds_CXX=
17862 export_dynamic_flag_spec_CXX=
17863 hardcode_direct_CXX=no
17864 hardcode_libdir_flag_spec_CXX=
17865 hardcode_libdir_flag_spec_ld_CXX=
17866 hardcode_libdir_separator_CXX=
17867 hardcode_minus_L_CXX=no
17868 hardcode_shlibpath_var_CXX=unsupported
17869 hardcode_automatic_CXX=no
17871 module_expsym_cmds_CXX=
17872 link_all_deplibs_CXX=unknown
17873 old_archive_cmds_CXX=$old_archive_cmds
17874 no_undefined_flag_CXX=
17875 whole_archive_flag_spec_CXX=
17876 enable_shared_with_static_runtimes_CXX=no
17878 # Dependencies to place before and after the object being linked:
17879 predep_objects_CXX=
17880 postdep_objects_CXX=
17883 compiler_lib_search_path_CXX=
17885 # Source file extension for C++ test sources.
17888 # Object file extension for compiled C++ test sources.
17892 # Code to be used in simple compile tests
17893 lt_simple_compile_test_code="int some_variable = 0;\n"
17895 # Code to be used in simple link tests
17896 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
17898 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17900 # If no C compiler was specified, use CC.
17903 # If no C compiler flags were specified, use CFLAGS.
17904 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17906 # Allow CC to be a program name with arguments.
17910 # save warnings/boilerplate of simple test code
17911 ac_outfile=conftest.$ac_objext
17912 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17913 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17914 _lt_compiler_boilerplate=`cat conftest.err
`
17917 ac_outfile=conftest.$ac_objext
17918 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17919 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17920 _lt_linker_boilerplate=`cat conftest.err
`
17924 # Allow CC to be a program name with arguments.
17929 lt_save_with_gnu_ld=$with_gnu_ld
17930 lt_save_path_LD=$lt_cv_path_LD
17931 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17932 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17934 $as_unset lt_cv_prog_gnu_ld
17936 if test -n "${lt_cv_path_LDCXX+set}"; then
17937 lt_cv_path_LD=$lt_cv_path_LDCXX
17939 $as_unset lt_cv_path_LD
17941 test -z "${LDCXX+set}" || LD=$LDCXX
17945 for cc_temp in $compiler""; do
17947 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17948 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17953 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17956 # We don't want -fno-exception wen compiling C++ code, so set the
17957 # no_builtin_flag separately
17958 if test "$GXX" = yes; then
17959 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17961 lt_prog_compiler_no_builtin_flag_CXX=
17964 if test "$GXX" = yes; then
17965 # Set up default GNU C++ configuration
17968 # Check whether --with-gnu-ld was given.
17969 if test "${with_gnu_ld+set}" = set; then
17970 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17976 if test "$GCC" = yes; then
17977 # Check if gcc -print-prog-name=ld gives a path.
17978 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17979 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
17982 # gcc leaves a trailing carriage return which upsets mingw
17983 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
17985 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17988 # Accept absolute paths.
17990 re_direlt='/[^/][^/]*/\.\./'
17991 # Canonicalize the pathname of ld
17992 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
17993 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17994 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
17996 test -z "$LD" && LD="$ac_prog"
17999 # If it fails, then pretend we aren't using GCC.
18003 # If it is relative, then search for the first ld in PATH.
18004 with_gnu_ld=unknown
18007 elif test "$with_gnu_ld" = yes; then
18008 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18009 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18011 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18012 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18014 if test "${lt_cv_path_LD+set}" = set; then
18015 echo $ECHO_N "(cached) $ECHO_C" >&6
18017 if test -z "$LD"; then
18018 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18019 for ac_dir in $PATH; do
18021 test -z "$ac_dir" && ac_dir=.
18022 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18023 lt_cv_path_LD="$ac_dir/$ac_prog"
18024 # Check to see if the program is GNU ld. I'd rather use --version,
18025 # but apparently some variants of GNU ld only accept -v.
18026 # Break only if it was the GNU/non-GNU ld that we prefer.
18027 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18028 *GNU* | *'with BFD'*)
18029 test "$with_gnu_ld" != no && break
18032 test "$with_gnu_ld" != yes && break
18039 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18043 LD="$lt_cv_path_LD"
18044 if test -n "$LD"; then
18045 { echo "$as_me:$LINENO: result: $LD" >&5
18046 echo "${ECHO_T}$LD" >&6; }
18048 { echo "$as_me:$LINENO: result: no" >&5
18049 echo "${ECHO_T}no" >&6; }
18051 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18052 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18053 { (exit 1); exit 1; }; }
18054 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18055 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18056 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18060 case `$LD -v 2>&1 </dev
/null
` in
18061 *GNU* | *'with BFD'*)
18062 lt_cv_prog_gnu_ld=yes
18065 lt_cv_prog_gnu_ld=no
18069 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18070 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18071 with_gnu_ld=$lt_cv_prog_gnu_ld
18075 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18076 # archiving commands below assume that GNU ld is being used.
18077 if test "$with_gnu_ld" = yes; then
18078 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18079 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'
18081 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18082 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18084 # If archive_cmds runs LD, not CC, wlarc should be empty
18085 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18086 # investigate it a little bit more. (MM)
18089 # ancient GNU ld didn't support --whole-archive et. al.
18090 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18091 grep 'no-whole-archive' > /dev/null; then
18092 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18094 whole_archive_flag_spec_CXX=
18100 # A generic and very simple default shared library creation
18101 # command for GNU C++ for the case where it uses the native
18102 # linker, instead of GNU ld. If possible, this setting should
18103 # overridden to take advantage of the native linker features on
18104 # the platform it is being used on.
18105 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18108 # Commands to make compiler produce verbose output that lists
18109 # what "hidden" libraries, object files and flags are used when
18110 # linking a shared library.
18111 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18119 # PORTME: fill in a description of your system's C++ link characteristics
18120 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18121 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18125 # FIXME: insert proper C++ library support
18129 if test "$host_cpu" = ia64; then
18130 # On IA64, the linker does run time linking by default, so we don't
18131 # have to do anything special.
18132 aix_use_runtimelinking=no
18133 exp_sym_flag='-Bexport'
18136 aix_use_runtimelinking=no
18138 # Test if we are trying to use run time linking or normal
18139 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18140 # need to do runtime linking.
18141 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18142 for ld_flag in $LDFLAGS; do
18145 aix_use_runtimelinking=yes
18153 exp_sym_flag='-bexport'
18154 no_entry_flag='-bnoentry'
18157 # When large executables or shared objects are built, AIX ld can
18158 # have problems creating the table of contents. If linking a library
18159 # or program results in "error TOC overflow" add -mminimal-toc to
18160 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18161 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18163 archive_cmds_CXX=''
18164 hardcode_direct_CXX=yes
18165 hardcode_libdir_separator_CXX=':'
18166 link_all_deplibs_CXX=yes
18168 if test "$GXX" = yes; then
18169 case $host_os in aix4.[012]|aix4.[012].*)
18170 # We only want to do this on AIX 4.2 and lower, the check
18171 # below for broken collect2 doesn't work under 4.3+
18172 collect2name=`${CC} -print-prog-name=collect2
`
18173 if test -f "$collect2name" && \
18174 strings "$collect2name" | grep resolve_lib_name >/dev/null
18176 # We have reworked collect2
18177 hardcode_direct_CXX=yes
18179 # We have old collect2
18180 hardcode_direct_CXX=unsupported
18181 # It fails to find uninstalled libraries when the uninstalled
18182 # path is not listed in the libpath. Setting hardcode_minus_L
18183 # to unsupported forces relinking
18184 hardcode_minus_L_CXX=yes
18185 hardcode_libdir_flag_spec_CXX='-L$libdir'
18186 hardcode_libdir_separator_CXX=
18190 shared_flag='-shared'
18191 if test "$aix_use_runtimelinking" = yes; then
18192 shared_flag="$shared_flag "'${wl}-G'
18196 if test "$host_cpu" = ia64; then
18197 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18198 # chokes on -Wl,-G. The following line is correct:
18201 if test "$aix_use_runtimelinking" = yes; then
18202 shared_flag='${wl}-G'
18204 shared_flag='${wl}-bM:SRE'
18209 # It seems that -bexpall does not export symbols beginning with
18210 # underscore (_), so it is better to generate a list of symbols to export.
18211 always_export_symbols_CXX=yes
18212 if test "$aix_use_runtimelinking" = yes; then
18213 # Warning - without using the other runtime loading flags (-brtl),
18214 # -berok will link without error, but may produce a broken library.
18215 allow_undefined_flag_CXX='-berok'
18216 # Determine the default libpath from the value encoded in an empty executable.
18217 cat >conftest.$ac_ext <<_ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18232 rm -f conftest.$ac_objext conftest$ac_exeext
18233 if { (ac_try="$ac_link"
18234 case "(($ac_try" in
18235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18236 *) ac_try_echo
=$ac_try;;
18238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18239 (eval "$ac_link") 2>conftest.er1
18241 grep -v '^ *+' conftest.er1
>conftest.err
18243 cat conftest.err
>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } &&
18246 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18247 { (case "(($ac_try" in
18248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_try") 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; } &&
18256 { ac_try='test -s conftest$ac_exeext'
18257 { (case "(($ac_try" in
18258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18259 *) ac_try_echo
=$ac_try;;
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_try") 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18267 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18269 # Check for a 64-bit object if we didn't find anything.
18270 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; }
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18279 rm -f core conftest.err conftest.
$ac_objext \
18280 conftest
$ac_exeext conftest.
$ac_ext
18281 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18283 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18285 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"
18287 if test "$host_cpu" = ia64
; then
18288 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18289 allow_undefined_flag_CXX
="-z nodefs"
18290 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"
18292 # Determine the default libpath from the value encoded in an empty executable.
18293 cat >conftest.
$ac_ext <<_ACEOF
18296 cat confdefs.h
>>conftest.
$ac_ext
18297 cat >>conftest.
$ac_ext <<_ACEOF
18298 /* end confdefs.h. */
18308 rm -f conftest.
$ac_objext conftest
$ac_exeext
18309 if { (ac_try
="$ac_link"
18310 case "(($ac_try" in
18311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_link") 2>conftest.er1
18317 grep -v '^ *+' conftest.er1 >conftest.err
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } &&
18322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18323 { (case "(($ac_try" in
18324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18325 *) ac_try_echo
=$ac_try;;
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_try") 2>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; } &&
18332 { ac_try
='test -s conftest$ac_exeext'
18333 { (case "(($ac_try" in
18334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_try") 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; }; then
18343 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18345 # Check for a 64-bit object if we didn't find anything.
18346 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; }
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18355 rm -f core conftest.err conftest.$ac_objext \
18356 conftest$ac_exeext conftest.$ac_ext
18357 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18359 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18360 # Warning - without using the other run time loading flags,
18361 # -berok will link without error, but may produce a broken library.
18362 no_undefined_flag_CXX=' ${wl}-bernotok'
18363 allow_undefined_flag_CXX=' ${wl}-berok'
18364 # Exported symbols can be pulled into shared objects from archives
18365 whole_archive_flag_spec_CXX='$convenience'
18366 archive_cmds_need_lc_CXX=yes
18367 # This is similar to how AIX traditionally builds its shared libraries.
18368 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'
18374 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18375 allow_undefined_flag_CXX=unsupported
18376 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18377 # support --undefined. This deserves some investigation. FIXME
18378 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18385 case $cc_basename in
18387 # FIXME: insert proper C++ library support
18393 cygwin* | mingw* | pw32*)
18394 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18395 # as there is no search path for DLLs.
18396 hardcode_libdir_flag_spec_CXX='-L$libdir'
18397 allow_undefined_flag_CXX=unsupported
18398 always_export_symbols_CXX=no
18399 enable_shared_with_static_runtimes_CXX=yes
18401 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18402 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'
18403 # If the export-symbols file already is a .def file (1st line
18404 # is EXPORTS), use it as is; otherwise, prepend...
18405 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18406 cp $export_symbols $output_objdir/$soname.def;
18408 echo EXPORTS > $output_objdir/$soname.def;
18409 cat $export_symbols >> $output_objdir/$soname.def;
18411 $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'
18416 darwin* | rhapsody*)
18418 rhapsody* | darwin1.[012])
18419 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18422 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18423 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18425 case ${MACOSX_DEPLOYMENT_TARGET} in
18427 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18430 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18436 archive_cmds_need_lc_CXX=no
18437 hardcode_direct_CXX=no
18438 hardcode_automatic_CXX=yes
18439 hardcode_shlibpath_var_CXX=unsupported
18440 whole_archive_flag_spec_CXX=''
18441 link_all_deplibs_CXX=yes
18443 if test "$GXX" = yes ; then
18444 lt_int_apple_cc_single_mod=no
18445 output_verbose_link_cmd='echo'
18446 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18447 lt_int_apple_cc_single_mod=yes
18449 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18450 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18452 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'
18454 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18455 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18456 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18457 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}'
18459 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}'
18461 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}'
18463 case $cc_basename in
18465 output_verbose_link_cmd='echo'
18466 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'
18467 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18468 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18469 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}'
18470 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}'
18480 case $cc_basename in
18482 # FIXME: insert proper C++ library support
18486 # Green Hills C++ Compiler
18487 # FIXME: insert proper C++ library support
18491 # FIXME: insert proper C++ library support
18497 # C++ shared libraries reported to be fairly broken before switch to ELF
18501 archive_cmds_need_lc_CXX=no
18503 freebsd* | kfreebsd*-gnu | dragonfly*)
18504 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18511 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18512 hardcode_libdir_separator_CXX=:
18513 export_dynamic_flag_spec_CXX='${wl}-E'
18514 hardcode_direct_CXX=yes
18515 hardcode_minus_L_CXX=yes # Not in the search PATH,
18516 # but as the default
18517 # location of the library.
18519 case $cc_basename in
18521 # FIXME: insert proper C++ library support
18525 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'
18526 # Commands to make compiler produce verbose output that lists
18527 # what "hidden" libraries, object files and flags are used when
18528 # linking a shared library.
18530 # There doesn't appear to be a way to prevent this compiler from
18531 # explicitly linking system object files so we need to strip them
18532 # from the output so that they don't get included in the library
18534 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'
18537 if test "$GXX" = yes; then
18538 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'
18540 # FIXME: insert proper C++ library support
18547 if test $with_gnu_ld = no; then
18548 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18549 hardcode_libdir_separator_CXX=:
18553 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18556 export_dynamic_flag_spec_CXX='${wl}-E'
18562 hardcode_direct_CXX=no
18563 hardcode_shlibpath_var_CXX=no
18566 hardcode_direct_CXX=yes
18567 hardcode_minus_L_CXX=yes # Not in the search PATH,
18568 # but as the default
18569 # location of the library.
18573 case $cc_basename in
18575 # FIXME: insert proper C++ library support
18581 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18584 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18587 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18590 # Commands to make compiler produce verbose output that lists
18591 # what "hidden" libraries, object files and flags are used when
18592 # linking a shared library.
18594 # There doesn't appear to be a way to prevent this compiler from
18595 # explicitly linking system object files so we need to strip them
18596 # from the output so that they don't get included in the library
18598 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'
18601 if test "$GXX" = yes; then
18602 if test $with_gnu_ld = no; then
18605 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18608 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18611 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'
18616 # FIXME: insert proper C++ library support
18623 hardcode_direct_CXX=no
18624 hardcode_shlibpath_var_CXX=no
18625 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18626 export_dynamic_flag_spec_CXX='${wl}-E'
18627 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18628 # Instead, shared libraries are loaded at an image base (0x10000000 by
18629 # default) and relocated if they conflict, which is a slow very memory
18630 # consuming and fragmenting process. To avoid this, we pick a random,
18631 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18632 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18633 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'
18634 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'
18637 case $cc_basename in
18640 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'
18642 # Archives containing C++ object files must be created using
18643 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18644 # necessary to make sure instantiated templates are included
18646 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18649 if test "$GXX" = yes; then
18650 if test "$with_gnu_ld" = no; then
18651 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'
18653 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'
18656 link_all_deplibs_CXX=yes
18659 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18660 hardcode_libdir_separator_CXX=:
18663 case $cc_basename in
18665 # Kuck and Associates, Inc. (KAI) C++ Compiler
18667 # KCC will only create a shared library if the output file
18668 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18669 # to its proper name (with version) after linking.
18670 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'
18671 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'
18672 # Commands to make compiler produce verbose output that lists
18673 # what "hidden" libraries, object files and flags are used when
18674 # linking a shared library.
18676 # There doesn't appear to be a way to prevent this compiler from
18677 # explicitly linking system object files so we need to strip them
18678 # from the output so that they don't get included in the library
18680 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'
18682 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18683 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18685 # Archives containing C++ object files must be created using
18686 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18687 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18692 # version 8.0 and above of icpc choke on multiply defined symbols
18693 # if we add $predep_objects and $postdep_objects, however 7.1 and
18694 # earlier do not add the objects themselves.
18695 case `$CC -V 2>&1` in
18697 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18698 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'
18700 *) # Version 8.0 or newer
18703 ia64
*) tmp_idyn
=' -i_dynamic';;
18705 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18706 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'
18709 archive_cmds_need_lc_CXX
=no
18710 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18711 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18712 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18715 # Portland Group C++ compiler
18716 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18717 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'
18719 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18720 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18721 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'
18725 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18726 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'
18728 runpath_var
=LD_RUN_PATH
18729 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18730 hardcode_libdir_separator_CXX
=:
18732 # Commands to make compiler produce verbose output that lists
18733 # what "hidden" libraries, object files and flags are used when
18734 # linking a shared library.
18736 # There doesn't appear to be a way to prevent this compiler from
18737 # explicitly linking system object files so we need to strip them
18738 # from the output so that they don't get included in the library
18740 output_verbose_link_cmd
='templist=`$CC -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'
18745 # FIXME: insert proper C++ library support
18749 # FIXME: insert proper C++ library support
18753 case $cc_basename in
18755 # FIXME: insert proper C++ library support
18759 # FIXME: insert proper C++ library support
18765 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18766 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18768 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18769 hardcode_direct_CXX
=yes
18770 hardcode_shlibpath_var_CXX
=no
18772 # Workaround some broken pre-1.5 toolchains
18773 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18776 # C++ shared libraries are fairly broken
18780 hardcode_direct_CXX
=yes
18781 hardcode_shlibpath_var_CXX
=no
18782 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18783 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18784 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18785 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18786 export_dynamic_flag_spec_CXX
='${wl}-E'
18787 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18789 output_verbose_link_cmd
='echo'
18792 case $cc_basename in
18794 # Kuck and Associates, Inc. (KAI) C++ Compiler
18796 # KCC will only create a shared library if the output file
18797 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18798 # to its proper name (with version) after linking.
18799 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'
18801 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18802 hardcode_libdir_separator_CXX
=:
18804 # Archives containing C++ object files must be created using
18805 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18806 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18810 # Rational C++ 2.4.1
18811 # FIXME: insert proper C++ library support
18815 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18816 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'
18818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18819 hardcode_libdir_separator_CXX
=:
18821 # Commands to make compiler produce verbose output that lists
18822 # what "hidden" libraries, object files and flags are used when
18823 # linking a shared library.
18825 # There doesn't appear to be a way to prevent this compiler from
18826 # explicitly linking system object files so we need to strip them
18827 # from the output so that they don't get included in the library
18829 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'
18832 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18833 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18834 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'
18836 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18837 hardcode_libdir_separator_CXX
=:
18839 # Commands to make compiler produce verbose output that lists
18840 # what "hidden" libraries, object files and flags are used when
18841 # linking a shared library.
18842 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18845 # FIXME: insert proper C++ library support
18852 case $cc_basename in
18854 # Kuck and Associates, Inc. (KAI) C++ Compiler
18856 # KCC will only create a shared library if the output file
18857 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18858 # to its proper name (with version) after linking.
18859 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'
18861 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18862 hardcode_libdir_separator_CXX
=:
18864 # Archives containing C++ object files must be created using
18865 # the KAI C++ compiler.
18866 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
18869 # Rational C++ 2.4.1
18870 # FIXME: insert proper C++ library support
18874 allow_undefined_flag_CXX
=' -expect_unresolved \*'
18875 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'
18876 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18877 echo "-hidden">> $lib.exp~
18878 $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~
18881 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18882 hardcode_libdir_separator_CXX
=:
18884 # Commands to make compiler produce verbose output that lists
18885 # what "hidden" libraries, object files and flags are used when
18886 # linking a shared library.
18888 # There doesn't appear to be a way to prevent this compiler from
18889 # explicitly linking system object files so we need to strip them
18890 # from the output so that they don't get included in the library
18892 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'
18895 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18896 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18897 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'
18899 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18900 hardcode_libdir_separator_CXX
=:
18902 # Commands to make compiler produce verbose output that lists
18903 # what "hidden" libraries, object files and flags are used when
18904 # linking a shared library.
18905 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18908 # FIXME: insert proper C++ library support
18915 # FIXME: insert proper C++ library support
18919 case $cc_basename in
18922 # FIXME: insert proper C++ library support
18927 # FIXME: insert proper C++ library support
18931 # FIXME: insert proper C++ library support
18937 case $cc_basename in
18939 # Sun C++ 4.2, 5.x and Centerline C++
18940 archive_cmds_need_lc_CXX
=yes
18941 no_undefined_flag_CXX
=' -zdefs'
18942 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18943 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18944 $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'
18946 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18947 hardcode_shlibpath_var_CXX
=no
18949 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18951 # The C++ compiler is used as linker so we must use $wl
18952 # flag to pass the commands to the underlying system
18953 # linker. We must also pass each convience library through
18954 # to the system linker between allextract/defaultextract.
18955 # The C++ compiler will combine linker options so we
18956 # cannot just pass the convience library names through
18958 # Supported since Solaris 2.6 (maybe 2.5.1?)
18959 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'
18962 link_all_deplibs_CXX
=yes
18964 output_verbose_link_cmd
='echo'
18966 # Archives containing C++ object files must be created using
18967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18968 # necessary to make sure instantiated templates are included
18970 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
18973 # Green Hills C++ Compiler
18974 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18976 # The C++ compiler must be used to create the archive.
18977 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18980 # GNU C++ compiler with Solaris linker
18981 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
18982 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
18983 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
18984 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18985 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18988 # Commands to make compiler produce verbose output that lists
18989 # what "hidden" libraries, object files and flags are used when
18990 # linking a shared library.
18991 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
18993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18995 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18996 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
18999 # Commands to make compiler produce verbose output that lists
19000 # what "hidden" libraries, object files and flags are used when
19001 # linking a shared library.
19002 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19005 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19010 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19011 no_undefined_flag_CXX
='${wl}-z,text'
19012 archive_cmds_need_lc_CXX
=no
19013 hardcode_shlibpath_var_CXX
=no
19014 runpath_var
='LD_RUN_PATH'
19016 case $cc_basename in
19018 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19019 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19022 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19023 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19027 sysv5
* | sco3.2v5
* | sco5v6
*)
19028 # Note: We can NOT use -z defs as we might desire, because we do not
19029 # link with -lc, and that would cause any symbols used from libc to
19030 # always be unresolved, which means just about no library would
19031 # ever link correctly. If we're not using GNU ld we use -z text
19032 # though, which does catch some bad symbols but isn't as heavy-handed
19034 # For security reasons, it is highly recommended that you always
19035 # use absolute paths for naming shared libraries, and exclude the
19036 # DT_RUNPATH tag from executables and libraries. But doing so
19037 # requires that you compile everything twice, which is a pain.
19038 # So that behaviour is only enabled if SCOABSPATH is set to a
19039 # non-empty value in the environment. Most likely only useful for
19040 # creating official distributions of packages.
19041 # This is a hack until libtool officially supports absolute path
19042 # names for shared libraries.
19043 no_undefined_flag_CXX
='${wl}-z,text'
19044 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19045 archive_cmds_need_lc_CXX
=no
19046 hardcode_shlibpath_var_CXX
=no
19047 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19048 hardcode_libdir_separator_CXX
=':'
19049 link_all_deplibs_CXX
=yes
19050 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19051 runpath_var
='LD_RUN_PATH'
19053 case $cc_basename in
19055 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19056 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19059 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19060 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19065 case $cc_basename in
19067 # NonStop-UX NCC 3.20
19068 # FIXME: insert proper C++ library support
19072 # FIXME: insert proper C++ library support
19078 # FIXME: insert proper C++ library support
19082 # FIXME: insert proper C++ library support
19086 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19087 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19088 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19094 cat > conftest.
$ac_ext <<EOF
19098 Foo (void) { a = 0; }
19104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19105 (eval $ac_compile) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; then
19109 # Parse the compiler output and extract the necessary
19110 # objects, libraries and library flags.
19112 # Sentinel used to keep track of whether or not we are before
19113 # the conftest object file.
19114 pre_test_object_deps_done
=no
19116 # The `*' in the case matches for architectures that use `case' in
19117 # $output_verbose_cmd can trigger glob expansion during the loop
19118 # eval without this substitution.
19119 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19121 for p
in `eval $output_verbose_link_cmd`; do
19125 # Some compilers place space between "-{L,R}" and the path.
19126 # Remove the space.
19127 if test $p = "-L" \
19128 ||
test $p = "-R"; then
19135 if test "$pre_test_object_deps_done" = no
; then
19138 # Internal compiler library paths should come after those
19139 # provided the user. The postdeps already come after the
19140 # user supplied libs so there is no need to process them.
19141 if test -z "$compiler_lib_search_path_CXX"; then
19142 compiler_lib_search_path_CXX
="${prev}${p}"
19144 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19147 # The "-l" case would never come before the object being
19148 # linked, so don't bother handling this case.
19151 if test -z "$postdeps_CXX"; then
19152 postdeps_CXX
="${prev}${p}"
19154 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19160 # This assumes that the test object file only shows up
19161 # once in the compiler output.
19162 if test "$p" = "conftest.$objext"; then
19163 pre_test_object_deps_done
=yes
19167 if test "$pre_test_object_deps_done" = no
; then
19168 if test -z "$predep_objects_CXX"; then
19169 predep_objects_CXX
="$p"
19171 predep_objects_CXX
="$predep_objects_CXX $p"
19174 if test -z "$postdep_objects_CXX"; then
19175 postdep_objects_CXX
="$p"
19177 postdep_objects_CXX
="$postdep_objects_CXX $p"
19182 *) ;; # Ignore the rest.
19190 echo "libtool.m4: error: problem compiling CXX test program"
19193 $rm -f confest.
$objext
19195 # PORTME: override above test on systems where it is broken
19198 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19199 # hack all around it, let's just trust "g++" to DTRT.
19200 predep_objects_CXX
=
19201 postdep_objects_CXX
=
19206 case $cc_basename in
19208 # Adding this requires a known-good setup of shared libraries for
19209 # Sun compiler versions before 5.6, else PIC objects from an old
19210 # archive will be linked into the output, leading to subtle bugs.
19211 postdeps_CXX
='-lCstd -lCrun'
19218 case " $postdeps_CXX " in
19219 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19222 lt_prog_compiler_wl_CXX
=
19223 lt_prog_compiler_pic_CXX
=
19224 lt_prog_compiler_static_CXX
=
19226 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19227 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19229 # C++ specific cases for pic, static, wl, etc.
19230 if test "$GXX" = yes; then
19231 lt_prog_compiler_wl_CXX
='-Wl,'
19232 lt_prog_compiler_static_CXX
='-static'
19236 # All AIX code is PIC.
19237 if test "$host_cpu" = ia64
; then
19238 # AIX 5 now supports IA64 processor
19239 lt_prog_compiler_static_CXX
='-Bstatic'
19243 # FIXME: we need at least 68020 code to build shared libraries, but
19244 # adding the `-m68020' flag to GCC prevents building anything better,
19246 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19248 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19249 # PIC is the default for these OSes.
19251 mingw
* | os2
* | pw32
*)
19252 # This hack is so that the source file can tell whether it is being
19253 # built for inclusion in a dll (and should export symbols for example).
19254 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19256 darwin
* | rhapsody
*)
19257 # PIC is the default on this platform
19258 # Common symbols not allowed in MH_DYLIB files
19259 lt_prog_compiler_pic_CXX
='-fno-common'
19262 # DJGPP does not support shared libraries at all
19263 lt_prog_compiler_pic_CXX
=
19266 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19267 # Instead, we relocate shared libraries at runtime.
19270 if test -d /usr
/nec
; then
19271 lt_prog_compiler_pic_CXX
=-Kconform_pic
19275 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19276 # not for PA HP-UX.
19281 lt_prog_compiler_pic_CXX
='-fPIC'
19286 lt_prog_compiler_pic_CXX
='-fPIC'
19292 # All AIX code is PIC.
19293 if test "$host_cpu" = ia64
; then
19294 # AIX 5 now supports IA64 processor
19295 lt_prog_compiler_static_CXX
='-Bstatic'
19297 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19301 case $cc_basename in
19303 # Green Hills C++ Compiler
19304 # _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"
19309 # PIC is the default on this platform
19310 # Common symbols not allowed in MH_DYLIB files
19311 case $cc_basename in
19313 lt_prog_compiler_pic_CXX
='-qnocommon'
19314 lt_prog_compiler_wl_CXX
='-Wl,'
19319 case $cc_basename in
19321 lt_prog_compiler_pic_CXX
='-KPIC'
19324 # Green Hills C++ Compiler
19325 lt_prog_compiler_pic_CXX
='-pic'
19331 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19332 # FreeBSD uses GNU C++
19334 hpux9
* | hpux10
* | hpux11
*)
19335 case $cc_basename in
19337 lt_prog_compiler_wl_CXX
='-Wl,'
19338 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19339 if test "$host_cpu" != ia64
; then
19340 lt_prog_compiler_pic_CXX
='+Z'
19344 lt_prog_compiler_wl_CXX
='-Wl,'
19345 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19351 lt_prog_compiler_pic_CXX
='+Z'
19360 # This is c89, which is MS Visual C++ (no shared libs)
19361 # Anyone wants to do a port?
19363 irix5
* | irix6
* | nonstopux
*)
19364 case $cc_basename in
19366 lt_prog_compiler_wl_CXX
='-Wl,'
19367 lt_prog_compiler_static_CXX
='-non_shared'
19368 # CC pic flag -KPIC is the default.
19375 case $cc_basename in
19378 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19379 lt_prog_compiler_pic_CXX
='-fPIC'
19383 lt_prog_compiler_wl_CXX
='-Wl,'
19384 lt_prog_compiler_pic_CXX
='-KPIC'
19385 lt_prog_compiler_static_CXX
='-static'
19388 # Portland Group C++ compiler.
19389 lt_prog_compiler_wl_CXX
='-Wl,'
19390 lt_prog_compiler_pic_CXX
='-fpic'
19391 lt_prog_compiler_static_CXX
='-Bstatic'
19395 # Make sure the PIC flag is empty. It appears that all Alpha
19396 # Linux and Compaq Tru64 Unix objects are PIC.
19397 lt_prog_compiler_pic_CXX
=
19398 lt_prog_compiler_static_CXX
='-non_shared'
19409 case $cc_basename in
19411 lt_prog_compiler_pic_CXX
='-W c,exportall'
19419 osf3
* | osf4
* | osf5
*)
19420 case $cc_basename in
19422 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19425 # Rational C++ 2.4.1
19426 lt_prog_compiler_pic_CXX
='-pic'
19429 # Digital/Compaq C++
19430 lt_prog_compiler_wl_CXX
='-Wl,'
19431 # Make sure the PIC flag is empty. It appears that all Alpha
19432 # Linux and Compaq Tru64 Unix objects are PIC.
19433 lt_prog_compiler_pic_CXX
=
19434 lt_prog_compiler_static_CXX
='-non_shared'
19443 case $cc_basename in
19445 # Sun C++ 4.2, 5.x and Centerline C++
19446 lt_prog_compiler_pic_CXX
='-KPIC'
19447 lt_prog_compiler_static_CXX
='-Bstatic'
19448 lt_prog_compiler_wl_CXX
='-Qoption ld '
19451 # Green Hills C++ Compiler
19452 lt_prog_compiler_pic_CXX
='-PIC'
19459 case $cc_basename in
19462 lt_prog_compiler_pic_CXX
='-pic'
19463 lt_prog_compiler_static_CXX
='-Bstatic'
19467 lt_prog_compiler_pic_CXX
='-pic'
19474 case $cc_basename in
19476 # NonStop-UX NCC 3.20
19477 lt_prog_compiler_pic_CXX
='-KPIC'
19483 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19484 case $cc_basename in
19486 lt_prog_compiler_wl_CXX
='-Wl,'
19487 lt_prog_compiler_pic_CXX
='-KPIC'
19488 lt_prog_compiler_static_CXX
='-Bstatic'
19495 lt_prog_compiler_can_build_shared_CXX
=no
19500 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19501 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19504 # Check to make sure the PIC flag actually works.
19506 if test -n "$lt_prog_compiler_pic_CXX"; then
19508 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19509 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19510 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 lt_prog_compiler_pic_works_CXX
=no
19514 ac_outfile
=conftest.
$ac_objext
19515 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19516 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19517 # Insert the option either (1) after the last *FLAGS variable, or
19518 # (2) before a word containing "conftest.", or (3) at the end.
19519 # Note that $ac_compile itself does not contain backslashes and begins
19520 # with a dollar sign (not a hyphen), so the echo should work correctly.
19521 # The option is referenced via a variable to avoid confusing sed.
19522 lt_compile
=`echo "$ac_compile" | $SED \
19523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19525 -e 's:$: $lt_compiler_flag:'`
19526 (eval echo "\"\$as_me:19526: $lt_compile\"" >&5)
19527 (eval "$lt_compile" 2>conftest.err
)
19529 cat conftest.err
>&5
19530 echo "$as_me:19530: \$? = $ac_status" >&5
19531 if (exit $ac_status) && test -s "$ac_outfile"; then
19532 # The compiler can only warn and ignore the option if not recognized
19533 # So say no if there are warnings other than the usual output.
19534 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19535 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19536 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19537 lt_prog_compiler_pic_works_CXX
=yes
19543 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19544 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19546 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19547 case $lt_prog_compiler_pic_CXX in
19549 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19552 lt_prog_compiler_pic_CXX
=
19553 lt_prog_compiler_can_build_shared_CXX
=no
19558 # For platforms which do not support PIC, -DPIC is meaningless:
19560 lt_prog_compiler_pic_CXX
=
19563 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19568 # Check to make sure the static flag actually works.
19570 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19571 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19572 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19573 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 lt_prog_compiler_static_works_CXX
=no
19577 save_LDFLAGS
="$LDFLAGS"
19578 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19579 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19580 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19581 # The linker can only warn and ignore the option if not recognized
19582 # So say no if there are warnings
19583 if test -s conftest.err
; then
19584 # Append any errors to the config.log.
19585 cat conftest.err
1>&5
19586 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19587 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19588 if diff conftest.exp conftest.er2
>/dev
/null
; then
19589 lt_prog_compiler_static_works_CXX
=yes
19592 lt_prog_compiler_static_works_CXX
=yes
19596 LDFLAGS
="$save_LDFLAGS"
19599 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19600 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19602 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19605 lt_prog_compiler_static_CXX
=
19609 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19610 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19611 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19614 lt_cv_prog_compiler_c_o_CXX
=no
19615 $rm -r conftest
2>/dev
/null
19619 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19621 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19622 # Insert the option either (1) after the last *FLAGS variable, or
19623 # (2) before a word containing "conftest.", or (3) at the end.
19624 # Note that $ac_compile itself does not contain backslashes and begins
19625 # with a dollar sign (not a hyphen), so the echo should work correctly.
19626 lt_compile
=`echo "$ac_compile" | $SED \
19627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19629 -e 's:$: $lt_compiler_flag:'`
19630 (eval echo "\"\$as_me:19630: $lt_compile\"" >&5)
19631 (eval "$lt_compile" 2>out
/conftest.err
)
19633 cat out
/conftest.err
>&5
19634 echo "$as_me:19634: \$? = $ac_status" >&5
19635 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19637 # The compiler can only warn and ignore the option if not recognized
19638 # So say no if there are warnings
19639 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19640 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19641 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19642 lt_cv_prog_compiler_c_o_CXX
=yes
19647 # SGI C++ compiler will create directory out/ii_files/ for
19648 # template instantiation
19649 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19650 $rm out
/* && rmdir out
19656 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19657 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19660 hard_links
="nottested"
19661 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19662 # do not overwrite the value of need_locks provided by the user
19663 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19664 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19667 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19669 ln conftest.a conftest.b
2>&5 || hard_links
=no
19670 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19671 { echo "$as_me:$LINENO: result: $hard_links" >&5
19672 echo "${ECHO_T}$hard_links" >&6; }
19673 if test "$hard_links" = no
; then
19674 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19675 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19682 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19683 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19685 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19688 # If we're using GNU nm, then we don't want the "-C" option.
19689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19690 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19691 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'
19693 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'
19697 export_symbols_cmds_CXX
="$ltdll_cmds"
19700 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'
19703 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19707 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19708 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19709 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19712 # Do we need to explicitly link libc?
19714 case "x$archive_cmds_need_lc_CXX" in
19716 # Assume -lc should be added
19717 archive_cmds_need_lc_CXX
=yes
19719 if test "$enable_shared" = yes && test "$GCC" = yes; then
19720 case $archive_cmds_CXX in
19722 # FIXME: we may have to deal with multi-command sequences.
19725 # Test whether the compiler implicitly links with -lc since on some
19726 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19727 # to ld, don't add -lc before -lgcc.
19728 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19729 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19731 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19734 (eval $ac_compile) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); } 2>conftest.err
; then
19740 libobjs
=conftest.
$ac_objext
19742 wl
=$lt_prog_compiler_wl_CXX
19743 pic_flag
=$lt_prog_compiler_pic_CXX
19749 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19750 allow_undefined_flag_CXX
=
19751 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19752 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }
19757 archive_cmds_need_lc_CXX
=no
19759 archive_cmds_need_lc_CXX
=yes
19761 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19763 cat conftest.err
1>&5
19766 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19767 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19774 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19775 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19776 library_names_spec
=
19777 libname_spec
='lib$name'
19781 postuninstall_cmds
=
19785 shlibpath_overrides_runpath
=unknown
19787 dynamic_linker
="$host_os ld.so"
19788 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19789 if test "$GCC" = yes; then
19790 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19791 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19792 # if the path contains ";" then we assume it to be the separator
19793 # otherwise default to the standard path separator (i.e. ":") - it is
19794 # assumed that no part of a normal pathname contains ";" but that should
19795 # okay in the real world where ";" in dirpaths is itself problematic.
19796 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19798 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19801 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19803 need_lib_prefix
=unknown
19804 hardcode_into_libs
=no
19806 # when you set need_version to no, make sure it does not cause -set_version
19807 # flags to be left without arguments
19808 need_version
=unknown
19813 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19814 shlibpath_var
=LIBPATH
19816 # AIX 3 has no versioning support, so we append a major version to the name.
19817 soname_spec
='${libname}${release}${shared_ext}$major'
19824 hardcode_into_libs
=yes
19825 if test "$host_cpu" = ia64
; then
19826 # AIX 5 supports IA64
19827 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19828 shlibpath_var
=LD_LIBRARY_PATH
19830 # With GCC up to 2.95.x, collect2 would create an import file
19831 # for dependence libraries. The import file would start with
19832 # the line `#! .'. This would cause the generated library to
19833 # depend on `.', always an invalid library. This was fixed in
19834 # development snapshots of GCC prior to 3.0.
19836 aix4 | aix4.
[01] | aix4.
[01].
*)
19837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19839 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19842 can_build_shared
=no
19846 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19847 # soname into executable. Probably we can add versioning support to
19848 # collect2, so additional links can be useful in future.
19849 if test "$aix_use_runtimelinking" = yes; then
19850 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19851 # instead of lib<name>.a to let people know that these are not
19852 # typical AIX shared libraries.
19853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19855 # We preserve .a as extension for shared libraries through AIX4.2
19856 # and later when we are not doing run time linking.
19857 library_names_spec
='${libname}${release}.a $libname.a'
19858 soname_spec
='${libname}${release}${shared_ext}$major'
19860 shlibpath_var
=LIBPATH
19865 library_names_spec
='$libname.ixlibrary $libname.a'
19866 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19867 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'
19871 library_names_spec
='${libname}${shared_ext}'
19872 dynamic_linker
="$host_os ld.so"
19873 shlibpath_var
=LIBRARY_PATH
19879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19880 soname_spec
='${libname}${release}${shared_ext}$major'
19881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19882 shlibpath_var
=LD_LIBRARY_PATH
19883 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19884 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19885 # the default ld.so.conf also contains /usr/contrib/lib and
19886 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19887 # libtool to hard-code these into programs
19890 cygwin
* | mingw
* | pw32
*)
19891 version_type
=windows
19896 case $GCC,$host_os in
19897 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19898 library_names_spec
='$libname.dll.a'
19899 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19900 postinstall_cmds
='base_file=`basename \${file}`~
19901 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19902 dldir=$destdir/`dirname \$dlpath`~
19903 test -d \$dldir || mkdir -p \$dldir~
19904 $install_prog $dir/$dlname \$dldir/$dlname~
19905 chmod a+x \$dldir/$dlname'
19906 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19907 dlpath=$dir/\$dldll~
19909 shlibpath_overrides_runpath
=yes
19913 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19914 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19915 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19918 # MinGW DLLs use traditional 'lib' prefix
19919 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19920 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19921 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19922 # It is most probably a Windows format PATH printed by
19923 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19924 # path with ; separators, and with drive letters. We can handle the
19925 # drive letters (cygwin fileutils understands them), so leave them,
19926 # especially as we might pass files found there to a mingw objdump,
19927 # which wouldn't understand a cygwinified path. Ahh.
19928 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19930 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19934 # pw32 DLLs use 'pw' prefix rather than 'lib'
19935 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19941 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19944 dynamic_linker
='Win32 ld.exe'
19945 # FIXME: first we should search . and the directory the executable is in
19949 darwin
* | rhapsody
*)
19950 dynamic_linker
="$host_os dyld"
19951 version_type
=darwin
19954 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19955 soname_spec
='${libname}${release}${major}$shared_ext'
19956 shlibpath_overrides_runpath
=yes
19957 shlibpath_var
=DYLD_LIBRARY_PATH
19958 shrext_cmds
='.dylib'
19959 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19960 if test "$GCC" = yes; then
19961 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"`
19963 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19965 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19973 soname_spec
='${libname}${release}${shared_ext}$major'
19974 shlibpath_var
=LD_LIBRARY_PATH
19985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19986 soname_spec
='${libname}${release}${shared_ext}$major'
19987 shlibpath_var
=LD_LIBRARY_PATH
19988 shlibpath_overrides_runpath
=no
19989 hardcode_into_libs
=yes
19990 dynamic_linker
='GNU ld.so'
19993 freebsd
* | dragonfly
*)
19994 # DragonFly does not have aout. When/if they implement a new
19995 # versioning mechanism, adjust this.
19996 if test -x /usr
/bin
/objformat
; then
19997 objformat
=`/usr/bin/objformat`
20000 freebsd
[123]*) objformat
=aout
;;
20001 *) objformat
=elf
;;
20004 version_type
=freebsd-
$objformat
20005 case $version_type in
20007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20012 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20016 shlibpath_var
=LD_LIBRARY_PATH
20019 shlibpath_overrides_runpath
=yes
20021 freebsd3.
[01]* | freebsdelf3.
[01]*)
20022 shlibpath_overrides_runpath
=yes
20023 hardcode_into_libs
=yes
20025 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20026 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20027 shlibpath_overrides_runpath
=no
20028 hardcode_into_libs
=yes
20030 freebsd
*) # from 4.6 on
20031 shlibpath_overrides_runpath
=yes
20032 hardcode_into_libs
=yes
20041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20042 soname_spec
='${libname}${release}${shared_ext}$major'
20043 shlibpath_var
=LD_LIBRARY_PATH
20044 hardcode_into_libs
=yes
20047 hpux9
* | hpux10
* | hpux11
*)
20048 # Give a soname corresponding to the major version so that dld.sl refuses to
20049 # link against other versions.
20056 hardcode_into_libs
=yes
20057 dynamic_linker
="$host_os dld.so"
20058 shlibpath_var
=LD_LIBRARY_PATH
20059 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20061 soname_spec
='${libname}${release}${shared_ext}$major'
20062 if test "X$HPUX_IA64_MODE" = X32
; then
20063 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20065 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20067 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20071 hardcode_into_libs
=yes
20072 dynamic_linker
="$host_os dld.sl"
20073 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20074 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20076 soname_spec
='${libname}${release}${shared_ext}$major'
20077 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20078 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20082 dynamic_linker
="$host_os dld.sl"
20083 shlibpath_var
=SHLIB_PATH
20084 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20086 soname_spec
='${libname}${release}${shared_ext}$major'
20089 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20090 postinstall_cmds
='chmod 555 $lib'
20097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20098 soname_spec
='${libname}${release}${shared_ext}$major'
20099 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20100 shlibpath_var
=LD_LIBRARY_PATH
20101 shlibpath_overrides_runpath
=no
20102 hardcode_into_libs
=yes
20105 irix5
* | irix6
* | nonstopux
*)
20107 nonstopux
*) version_type
=nonstopux
;;
20109 if test "$lt_cv_prog_gnu_ld" = yes; then
20117 soname_spec
='${libname}${release}${shared_ext}$major'
20118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20120 irix5
* | nonstopux
*)
20121 libsuff
= shlibsuff
=
20124 case $LD in # libtool.m4 will add one of these switches to LD
20125 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20126 libsuff
= shlibsuff
= libmagic
=32-bit;;
20127 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20128 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20129 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20130 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20131 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20135 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20136 shlibpath_overrides_runpath
=no
20137 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20138 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20139 hardcode_into_libs
=yes
20142 # No shared lib support for Linux oldld, aout, or coff.
20143 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20147 # This must be Linux ELF.
20152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20153 soname_spec
='${libname}${release}${shared_ext}$major'
20154 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20155 shlibpath_var
=LD_LIBRARY_PATH
20156 shlibpath_overrides_runpath
=no
20157 # This implies no fast_install, which is unacceptable.
20158 # Some rework will be needed to allow for fast_install
20159 # before this can be enabled.
20160 hardcode_into_libs
=yes
20162 # Append ld.so.conf contents to the search path
20163 if test -f /etc
/ld.so.conf
; then
20164 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' ' '`
20165 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20168 # We used to test for /lib/ld.so.1 and disable shared libraries on
20169 # powerpc, because MkLinux only supported shared libraries with the
20170 # GNU dynamic linker. Since this was broken with cross compilers,
20171 # most powerpc-linux boxes support dynamic linking these days and
20172 # people can always --disable-shared, the test was removed, and we
20173 # assume the GNU/Linux dynamic linker is in use.
20174 dynamic_linker
='GNU/Linux ld.so'
20181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20182 soname_spec
='${libname}${release}${shared_ext}$major'
20183 shlibpath_var
=LD_LIBRARY_PATH
20184 shlibpath_overrides_runpath
=no
20185 hardcode_into_libs
=yes
20186 dynamic_linker
='GNU ld.so'
20193 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20195 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20196 dynamic_linker
='NetBSD (a.out) ld.so'
20198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20199 soname_spec
='${libname}${release}${shared_ext}$major'
20200 dynamic_linker
='NetBSD ld.elf_so'
20202 shlibpath_var
=LD_LIBRARY_PATH
20203 shlibpath_overrides_runpath
=yes
20204 hardcode_into_libs
=yes
20209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20210 shlibpath_var
=LD_LIBRARY_PATH
20211 shlibpath_overrides_runpath
=yes
20218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20219 soname_spec
='${libname}${release}${shared_ext}$major'
20220 shlibpath_var
=LD_LIBRARY_PATH
20221 shlibpath_overrides_runpath
=yes
20226 sys_lib_dlsearch_path_spec
="/usr/lib"
20228 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20230 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20231 *) need_version
=no
;;
20233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20234 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20235 shlibpath_var
=LD_LIBRARY_PATH
20236 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20238 openbsd2.
[89] | openbsd2.
[89].
*)
20239 shlibpath_overrides_runpath
=no
20242 shlibpath_overrides_runpath
=yes
20246 shlibpath_overrides_runpath
=yes
20251 libname_spec
='$name'
20254 library_names_spec
='$libname${shared_ext} $libname.a'
20255 dynamic_linker
='OS/2 ld.exe'
20256 shlibpath_var
=LIBPATH
20259 osf3
* | osf4
* | osf5
*)
20263 soname_spec
='${libname}${release}${shared_ext}$major'
20264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20265 shlibpath_var
=LD_LIBRARY_PATH
20266 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20267 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20275 soname_spec
='${libname}${release}${shared_ext}$major'
20276 shlibpath_var
=LD_LIBRARY_PATH
20277 shlibpath_overrides_runpath
=yes
20278 hardcode_into_libs
=yes
20279 # ldd complains unless libraries are executable
20280 postinstall_cmds
='chmod +x $lib'
20285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20286 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20287 shlibpath_var
=LD_LIBRARY_PATH
20288 shlibpath_overrides_runpath
=yes
20289 if test "$with_gnu_ld" = yes; then
20297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20298 soname_spec
='${libname}${release}${shared_ext}$major'
20299 shlibpath_var
=LD_LIBRARY_PATH
20300 case $host_vendor in
20302 shlibpath_overrides_runpath
=no
20304 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20305 runpath_var
=LD_RUN_PATH
20313 shlibpath_overrides_runpath
=no
20314 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20320 if test -d /usr
/nec
;then
20322 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20323 soname_spec
='$libname${shared_ext}.$major'
20324 shlibpath_var
=LD_LIBRARY_PATH
20328 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20329 version_type
=freebsd-elf
20332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20333 soname_spec
='${libname}${release}${shared_ext}$major'
20334 shlibpath_var
=LD_LIBRARY_PATH
20335 hardcode_into_libs
=yes
20336 if test "$with_gnu_ld" = yes; then
20337 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20338 shlibpath_overrides_runpath
=no
20340 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20341 shlibpath_overrides_runpath
=yes
20344 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20348 sys_lib_dlsearch_path_spec
='/usr/lib'
20353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20354 soname_spec
='${libname}${release}${shared_ext}$major'
20355 shlibpath_var
=LD_LIBRARY_PATH
20362 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20363 echo "${ECHO_T}$dynamic_linker" >&6; }
20364 test "$dynamic_linker" = no
&& can_build_shared
=no
20366 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20367 if test "$GCC" = yes; then
20368 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20371 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20372 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20373 hardcode_action_CXX
=
20374 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20375 test -n "$runpath_var_CXX" || \
20376 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20378 # We can hardcode non-existant directories.
20379 if test "$hardcode_direct_CXX" != no
&&
20380 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20381 # have to relink, otherwise we might link with an installed library
20382 # when we should be linking with a yet-to-be-installed one
20383 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20384 test "$hardcode_minus_L_CXX" != no
; then
20385 # Linking always hardcodes the temporary library directory.
20386 hardcode_action_CXX
=relink
20388 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20389 hardcode_action_CXX
=immediate
20392 # We cannot hardcode anything, or else we can only hardcode existing
20394 hardcode_action_CXX
=unsupported
20396 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20397 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20399 if test "$hardcode_action_CXX" = relink
; then
20400 # Fast installation is not supported
20401 enable_fast_install
=no
20402 elif test "$shlibpath_overrides_runpath" = yes ||
20403 test "$enable_shared" = no
; then
20404 # Fast installation is not necessary
20405 enable_fast_install
=needless
20409 # The else clause should only fire when bootstrapping the
20410 # libtool distribution, otherwise you forgot to ship ltmain.sh
20411 # with your package, and you will get complaints that there are
20412 # no rules to generate ltmain.sh.
20413 if test -f "$ltmain"; then
20414 # See if we are running on zsh, and set the options which allow our commands through
20415 # without removal of \ escapes.
20416 if test -n "${ZSH_VERSION+set}" ; then
20417 setopt NO_GLOB_SUBST
20419 # Now quote all the things that may contain metacharacters while being
20420 # careful not to overquote the AC_SUBSTed values. We take copies of the
20421 # variables and quote the copies for generation of the libtool script.
20422 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20424 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20425 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20426 deplibs_check_method reload_flag reload_cmds need_locks \
20427 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20428 lt_cv_sys_global_symbol_to_c_name_address \
20429 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20430 old_postinstall_cmds old_postuninstall_cmds \
20434 lt_prog_compiler_wl_CXX \
20435 lt_prog_compiler_pic_CXX \
20436 lt_prog_compiler_static_CXX \
20437 lt_prog_compiler_no_builtin_flag_CXX \
20438 export_dynamic_flag_spec_CXX \
20439 thread_safe_flag_spec_CXX \
20440 whole_archive_flag_spec_CXX \
20441 enable_shared_with_static_runtimes_CXX \
20442 old_archive_cmds_CXX \
20443 old_archive_from_new_cmds_CXX \
20444 predep_objects_CXX \
20445 postdep_objects_CXX \
20448 compiler_lib_search_path_CXX \
20450 archive_expsym_cmds_CXX \
20451 postinstall_cmds_CXX \
20452 postuninstall_cmds_CXX \
20453 old_archive_from_expsyms_cmds_CXX \
20454 allow_undefined_flag_CXX \
20455 no_undefined_flag_CXX \
20456 export_symbols_cmds_CXX \
20457 hardcode_libdir_flag_spec_CXX \
20458 hardcode_libdir_flag_spec_ld_CXX \
20459 hardcode_libdir_separator_CXX \
20460 hardcode_automatic_CXX \
20462 module_expsym_cmds_CXX \
20463 lt_cv_prog_compiler_c_o_CXX \
20464 exclude_expsyms_CXX \
20465 include_expsyms_CXX
; do
20468 old_archive_cmds_CXX | \
20469 old_archive_from_new_cmds_CXX | \
20470 archive_cmds_CXX | \
20471 archive_expsym_cmds_CXX | \
20472 module_cmds_CXX | \
20473 module_expsym_cmds_CXX | \
20474 old_archive_from_expsyms_cmds_CXX | \
20475 export_symbols_cmds_CXX | \
20476 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20477 postinstall_cmds | postuninstall_cmds | \
20478 old_postinstall_cmds | old_postuninstall_cmds | \
20479 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20480 # Double-quote double-evaled strings.
20481 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20484 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20490 *'\$0 --fallback-echo"')
20491 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20497 cat <<__EOF__ >> "$cfgfile"
20498 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20500 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20502 # Shell to use when invoking shell scripts.
20505 # Whether or not to build shared libraries.
20506 build_libtool_libs=$enable_shared
20508 # Whether or not to build static libraries.
20509 build_old_libs=$enable_static
20511 # Whether or not to add -lc for building shared libraries.
20512 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20514 # Whether or not to disallow shared libs when runtime libs are static
20515 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20517 # Whether or not to optimize for fast installation.
20518 fast_install=$enable_fast_install
20521 host_alias=$host_alias
20525 # The build system.
20526 build_alias=$build_alias
20530 # An echo program that does not interpret backslashes.
20535 AR_FLAGS=$lt_AR_FLAGS
20540 # LTCC compiler flags.
20541 LTCFLAGS=$lt_LTCFLAGS
20543 # A language-specific compiler.
20544 CC=$lt_compiler_CXX
20546 # Is the compiler the GNU C compiler?
20552 # The linker used to build libraries.
20555 # Whether we need hard or soft links.
20558 # A BSD-compatible nm program.
20561 # A symbol stripping program
20564 # Used to examine libraries when file_magic_cmd begins "file"
20565 MAGIC_CMD=$MAGIC_CMD
20567 # Used on cygwin: DLL creation program.
20570 # Used on cygwin: object dumper.
20573 # Used on cygwin: assembler.
20576 # The name of the directory that contains temporary libtool files.
20579 # How to create reloadable object files.
20580 reload_flag=$lt_reload_flag
20581 reload_cmds=$lt_reload_cmds
20583 # How to pass a linker flag through the compiler.
20584 wl=$lt_lt_prog_compiler_wl_CXX
20586 # Object file suffix (normally "o").
20587 objext="$ac_objext"
20589 # Old archive suffix (normally "a").
20592 # Shared library suffix (normally ".so").
20593 shrext_cmds='$shrext_cmds'
20595 # Executable file suffix (normally "").
20598 # Additional compiler flags for building library objects.
20599 pic_flag=$lt_lt_prog_compiler_pic_CXX
20602 # What is the maximum length of a command?
20603 max_cmd_len=$lt_cv_sys_max_cmd_len
20605 # Does compiler simultaneously support -c and -o options?
20606 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20608 # Must we lock files when doing compilation?
20609 need_locks=$lt_need_locks
20611 # Do we need the lib prefix for modules?
20612 need_lib_prefix=$need_lib_prefix
20614 # Do we need a version for libraries?
20615 need_version=$need_version
20617 # Whether dlopen is supported.
20618 dlopen_support=$enable_dlopen
20620 # Whether dlopen of programs is supported.
20621 dlopen_self=$enable_dlopen_self
20623 # Whether dlopen of statically linked programs is supported.
20624 dlopen_self_static=$enable_dlopen_self_static
20626 # Compiler flag to prevent dynamic linking.
20627 link_static_flag=$lt_lt_prog_compiler_static_CXX
20629 # Compiler flag to turn off builtin functions.
20630 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20632 # Compiler flag to allow reflexive dlopens.
20633 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20635 # Compiler flag to generate shared objects directly from archives.
20636 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20638 # Compiler flag to generate thread-safe objects.
20639 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20641 # Library versioning type.
20642 version_type=$version_type
20644 # Format of library name prefix.
20645 libname_spec=$lt_libname_spec
20647 # List of archive names. First name is the real one, the rest are links.
20648 # The last name is the one that the linker finds with -lNAME.
20649 library_names_spec=$lt_library_names_spec
20651 # The coded name of the library, if different from the real name.
20652 soname_spec=$lt_soname_spec
20654 # Commands used to build and install an old-style archive.
20656 old_archive_cmds=$lt_old_archive_cmds_CXX
20657 old_postinstall_cmds=$lt_old_postinstall_cmds
20658 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20660 # Create an old-style archive from a shared archive.
20661 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20663 # Create a temporary old-style archive to link instead of a shared archive.
20664 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20666 # Commands used to build and install a shared archive.
20667 archive_cmds=$lt_archive_cmds_CXX
20668 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20669 postinstall_cmds=$lt_postinstall_cmds
20670 postuninstall_cmds=$lt_postuninstall_cmds
20672 # Commands used to build a loadable module (assumed same as above if empty)
20673 module_cmds=$lt_module_cmds_CXX
20674 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20676 # Commands to strip libraries.
20677 old_striplib=$lt_old_striplib
20678 striplib=$lt_striplib
20680 # Dependencies to place before the objects being linked to create a
20682 predep_objects=$lt_predep_objects_CXX
20684 # Dependencies to place after the objects being linked to create a
20686 postdep_objects=$lt_postdep_objects_CXX
20688 # Dependencies to place before the objects being linked to create a
20690 predeps=$lt_predeps_CXX
20692 # Dependencies to place after the objects being linked to create a
20694 postdeps=$lt_postdeps_CXX
20696 # The library search path used internally by the compiler when linking
20697 # a shared library.
20698 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20700 # Method to check whether dependent libraries are shared objects.
20701 deplibs_check_method=$lt_deplibs_check_method
20703 # Command to use when deplibs_check_method == file_magic.
20704 file_magic_cmd=$lt_file_magic_cmd
20706 # Flag that allows shared libraries with undefined symbols to be built.
20707 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20709 # Flag that forces no undefined symbols.
20710 no_undefined_flag=$lt_no_undefined_flag_CXX
20712 # Commands used to finish a libtool library installation in a directory.
20713 finish_cmds=$lt_finish_cmds
20715 # Same as above, but a single script fragment to be evaled but not shown.
20716 finish_eval=$lt_finish_eval
20718 # Take the output of nm and produce a listing of raw symbols and C names.
20719 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20721 # Transform the output of nm in a proper C declaration
20722 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20724 # Transform the output of nm in a C name address pair
20725 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20727 # This is the shared library runtime path variable.
20728 runpath_var=$runpath_var
20730 # This is the shared library path variable.
20731 shlibpath_var=$shlibpath_var
20733 # Is shlibpath searched before the hard-coded library search path?
20734 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20736 # How to hardcode a shared library path into an executable.
20737 hardcode_action=$hardcode_action_CXX
20739 # Whether we should hardcode library paths into libraries.
20740 hardcode_into_libs=$hardcode_into_libs
20742 # Flag to hardcode \$libdir into a binary during linking.
20743 # This must work even if \$libdir does not exist.
20744 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20746 # If ld is used when linking, flag to hardcode \$libdir into
20747 # a binary during linking. This must work even if \$libdir does
20749 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20751 # Whether we need a single -rpath flag with a separated argument.
20752 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20754 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20755 # resulting binary.
20756 hardcode_direct=$hardcode_direct_CXX
20758 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20759 # resulting binary.
20760 hardcode_minus_L=$hardcode_minus_L_CXX
20762 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20763 # the resulting binary.
20764 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20766 # Set to yes if building a shared library automatically hardcodes DIR into the library
20767 # and all subsequent libraries and executables linked against it.
20768 hardcode_automatic=$hardcode_automatic_CXX
20770 # Variables whose values should be saved in libtool wrapper scripts and
20771 # restored at relink time.
20772 variables_saved_for_relink="$variables_saved_for_relink"
20774 # Whether libtool must link a program against all its dependency libraries.
20775 link_all_deplibs=$link_all_deplibs_CXX
20777 # Compile-time system search path for libraries
20778 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20780 # Run-time system search path for libraries
20781 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20783 # Fix the shell variable \$srcfile for the compiler.
20784 fix_srcfile_path="$fix_srcfile_path_CXX"
20786 # Set to yes if exported symbols are required.
20787 always_export_symbols=$always_export_symbols_CXX
20789 # The commands to list exported symbols.
20790 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20792 # The commands to extract the exported symbol list from a shared archive.
20793 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20795 # Symbols that should not be listed in the preloaded symbols.
20796 exclude_expsyms=$lt_exclude_expsyms_CXX
20798 # Symbols that must always be exported.
20799 include_expsyms=$lt_include_expsyms_CXX
20801 # ### END LIBTOOL TAG CONFIG: $tagname
20807 # If there is no Makefile yet, we rely on a make rule to execute
20808 # `config.status --recheck' to rerun these tests and create the
20809 # libtool script then.
20810 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20811 if test -f "$ltmain_in"; then
20812 test -f Makefile
&& make "$ltmain"
20818 ac_cpp
='$CPP $CPPFLAGS'
20819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20827 with_gnu_ldcxx
=$with_gnu_ld
20828 with_gnu_ld
=$lt_save_with_gnu_ld
20829 lt_cv_path_LDCXX
=$lt_cv_path_LD
20830 lt_cv_path_LD
=$lt_save_path_LD
20831 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
20832 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
20840 if test -n "$F77" && test "X$F77" != "Xno"; then
20843 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
20844 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
20848 archive_cmds_need_lc_F77
=no
20849 allow_undefined_flag_F77
=
20850 always_export_symbols_F77
=no
20851 archive_expsym_cmds_F77
=
20852 export_dynamic_flag_spec_F77
=
20853 hardcode_direct_F77
=no
20854 hardcode_libdir_flag_spec_F77
=
20855 hardcode_libdir_flag_spec_ld_F77
=
20856 hardcode_libdir_separator_F77
=
20857 hardcode_minus_L_F77
=no
20858 hardcode_automatic_F77
=no
20860 module_expsym_cmds_F77
=
20861 link_all_deplibs_F77
=unknown
20862 old_archive_cmds_F77
=$old_archive_cmds
20863 no_undefined_flag_F77
=
20864 whole_archive_flag_spec_F77
=
20865 enable_shared_with_static_runtimes_F77
=no
20867 # Source file extension for f77 test sources.
20870 # Object file extension for compiled f77 test sources.
20874 # Code to be used in simple compile tests
20875 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
20877 # Code to be used in simple link tests
20878 lt_simple_link_test_code
=" program t\n end\n"
20880 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20882 # If no C compiler was specified, use CC.
20885 # If no C compiler flags were specified, use CFLAGS.
20886 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20888 # Allow CC to be a program name with arguments.
20892 # save warnings/boilerplate of simple test code
20893 ac_outfile
=conftest.
$ac_objext
20894 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20895 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20896 _lt_compiler_boilerplate
=`cat conftest.err`
20899 ac_outfile
=conftest.
$ac_objext
20900 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20901 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20902 _lt_linker_boilerplate
=`cat conftest.err`
20906 # Allow CC to be a program name with arguments.
20911 for cc_temp
in $compiler""; do
20913 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20914 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20919 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20922 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
20923 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
20924 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
20925 echo "${ECHO_T}$can_build_shared" >&6; }
20927 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
20928 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
20929 test "$can_build_shared" = "no" && enable_shared
=no
20931 # On AIX, shared libraries and static libraries use the same namespace, and
20932 # are all built from PIC.
20935 test "$enable_shared" = yes && enable_static
=no
20936 if test -n "$RANLIB"; then
20937 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
20938 postinstall_cmds
='$RANLIB $lib'
20942 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
20943 test "$enable_shared" = yes && enable_static
=no
20947 { echo "$as_me:$LINENO: result: $enable_shared" >&5
20948 echo "${ECHO_T}$enable_shared" >&6; }
20950 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
20951 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
20952 # Make sure either enable_shared or enable_static is yes.
20953 test "$enable_shared" = yes || enable_static
=yes
20954 { echo "$as_me:$LINENO: result: $enable_static" >&5
20955 echo "${ECHO_T}$enable_static" >&6; }
20960 lt_prog_compiler_wl_F77
=
20961 lt_prog_compiler_pic_F77
=
20962 lt_prog_compiler_static_F77
=
20964 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20965 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
20967 if test "$GCC" = yes; then
20968 lt_prog_compiler_wl_F77
='-Wl,'
20969 lt_prog_compiler_static_F77
='-static'
20973 # All AIX code is PIC.
20974 if test "$host_cpu" = ia64
; then
20975 # AIX 5 now supports IA64 processor
20976 lt_prog_compiler_static_F77
='-Bstatic'
20981 # FIXME: we need at least 68020 code to build shared libraries, but
20982 # adding the `-m68020' flag to GCC prevents building anything better,
20984 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
20987 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
20988 # PIC is the default for these OSes.
20991 mingw
* | pw32
* | os2
*)
20992 # This hack is so that the source file can tell whether it is being
20993 # built for inclusion in a dll (and should export symbols for example).
20994 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
20997 darwin
* | rhapsody
*)
20998 # PIC is the default on this platform
20999 # Common symbols not allowed in MH_DYLIB files
21000 lt_prog_compiler_pic_F77
='-fno-common'
21004 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21005 # Instead, we relocate shared libraries at runtime.
21009 # Just because we use GCC doesn't mean we suddenly get shared libraries
21010 # on systems that don't support them.
21011 lt_prog_compiler_can_build_shared_F77
=no
21016 if test -d /usr
/nec
; then
21017 lt_prog_compiler_pic_F77
=-Kconform_pic
21022 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21023 # not for PA HP-UX.
21029 lt_prog_compiler_pic_F77
='-fPIC'
21035 lt_prog_compiler_pic_F77
='-fPIC'
21039 # PORTME Check for flag to pass linker flags through the system compiler.
21042 lt_prog_compiler_wl_F77
='-Wl,'
21043 if test "$host_cpu" = ia64
; then
21044 # AIX 5 now supports IA64 processor
21045 lt_prog_compiler_static_F77
='-Bstatic'
21047 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21051 # PIC is the default on this platform
21052 # Common symbols not allowed in MH_DYLIB files
21053 case $cc_basename in
21055 lt_prog_compiler_pic_F77
='-qnocommon'
21056 lt_prog_compiler_wl_F77
='-Wl,'
21061 mingw
* | pw32
* | os2
*)
21062 # This hack is so that the source file can tell whether it is being
21063 # built for inclusion in a dll (and should export symbols for example).
21064 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21067 hpux9
* | hpux10
* | hpux11
*)
21068 lt_prog_compiler_wl_F77
='-Wl,'
21069 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21070 # not for PA HP-UX.
21076 lt_prog_compiler_pic_F77
='+Z'
21079 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21080 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21083 irix5
* | irix6
* | nonstopux
*)
21084 lt_prog_compiler_wl_F77
='-Wl,'
21085 # PIC (with -KPIC) is the default.
21086 lt_prog_compiler_static_F77
='-non_shared'
21090 lt_prog_compiler_pic_F77
='-KPIC'
21091 lt_prog_compiler_static_F77
='-Bstatic'
21095 case $cc_basename in
21097 lt_prog_compiler_wl_F77
='-Wl,'
21098 lt_prog_compiler_pic_F77
='-KPIC'
21099 lt_prog_compiler_static_F77
='-static'
21101 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21102 # Portland Group compilers (*not* the Pentium gcc compiler,
21103 # which looks to be a dead project)
21104 lt_prog_compiler_wl_F77
='-Wl,'
21105 lt_prog_compiler_pic_F77
='-fpic'
21106 lt_prog_compiler_static_F77
='-Bstatic'
21109 lt_prog_compiler_wl_F77
='-Wl,'
21110 # All Alpha code is PIC.
21111 lt_prog_compiler_static_F77
='-non_shared'
21116 osf3
* | osf4
* | osf5
*)
21117 lt_prog_compiler_wl_F77
='-Wl,'
21118 # All OSF/1 code is PIC.
21119 lt_prog_compiler_static_F77
='-non_shared'
21123 lt_prog_compiler_pic_F77
='-KPIC'
21124 lt_prog_compiler_static_F77
='-Bstatic'
21125 case $cc_basename in
21126 f77
* | f90
* | f95
*)
21127 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21129 lt_prog_compiler_wl_F77
='-Wl,';;
21134 lt_prog_compiler_wl_F77
='-Qoption ld '
21135 lt_prog_compiler_pic_F77
='-PIC'
21136 lt_prog_compiler_static_F77
='-Bstatic'
21139 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21140 lt_prog_compiler_wl_F77
='-Wl,'
21141 lt_prog_compiler_pic_F77
='-KPIC'
21142 lt_prog_compiler_static_F77
='-Bstatic'
21146 if test -d /usr
/nec
;then
21147 lt_prog_compiler_pic_F77
='-Kconform_pic'
21148 lt_prog_compiler_static_F77
='-Bstatic'
21152 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21153 lt_prog_compiler_wl_F77
='-Wl,'
21154 lt_prog_compiler_pic_F77
='-KPIC'
21155 lt_prog_compiler_static_F77
='-Bstatic'
21159 lt_prog_compiler_wl_F77
='-Wl,'
21160 lt_prog_compiler_can_build_shared_F77
=no
21164 lt_prog_compiler_pic_F77
='-pic'
21165 lt_prog_compiler_static_F77
='-Bstatic'
21169 lt_prog_compiler_can_build_shared_F77
=no
21174 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21175 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21178 # Check to make sure the PIC flag actually works.
21180 if test -n "$lt_prog_compiler_pic_F77"; then
21182 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21183 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21184 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21185 echo $ECHO_N "(cached) $ECHO_C" >&6
21187 lt_prog_compiler_pic_works_F77
=no
21188 ac_outfile
=conftest.
$ac_objext
21189 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21190 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21191 # Insert the option either (1) after the last *FLAGS variable, or
21192 # (2) before a word containing "conftest.", or (3) at the end.
21193 # Note that $ac_compile itself does not contain backslashes and begins
21194 # with a dollar sign (not a hyphen), so the echo should work correctly.
21195 # The option is referenced via a variable to avoid confusing sed.
21196 lt_compile
=`echo "$ac_compile" | $SED \
21197 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21198 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21199 -e 's:$: $lt_compiler_flag:'`
21200 (eval echo "\"\$as_me:21200: $lt_compile\"" >&5)
21201 (eval "$lt_compile" 2>conftest.err
)
21203 cat conftest.err
>&5
21204 echo "$as_me:21204: \$? = $ac_status" >&5
21205 if (exit $ac_status) && test -s "$ac_outfile"; then
21206 # The compiler can only warn and ignore the option if not recognized
21207 # So say no if there are warnings other than the usual output.
21208 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21209 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21210 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21211 lt_prog_compiler_pic_works_F77
=yes
21217 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21218 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21220 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21221 case $lt_prog_compiler_pic_F77 in
21223 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21226 lt_prog_compiler_pic_F77
=
21227 lt_prog_compiler_can_build_shared_F77
=no
21232 # For platforms which do not support PIC, -DPIC is meaningless:
21234 lt_prog_compiler_pic_F77
=
21237 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21242 # Check to make sure the static flag actually works.
21244 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21245 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21246 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21247 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21248 echo $ECHO_N "(cached) $ECHO_C" >&6
21250 lt_prog_compiler_static_works_F77
=no
21251 save_LDFLAGS
="$LDFLAGS"
21252 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21253 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21254 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21255 # The linker can only warn and ignore the option if not recognized
21256 # So say no if there are warnings
21257 if test -s conftest.err
; then
21258 # Append any errors to the config.log.
21259 cat conftest.err
1>&5
21260 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21261 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21262 if diff conftest.exp conftest.er2
>/dev
/null
; then
21263 lt_prog_compiler_static_works_F77
=yes
21266 lt_prog_compiler_static_works_F77
=yes
21270 LDFLAGS
="$save_LDFLAGS"
21273 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21274 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21276 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21279 lt_prog_compiler_static_F77
=
21283 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21284 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21285 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21286 echo $ECHO_N "(cached) $ECHO_C" >&6
21288 lt_cv_prog_compiler_c_o_F77
=no
21289 $rm -r conftest
2>/dev
/null
21293 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21295 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21296 # Insert the option either (1) after the last *FLAGS variable, or
21297 # (2) before a word containing "conftest.", or (3) at the end.
21298 # Note that $ac_compile itself does not contain backslashes and begins
21299 # with a dollar sign (not a hyphen), so the echo should work correctly.
21300 lt_compile
=`echo "$ac_compile" | $SED \
21301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21303 -e 's:$: $lt_compiler_flag:'`
21304 (eval echo "\"\$as_me:21304: $lt_compile\"" >&5)
21305 (eval "$lt_compile" 2>out
/conftest.err
)
21307 cat out
/conftest.err
>&5
21308 echo "$as_me:21308: \$? = $ac_status" >&5
21309 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21311 # The compiler can only warn and ignore the option if not recognized
21312 # So say no if there are warnings
21313 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21314 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21315 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21316 lt_cv_prog_compiler_c_o_F77
=yes
21321 # SGI C++ compiler will create directory out/ii_files/ for
21322 # template instantiation
21323 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21324 $rm out
/* && rmdir out
21330 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21331 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21334 hard_links
="nottested"
21335 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21336 # do not overwrite the value of need_locks provided by the user
21337 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21338 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21341 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21343 ln conftest.a conftest.b
2>&5 || hard_links
=no
21344 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21345 { echo "$as_me:$LINENO: result: $hard_links" >&5
21346 echo "${ECHO_T}$hard_links" >&6; }
21347 if test "$hard_links" = no
; then
21348 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21349 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21356 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21357 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21360 allow_undefined_flag_F77
=
21361 enable_shared_with_static_runtimes_F77
=no
21363 archive_expsym_cmds_F77
=
21364 old_archive_From_new_cmds_F77
=
21365 old_archive_from_expsyms_cmds_F77
=
21366 export_dynamic_flag_spec_F77
=
21367 whole_archive_flag_spec_F77
=
21368 thread_safe_flag_spec_F77
=
21369 hardcode_libdir_flag_spec_F77
=
21370 hardcode_libdir_flag_spec_ld_F77
=
21371 hardcode_libdir_separator_F77
=
21372 hardcode_direct_F77
=no
21373 hardcode_minus_L_F77
=no
21374 hardcode_shlibpath_var_F77
=unsupported
21375 link_all_deplibs_F77
=unknown
21376 hardcode_automatic_F77
=no
21378 module_expsym_cmds_F77
=
21379 always_export_symbols_F77
=no
21380 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21381 # include_expsyms should be a list of space-separated symbols to be *always*
21382 # included in the symbol list
21383 include_expsyms_F77
=
21384 # exclude_expsyms can be an extended regexp of symbols to exclude
21385 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21386 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21387 # as well as any symbol that contains `d'.
21388 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21389 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21390 # platforms (ab)use it in PIC code, but their linkers get confused if
21391 # the symbol is explicitly referenced. Since portable code cannot
21392 # rely on this symbol name, it's probably fine to never include it in
21393 # preloaded symbol tables.
21394 extract_expsyms_cmds
=
21395 # Just being paranoid about ensuring that cc_basename is set.
21396 for cc_temp
in $compiler""; do
21398 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21399 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21404 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21407 cygwin
* | mingw
* | pw32
*)
21408 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21409 # When not using gcc, we currently assume that we are using
21410 # Microsoft Visual C++.
21411 if test "$GCC" != yes; then
21416 # we just hope/assume this is gcc and not c89 (= MSVC++)
21425 if test "$with_gnu_ld" = yes; then
21426 # If archive_cmds runs LD, not CC, wlarc should be empty
21429 # Set some defaults for GNU ld with shared library support. These
21430 # are reset later if shared libraries are not supported. Putting them
21431 # here allows them to be overridden if necessary.
21432 runpath_var
=LD_RUN_PATH
21433 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21434 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21435 # ancient GNU ld didn't support --whole-archive et. al.
21436 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21437 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21439 whole_archive_flag_spec_F77
=
21441 supports_anon_versioning
=no
21442 case `$LD -v 2>/dev/null` in
21443 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21444 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21445 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21446 *\
2.11.
*) ;; # other 2.11 versions
21447 *) supports_anon_versioning
=yes ;;
21450 # See if GNU ld supports shared libraries.
21452 aix3
* | aix4
* | aix5
*)
21453 # On AIX/PPC, the GNU linker is very broken
21454 if test "$host_cpu" != ia64
; then
21458 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21459 *** to be unable to reliably create shared libraries on AIX.
21460 *** Therefore, libtool is disabling shared libraries support. If you
21461 *** really care for shared libraries, you may want to modify your PATH
21462 *** so that a non-GNU linker is found, and then restart.
21469 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)'
21470 hardcode_libdir_flag_spec_F77
='-L$libdir'
21471 hardcode_minus_L_F77
=yes
21473 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21474 # that the semantics of dynamic libraries on AmigaOS, at least up
21475 # to version 4, is to share data among multiple programs linked
21476 # with the same dynamic library. Since this doesn't match the
21477 # behavior of shared libraries on other platforms, we can't use
21483 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21484 allow_undefined_flag_F77
=unsupported
21485 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21486 # support --undefined. This deserves some investigation. FIXME
21487 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21493 cygwin
* | mingw
* | pw32
*)
21494 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21495 # as there is no search path for DLLs.
21496 hardcode_libdir_flag_spec_F77
='-L$libdir'
21497 allow_undefined_flag_F77
=unsupported
21498 always_export_symbols_F77
=no
21499 enable_shared_with_static_runtimes_F77
=yes
21500 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21502 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21503 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21504 # If the export-symbols file already is a .def file (1st line
21505 # is EXPORTS), use it as is; otherwise, prepend...
21506 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21507 cp $export_symbols $output_objdir/$soname.def;
21509 echo EXPORTS > $output_objdir/$soname.def;
21510 cat $export_symbols >> $output_objdir/$soname.def;
21512 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21519 hardcode_direct_F77
=no
21520 hardcode_shlibpath_var_F77
=no
21521 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21522 export_dynamic_flag_spec_F77
='${wl}-E'
21523 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21524 # Instead, shared libraries are loaded at an image base (0x10000000 by
21525 # default) and relocated if they conflict, which is a slow very memory
21526 # consuming and fragmenting process. To avoid this, we pick a random,
21527 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21528 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21529 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'
21530 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'
21534 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21536 case $cc_basename,$host_cpu in
21537 pgcc
*) # Portland Group C compiler
21538 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'
21539 tmp_addflag
=' $pic_flag'
21541 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21542 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'
21543 tmp_addflag
=' $pic_flag -Mnomain' ;;
21544 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21545 tmp_addflag
=' -i_dynamic' ;;
21546 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21547 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21548 ifc
* | ifort
*) # Intel Fortran compiler
21549 tmp_addflag
=' -nofor_main' ;;
21551 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21553 if test $supports_anon_versioning = yes; then
21554 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21555 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21556 $echo "local: *; };" >> $output_objdir/$libname.ver~
21557 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21565 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21566 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21569 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21570 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21575 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21579 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21580 *** create shared libraries on Solaris systems. Therefore, libtool
21581 *** is disabling shared libraries support. We urge you to upgrade GNU
21582 *** binutils to release 2.9.1 or newer. Another option is to modify
21583 *** your PATH or compiler configuration so that the native linker is
21584 *** used, and then restart.
21587 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21588 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21589 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21595 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21596 case `$LD -v 2>&1` in
21597 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21601 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21602 *** reliably create shared libraries on SCO systems. Therefore, libtool
21603 *** is disabling shared libraries support. We urge you to upgrade GNU
21604 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21605 *** your PATH or compiler configuration so that the native linker is
21606 *** used, and then restart.
21611 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21612 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21613 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21614 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21623 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21625 hardcode_direct_F77
=yes
21626 hardcode_shlibpath_var_F77
=no
21630 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21631 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21632 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21639 if test "$ld_shlibs_F77" = no
; then
21641 hardcode_libdir_flag_spec_F77
=
21642 export_dynamic_flag_spec_F77
=
21643 whole_archive_flag_spec_F77
=
21646 # PORTME fill in a description of your system's linker (not GNU ld)
21649 allow_undefined_flag_F77
=unsupported
21650 always_export_symbols_F77
=yes
21651 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'
21652 # Note: this linker hardcodes the directories in LIBPATH if there
21653 # are no directories specified by -L.
21654 hardcode_minus_L_F77
=yes
21655 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21656 # Neither direct hardcoding nor static linking is supported with a
21658 hardcode_direct_F77
=unsupported
21663 if test "$host_cpu" = ia64
; then
21664 # On IA64, the linker does run time linking by default, so we don't
21665 # have to do anything special.
21666 aix_use_runtimelinking
=no
21667 exp_sym_flag
='-Bexport'
21670 # If we're using GNU nm, then we don't want the "-C" option.
21671 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21672 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21673 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'
21675 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'
21677 aix_use_runtimelinking
=no
21679 # Test if we are trying to use run time linking or normal
21680 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21681 # need to do runtime linking.
21682 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21683 for ld_flag
in $LDFLAGS; do
21684 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21685 aix_use_runtimelinking
=yes
21692 exp_sym_flag
='-bexport'
21693 no_entry_flag
='-bnoentry'
21696 # When large executables or shared objects are built, AIX ld can
21697 # have problems creating the table of contents. If linking a library
21698 # or program results in "error TOC overflow" add -mminimal-toc to
21699 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21700 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21702 archive_cmds_F77
=''
21703 hardcode_direct_F77
=yes
21704 hardcode_libdir_separator_F77
=':'
21705 link_all_deplibs_F77
=yes
21707 if test "$GCC" = yes; then
21708 case $host_os in aix4.
[012]|aix4.
[012].
*)
21709 # We only want to do this on AIX 4.2 and lower, the check
21710 # below for broken collect2 doesn't work under 4.3+
21711 collect2name
=`${CC} -print-prog-name=collect2`
21712 if test -f "$collect2name" && \
21713 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21715 # We have reworked collect2
21716 hardcode_direct_F77
=yes
21718 # We have old collect2
21719 hardcode_direct_F77
=unsupported
21720 # It fails to find uninstalled libraries when the uninstalled
21721 # path is not listed in the libpath. Setting hardcode_minus_L
21722 # to unsupported forces relinking
21723 hardcode_minus_L_F77
=yes
21724 hardcode_libdir_flag_spec_F77
='-L$libdir'
21725 hardcode_libdir_separator_F77
=
21729 shared_flag
='-shared'
21730 if test "$aix_use_runtimelinking" = yes; then
21731 shared_flag
="$shared_flag "'${wl}-G'
21735 if test "$host_cpu" = ia64
; then
21736 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21737 # chokes on -Wl,-G. The following line is correct:
21740 if test "$aix_use_runtimelinking" = yes; then
21741 shared_flag
='${wl}-G'
21743 shared_flag
='${wl}-bM:SRE'
21748 # It seems that -bexpall does not export symbols beginning with
21749 # underscore (_), so it is better to generate a list of symbols to export.
21750 always_export_symbols_F77
=yes
21751 if test "$aix_use_runtimelinking" = yes; then
21752 # Warning - without using the other runtime loading flags (-brtl),
21753 # -berok will link without error, but may produce a broken library.
21754 allow_undefined_flag_F77
='-berok'
21755 # Determine the default libpath from the value encoded in an empty executable.
21756 cat >conftest.
$ac_ext <<_ACEOF
21761 rm -f conftest.
$ac_objext conftest
$ac_exeext
21762 if { (ac_try
="$ac_link"
21763 case "(($ac_try" in
21764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_link") 2>conftest.er1
21770 grep -v '^ *+' conftest.er1 >conftest.err
21772 cat conftest.err >&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } &&
21775 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21776 { (case "(($ac_try" in
21777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21778 *) ac_try_echo
=$ac_try;;
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_try") 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try
='test -s conftest$ac_exeext'
21786 { (case "(($ac_try" in
21787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21788 *) ac_try_echo=$ac_try;;
21790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21791 (eval "$ac_try") 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21796 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21798 # Check for a 64-bit object if we didn't find anything.
21799 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; }
21802 echo "$as_me: failed program was:" >&5
21803 sed 's/^/| /' conftest.$ac_ext >&5
21808 rm -f core conftest.err conftest.$ac_objext \
21809 conftest$ac_exeext conftest.$ac_ext
21810 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21812 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21813 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"
21815 if test "$host_cpu" = ia64; then
21816 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21817 allow_undefined_flag_F77="-z nodefs"
21818 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"
21820 # Determine the default libpath from the value encoded in an empty executable.
21821 cat >conftest.$ac_ext <<_ACEOF
21826 rm -f conftest.$ac_objext conftest$ac_exeext
21827 if { (ac_try="$ac_link"
21828 case "(($ac_try" in
21829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21830 *) ac_try_echo
=$ac_try;;
21832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_link") 2>conftest.er1
21835 grep -v '^ *+' conftest.er1
>conftest.err
21837 cat conftest.err
>&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } &&
21840 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21841 { (case "(($ac_try" in
21842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21843 *) ac_try_echo=$ac_try;;
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_try") 2>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest$ac_exeext'
21851 { (case "(($ac_try" in
21852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21853 *) ac_try_echo
=$ac_try;;
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_try") 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21861 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21863 # Check for a 64-bit object if we didn't find anything.
21864 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; }
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.
$ac_ext >&5
21873 rm -f core conftest.err conftest.
$ac_objext \
21874 conftest
$ac_exeext conftest.
$ac_ext
21875 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
21877 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
21878 # Warning - without using the other run time loading flags,
21879 # -berok will link without error, but may produce a broken library.
21880 no_undefined_flag_F77
=' ${wl}-bernotok'
21881 allow_undefined_flag_F77
=' ${wl}-berok'
21882 # Exported symbols can be pulled into shared objects from archives
21883 whole_archive_flag_spec_F77
='$convenience'
21884 archive_cmds_need_lc_F77
=yes
21885 # This is similar to how AIX traditionally builds its shared libraries.
21886 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'
21892 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)'
21893 hardcode_libdir_flag_spec_F77
='-L$libdir'
21894 hardcode_minus_L_F77
=yes
21895 # see comment about different semantics on the GNU ld section
21900 export_dynamic_flag_spec_F77
=-rdynamic
21903 cygwin
* | mingw
* | pw32
*)
21904 # When not using gcc, we currently assume that we are using
21905 # Microsoft Visual C++.
21906 # hardcode_libdir_flag_spec is actually meaningless, as there is
21907 # no search path for DLLs.
21908 hardcode_libdir_flag_spec_F77
=' '
21909 allow_undefined_flag_F77
=unsupported
21910 # Tell ltmain to make .lib files, not .a files.
21912 # Tell ltmain to make .dll files, not .so files.
21914 # FIXME: Setting linknames here is a bad hack.
21915 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21916 # The linker will automatically build a .lib file if we build a DLL.
21917 old_archive_From_new_cmds_F77
='true'
21918 # FIXME: Should let the user specify the lib program.
21919 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
21920 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
21921 enable_shared_with_static_runtimes_F77
=yes
21924 darwin
* | rhapsody
*)
21926 rhapsody
* | darwin1.
[012])
21927 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
21930 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
21931 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21933 case ${MACOSX_DEPLOYMENT_TARGET} in
21935 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
21938 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
21944 archive_cmds_need_lc_F77
=no
21945 hardcode_direct_F77
=no
21946 hardcode_automatic_F77
=yes
21947 hardcode_shlibpath_var_F77
=unsupported
21948 whole_archive_flag_spec_F77
=''
21949 link_all_deplibs_F77
=yes
21950 if test "$GCC" = yes ; then
21951 output_verbose_link_cmd
='echo'
21952 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
21953 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21954 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21955 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}'
21956 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}'
21958 case $cc_basename in
21960 output_verbose_link_cmd
='echo'
21961 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
21962 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21963 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21964 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}'
21965 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}'
21975 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21976 hardcode_libdir_flag_spec_F77
='-L$libdir'
21977 hardcode_shlibpath_var_F77
=no
21984 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21985 # support. Future versions do this automatically, but an explicit c++rt0.o
21986 # does not break anything, and helps significantly (at the cost of a little
21989 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21990 hardcode_libdir_flag_spec_F77
='-R$libdir'
21991 hardcode_direct_F77
=yes
21992 hardcode_shlibpath_var_F77
=no
21995 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21997 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21998 hardcode_direct_F77
=yes
21999 hardcode_minus_L_F77
=yes
22000 hardcode_shlibpath_var_F77
=no
22003 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22004 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22005 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22006 hardcode_libdir_flag_spec_F77
='-R$libdir'
22007 hardcode_direct_F77
=yes
22008 hardcode_shlibpath_var_F77
=no
22012 if test "$GCC" = yes; then
22013 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'
22015 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'
22017 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22018 hardcode_libdir_separator_F77
=:
22019 hardcode_direct_F77
=yes
22021 # hardcode_minus_L: Not really in the search PATH,
22022 # but as the default location of the library.
22023 hardcode_minus_L_F77
=yes
22024 export_dynamic_flag_spec_F77
='${wl}-E'
22028 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22029 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22031 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22033 if test "$with_gnu_ld" = no
; then
22034 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22035 hardcode_libdir_separator_F77
=:
22037 hardcode_direct_F77
=yes
22038 export_dynamic_flag_spec_F77
='${wl}-E'
22040 # hardcode_minus_L: Not really in the search PATH,
22041 # but as the default location of the library.
22042 hardcode_minus_L_F77
=yes
22047 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22050 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22053 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22056 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22062 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22065 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22068 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22072 if test "$with_gnu_ld" = no
; then
22073 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22074 hardcode_libdir_separator_F77
=:
22078 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22079 hardcode_direct_F77
=no
22080 hardcode_shlibpath_var_F77
=no
22083 hardcode_direct_F77
=yes
22084 export_dynamic_flag_spec_F77
='${wl}-E'
22086 # hardcode_minus_L: Not really in the search PATH,
22087 # but as the default location of the library.
22088 hardcode_minus_L_F77
=yes
22094 irix5
* | irix6
* | nonstopux
*)
22095 if test "$GCC" = yes; then
22096 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'
22098 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'
22099 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22101 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22102 hardcode_libdir_separator_F77
=:
22103 link_all_deplibs_F77
=yes
22107 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22108 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22110 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22112 hardcode_libdir_flag_spec_F77
='-R$libdir'
22113 hardcode_direct_F77
=yes
22114 hardcode_shlibpath_var_F77
=no
22118 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22119 hardcode_direct_F77
=yes
22120 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22121 hardcode_libdir_separator_F77
=:
22122 hardcode_shlibpath_var_F77
=no
22126 hardcode_direct_F77
=yes
22127 hardcode_shlibpath_var_F77
=no
22128 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22129 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22130 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22131 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22132 export_dynamic_flag_spec_F77
='${wl}-E'
22135 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22136 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22137 hardcode_libdir_flag_spec_F77
='-R$libdir'
22140 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22141 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22148 hardcode_libdir_flag_spec_F77
='-L$libdir'
22149 hardcode_minus_L_F77
=yes
22150 allow_undefined_flag_F77
=unsupported
22151 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'
22152 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22156 if test "$GCC" = yes; then
22157 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22158 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'
22160 allow_undefined_flag_F77
=' -expect_unresolved \*'
22161 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'
22163 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22164 hardcode_libdir_separator_F77
=:
22167 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22168 if test "$GCC" = yes; then
22169 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22170 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'
22171 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22173 allow_undefined_flag_F77
=' -expect_unresolved \*'
22174 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'
22175 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~
22176 $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'
22178 # Both c and cxx compiler support -rpath directly
22179 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22181 hardcode_libdir_separator_F77
=:
22185 no_undefined_flag_F77
=' -z text'
22186 if test "$GCC" = yes; then
22188 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22189 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22190 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22193 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22194 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22195 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22197 hardcode_libdir_flag_spec_F77
='-R$libdir'
22198 hardcode_shlibpath_var_F77
=no
22200 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22202 # The compiler driver will combine linker options so we
22203 # cannot just pass the convience library names through
22204 # without $wl, iff we do not link with $LD.
22205 # Luckily, gcc supports the same syntax we need for Sun Studio.
22206 # Supported since Solaris 2.6 (maybe 2.5.1?)
22209 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22211 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' ;;
22214 link_all_deplibs_F77
=yes
22218 if test "x$host_vendor" = xsequent
; then
22219 # Use $CC to link under sequent, because it throws in some extra .o
22220 # files that make .init and .fini sections work.
22221 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22223 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22225 hardcode_libdir_flag_spec_F77
='-L$libdir'
22226 hardcode_direct_F77
=yes
22227 hardcode_minus_L_F77
=yes
22228 hardcode_shlibpath_var_F77
=no
22232 case $host_vendor in
22234 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22235 hardcode_direct_F77
=yes # is this really true???
22238 ## LD is ld it makes a PLAMLIB
22239 ## CC just makes a GrossModule.
22240 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22241 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22242 hardcode_direct_F77
=no
22245 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22246 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22249 runpath_var
='LD_RUN_PATH'
22250 hardcode_shlibpath_var_F77
=no
22254 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22255 hardcode_shlibpath_var_F77
=no
22256 export_dynamic_flag_spec_F77
='-Bexport'
22260 if test -d /usr
/nec
; then
22261 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22262 hardcode_shlibpath_var_F77
=no
22263 runpath_var
=LD_RUN_PATH
22264 hardcode_runpath_var
=yes
22269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22270 no_undefined_flag_F77
='${wl}-z,text'
22271 archive_cmds_need_lc_F77
=no
22272 hardcode_shlibpath_var_F77
=no
22273 runpath_var
='LD_RUN_PATH'
22275 if test "$GCC" = yes; then
22276 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22277 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22279 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22280 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22284 sysv5
* | sco3.2v5
* | sco5v6
*)
22285 # Note: We can NOT use -z defs as we might desire, because we do not
22286 # link with -lc, and that would cause any symbols used from libc to
22287 # always be unresolved, which means just about no library would
22288 # ever link correctly. If we're not using GNU ld we use -z text
22289 # though, which does catch some bad symbols but isn't as heavy-handed
22291 no_undefined_flag_F77
='${wl}-z,text'
22292 allow_undefined_flag_F77
='${wl}-z,nodefs'
22293 archive_cmds_need_lc_F77
=no
22294 hardcode_shlibpath_var_F77
=no
22295 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22296 hardcode_libdir_separator_F77
=':'
22297 link_all_deplibs_F77
=yes
22298 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22299 runpath_var
='LD_RUN_PATH'
22301 if test "$GCC" = yes; then
22302 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22303 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22305 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22306 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22311 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22312 hardcode_libdir_flag_spec_F77
='-L$libdir'
22313 hardcode_shlibpath_var_F77
=no
22322 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22323 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22324 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22327 # Do we need to explicitly link libc?
22329 case "x$archive_cmds_need_lc_F77" in
22331 # Assume -lc should be added
22332 archive_cmds_need_lc_F77
=yes
22334 if test "$enable_shared" = yes && test "$GCC" = yes; then
22335 case $archive_cmds_F77 in
22337 # FIXME: we may have to deal with multi-command sequences.
22340 # Test whether the compiler implicitly links with -lc since on some
22341 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22342 # to ld, don't add -lc before -lgcc.
22343 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22344 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22346 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22349 (eval $ac_compile) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } 2>conftest.err
; then
22355 libobjs
=conftest.
$ac_objext
22357 wl
=$lt_prog_compiler_wl_F77
22358 pic_flag
=$lt_prog_compiler_pic_F77
22364 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22365 allow_undefined_flag_F77
=
22366 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22367 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }
22372 archive_cmds_need_lc_F77
=no
22374 archive_cmds_need_lc_F77
=yes
22376 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22378 cat conftest.err
1>&5
22381 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22382 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22389 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22390 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22391 library_names_spec
=
22392 libname_spec
='lib$name'
22396 postuninstall_cmds
=
22400 shlibpath_overrides_runpath
=unknown
22402 dynamic_linker
="$host_os ld.so"
22403 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22404 if test "$GCC" = yes; then
22405 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22406 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22407 # if the path contains ";" then we assume it to be the separator
22408 # otherwise default to the standard path separator (i.e. ":") - it is
22409 # assumed that no part of a normal pathname contains ";" but that should
22410 # okay in the real world where ";" in dirpaths is itself problematic.
22411 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22413 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22416 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22418 need_lib_prefix
=unknown
22419 hardcode_into_libs
=no
22421 # when you set need_version to no, make sure it does not cause -set_version
22422 # flags to be left without arguments
22423 need_version
=unknown
22428 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22429 shlibpath_var
=LIBPATH
22431 # AIX 3 has no versioning support, so we append a major version to the name.
22432 soname_spec
='${libname}${release}${shared_ext}$major'
22439 hardcode_into_libs
=yes
22440 if test "$host_cpu" = ia64
; then
22441 # AIX 5 supports IA64
22442 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22443 shlibpath_var
=LD_LIBRARY_PATH
22445 # With GCC up to 2.95.x, collect2 would create an import file
22446 # for dependence libraries. The import file would start with
22447 # the line `#! .'. This would cause the generated library to
22448 # depend on `.', always an invalid library. This was fixed in
22449 # development snapshots of GCC prior to 3.0.
22451 aix4 | aix4.
[01] | aix4.
[01].
*)
22452 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22454 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22457 can_build_shared
=no
22461 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22462 # soname into executable. Probably we can add versioning support to
22463 # collect2, so additional links can be useful in future.
22464 if test "$aix_use_runtimelinking" = yes; then
22465 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22466 # instead of lib<name>.a to let people know that these are not
22467 # typical AIX shared libraries.
22468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22470 # We preserve .a as extension for shared libraries through AIX4.2
22471 # and later when we are not doing run time linking.
22472 library_names_spec
='${libname}${release}.a $libname.a'
22473 soname_spec
='${libname}${release}${shared_ext}$major'
22475 shlibpath_var
=LIBPATH
22480 library_names_spec
='$libname.ixlibrary $libname.a'
22481 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22482 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'
22486 library_names_spec
='${libname}${shared_ext}'
22487 dynamic_linker
="$host_os ld.so"
22488 shlibpath_var
=LIBRARY_PATH
22494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22495 soname_spec
='${libname}${release}${shared_ext}$major'
22496 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22497 shlibpath_var
=LD_LIBRARY_PATH
22498 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22499 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22500 # the default ld.so.conf also contains /usr/contrib/lib and
22501 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22502 # libtool to hard-code these into programs
22505 cygwin
* | mingw
* | pw32
*)
22506 version_type
=windows
22511 case $GCC,$host_os in
22512 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22513 library_names_spec
='$libname.dll.a'
22514 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22515 postinstall_cmds
='base_file=`basename \${file}`~
22516 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22517 dldir=$destdir/`dirname \$dlpath`~
22518 test -d \$dldir || mkdir -p \$dldir~
22519 $install_prog $dir/$dlname \$dldir/$dlname~
22520 chmod a+x \$dldir/$dlname'
22521 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22522 dlpath=$dir/\$dldll~
22524 shlibpath_overrides_runpath
=yes
22528 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22529 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22530 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22533 # MinGW DLLs use traditional 'lib' prefix
22534 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22535 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22536 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22537 # It is most probably a Windows format PATH printed by
22538 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22539 # path with ; separators, and with drive letters. We can handle the
22540 # drive letters (cygwin fileutils understands them), so leave them,
22541 # especially as we might pass files found there to a mingw objdump,
22542 # which wouldn't understand a cygwinified path. Ahh.
22543 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22545 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22549 # pw32 DLLs use 'pw' prefix rather than 'lib'
22550 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22556 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22559 dynamic_linker
='Win32 ld.exe'
22560 # FIXME: first we should search . and the directory the executable is in
22564 darwin
* | rhapsody
*)
22565 dynamic_linker
="$host_os dyld"
22566 version_type
=darwin
22569 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22570 soname_spec
='${libname}${release}${major}$shared_ext'
22571 shlibpath_overrides_runpath
=yes
22572 shlibpath_var
=DYLD_LIBRARY_PATH
22573 shrext_cmds
='.dylib'
22574 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22575 if test "$GCC" = yes; then
22576 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"`
22578 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22580 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22588 soname_spec
='${libname}${release}${shared_ext}$major'
22589 shlibpath_var
=LD_LIBRARY_PATH
22600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22601 soname_spec
='${libname}${release}${shared_ext}$major'
22602 shlibpath_var
=LD_LIBRARY_PATH
22603 shlibpath_overrides_runpath
=no
22604 hardcode_into_libs
=yes
22605 dynamic_linker
='GNU ld.so'
22608 freebsd
* | dragonfly
*)
22609 # DragonFly does not have aout. When/if they implement a new
22610 # versioning mechanism, adjust this.
22611 if test -x /usr
/bin
/objformat
; then
22612 objformat
=`/usr/bin/objformat`
22615 freebsd
[123]*) objformat
=aout
;;
22616 *) objformat
=elf
;;
22619 version_type
=freebsd-
$objformat
22620 case $version_type in
22622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22627 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22631 shlibpath_var
=LD_LIBRARY_PATH
22634 shlibpath_overrides_runpath
=yes
22636 freebsd3.
[01]* | freebsdelf3.
[01]*)
22637 shlibpath_overrides_runpath
=yes
22638 hardcode_into_libs
=yes
22640 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22641 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22642 shlibpath_overrides_runpath
=no
22643 hardcode_into_libs
=yes
22645 freebsd
*) # from 4.6 on
22646 shlibpath_overrides_runpath
=yes
22647 hardcode_into_libs
=yes
22656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22657 soname_spec
='${libname}${release}${shared_ext}$major'
22658 shlibpath_var
=LD_LIBRARY_PATH
22659 hardcode_into_libs
=yes
22662 hpux9
* | hpux10
* | hpux11
*)
22663 # Give a soname corresponding to the major version so that dld.sl refuses to
22664 # link against other versions.
22671 hardcode_into_libs
=yes
22672 dynamic_linker
="$host_os dld.so"
22673 shlibpath_var
=LD_LIBRARY_PATH
22674 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22676 soname_spec
='${libname}${release}${shared_ext}$major'
22677 if test "X$HPUX_IA64_MODE" = X32
; then
22678 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22680 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22682 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22686 hardcode_into_libs
=yes
22687 dynamic_linker
="$host_os dld.sl"
22688 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22689 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22691 soname_spec
='${libname}${release}${shared_ext}$major'
22692 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22693 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22697 dynamic_linker
="$host_os dld.sl"
22698 shlibpath_var
=SHLIB_PATH
22699 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22701 soname_spec
='${libname}${release}${shared_ext}$major'
22704 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22705 postinstall_cmds
='chmod 555 $lib'
22712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22713 soname_spec
='${libname}${release}${shared_ext}$major'
22714 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22715 shlibpath_var
=LD_LIBRARY_PATH
22716 shlibpath_overrides_runpath
=no
22717 hardcode_into_libs
=yes
22720 irix5
* | irix6
* | nonstopux
*)
22722 nonstopux
*) version_type
=nonstopux
;;
22724 if test "$lt_cv_prog_gnu_ld" = yes; then
22732 soname_spec
='${libname}${release}${shared_ext}$major'
22733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22735 irix5
* | nonstopux
*)
22736 libsuff
= shlibsuff
=
22739 case $LD in # libtool.m4 will add one of these switches to LD
22740 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22741 libsuff
= shlibsuff
= libmagic
=32-bit;;
22742 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22743 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22744 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22745 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22746 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22750 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22751 shlibpath_overrides_runpath
=no
22752 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22753 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22754 hardcode_into_libs
=yes
22757 # No shared lib support for Linux oldld, aout, or coff.
22758 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22762 # This must be Linux ELF.
22767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22768 soname_spec
='${libname}${release}${shared_ext}$major'
22769 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22770 shlibpath_var
=LD_LIBRARY_PATH
22771 shlibpath_overrides_runpath
=no
22772 # This implies no fast_install, which is unacceptable.
22773 # Some rework will be needed to allow for fast_install
22774 # before this can be enabled.
22775 hardcode_into_libs
=yes
22777 # Append ld.so.conf contents to the search path
22778 if test -f /etc
/ld.so.conf
; then
22779 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' ' '`
22780 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22783 # We used to test for /lib/ld.so.1 and disable shared libraries on
22784 # powerpc, because MkLinux only supported shared libraries with the
22785 # GNU dynamic linker. Since this was broken with cross compilers,
22786 # most powerpc-linux boxes support dynamic linking these days and
22787 # people can always --disable-shared, the test was removed, and we
22788 # assume the GNU/Linux dynamic linker is in use.
22789 dynamic_linker
='GNU/Linux ld.so'
22796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22797 soname_spec
='${libname}${release}${shared_ext}$major'
22798 shlibpath_var
=LD_LIBRARY_PATH
22799 shlibpath_overrides_runpath
=no
22800 hardcode_into_libs
=yes
22801 dynamic_linker
='GNU ld.so'
22808 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22810 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22811 dynamic_linker
='NetBSD (a.out) ld.so'
22813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22814 soname_spec
='${libname}${release}${shared_ext}$major'
22815 dynamic_linker
='NetBSD ld.elf_so'
22817 shlibpath_var
=LD_LIBRARY_PATH
22818 shlibpath_overrides_runpath
=yes
22819 hardcode_into_libs
=yes
22824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22825 shlibpath_var
=LD_LIBRARY_PATH
22826 shlibpath_overrides_runpath
=yes
22833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22834 soname_spec
='${libname}${release}${shared_ext}$major'
22835 shlibpath_var
=LD_LIBRARY_PATH
22836 shlibpath_overrides_runpath
=yes
22841 sys_lib_dlsearch_path_spec
="/usr/lib"
22843 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22845 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
22846 *) need_version
=no
;;
22848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22849 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22850 shlibpath_var
=LD_LIBRARY_PATH
22851 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22853 openbsd2.
[89] | openbsd2.
[89].
*)
22854 shlibpath_overrides_runpath
=no
22857 shlibpath_overrides_runpath
=yes
22861 shlibpath_overrides_runpath
=yes
22866 libname_spec
='$name'
22869 library_names_spec
='$libname${shared_ext} $libname.a'
22870 dynamic_linker
='OS/2 ld.exe'
22871 shlibpath_var
=LIBPATH
22874 osf3
* | osf4
* | osf5
*)
22878 soname_spec
='${libname}${release}${shared_ext}$major'
22879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22880 shlibpath_var
=LD_LIBRARY_PATH
22881 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22882 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
22889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22890 soname_spec
='${libname}${release}${shared_ext}$major'
22891 shlibpath_var
=LD_LIBRARY_PATH
22892 shlibpath_overrides_runpath
=yes
22893 hardcode_into_libs
=yes
22894 # ldd complains unless libraries are executable
22895 postinstall_cmds
='chmod +x $lib'
22900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22901 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22902 shlibpath_var
=LD_LIBRARY_PATH
22903 shlibpath_overrides_runpath
=yes
22904 if test "$with_gnu_ld" = yes; then
22912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22913 soname_spec
='${libname}${release}${shared_ext}$major'
22914 shlibpath_var
=LD_LIBRARY_PATH
22915 case $host_vendor in
22917 shlibpath_overrides_runpath
=no
22919 export_dynamic_flag_spec
='${wl}-Blargedynsym'
22920 runpath_var
=LD_RUN_PATH
22928 shlibpath_overrides_runpath
=no
22929 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
22935 if test -d /usr
/nec
;then
22937 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22938 soname_spec
='$libname${shared_ext}.$major'
22939 shlibpath_var
=LD_LIBRARY_PATH
22943 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
22944 version_type
=freebsd-elf
22947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22948 soname_spec
='${libname}${release}${shared_ext}$major'
22949 shlibpath_var
=LD_LIBRARY_PATH
22950 hardcode_into_libs
=yes
22951 if test "$with_gnu_ld" = yes; then
22952 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22953 shlibpath_overrides_runpath
=no
22955 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
22956 shlibpath_overrides_runpath
=yes
22959 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
22963 sys_lib_dlsearch_path_spec
='/usr/lib'
22968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22969 soname_spec
='${libname}${release}${shared_ext}$major'
22970 shlibpath_var
=LD_LIBRARY_PATH
22977 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22978 echo "${ECHO_T}$dynamic_linker" >&6; }
22979 test "$dynamic_linker" = no
&& can_build_shared
=no
22981 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
22982 if test "$GCC" = yes; then
22983 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22986 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22987 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
22988 hardcode_action_F77
=
22989 if test -n "$hardcode_libdir_flag_spec_F77" || \
22990 test -n "$runpath_var_F77" || \
22991 test "X$hardcode_automatic_F77" = "Xyes" ; then
22993 # We can hardcode non-existant directories.
22994 if test "$hardcode_direct_F77" != no
&&
22995 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22996 # have to relink, otherwise we might link with an installed library
22997 # when we should be linking with a yet-to-be-installed one
22998 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
22999 test "$hardcode_minus_L_F77" != no
; then
23000 # Linking always hardcodes the temporary library directory.
23001 hardcode_action_F77
=relink
23003 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23004 hardcode_action_F77
=immediate
23007 # We cannot hardcode anything, or else we can only hardcode existing
23009 hardcode_action_F77
=unsupported
23011 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23012 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23014 if test "$hardcode_action_F77" = relink
; then
23015 # Fast installation is not supported
23016 enable_fast_install
=no
23017 elif test "$shlibpath_overrides_runpath" = yes ||
23018 test "$enable_shared" = no
; then
23019 # Fast installation is not necessary
23020 enable_fast_install
=needless
23024 # The else clause should only fire when bootstrapping the
23025 # libtool distribution, otherwise you forgot to ship ltmain.sh
23026 # with your package, and you will get complaints that there are
23027 # no rules to generate ltmain.sh.
23028 if test -f "$ltmain"; then
23029 # See if we are running on zsh, and set the options which allow our commands through
23030 # without removal of \ escapes.
23031 if test -n "${ZSH_VERSION+set}" ; then
23032 setopt NO_GLOB_SUBST
23034 # Now quote all the things that may contain metacharacters while being
23035 # careful not to overquote the AC_SUBSTed values. We take copies of the
23036 # variables and quote the copies for generation of the libtool script.
23037 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23039 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23040 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23041 deplibs_check_method reload_flag reload_cmds need_locks \
23042 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23043 lt_cv_sys_global_symbol_to_c_name_address \
23044 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23045 old_postinstall_cmds old_postuninstall_cmds \
23049 lt_prog_compiler_wl_F77 \
23050 lt_prog_compiler_pic_F77 \
23051 lt_prog_compiler_static_F77 \
23052 lt_prog_compiler_no_builtin_flag_F77 \
23053 export_dynamic_flag_spec_F77 \
23054 thread_safe_flag_spec_F77 \
23055 whole_archive_flag_spec_F77 \
23056 enable_shared_with_static_runtimes_F77 \
23057 old_archive_cmds_F77 \
23058 old_archive_from_new_cmds_F77 \
23059 predep_objects_F77 \
23060 postdep_objects_F77 \
23063 compiler_lib_search_path_F77 \
23065 archive_expsym_cmds_F77 \
23066 postinstall_cmds_F77 \
23067 postuninstall_cmds_F77 \
23068 old_archive_from_expsyms_cmds_F77 \
23069 allow_undefined_flag_F77 \
23070 no_undefined_flag_F77 \
23071 export_symbols_cmds_F77 \
23072 hardcode_libdir_flag_spec_F77 \
23073 hardcode_libdir_flag_spec_ld_F77 \
23074 hardcode_libdir_separator_F77 \
23075 hardcode_automatic_F77 \
23077 module_expsym_cmds_F77 \
23078 lt_cv_prog_compiler_c_o_F77 \
23079 exclude_expsyms_F77 \
23080 include_expsyms_F77
; do
23083 old_archive_cmds_F77 | \
23084 old_archive_from_new_cmds_F77 | \
23085 archive_cmds_F77 | \
23086 archive_expsym_cmds_F77 | \
23087 module_cmds_F77 | \
23088 module_expsym_cmds_F77 | \
23089 old_archive_from_expsyms_cmds_F77 | \
23090 export_symbols_cmds_F77 | \
23091 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23092 postinstall_cmds | postuninstall_cmds | \
23093 old_postinstall_cmds | old_postuninstall_cmds | \
23094 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23095 # Double-quote double-evaled strings.
23096 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23099 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23105 *'\$0 --fallback-echo"')
23106 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23112 cat <<__EOF__ >> "$cfgfile"
23113 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23115 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23117 # Shell to use when invoking shell scripts.
23120 # Whether or not to build shared libraries.
23121 build_libtool_libs=$enable_shared
23123 # Whether or not to build static libraries.
23124 build_old_libs=$enable_static
23126 # Whether or not to add -lc for building shared libraries.
23127 build_libtool_need_lc=$archive_cmds_need_lc_F77
23129 # Whether or not to disallow shared libs when runtime libs are static
23130 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23132 # Whether or not to optimize for fast installation.
23133 fast_install=$enable_fast_install
23136 host_alias=$host_alias
23140 # The build system.
23141 build_alias=$build_alias
23145 # An echo program that does not interpret backslashes.
23150 AR_FLAGS=$lt_AR_FLAGS
23155 # LTCC compiler flags.
23156 LTCFLAGS=$lt_LTCFLAGS
23158 # A language-specific compiler.
23159 CC=$lt_compiler_F77
23161 # Is the compiler the GNU C compiler?
23167 # The linker used to build libraries.
23170 # Whether we need hard or soft links.
23173 # A BSD-compatible nm program.
23176 # A symbol stripping program
23179 # Used to examine libraries when file_magic_cmd begins "file"
23180 MAGIC_CMD=$MAGIC_CMD
23182 # Used on cygwin: DLL creation program.
23185 # Used on cygwin: object dumper.
23188 # Used on cygwin: assembler.
23191 # The name of the directory that contains temporary libtool files.
23194 # How to create reloadable object files.
23195 reload_flag=$lt_reload_flag
23196 reload_cmds=$lt_reload_cmds
23198 # How to pass a linker flag through the compiler.
23199 wl=$lt_lt_prog_compiler_wl_F77
23201 # Object file suffix (normally "o").
23202 objext="$ac_objext"
23204 # Old archive suffix (normally "a").
23207 # Shared library suffix (normally ".so").
23208 shrext_cmds='$shrext_cmds'
23210 # Executable file suffix (normally "").
23213 # Additional compiler flags for building library objects.
23214 pic_flag=$lt_lt_prog_compiler_pic_F77
23217 # What is the maximum length of a command?
23218 max_cmd_len=$lt_cv_sys_max_cmd_len
23220 # Does compiler simultaneously support -c and -o options?
23221 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23223 # Must we lock files when doing compilation?
23224 need_locks=$lt_need_locks
23226 # Do we need the lib prefix for modules?
23227 need_lib_prefix=$need_lib_prefix
23229 # Do we need a version for libraries?
23230 need_version=$need_version
23232 # Whether dlopen is supported.
23233 dlopen_support=$enable_dlopen
23235 # Whether dlopen of programs is supported.
23236 dlopen_self=$enable_dlopen_self
23238 # Whether dlopen of statically linked programs is supported.
23239 dlopen_self_static=$enable_dlopen_self_static
23241 # Compiler flag to prevent dynamic linking.
23242 link_static_flag=$lt_lt_prog_compiler_static_F77
23244 # Compiler flag to turn off builtin functions.
23245 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23247 # Compiler flag to allow reflexive dlopens.
23248 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23250 # Compiler flag to generate shared objects directly from archives.
23251 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23253 # Compiler flag to generate thread-safe objects.
23254 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23256 # Library versioning type.
23257 version_type=$version_type
23259 # Format of library name prefix.
23260 libname_spec=$lt_libname_spec
23262 # List of archive names. First name is the real one, the rest are links.
23263 # The last name is the one that the linker finds with -lNAME.
23264 library_names_spec=$lt_library_names_spec
23266 # The coded name of the library, if different from the real name.
23267 soname_spec=$lt_soname_spec
23269 # Commands used to build and install an old-style archive.
23271 old_archive_cmds=$lt_old_archive_cmds_F77
23272 old_postinstall_cmds=$lt_old_postinstall_cmds
23273 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23275 # Create an old-style archive from a shared archive.
23276 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23278 # Create a temporary old-style archive to link instead of a shared archive.
23279 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23281 # Commands used to build and install a shared archive.
23282 archive_cmds=$lt_archive_cmds_F77
23283 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23284 postinstall_cmds=$lt_postinstall_cmds
23285 postuninstall_cmds=$lt_postuninstall_cmds
23287 # Commands used to build a loadable module (assumed same as above if empty)
23288 module_cmds=$lt_module_cmds_F77
23289 module_expsym_cmds=$lt_module_expsym_cmds_F77
23291 # Commands to strip libraries.
23292 old_striplib=$lt_old_striplib
23293 striplib=$lt_striplib
23295 # Dependencies to place before the objects being linked to create a
23297 predep_objects=$lt_predep_objects_F77
23299 # Dependencies to place after the objects being linked to create a
23301 postdep_objects=$lt_postdep_objects_F77
23303 # Dependencies to place before the objects being linked to create a
23305 predeps=$lt_predeps_F77
23307 # Dependencies to place after the objects being linked to create a
23309 postdeps=$lt_postdeps_F77
23311 # The library search path used internally by the compiler when linking
23312 # a shared library.
23313 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23315 # Method to check whether dependent libraries are shared objects.
23316 deplibs_check_method=$lt_deplibs_check_method
23318 # Command to use when deplibs_check_method == file_magic.
23319 file_magic_cmd=$lt_file_magic_cmd
23321 # Flag that allows shared libraries with undefined symbols to be built.
23322 allow_undefined_flag=$lt_allow_undefined_flag_F77
23324 # Flag that forces no undefined symbols.
23325 no_undefined_flag=$lt_no_undefined_flag_F77
23327 # Commands used to finish a libtool library installation in a directory.
23328 finish_cmds=$lt_finish_cmds
23330 # Same as above, but a single script fragment to be evaled but not shown.
23331 finish_eval=$lt_finish_eval
23333 # Take the output of nm and produce a listing of raw symbols and C names.
23334 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23336 # Transform the output of nm in a proper C declaration
23337 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23339 # Transform the output of nm in a C name address pair
23340 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23342 # This is the shared library runtime path variable.
23343 runpath_var=$runpath_var
23345 # This is the shared library path variable.
23346 shlibpath_var=$shlibpath_var
23348 # Is shlibpath searched before the hard-coded library search path?
23349 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23351 # How to hardcode a shared library path into an executable.
23352 hardcode_action=$hardcode_action_F77
23354 # Whether we should hardcode library paths into libraries.
23355 hardcode_into_libs=$hardcode_into_libs
23357 # Flag to hardcode \$libdir into a binary during linking.
23358 # This must work even if \$libdir does not exist.
23359 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23361 # If ld is used when linking, flag to hardcode \$libdir into
23362 # a binary during linking. This must work even if \$libdir does
23364 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23366 # Whether we need a single -rpath flag with a separated argument.
23367 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23369 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23370 # resulting binary.
23371 hardcode_direct=$hardcode_direct_F77
23373 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23374 # resulting binary.
23375 hardcode_minus_L=$hardcode_minus_L_F77
23377 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23378 # the resulting binary.
23379 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23381 # Set to yes if building a shared library automatically hardcodes DIR into the library
23382 # and all subsequent libraries and executables linked against it.
23383 hardcode_automatic=$hardcode_automatic_F77
23385 # Variables whose values should be saved in libtool wrapper scripts and
23386 # restored at relink time.
23387 variables_saved_for_relink="$variables_saved_for_relink"
23389 # Whether libtool must link a program against all its dependency libraries.
23390 link_all_deplibs=$link_all_deplibs_F77
23392 # Compile-time system search path for libraries
23393 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23395 # Run-time system search path for libraries
23396 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23398 # Fix the shell variable \$srcfile for the compiler.
23399 fix_srcfile_path="$fix_srcfile_path_F77"
23401 # Set to yes if exported symbols are required.
23402 always_export_symbols=$always_export_symbols_F77
23404 # The commands to list exported symbols.
23405 export_symbols_cmds=$lt_export_symbols_cmds_F77
23407 # The commands to extract the exported symbol list from a shared archive.
23408 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23410 # Symbols that should not be listed in the preloaded symbols.
23411 exclude_expsyms=$lt_exclude_expsyms_F77
23413 # Symbols that must always be exported.
23414 include_expsyms=$lt_include_expsyms_F77
23416 # ### END LIBTOOL TAG CONFIG: $tagname
23422 # If there is no Makefile yet, we rely on a make rule to execute
23423 # `config.status --recheck' to rerun these tests and create the
23424 # libtool script then.
23425 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23426 if test -f "$ltmain_in"; then
23427 test -f Makefile
&& make "$ltmain"
23433 ac_cpp
='$CPP $CPPFLAGS'
23434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23446 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23448 ac_cpp
='$CPP $CPPFLAGS'
23449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23454 # Source file extension for Java test sources.
23457 # Object file extension for compiled Java test sources.
23461 # Code to be used in simple compile tests
23462 lt_simple_compile_test_code
="class foo {}\n"
23464 # Code to be used in simple link tests
23465 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23467 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23469 # If no C compiler was specified, use CC.
23472 # If no C compiler flags were specified, use CFLAGS.
23473 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23475 # Allow CC to be a program name with arguments.
23479 # save warnings/boilerplate of simple test code
23480 ac_outfile
=conftest.
$ac_objext
23481 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23482 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23483 _lt_compiler_boilerplate
=`cat conftest.err`
23486 ac_outfile
=conftest.
$ac_objext
23487 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23488 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23489 _lt_linker_boilerplate
=`cat conftest.err`
23493 # Allow CC to be a program name with arguments.
23498 for cc_temp
in $compiler""; do
23500 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23501 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23506 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23509 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23510 archive_cmds_need_lc_GCJ
=no
23512 old_archive_cmds_GCJ
=$old_archive_cmds
23515 lt_prog_compiler_no_builtin_flag_GCJ
=
23517 if test "$GCC" = yes; then
23518 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23521 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23522 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23523 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23524 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 lt_cv_prog_compiler_rtti_exceptions
=no
23527 ac_outfile
=conftest.
$ac_objext
23528 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23529 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23530 # Insert the option either (1) after the last *FLAGS variable, or
23531 # (2) before a word containing "conftest.", or (3) at the end.
23532 # Note that $ac_compile itself does not contain backslashes and begins
23533 # with a dollar sign (not a hyphen), so the echo should work correctly.
23534 # The option is referenced via a variable to avoid confusing sed.
23535 lt_compile
=`echo "$ac_compile" | $SED \
23536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23538 -e 's:$: $lt_compiler_flag:'`
23539 (eval echo "\"\$as_me:23539: $lt_compile\"" >&5)
23540 (eval "$lt_compile" 2>conftest.err
)
23542 cat conftest.err
>&5
23543 echo "$as_me:23543: \$? = $ac_status" >&5
23544 if (exit $ac_status) && test -s "$ac_outfile"; then
23545 # The compiler can only warn and ignore the option if not recognized
23546 # So say no if there are warnings other than the usual output.
23547 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23548 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23549 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23550 lt_cv_prog_compiler_rtti_exceptions
=yes
23556 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23557 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23559 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23560 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23567 lt_prog_compiler_wl_GCJ
=
23568 lt_prog_compiler_pic_GCJ
=
23569 lt_prog_compiler_static_GCJ
=
23571 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23572 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23574 if test "$GCC" = yes; then
23575 lt_prog_compiler_wl_GCJ
='-Wl,'
23576 lt_prog_compiler_static_GCJ
='-static'
23580 # All AIX code is PIC.
23581 if test "$host_cpu" = ia64
; then
23582 # AIX 5 now supports IA64 processor
23583 lt_prog_compiler_static_GCJ
='-Bstatic'
23588 # FIXME: we need at least 68020 code to build shared libraries, but
23589 # adding the `-m68020' flag to GCC prevents building anything better,
23591 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23594 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23595 # PIC is the default for these OSes.
23598 mingw
* | pw32
* | os2
*)
23599 # This hack is so that the source file can tell whether it is being
23600 # built for inclusion in a dll (and should export symbols for example).
23601 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23604 darwin
* | rhapsody
*)
23605 # PIC is the default on this platform
23606 # Common symbols not allowed in MH_DYLIB files
23607 lt_prog_compiler_pic_GCJ
='-fno-common'
23611 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23612 # Instead, we relocate shared libraries at runtime.
23616 # Just because we use GCC doesn't mean we suddenly get shared libraries
23617 # on systems that don't support them.
23618 lt_prog_compiler_can_build_shared_GCJ
=no
23623 if test -d /usr
/nec
; then
23624 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23630 # not for PA HP-UX.
23636 lt_prog_compiler_pic_GCJ
='-fPIC'
23642 lt_prog_compiler_pic_GCJ
='-fPIC'
23646 # PORTME Check for flag to pass linker flags through the system compiler.
23649 lt_prog_compiler_wl_GCJ
='-Wl,'
23650 if test "$host_cpu" = ia64
; then
23651 # AIX 5 now supports IA64 processor
23652 lt_prog_compiler_static_GCJ
='-Bstatic'
23654 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23658 # PIC is the default on this platform
23659 # Common symbols not allowed in MH_DYLIB files
23660 case $cc_basename in
23662 lt_prog_compiler_pic_GCJ
='-qnocommon'
23663 lt_prog_compiler_wl_GCJ
='-Wl,'
23668 mingw
* | pw32
* | os2
*)
23669 # This hack is so that the source file can tell whether it is being
23670 # built for inclusion in a dll (and should export symbols for example).
23671 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23674 hpux9
* | hpux10
* | hpux11
*)
23675 lt_prog_compiler_wl_GCJ
='-Wl,'
23676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23677 # not for PA HP-UX.
23683 lt_prog_compiler_pic_GCJ
='+Z'
23686 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23687 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23690 irix5
* | irix6
* | nonstopux
*)
23691 lt_prog_compiler_wl_GCJ
='-Wl,'
23692 # PIC (with -KPIC) is the default.
23693 lt_prog_compiler_static_GCJ
='-non_shared'
23697 lt_prog_compiler_pic_GCJ
='-KPIC'
23698 lt_prog_compiler_static_GCJ
='-Bstatic'
23702 case $cc_basename in
23704 lt_prog_compiler_wl_GCJ
='-Wl,'
23705 lt_prog_compiler_pic_GCJ
='-KPIC'
23706 lt_prog_compiler_static_GCJ
='-static'
23708 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23709 # Portland Group compilers (*not* the Pentium gcc compiler,
23710 # which looks to be a dead project)
23711 lt_prog_compiler_wl_GCJ
='-Wl,'
23712 lt_prog_compiler_pic_GCJ
='-fpic'
23713 lt_prog_compiler_static_GCJ
='-Bstatic'
23716 lt_prog_compiler_wl_GCJ
='-Wl,'
23717 # All Alpha code is PIC.
23718 lt_prog_compiler_static_GCJ
='-non_shared'
23723 osf3
* | osf4
* | osf5
*)
23724 lt_prog_compiler_wl_GCJ
='-Wl,'
23725 # All OSF/1 code is PIC.
23726 lt_prog_compiler_static_GCJ
='-non_shared'
23730 lt_prog_compiler_pic_GCJ
='-KPIC'
23731 lt_prog_compiler_static_GCJ
='-Bstatic'
23732 case $cc_basename in
23733 f77
* | f90
* | f95
*)
23734 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23736 lt_prog_compiler_wl_GCJ
='-Wl,';;
23741 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23742 lt_prog_compiler_pic_GCJ
='-PIC'
23743 lt_prog_compiler_static_GCJ
='-Bstatic'
23746 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23747 lt_prog_compiler_wl_GCJ
='-Wl,'
23748 lt_prog_compiler_pic_GCJ
='-KPIC'
23749 lt_prog_compiler_static_GCJ
='-Bstatic'
23753 if test -d /usr
/nec
;then
23754 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23755 lt_prog_compiler_static_GCJ
='-Bstatic'
23759 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23760 lt_prog_compiler_wl_GCJ
='-Wl,'
23761 lt_prog_compiler_pic_GCJ
='-KPIC'
23762 lt_prog_compiler_static_GCJ
='-Bstatic'
23766 lt_prog_compiler_wl_GCJ
='-Wl,'
23767 lt_prog_compiler_can_build_shared_GCJ
=no
23771 lt_prog_compiler_pic_GCJ
='-pic'
23772 lt_prog_compiler_static_GCJ
='-Bstatic'
23776 lt_prog_compiler_can_build_shared_GCJ
=no
23781 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23782 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23785 # Check to make sure the PIC flag actually works.
23787 if test -n "$lt_prog_compiler_pic_GCJ"; then
23789 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23790 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23791 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23794 lt_prog_compiler_pic_works_GCJ
=no
23795 ac_outfile
=conftest.
$ac_objext
23796 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23797 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23798 # Insert the option either (1) after the last *FLAGS variable, or
23799 # (2) before a word containing "conftest.", or (3) at the end.
23800 # Note that $ac_compile itself does not contain backslashes and begins
23801 # with a dollar sign (not a hyphen), so the echo should work correctly.
23802 # The option is referenced via a variable to avoid confusing sed.
23803 lt_compile
=`echo "$ac_compile" | $SED \
23804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23806 -e 's:$: $lt_compiler_flag:'`
23807 (eval echo "\"\$as_me:23807: $lt_compile\"" >&5)
23808 (eval "$lt_compile" 2>conftest.err
)
23810 cat conftest.err
>&5
23811 echo "$as_me:23811: \$? = $ac_status" >&5
23812 if (exit $ac_status) && test -s "$ac_outfile"; then
23813 # The compiler can only warn and ignore the option if not recognized
23814 # So say no if there are warnings other than the usual output.
23815 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23816 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23817 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23818 lt_prog_compiler_pic_works_GCJ
=yes
23824 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
23825 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
23827 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
23828 case $lt_prog_compiler_pic_GCJ in
23830 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
23833 lt_prog_compiler_pic_GCJ
=
23834 lt_prog_compiler_can_build_shared_GCJ
=no
23839 # For platforms which do not support PIC, -DPIC is meaningless:
23841 lt_prog_compiler_pic_GCJ
=
23844 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
23849 # Check to make sure the static flag actually works.
23851 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
23852 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23853 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
23854 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23857 lt_prog_compiler_static_works_GCJ
=no
23858 save_LDFLAGS
="$LDFLAGS"
23859 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
23860 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
23861 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
23862 # The linker can only warn and ignore the option if not recognized
23863 # So say no if there are warnings
23864 if test -s conftest.err
; then
23865 # Append any errors to the config.log.
23866 cat conftest.err
1>&5
23867 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
23868 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23869 if diff conftest.exp conftest.er2
>/dev
/null
; then
23870 lt_prog_compiler_static_works_GCJ
=yes
23873 lt_prog_compiler_static_works_GCJ
=yes
23877 LDFLAGS
="$save_LDFLAGS"
23880 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
23881 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
23883 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
23886 lt_prog_compiler_static_GCJ
=
23890 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
23891 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
23892 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 lt_cv_prog_compiler_c_o_GCJ
=no
23896 $rm -r conftest
2>/dev
/null
23900 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23902 lt_compiler_flag
="-o out/conftest2.$ac_objext"
23903 # Insert the option either (1) after the last *FLAGS variable, or
23904 # (2) before a word containing "conftest.", or (3) at the end.
23905 # Note that $ac_compile itself does not contain backslashes and begins
23906 # with a dollar sign (not a hyphen), so the echo should work correctly.
23907 lt_compile
=`echo "$ac_compile" | $SED \
23908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23910 -e 's:$: $lt_compiler_flag:'`
23911 (eval echo "\"\$as_me:23911: $lt_compile\"" >&5)
23912 (eval "$lt_compile" 2>out
/conftest.err
)
23914 cat out
/conftest.err
>&5
23915 echo "$as_me:23915: \$? = $ac_status" >&5
23916 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
23918 # The compiler can only warn and ignore the option if not recognized
23919 # So say no if there are warnings
23920 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
23921 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
23922 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
23923 lt_cv_prog_compiler_c_o_GCJ
=yes
23928 # SGI C++ compiler will create directory out/ii_files/ for
23929 # template instantiation
23930 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
23931 $rm out
/* && rmdir out
23937 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
23938 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
23941 hard_links
="nottested"
23942 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
23943 # do not overwrite the value of need_locks provided by the user
23944 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
23945 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
23948 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
23950 ln conftest.a conftest.b
2>&5 || hard_links
=no
23951 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
23952 { echo "$as_me:$LINENO: result: $hard_links" >&5
23953 echo "${ECHO_T}$hard_links" >&6; }
23954 if test "$hard_links" = no
; then
23955 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23956 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23963 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23964 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
23967 allow_undefined_flag_GCJ
=
23968 enable_shared_with_static_runtimes_GCJ
=no
23970 archive_expsym_cmds_GCJ
=
23971 old_archive_From_new_cmds_GCJ
=
23972 old_archive_from_expsyms_cmds_GCJ
=
23973 export_dynamic_flag_spec_GCJ
=
23974 whole_archive_flag_spec_GCJ
=
23975 thread_safe_flag_spec_GCJ
=
23976 hardcode_libdir_flag_spec_GCJ
=
23977 hardcode_libdir_flag_spec_ld_GCJ
=
23978 hardcode_libdir_separator_GCJ
=
23979 hardcode_direct_GCJ
=no
23980 hardcode_minus_L_GCJ
=no
23981 hardcode_shlibpath_var_GCJ
=unsupported
23982 link_all_deplibs_GCJ
=unknown
23983 hardcode_automatic_GCJ
=no
23985 module_expsym_cmds_GCJ
=
23986 always_export_symbols_GCJ
=no
23987 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23988 # include_expsyms should be a list of space-separated symbols to be *always*
23989 # included in the symbol list
23990 include_expsyms_GCJ
=
23991 # exclude_expsyms can be an extended regexp of symbols to exclude
23992 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23993 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23994 # as well as any symbol that contains `d'.
23995 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
23996 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23997 # platforms (ab)use it in PIC code, but their linkers get confused if
23998 # the symbol is explicitly referenced. Since portable code cannot
23999 # rely on this symbol name, it's probably fine to never include it in
24000 # preloaded symbol tables.
24001 extract_expsyms_cmds
=
24002 # Just being paranoid about ensuring that cc_basename is set.
24003 for cc_temp
in $compiler""; do
24005 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24006 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24011 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24014 cygwin
* | mingw
* | pw32
*)
24015 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24016 # When not using gcc, we currently assume that we are using
24017 # Microsoft Visual C++.
24018 if test "$GCC" != yes; then
24023 # we just hope/assume this is gcc and not c89 (= MSVC++)
24032 if test "$with_gnu_ld" = yes; then
24033 # If archive_cmds runs LD, not CC, wlarc should be empty
24036 # Set some defaults for GNU ld with shared library support. These
24037 # are reset later if shared libraries are not supported. Putting them
24038 # here allows them to be overridden if necessary.
24039 runpath_var
=LD_RUN_PATH
24040 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24041 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24042 # ancient GNU ld didn't support --whole-archive et. al.
24043 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24044 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24046 whole_archive_flag_spec_GCJ
=
24048 supports_anon_versioning
=no
24049 case `$LD -v 2>/dev/null` in
24050 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24051 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24052 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24053 *\
2.11.
*) ;; # other 2.11 versions
24054 *) supports_anon_versioning
=yes ;;
24057 # See if GNU ld supports shared libraries.
24059 aix3
* | aix4
* | aix5
*)
24060 # On AIX/PPC, the GNU linker is very broken
24061 if test "$host_cpu" != ia64
; then
24065 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24066 *** to be unable to reliably create shared libraries on AIX.
24067 *** Therefore, libtool is disabling shared libraries support. If you
24068 *** really care for shared libraries, you may want to modify your PATH
24069 *** so that a non-GNU linker is found, and then restart.
24076 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)'
24077 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24078 hardcode_minus_L_GCJ
=yes
24080 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24081 # that the semantics of dynamic libraries on AmigaOS, at least up
24082 # to version 4, is to share data among multiple programs linked
24083 # with the same dynamic library. Since this doesn't match the
24084 # behavior of shared libraries on other platforms, we can't use
24090 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24091 allow_undefined_flag_GCJ
=unsupported
24092 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24093 # support --undefined. This deserves some investigation. FIXME
24094 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24100 cygwin
* | mingw
* | pw32
*)
24101 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24102 # as there is no search path for DLLs.
24103 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24104 allow_undefined_flag_GCJ
=unsupported
24105 always_export_symbols_GCJ
=no
24106 enable_shared_with_static_runtimes_GCJ
=yes
24107 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24109 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24110 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24111 # If the export-symbols file already is a .def file (1st line
24112 # is EXPORTS), use it as is; otherwise, prepend...
24113 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24114 cp $export_symbols $output_objdir/$soname.def;
24116 echo EXPORTS > $output_objdir/$soname.def;
24117 cat $export_symbols >> $output_objdir/$soname.def;
24119 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24126 hardcode_direct_GCJ
=no
24127 hardcode_shlibpath_var_GCJ
=no
24128 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24129 export_dynamic_flag_spec_GCJ
='${wl}-E'
24130 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24131 # Instead, shared libraries are loaded at an image base (0x10000000 by
24132 # default) and relocated if they conflict, which is a slow very memory
24133 # consuming and fragmenting process. To avoid this, we pick a random,
24134 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24135 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24136 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'
24137 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'
24141 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24143 case $cc_basename,$host_cpu in
24144 pgcc
*) # Portland Group C compiler
24145 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'
24146 tmp_addflag
=' $pic_flag'
24148 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24149 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'
24150 tmp_addflag
=' $pic_flag -Mnomain' ;;
24151 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24152 tmp_addflag
=' -i_dynamic' ;;
24153 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24154 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24155 ifc
* | ifort
*) # Intel Fortran compiler
24156 tmp_addflag
=' -nofor_main' ;;
24158 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24160 if test $supports_anon_versioning = yes; then
24161 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24162 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24163 $echo "local: *; };" >> $output_objdir/$libname.ver~
24164 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24172 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24173 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24176 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24177 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24182 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24186 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24187 *** create shared libraries on Solaris systems. Therefore, libtool
24188 *** is disabling shared libraries support. We urge you to upgrade GNU
24189 *** binutils to release 2.9.1 or newer. Another option is to modify
24190 *** your PATH or compiler configuration so that the native linker is
24191 *** used, and then restart.
24194 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24195 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24196 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24202 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24203 case `$LD -v 2>&1` in
24204 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24208 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24209 *** reliably create shared libraries on SCO systems. Therefore, libtool
24210 *** is disabling shared libraries support. We urge you to upgrade GNU
24211 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24212 *** your PATH or compiler configuration so that the native linker is
24213 *** used, and then restart.
24218 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24219 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24220 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24221 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24230 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24232 hardcode_direct_GCJ
=yes
24233 hardcode_shlibpath_var_GCJ
=no
24237 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24238 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24239 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24246 if test "$ld_shlibs_GCJ" = no
; then
24248 hardcode_libdir_flag_spec_GCJ
=
24249 export_dynamic_flag_spec_GCJ
=
24250 whole_archive_flag_spec_GCJ
=
24253 # PORTME fill in a description of your system's linker (not GNU ld)
24256 allow_undefined_flag_GCJ
=unsupported
24257 always_export_symbols_GCJ
=yes
24258 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'
24259 # Note: this linker hardcodes the directories in LIBPATH if there
24260 # are no directories specified by -L.
24261 hardcode_minus_L_GCJ
=yes
24262 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24263 # Neither direct hardcoding nor static linking is supported with a
24265 hardcode_direct_GCJ
=unsupported
24270 if test "$host_cpu" = ia64
; then
24271 # On IA64, the linker does run time linking by default, so we don't
24272 # have to do anything special.
24273 aix_use_runtimelinking
=no
24274 exp_sym_flag
='-Bexport'
24277 # If we're using GNU nm, then we don't want the "-C" option.
24278 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24279 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24280 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'
24282 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'
24284 aix_use_runtimelinking
=no
24286 # Test if we are trying to use run time linking or normal
24287 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24288 # need to do runtime linking.
24289 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24290 for ld_flag
in $LDFLAGS; do
24291 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24292 aix_use_runtimelinking
=yes
24299 exp_sym_flag
='-bexport'
24300 no_entry_flag
='-bnoentry'
24303 # When large executables or shared objects are built, AIX ld can
24304 # have problems creating the table of contents. If linking a library
24305 # or program results in "error TOC overflow" add -mminimal-toc to
24306 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24307 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24309 archive_cmds_GCJ
=''
24310 hardcode_direct_GCJ
=yes
24311 hardcode_libdir_separator_GCJ
=':'
24312 link_all_deplibs_GCJ
=yes
24314 if test "$GCC" = yes; then
24315 case $host_os in aix4.
[012]|aix4.
[012].
*)
24316 # We only want to do this on AIX 4.2 and lower, the check
24317 # below for broken collect2 doesn't work under 4.3+
24318 collect2name
=`${CC} -print-prog-name=collect2`
24319 if test -f "$collect2name" && \
24320 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24322 # We have reworked collect2
24323 hardcode_direct_GCJ
=yes
24325 # We have old collect2
24326 hardcode_direct_GCJ
=unsupported
24327 # It fails to find uninstalled libraries when the uninstalled
24328 # path is not listed in the libpath. Setting hardcode_minus_L
24329 # to unsupported forces relinking
24330 hardcode_minus_L_GCJ
=yes
24331 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24332 hardcode_libdir_separator_GCJ
=
24336 shared_flag
='-shared'
24337 if test "$aix_use_runtimelinking" = yes; then
24338 shared_flag
="$shared_flag "'${wl}-G'
24342 if test "$host_cpu" = ia64
; then
24343 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24344 # chokes on -Wl,-G. The following line is correct:
24347 if test "$aix_use_runtimelinking" = yes; then
24348 shared_flag
='${wl}-G'
24350 shared_flag
='${wl}-bM:SRE'
24355 # It seems that -bexpall does not export symbols beginning with
24356 # underscore (_), so it is better to generate a list of symbols to export.
24357 always_export_symbols_GCJ
=yes
24358 if test "$aix_use_runtimelinking" = yes; then
24359 # Warning - without using the other runtime loading flags (-brtl),
24360 # -berok will link without error, but may produce a broken library.
24361 allow_undefined_flag_GCJ
='-berok'
24362 # Determine the default libpath from the value encoded in an empty executable.
24363 cat >conftest.
$ac_ext <<_ACEOF
24366 cat confdefs.h
>>conftest.
$ac_ext
24367 cat >>conftest.
$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24378 rm -f conftest.
$ac_objext conftest
$ac_exeext
24379 if { (ac_try
="$ac_link"
24380 case "(($ac_try" in
24381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24382 *) ac_try_echo=$ac_try;;
24384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24385 (eval "$ac_link") 2>conftest.er1
24387 grep -v '^ *+' conftest.er1 >conftest.err
24389 cat conftest.err >&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); } &&
24392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24393 { (case "(($ac_try" in
24394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24395 *) ac_try_echo
=$ac_try;;
24397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24398 (eval "$ac_try") 2>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; } &&
24402 { ac_try
='test -s conftest$ac_exeext'
24403 { (case "(($ac_try" in
24404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_try") 2>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24413 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24415 # Check for a 64-bit object if we didn't find anything.
24416 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; }
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.$ac_ext >&5
24425 rm -f core conftest.err conftest.$ac_objext \
24426 conftest$ac_exeext conftest.$ac_ext
24427 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24429 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24430 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"
24432 if test "$host_cpu" = ia64; then
24433 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24434 allow_undefined_flag_GCJ="-z nodefs"
24435 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"
24437 # Determine the default libpath from the value encoded in an empty executable.
24438 cat >conftest.$ac_ext <<_ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24453 rm -f conftest.$ac_objext conftest$ac_exeext
24454 if { (ac_try="$ac_link"
24455 case "(($ac_try" in
24456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24457 *) ac_try_echo
=$ac_try;;
24459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24460 (eval "$ac_link") 2>conftest.er1
24462 grep -v '^ *+' conftest.er1
>conftest.err
24464 cat conftest.err
>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } &&
24467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24468 { (case "(($ac_try" in
24469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_try") 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try='test -s conftest$ac_exeext'
24478 { (case "(($ac_try" in
24479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24480 *) ac_try_echo
=$ac_try;;
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_try") 2>&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); }; }; then
24488 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24490 # Check for a 64-bit object if we didn't find anything.
24491 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; }
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.
$ac_ext >&5
24500 rm -f core conftest.err conftest.
$ac_objext \
24501 conftest
$ac_exeext conftest.
$ac_ext
24502 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24504 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24505 # Warning - without using the other run time loading flags,
24506 # -berok will link without error, but may produce a broken library.
24507 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24508 allow_undefined_flag_GCJ
=' ${wl}-berok'
24509 # Exported symbols can be pulled into shared objects from archives
24510 whole_archive_flag_spec_GCJ
='$convenience'
24511 archive_cmds_need_lc_GCJ
=yes
24512 # This is similar to how AIX traditionally builds its shared libraries.
24513 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'
24519 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)'
24520 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24521 hardcode_minus_L_GCJ
=yes
24522 # see comment about different semantics on the GNU ld section
24527 export_dynamic_flag_spec_GCJ
=-rdynamic
24530 cygwin
* | mingw
* | pw32
*)
24531 # When not using gcc, we currently assume that we are using
24532 # Microsoft Visual C++.
24533 # hardcode_libdir_flag_spec is actually meaningless, as there is
24534 # no search path for DLLs.
24535 hardcode_libdir_flag_spec_GCJ
=' '
24536 allow_undefined_flag_GCJ
=unsupported
24537 # Tell ltmain to make .lib files, not .a files.
24539 # Tell ltmain to make .dll files, not .so files.
24541 # FIXME: Setting linknames here is a bad hack.
24542 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24543 # The linker will automatically build a .lib file if we build a DLL.
24544 old_archive_From_new_cmds_GCJ
='true'
24545 # FIXME: Should let the user specify the lib program.
24546 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24547 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24548 enable_shared_with_static_runtimes_GCJ
=yes
24551 darwin
* | rhapsody
*)
24553 rhapsody
* | darwin1.
[012])
24554 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24557 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24558 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24560 case ${MACOSX_DEPLOYMENT_TARGET} in
24562 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24565 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24571 archive_cmds_need_lc_GCJ
=no
24572 hardcode_direct_GCJ
=no
24573 hardcode_automatic_GCJ
=yes
24574 hardcode_shlibpath_var_GCJ
=unsupported
24575 whole_archive_flag_spec_GCJ
=''
24576 link_all_deplibs_GCJ
=yes
24577 if test "$GCC" = yes ; then
24578 output_verbose_link_cmd
='echo'
24579 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24580 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24581 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24582 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}'
24583 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}'
24585 case $cc_basename in
24587 output_verbose_link_cmd
='echo'
24588 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24589 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24590 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24591 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}'
24592 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}'
24602 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24603 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24604 hardcode_shlibpath_var_GCJ
=no
24611 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24612 # support. Future versions do this automatically, but an explicit c++rt0.o
24613 # does not break anything, and helps significantly (at the cost of a little
24616 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24617 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24618 hardcode_direct_GCJ
=yes
24619 hardcode_shlibpath_var_GCJ
=no
24622 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24624 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24625 hardcode_direct_GCJ
=yes
24626 hardcode_minus_L_GCJ
=yes
24627 hardcode_shlibpath_var_GCJ
=no
24630 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24631 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24632 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24633 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24634 hardcode_direct_GCJ
=yes
24635 hardcode_shlibpath_var_GCJ
=no
24639 if test "$GCC" = yes; then
24640 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'
24642 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'
24644 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24645 hardcode_libdir_separator_GCJ
=:
24646 hardcode_direct_GCJ
=yes
24648 # hardcode_minus_L: Not really in the search PATH,
24649 # but as the default location of the library.
24650 hardcode_minus_L_GCJ
=yes
24651 export_dynamic_flag_spec_GCJ
='${wl}-E'
24655 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24656 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24658 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24660 if test "$with_gnu_ld" = no
; then
24661 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24662 hardcode_libdir_separator_GCJ
=:
24664 hardcode_direct_GCJ
=yes
24665 export_dynamic_flag_spec_GCJ
='${wl}-E'
24667 # hardcode_minus_L: Not really in the search PATH,
24668 # but as the default location of the library.
24669 hardcode_minus_L_GCJ
=yes
24674 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24677 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24680 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24683 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24689 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24692 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24695 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24699 if test "$with_gnu_ld" = no
; then
24700 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24701 hardcode_libdir_separator_GCJ
=:
24705 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24706 hardcode_direct_GCJ
=no
24707 hardcode_shlibpath_var_GCJ
=no
24710 hardcode_direct_GCJ
=yes
24711 export_dynamic_flag_spec_GCJ
='${wl}-E'
24713 # hardcode_minus_L: Not really in the search PATH,
24714 # but as the default location of the library.
24715 hardcode_minus_L_GCJ
=yes
24721 irix5
* | irix6
* | nonstopux
*)
24722 if test "$GCC" = yes; then
24723 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'
24725 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'
24726 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24728 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24729 hardcode_libdir_separator_GCJ
=:
24730 link_all_deplibs_GCJ
=yes
24734 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24735 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24737 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24739 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24740 hardcode_direct_GCJ
=yes
24741 hardcode_shlibpath_var_GCJ
=no
24745 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24746 hardcode_direct_GCJ
=yes
24747 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24748 hardcode_libdir_separator_GCJ
=:
24749 hardcode_shlibpath_var_GCJ
=no
24753 hardcode_direct_GCJ
=yes
24754 hardcode_shlibpath_var_GCJ
=no
24755 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24756 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24757 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24758 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24759 export_dynamic_flag_spec_GCJ
='${wl}-E'
24762 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24763 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24764 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24767 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24768 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24775 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24776 hardcode_minus_L_GCJ
=yes
24777 allow_undefined_flag_GCJ
=unsupported
24778 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'
24779 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24783 if test "$GCC" = yes; then
24784 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24785 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'
24787 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24788 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'
24790 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24791 hardcode_libdir_separator_GCJ
=:
24794 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24795 if test "$GCC" = yes; then
24796 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24797 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'
24798 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24800 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24801 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'
24802 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~
24803 $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'
24805 # Both c and cxx compiler support -rpath directly
24806 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
24808 hardcode_libdir_separator_GCJ
=:
24812 no_undefined_flag_GCJ
=' -z text'
24813 if test "$GCC" = yes; then
24815 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24816 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24817 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24820 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24821 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24822 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24824 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24825 hardcode_shlibpath_var_GCJ
=no
24827 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
24829 # The compiler driver will combine linker options so we
24830 # cannot just pass the convience library names through
24831 # without $wl, iff we do not link with $LD.
24832 # Luckily, gcc supports the same syntax we need for Sun Studio.
24833 # Supported since Solaris 2.6 (maybe 2.5.1?)
24836 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
24838 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' ;;
24841 link_all_deplibs_GCJ
=yes
24845 if test "x$host_vendor" = xsequent
; then
24846 # Use $CC to link under sequent, because it throws in some extra .o
24847 # files that make .init and .fini sections work.
24848 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24850 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24852 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24853 hardcode_direct_GCJ
=yes
24854 hardcode_minus_L_GCJ
=yes
24855 hardcode_shlibpath_var_GCJ
=no
24859 case $host_vendor in
24861 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24862 hardcode_direct_GCJ
=yes # is this really true???
24865 ## LD is ld it makes a PLAMLIB
24866 ## CC just makes a GrossModule.
24867 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24868 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
24869 hardcode_direct_GCJ
=no
24872 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24873 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
24876 runpath_var
='LD_RUN_PATH'
24877 hardcode_shlibpath_var_GCJ
=no
24881 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24882 hardcode_shlibpath_var_GCJ
=no
24883 export_dynamic_flag_spec_GCJ
='-Bexport'
24887 if test -d /usr
/nec
; then
24888 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24889 hardcode_shlibpath_var_GCJ
=no
24890 runpath_var
=LD_RUN_PATH
24891 hardcode_runpath_var
=yes
24896 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
24897 no_undefined_flag_GCJ
='${wl}-z,text'
24898 archive_cmds_need_lc_GCJ
=no
24899 hardcode_shlibpath_var_GCJ
=no
24900 runpath_var
='LD_RUN_PATH'
24902 if test "$GCC" = yes; then
24903 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24904 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24906 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24907 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24911 sysv5
* | sco3.2v5
* | sco5v6
*)
24912 # Note: We can NOT use -z defs as we might desire, because we do not
24913 # link with -lc, and that would cause any symbols used from libc to
24914 # always be unresolved, which means just about no library would
24915 # ever link correctly. If we're not using GNU ld we use -z text
24916 # though, which does catch some bad symbols but isn't as heavy-handed
24918 no_undefined_flag_GCJ
='${wl}-z,text'
24919 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
24920 archive_cmds_need_lc_GCJ
=no
24921 hardcode_shlibpath_var_GCJ
=no
24922 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
24923 hardcode_libdir_separator_GCJ
=':'
24924 link_all_deplibs_GCJ
=yes
24925 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
24926 runpath_var
='LD_RUN_PATH'
24928 if test "$GCC" = yes; then
24929 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24930 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24932 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24933 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
24938 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24939 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24940 hardcode_shlibpath_var_GCJ
=no
24949 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
24950 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
24951 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
24954 # Do we need to explicitly link libc?
24956 case "x$archive_cmds_need_lc_GCJ" in
24958 # Assume -lc should be added
24959 archive_cmds_need_lc_GCJ
=yes
24961 if test "$enable_shared" = yes && test "$GCC" = yes; then
24962 case $archive_cmds_GCJ in
24964 # FIXME: we may have to deal with multi-command sequences.
24967 # Test whether the compiler implicitly links with -lc since on some
24968 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24969 # to ld, don't add -lc before -lgcc.
24970 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24971 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
24973 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24976 (eval $ac_compile) 2>&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); } 2>conftest.err
; then
24982 libobjs
=conftest.
$ac_objext
24984 wl
=$lt_prog_compiler_wl_GCJ
24985 pic_flag
=$lt_prog_compiler_pic_GCJ
24991 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
24992 allow_undefined_flag_GCJ
=
24993 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24994 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }
24999 archive_cmds_need_lc_GCJ
=no
25001 archive_cmds_need_lc_GCJ
=yes
25003 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25005 cat conftest.err
1>&5
25008 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25009 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25016 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25017 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25018 library_names_spec
=
25019 libname_spec
='lib$name'
25023 postuninstall_cmds
=
25027 shlibpath_overrides_runpath
=unknown
25029 dynamic_linker
="$host_os ld.so"
25030 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25031 if test "$GCC" = yes; then
25032 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25033 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25034 # if the path contains ";" then we assume it to be the separator
25035 # otherwise default to the standard path separator (i.e. ":") - it is
25036 # assumed that no part of a normal pathname contains ";" but that should
25037 # okay in the real world where ";" in dirpaths is itself problematic.
25038 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25043 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25045 need_lib_prefix
=unknown
25046 hardcode_into_libs
=no
25048 # when you set need_version to no, make sure it does not cause -set_version
25049 # flags to be left without arguments
25050 need_version
=unknown
25055 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25056 shlibpath_var
=LIBPATH
25058 # AIX 3 has no versioning support, so we append a major version to the name.
25059 soname_spec
='${libname}${release}${shared_ext}$major'
25066 hardcode_into_libs
=yes
25067 if test "$host_cpu" = ia64
; then
25068 # AIX 5 supports IA64
25069 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25070 shlibpath_var
=LD_LIBRARY_PATH
25072 # With GCC up to 2.95.x, collect2 would create an import file
25073 # for dependence libraries. The import file would start with
25074 # the line `#! .'. This would cause the generated library to
25075 # depend on `.', always an invalid library. This was fixed in
25076 # development snapshots of GCC prior to 3.0.
25078 aix4 | aix4.
[01] | aix4.
[01].
*)
25079 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25081 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25084 can_build_shared
=no
25088 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25089 # soname into executable. Probably we can add versioning support to
25090 # collect2, so additional links can be useful in future.
25091 if test "$aix_use_runtimelinking" = yes; then
25092 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25093 # instead of lib<name>.a to let people know that these are not
25094 # typical AIX shared libraries.
25095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25097 # We preserve .a as extension for shared libraries through AIX4.2
25098 # and later when we are not doing run time linking.
25099 library_names_spec
='${libname}${release}.a $libname.a'
25100 soname_spec
='${libname}${release}${shared_ext}$major'
25102 shlibpath_var
=LIBPATH
25107 library_names_spec
='$libname.ixlibrary $libname.a'
25108 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25109 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'
25113 library_names_spec
='${libname}${shared_ext}'
25114 dynamic_linker
="$host_os ld.so"
25115 shlibpath_var
=LIBRARY_PATH
25121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25122 soname_spec
='${libname}${release}${shared_ext}$major'
25123 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25124 shlibpath_var
=LD_LIBRARY_PATH
25125 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25126 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25127 # the default ld.so.conf also contains /usr/contrib/lib and
25128 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25129 # libtool to hard-code these into programs
25132 cygwin
* | mingw
* | pw32
*)
25133 version_type
=windows
25138 case $GCC,$host_os in
25139 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25140 library_names_spec
='$libname.dll.a'
25141 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25142 postinstall_cmds
='base_file=`basename \${file}`~
25143 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25144 dldir=$destdir/`dirname \$dlpath`~
25145 test -d \$dldir || mkdir -p \$dldir~
25146 $install_prog $dir/$dlname \$dldir/$dlname~
25147 chmod a+x \$dldir/$dlname'
25148 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25149 dlpath=$dir/\$dldll~
25151 shlibpath_overrides_runpath
=yes
25155 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25156 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25157 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25160 # MinGW DLLs use traditional 'lib' prefix
25161 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25162 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25163 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25164 # It is most probably a Windows format PATH printed by
25165 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25166 # path with ; separators, and with drive letters. We can handle the
25167 # drive letters (cygwin fileutils understands them), so leave them,
25168 # especially as we might pass files found there to a mingw objdump,
25169 # which wouldn't understand a cygwinified path. Ahh.
25170 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25172 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25176 # pw32 DLLs use 'pw' prefix rather than 'lib'
25177 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25183 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25186 dynamic_linker
='Win32 ld.exe'
25187 # FIXME: first we should search . and the directory the executable is in
25191 darwin
* | rhapsody
*)
25192 dynamic_linker
="$host_os dyld"
25193 version_type
=darwin
25196 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25197 soname_spec
='${libname}${release}${major}$shared_ext'
25198 shlibpath_overrides_runpath
=yes
25199 shlibpath_var
=DYLD_LIBRARY_PATH
25200 shrext_cmds
='.dylib'
25201 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25202 if test "$GCC" = yes; then
25203 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"`
25205 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25207 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25215 soname_spec
='${libname}${release}${shared_ext}$major'
25216 shlibpath_var
=LD_LIBRARY_PATH
25227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25228 soname_spec
='${libname}${release}${shared_ext}$major'
25229 shlibpath_var
=LD_LIBRARY_PATH
25230 shlibpath_overrides_runpath
=no
25231 hardcode_into_libs
=yes
25232 dynamic_linker
='GNU ld.so'
25235 freebsd
* | dragonfly
*)
25236 # DragonFly does not have aout. When/if they implement a new
25237 # versioning mechanism, adjust this.
25238 if test -x /usr
/bin
/objformat
; then
25239 objformat
=`/usr/bin/objformat`
25242 freebsd
[123]*) objformat
=aout
;;
25243 *) objformat
=elf
;;
25246 version_type
=freebsd-
$objformat
25247 case $version_type in
25249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25254 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25258 shlibpath_var
=LD_LIBRARY_PATH
25261 shlibpath_overrides_runpath
=yes
25263 freebsd3.
[01]* | freebsdelf3.
[01]*)
25264 shlibpath_overrides_runpath
=yes
25265 hardcode_into_libs
=yes
25267 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25268 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25269 shlibpath_overrides_runpath
=no
25270 hardcode_into_libs
=yes
25272 freebsd
*) # from 4.6 on
25273 shlibpath_overrides_runpath
=yes
25274 hardcode_into_libs
=yes
25283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25284 soname_spec
='${libname}${release}${shared_ext}$major'
25285 shlibpath_var
=LD_LIBRARY_PATH
25286 hardcode_into_libs
=yes
25289 hpux9
* | hpux10
* | hpux11
*)
25290 # Give a soname corresponding to the major version so that dld.sl refuses to
25291 # link against other versions.
25298 hardcode_into_libs
=yes
25299 dynamic_linker
="$host_os dld.so"
25300 shlibpath_var
=LD_LIBRARY_PATH
25301 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25303 soname_spec
='${libname}${release}${shared_ext}$major'
25304 if test "X$HPUX_IA64_MODE" = X32
; then
25305 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25307 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25309 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25313 hardcode_into_libs
=yes
25314 dynamic_linker
="$host_os dld.sl"
25315 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25316 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25318 soname_spec
='${libname}${release}${shared_ext}$major'
25319 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25320 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25324 dynamic_linker
="$host_os dld.sl"
25325 shlibpath_var
=SHLIB_PATH
25326 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25328 soname_spec
='${libname}${release}${shared_ext}$major'
25331 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25332 postinstall_cmds
='chmod 555 $lib'
25339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25340 soname_spec
='${libname}${release}${shared_ext}$major'
25341 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25342 shlibpath_var
=LD_LIBRARY_PATH
25343 shlibpath_overrides_runpath
=no
25344 hardcode_into_libs
=yes
25347 irix5
* | irix6
* | nonstopux
*)
25349 nonstopux
*) version_type
=nonstopux
;;
25351 if test "$lt_cv_prog_gnu_ld" = yes; then
25359 soname_spec
='${libname}${release}${shared_ext}$major'
25360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25362 irix5
* | nonstopux
*)
25363 libsuff
= shlibsuff
=
25366 case $LD in # libtool.m4 will add one of these switches to LD
25367 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25368 libsuff
= shlibsuff
= libmagic
=32-bit;;
25369 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25370 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25371 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25372 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25373 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25377 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25378 shlibpath_overrides_runpath
=no
25379 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25380 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25381 hardcode_into_libs
=yes
25384 # No shared lib support for Linux oldld, aout, or coff.
25385 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25389 # This must be Linux ELF.
25394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25395 soname_spec
='${libname}${release}${shared_ext}$major'
25396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25397 shlibpath_var
=LD_LIBRARY_PATH
25398 shlibpath_overrides_runpath
=no
25399 # This implies no fast_install, which is unacceptable.
25400 # Some rework will be needed to allow for fast_install
25401 # before this can be enabled.
25402 hardcode_into_libs
=yes
25404 # Append ld.so.conf contents to the search path
25405 if test -f /etc
/ld.so.conf
; then
25406 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' ' '`
25407 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25410 # We used to test for /lib/ld.so.1 and disable shared libraries on
25411 # powerpc, because MkLinux only supported shared libraries with the
25412 # GNU dynamic linker. Since this was broken with cross compilers,
25413 # most powerpc-linux boxes support dynamic linking these days and
25414 # people can always --disable-shared, the test was removed, and we
25415 # assume the GNU/Linux dynamic linker is in use.
25416 dynamic_linker
='GNU/Linux ld.so'
25423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25424 soname_spec
='${libname}${release}${shared_ext}$major'
25425 shlibpath_var
=LD_LIBRARY_PATH
25426 shlibpath_overrides_runpath
=no
25427 hardcode_into_libs
=yes
25428 dynamic_linker
='GNU ld.so'
25435 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25438 dynamic_linker
='NetBSD (a.out) ld.so'
25440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25441 soname_spec
='${libname}${release}${shared_ext}$major'
25442 dynamic_linker
='NetBSD ld.elf_so'
25444 shlibpath_var
=LD_LIBRARY_PATH
25445 shlibpath_overrides_runpath
=yes
25446 hardcode_into_libs
=yes
25451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25452 shlibpath_var
=LD_LIBRARY_PATH
25453 shlibpath_overrides_runpath
=yes
25460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25461 soname_spec
='${libname}${release}${shared_ext}$major'
25462 shlibpath_var
=LD_LIBRARY_PATH
25463 shlibpath_overrides_runpath
=yes
25468 sys_lib_dlsearch_path_spec
="/usr/lib"
25470 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25472 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25473 *) need_version
=no
;;
25475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25476 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25477 shlibpath_var
=LD_LIBRARY_PATH
25478 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25480 openbsd2.
[89] | openbsd2.
[89].
*)
25481 shlibpath_overrides_runpath
=no
25484 shlibpath_overrides_runpath
=yes
25488 shlibpath_overrides_runpath
=yes
25493 libname_spec
='$name'
25496 library_names_spec
='$libname${shared_ext} $libname.a'
25497 dynamic_linker
='OS/2 ld.exe'
25498 shlibpath_var
=LIBPATH
25501 osf3
* | osf4
* | osf5
*)
25505 soname_spec
='${libname}${release}${shared_ext}$major'
25506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25507 shlibpath_var
=LD_LIBRARY_PATH
25508 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25509 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25517 soname_spec
='${libname}${release}${shared_ext}$major'
25518 shlibpath_var
=LD_LIBRARY_PATH
25519 shlibpath_overrides_runpath
=yes
25520 hardcode_into_libs
=yes
25521 # ldd complains unless libraries are executable
25522 postinstall_cmds
='chmod +x $lib'
25527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25528 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25529 shlibpath_var
=LD_LIBRARY_PATH
25530 shlibpath_overrides_runpath
=yes
25531 if test "$with_gnu_ld" = yes; then
25539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25540 soname_spec
='${libname}${release}${shared_ext}$major'
25541 shlibpath_var
=LD_LIBRARY_PATH
25542 case $host_vendor in
25544 shlibpath_overrides_runpath
=no
25546 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25547 runpath_var
=LD_RUN_PATH
25555 shlibpath_overrides_runpath
=no
25556 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25562 if test -d /usr
/nec
;then
25564 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25565 soname_spec
='$libname${shared_ext}.$major'
25566 shlibpath_var
=LD_LIBRARY_PATH
25570 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25571 version_type
=freebsd-elf
25574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25575 soname_spec
='${libname}${release}${shared_ext}$major'
25576 shlibpath_var
=LD_LIBRARY_PATH
25577 hardcode_into_libs
=yes
25578 if test "$with_gnu_ld" = yes; then
25579 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25580 shlibpath_overrides_runpath
=no
25582 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25583 shlibpath_overrides_runpath
=yes
25586 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25590 sys_lib_dlsearch_path_spec
='/usr/lib'
25595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25596 soname_spec
='${libname}${release}${shared_ext}$major'
25597 shlibpath_var
=LD_LIBRARY_PATH
25604 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25605 echo "${ECHO_T}$dynamic_linker" >&6; }
25606 test "$dynamic_linker" = no
&& can_build_shared
=no
25608 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25609 if test "$GCC" = yes; then
25610 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25613 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25614 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25615 hardcode_action_GCJ
=
25616 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25617 test -n "$runpath_var_GCJ" || \
25618 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25620 # We can hardcode non-existant directories.
25621 if test "$hardcode_direct_GCJ" != no
&&
25622 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25623 # have to relink, otherwise we might link with an installed library
25624 # when we should be linking with a yet-to-be-installed one
25625 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25626 test "$hardcode_minus_L_GCJ" != no
; then
25627 # Linking always hardcodes the temporary library directory.
25628 hardcode_action_GCJ
=relink
25630 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25631 hardcode_action_GCJ
=immediate
25634 # We cannot hardcode anything, or else we can only hardcode existing
25636 hardcode_action_GCJ
=unsupported
25638 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25639 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25641 if test "$hardcode_action_GCJ" = relink
; then
25642 # Fast installation is not supported
25643 enable_fast_install
=no
25644 elif test "$shlibpath_overrides_runpath" = yes ||
25645 test "$enable_shared" = no
; then
25646 # Fast installation is not necessary
25647 enable_fast_install
=needless
25651 # The else clause should only fire when bootstrapping the
25652 # libtool distribution, otherwise you forgot to ship ltmain.sh
25653 # with your package, and you will get complaints that there are
25654 # no rules to generate ltmain.sh.
25655 if test -f "$ltmain"; then
25656 # See if we are running on zsh, and set the options which allow our commands through
25657 # without removal of \ escapes.
25658 if test -n "${ZSH_VERSION+set}" ; then
25659 setopt NO_GLOB_SUBST
25661 # Now quote all the things that may contain metacharacters while being
25662 # careful not to overquote the AC_SUBSTed values. We take copies of the
25663 # variables and quote the copies for generation of the libtool script.
25664 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25666 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25667 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25668 deplibs_check_method reload_flag reload_cmds need_locks \
25669 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25670 lt_cv_sys_global_symbol_to_c_name_address \
25671 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25672 old_postinstall_cmds old_postuninstall_cmds \
25676 lt_prog_compiler_wl_GCJ \
25677 lt_prog_compiler_pic_GCJ \
25678 lt_prog_compiler_static_GCJ \
25679 lt_prog_compiler_no_builtin_flag_GCJ \
25680 export_dynamic_flag_spec_GCJ \
25681 thread_safe_flag_spec_GCJ \
25682 whole_archive_flag_spec_GCJ \
25683 enable_shared_with_static_runtimes_GCJ \
25684 old_archive_cmds_GCJ \
25685 old_archive_from_new_cmds_GCJ \
25686 predep_objects_GCJ \
25687 postdep_objects_GCJ \
25690 compiler_lib_search_path_GCJ \
25692 archive_expsym_cmds_GCJ \
25693 postinstall_cmds_GCJ \
25694 postuninstall_cmds_GCJ \
25695 old_archive_from_expsyms_cmds_GCJ \
25696 allow_undefined_flag_GCJ \
25697 no_undefined_flag_GCJ \
25698 export_symbols_cmds_GCJ \
25699 hardcode_libdir_flag_spec_GCJ \
25700 hardcode_libdir_flag_spec_ld_GCJ \
25701 hardcode_libdir_separator_GCJ \
25702 hardcode_automatic_GCJ \
25704 module_expsym_cmds_GCJ \
25705 lt_cv_prog_compiler_c_o_GCJ \
25706 exclude_expsyms_GCJ \
25707 include_expsyms_GCJ
; do
25710 old_archive_cmds_GCJ | \
25711 old_archive_from_new_cmds_GCJ | \
25712 archive_cmds_GCJ | \
25713 archive_expsym_cmds_GCJ | \
25714 module_cmds_GCJ | \
25715 module_expsym_cmds_GCJ | \
25716 old_archive_from_expsyms_cmds_GCJ | \
25717 export_symbols_cmds_GCJ | \
25718 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25719 postinstall_cmds | postuninstall_cmds | \
25720 old_postinstall_cmds | old_postuninstall_cmds | \
25721 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25722 # Double-quote double-evaled strings.
25723 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25726 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25732 *'\$0 --fallback-echo"')
25733 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25739 cat <<__EOF__ >> "$cfgfile"
25740 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25742 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25744 # Shell to use when invoking shell scripts.
25747 # Whether or not to build shared libraries.
25748 build_libtool_libs=$enable_shared
25750 # Whether or not to build static libraries.
25751 build_old_libs=$enable_static
25753 # Whether or not to add -lc for building shared libraries.
25754 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25756 # Whether or not to disallow shared libs when runtime libs are static
25757 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25759 # Whether or not to optimize for fast installation.
25760 fast_install=$enable_fast_install
25763 host_alias=$host_alias
25767 # The build system.
25768 build_alias=$build_alias
25772 # An echo program that does not interpret backslashes.
25777 AR_FLAGS=$lt_AR_FLAGS
25782 # LTCC compiler flags.
25783 LTCFLAGS=$lt_LTCFLAGS
25785 # A language-specific compiler.
25786 CC=$lt_compiler_GCJ
25788 # Is the compiler the GNU C compiler?
25794 # The linker used to build libraries.
25797 # Whether we need hard or soft links.
25800 # A BSD-compatible nm program.
25803 # A symbol stripping program
25806 # Used to examine libraries when file_magic_cmd begins "file"
25807 MAGIC_CMD=$MAGIC_CMD
25809 # Used on cygwin: DLL creation program.
25812 # Used on cygwin: object dumper.
25815 # Used on cygwin: assembler.
25818 # The name of the directory that contains temporary libtool files.
25821 # How to create reloadable object files.
25822 reload_flag=$lt_reload_flag
25823 reload_cmds=$lt_reload_cmds
25825 # How to pass a linker flag through the compiler.
25826 wl=$lt_lt_prog_compiler_wl_GCJ
25828 # Object file suffix (normally "o").
25829 objext="$ac_objext"
25831 # Old archive suffix (normally "a").
25834 # Shared library suffix (normally ".so").
25835 shrext_cmds='$shrext_cmds'
25837 # Executable file suffix (normally "").
25840 # Additional compiler flags for building library objects.
25841 pic_flag=$lt_lt_prog_compiler_pic_GCJ
25844 # What is the maximum length of a command?
25845 max_cmd_len=$lt_cv_sys_max_cmd_len
25847 # Does compiler simultaneously support -c and -o options?
25848 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25850 # Must we lock files when doing compilation?
25851 need_locks=$lt_need_locks
25853 # Do we need the lib prefix for modules?
25854 need_lib_prefix=$need_lib_prefix
25856 # Do we need a version for libraries?
25857 need_version=$need_version
25859 # Whether dlopen is supported.
25860 dlopen_support=$enable_dlopen
25862 # Whether dlopen of programs is supported.
25863 dlopen_self=$enable_dlopen_self
25865 # Whether dlopen of statically linked programs is supported.
25866 dlopen_self_static=$enable_dlopen_self_static
25868 # Compiler flag to prevent dynamic linking.
25869 link_static_flag=$lt_lt_prog_compiler_static_GCJ
25871 # Compiler flag to turn off builtin functions.
25872 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25874 # Compiler flag to allow reflexive dlopens.
25875 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25877 # Compiler flag to generate shared objects directly from archives.
25878 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25880 # Compiler flag to generate thread-safe objects.
25881 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25883 # Library versioning type.
25884 version_type=$version_type
25886 # Format of library name prefix.
25887 libname_spec=$lt_libname_spec
25889 # List of archive names. First name is the real one, the rest are links.
25890 # The last name is the one that the linker finds with -lNAME.
25891 library_names_spec=$lt_library_names_spec
25893 # The coded name of the library, if different from the real name.
25894 soname_spec=$lt_soname_spec
25896 # Commands used to build and install an old-style archive.
25898 old_archive_cmds=$lt_old_archive_cmds_GCJ
25899 old_postinstall_cmds=$lt_old_postinstall_cmds
25900 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25902 # Create an old-style archive from a shared archive.
25903 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25905 # Create a temporary old-style archive to link instead of a shared archive.
25906 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25908 # Commands used to build and install a shared archive.
25909 archive_cmds=$lt_archive_cmds_GCJ
25910 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25911 postinstall_cmds=$lt_postinstall_cmds
25912 postuninstall_cmds=$lt_postuninstall_cmds
25914 # Commands used to build a loadable module (assumed same as above if empty)
25915 module_cmds=$lt_module_cmds_GCJ
25916 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25918 # Commands to strip libraries.
25919 old_striplib=$lt_old_striplib
25920 striplib=$lt_striplib
25922 # Dependencies to place before the objects being linked to create a
25924 predep_objects=$lt_predep_objects_GCJ
25926 # Dependencies to place after the objects being linked to create a
25928 postdep_objects=$lt_postdep_objects_GCJ
25930 # Dependencies to place before the objects being linked to create a
25932 predeps=$lt_predeps_GCJ
25934 # Dependencies to place after the objects being linked to create a
25936 postdeps=$lt_postdeps_GCJ
25938 # The library search path used internally by the compiler when linking
25939 # a shared library.
25940 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25942 # Method to check whether dependent libraries are shared objects.
25943 deplibs_check_method=$lt_deplibs_check_method
25945 # Command to use when deplibs_check_method == file_magic.
25946 file_magic_cmd=$lt_file_magic_cmd
25948 # Flag that allows shared libraries with undefined symbols to be built.
25949 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25951 # Flag that forces no undefined symbols.
25952 no_undefined_flag=$lt_no_undefined_flag_GCJ
25954 # Commands used to finish a libtool library installation in a directory.
25955 finish_cmds=$lt_finish_cmds
25957 # Same as above, but a single script fragment to be evaled but not shown.
25958 finish_eval=$lt_finish_eval
25960 # Take the output of nm and produce a listing of raw symbols and C names.
25961 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25963 # Transform the output of nm in a proper C declaration
25964 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25966 # Transform the output of nm in a C name address pair
25967 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25969 # This is the shared library runtime path variable.
25970 runpath_var=$runpath_var
25972 # This is the shared library path variable.
25973 shlibpath_var=$shlibpath_var
25975 # Is shlibpath searched before the hard-coded library search path?
25976 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25978 # How to hardcode a shared library path into an executable.
25979 hardcode_action=$hardcode_action_GCJ
25981 # Whether we should hardcode library paths into libraries.
25982 hardcode_into_libs=$hardcode_into_libs
25984 # Flag to hardcode \$libdir into a binary during linking.
25985 # This must work even if \$libdir does not exist.
25986 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25988 # If ld is used when linking, flag to hardcode \$libdir into
25989 # a binary during linking. This must work even if \$libdir does
25991 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25993 # Whether we need a single -rpath flag with a separated argument.
25994 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25996 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25997 # resulting binary.
25998 hardcode_direct=$hardcode_direct_GCJ
26000 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26001 # resulting binary.
26002 hardcode_minus_L=$hardcode_minus_L_GCJ
26004 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26005 # the resulting binary.
26006 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26008 # Set to yes if building a shared library automatically hardcodes DIR into the library
26009 # and all subsequent libraries and executables linked against it.
26010 hardcode_automatic=$hardcode_automatic_GCJ
26012 # Variables whose values should be saved in libtool wrapper scripts and
26013 # restored at relink time.
26014 variables_saved_for_relink="$variables_saved_for_relink"
26016 # Whether libtool must link a program against all its dependency libraries.
26017 link_all_deplibs=$link_all_deplibs_GCJ
26019 # Compile-time system search path for libraries
26020 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26022 # Run-time system search path for libraries
26023 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26025 # Fix the shell variable \$srcfile for the compiler.
26026 fix_srcfile_path="$fix_srcfile_path_GCJ"
26028 # Set to yes if exported symbols are required.
26029 always_export_symbols=$always_export_symbols_GCJ
26031 # The commands to list exported symbols.
26032 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26034 # The commands to extract the exported symbol list from a shared archive.
26035 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26037 # Symbols that should not be listed in the preloaded symbols.
26038 exclude_expsyms=$lt_exclude_expsyms_GCJ
26040 # Symbols that must always be exported.
26041 include_expsyms=$lt_include_expsyms_GCJ
26043 # ### END LIBTOOL TAG CONFIG: $tagname
26049 # If there is no Makefile yet, we rely on a make rule to execute
26050 # `config.status --recheck' to rerun these tests and create the
26051 # libtool script then.
26052 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26053 if test -f "$ltmain_in"; then
26054 test -f Makefile
&& make "$ltmain"
26060 ac_cpp
='$CPP $CPPFLAGS'
26061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26074 ac_cpp
='$CPP $CPPFLAGS'
26075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26080 # Source file extension for RC test sources.
26083 # Object file extension for compiled RC test sources.
26087 # Code to be used in simple compile tests
26088 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26090 # Code to be used in simple link tests
26091 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26093 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26095 # If no C compiler was specified, use CC.
26098 # If no C compiler flags were specified, use CFLAGS.
26099 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26101 # Allow CC to be a program name with arguments.
26105 # save warnings/boilerplate of simple test code
26106 ac_outfile
=conftest.
$ac_objext
26107 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26108 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26109 _lt_compiler_boilerplate
=`cat conftest.err`
26112 ac_outfile
=conftest.
$ac_objext
26113 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26114 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26115 _lt_linker_boilerplate
=`cat conftest.err`
26119 # Allow CC to be a program name with arguments.
26124 for cc_temp
in $compiler""; do
26126 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26127 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26132 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26134 lt_cv_prog_compiler_c_o_RC
=yes
26136 # The else clause should only fire when bootstrapping the
26137 # libtool distribution, otherwise you forgot to ship ltmain.sh
26138 # with your package, and you will get complaints that there are
26139 # no rules to generate ltmain.sh.
26140 if test -f "$ltmain"; then
26141 # See if we are running on zsh, and set the options which allow our commands through
26142 # without removal of \ escapes.
26143 if test -n "${ZSH_VERSION+set}" ; then
26144 setopt NO_GLOB_SUBST
26146 # Now quote all the things that may contain metacharacters while being
26147 # careful not to overquote the AC_SUBSTed values. We take copies of the
26148 # variables and quote the copies for generation of the libtool script.
26149 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26151 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26152 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26153 deplibs_check_method reload_flag reload_cmds need_locks \
26154 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26155 lt_cv_sys_global_symbol_to_c_name_address \
26156 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26157 old_postinstall_cmds old_postuninstall_cmds \
26161 lt_prog_compiler_wl_RC \
26162 lt_prog_compiler_pic_RC \
26163 lt_prog_compiler_static_RC \
26164 lt_prog_compiler_no_builtin_flag_RC \
26165 export_dynamic_flag_spec_RC \
26166 thread_safe_flag_spec_RC \
26167 whole_archive_flag_spec_RC \
26168 enable_shared_with_static_runtimes_RC \
26169 old_archive_cmds_RC \
26170 old_archive_from_new_cmds_RC \
26171 predep_objects_RC \
26172 postdep_objects_RC \
26175 compiler_lib_search_path_RC \
26177 archive_expsym_cmds_RC \
26178 postinstall_cmds_RC \
26179 postuninstall_cmds_RC \
26180 old_archive_from_expsyms_cmds_RC \
26181 allow_undefined_flag_RC \
26182 no_undefined_flag_RC \
26183 export_symbols_cmds_RC \
26184 hardcode_libdir_flag_spec_RC \
26185 hardcode_libdir_flag_spec_ld_RC \
26186 hardcode_libdir_separator_RC \
26187 hardcode_automatic_RC \
26189 module_expsym_cmds_RC \
26190 lt_cv_prog_compiler_c_o_RC \
26191 exclude_expsyms_RC \
26192 include_expsyms_RC
; do
26195 old_archive_cmds_RC | \
26196 old_archive_from_new_cmds_RC | \
26197 archive_cmds_RC | \
26198 archive_expsym_cmds_RC | \
26200 module_expsym_cmds_RC | \
26201 old_archive_from_expsyms_cmds_RC | \
26202 export_symbols_cmds_RC | \
26203 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26204 postinstall_cmds | postuninstall_cmds | \
26205 old_postinstall_cmds | old_postuninstall_cmds | \
26206 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26207 # Double-quote double-evaled strings.
26208 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26211 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26217 *'\$0 --fallback-echo"')
26218 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26224 cat <<__EOF__ >> "$cfgfile"
26225 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26227 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26229 # Shell to use when invoking shell scripts.
26232 # Whether or not to build shared libraries.
26233 build_libtool_libs=$enable_shared
26235 # Whether or not to build static libraries.
26236 build_old_libs=$enable_static
26238 # Whether or not to add -lc for building shared libraries.
26239 build_libtool_need_lc=$archive_cmds_need_lc_RC
26241 # Whether or not to disallow shared libs when runtime libs are static
26242 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26244 # Whether or not to optimize for fast installation.
26245 fast_install=$enable_fast_install
26248 host_alias=$host_alias
26252 # The build system.
26253 build_alias=$build_alias
26257 # An echo program that does not interpret backslashes.
26262 AR_FLAGS=$lt_AR_FLAGS
26267 # LTCC compiler flags.
26268 LTCFLAGS=$lt_LTCFLAGS
26270 # A language-specific compiler.
26273 # Is the compiler the GNU C compiler?
26279 # The linker used to build libraries.
26282 # Whether we need hard or soft links.
26285 # A BSD-compatible nm program.
26288 # A symbol stripping program
26291 # Used to examine libraries when file_magic_cmd begins "file"
26292 MAGIC_CMD=$MAGIC_CMD
26294 # Used on cygwin: DLL creation program.
26297 # Used on cygwin: object dumper.
26300 # Used on cygwin: assembler.
26303 # The name of the directory that contains temporary libtool files.
26306 # How to create reloadable object files.
26307 reload_flag=$lt_reload_flag
26308 reload_cmds=$lt_reload_cmds
26310 # How to pass a linker flag through the compiler.
26311 wl=$lt_lt_prog_compiler_wl_RC
26313 # Object file suffix (normally "o").
26314 objext="$ac_objext"
26316 # Old archive suffix (normally "a").
26319 # Shared library suffix (normally ".so").
26320 shrext_cmds='$shrext_cmds'
26322 # Executable file suffix (normally "").
26325 # Additional compiler flags for building library objects.
26326 pic_flag=$lt_lt_prog_compiler_pic_RC
26329 # What is the maximum length of a command?
26330 max_cmd_len=$lt_cv_sys_max_cmd_len
26332 # Does compiler simultaneously support -c and -o options?
26333 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26335 # Must we lock files when doing compilation?
26336 need_locks=$lt_need_locks
26338 # Do we need the lib prefix for modules?
26339 need_lib_prefix=$need_lib_prefix
26341 # Do we need a version for libraries?
26342 need_version=$need_version
26344 # Whether dlopen is supported.
26345 dlopen_support=$enable_dlopen
26347 # Whether dlopen of programs is supported.
26348 dlopen_self=$enable_dlopen_self
26350 # Whether dlopen of statically linked programs is supported.
26351 dlopen_self_static=$enable_dlopen_self_static
26353 # Compiler flag to prevent dynamic linking.
26354 link_static_flag=$lt_lt_prog_compiler_static_RC
26356 # Compiler flag to turn off builtin functions.
26357 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26359 # Compiler flag to allow reflexive dlopens.
26360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26362 # Compiler flag to generate shared objects directly from archives.
26363 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26365 # Compiler flag to generate thread-safe objects.
26366 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26368 # Library versioning type.
26369 version_type=$version_type
26371 # Format of library name prefix.
26372 libname_spec=$lt_libname_spec
26374 # List of archive names. First name is the real one, the rest are links.
26375 # The last name is the one that the linker finds with -lNAME.
26376 library_names_spec=$lt_library_names_spec
26378 # The coded name of the library, if different from the real name.
26379 soname_spec=$lt_soname_spec
26381 # Commands used to build and install an old-style archive.
26383 old_archive_cmds=$lt_old_archive_cmds_RC
26384 old_postinstall_cmds=$lt_old_postinstall_cmds
26385 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26387 # Create an old-style archive from a shared archive.
26388 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26390 # Create a temporary old-style archive to link instead of a shared archive.
26391 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26393 # Commands used to build and install a shared archive.
26394 archive_cmds=$lt_archive_cmds_RC
26395 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26396 postinstall_cmds=$lt_postinstall_cmds
26397 postuninstall_cmds=$lt_postuninstall_cmds
26399 # Commands used to build a loadable module (assumed same as above if empty)
26400 module_cmds=$lt_module_cmds_RC
26401 module_expsym_cmds=$lt_module_expsym_cmds_RC
26403 # Commands to strip libraries.
26404 old_striplib=$lt_old_striplib
26405 striplib=$lt_striplib
26407 # Dependencies to place before the objects being linked to create a
26409 predep_objects=$lt_predep_objects_RC
26411 # Dependencies to place after the objects being linked to create a
26413 postdep_objects=$lt_postdep_objects_RC
26415 # Dependencies to place before the objects being linked to create a
26417 predeps=$lt_predeps_RC
26419 # Dependencies to place after the objects being linked to create a
26421 postdeps=$lt_postdeps_RC
26423 # The library search path used internally by the compiler when linking
26424 # a shared library.
26425 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26427 # Method to check whether dependent libraries are shared objects.
26428 deplibs_check_method=$lt_deplibs_check_method
26430 # Command to use when deplibs_check_method == file_magic.
26431 file_magic_cmd=$lt_file_magic_cmd
26433 # Flag that allows shared libraries with undefined symbols to be built.
26434 allow_undefined_flag=$lt_allow_undefined_flag_RC
26436 # Flag that forces no undefined symbols.
26437 no_undefined_flag=$lt_no_undefined_flag_RC
26439 # Commands used to finish a libtool library installation in a directory.
26440 finish_cmds=$lt_finish_cmds
26442 # Same as above, but a single script fragment to be evaled but not shown.
26443 finish_eval=$lt_finish_eval
26445 # Take the output of nm and produce a listing of raw symbols and C names.
26446 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26448 # Transform the output of nm in a proper C declaration
26449 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26451 # Transform the output of nm in a C name address pair
26452 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26454 # This is the shared library runtime path variable.
26455 runpath_var=$runpath_var
26457 # This is the shared library path variable.
26458 shlibpath_var=$shlibpath_var
26460 # Is shlibpath searched before the hard-coded library search path?
26461 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26463 # How to hardcode a shared library path into an executable.
26464 hardcode_action=$hardcode_action_RC
26466 # Whether we should hardcode library paths into libraries.
26467 hardcode_into_libs=$hardcode_into_libs
26469 # Flag to hardcode \$libdir into a binary during linking.
26470 # This must work even if \$libdir does not exist.
26471 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26473 # If ld is used when linking, flag to hardcode \$libdir into
26474 # a binary during linking. This must work even if \$libdir does
26476 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26478 # Whether we need a single -rpath flag with a separated argument.
26479 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26481 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26482 # resulting binary.
26483 hardcode_direct=$hardcode_direct_RC
26485 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26486 # resulting binary.
26487 hardcode_minus_L=$hardcode_minus_L_RC
26489 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26490 # the resulting binary.
26491 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26493 # Set to yes if building a shared library automatically hardcodes DIR into the library
26494 # and all subsequent libraries and executables linked against it.
26495 hardcode_automatic=$hardcode_automatic_RC
26497 # Variables whose values should be saved in libtool wrapper scripts and
26498 # restored at relink time.
26499 variables_saved_for_relink="$variables_saved_for_relink"
26501 # Whether libtool must link a program against all its dependency libraries.
26502 link_all_deplibs=$link_all_deplibs_RC
26504 # Compile-time system search path for libraries
26505 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26507 # Run-time system search path for libraries
26508 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26510 # Fix the shell variable \$srcfile for the compiler.
26511 fix_srcfile_path="$fix_srcfile_path_RC"
26513 # Set to yes if exported symbols are required.
26514 always_export_symbols=$always_export_symbols_RC
26516 # The commands to list exported symbols.
26517 export_symbols_cmds=$lt_export_symbols_cmds_RC
26519 # The commands to extract the exported symbol list from a shared archive.
26520 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26522 # Symbols that should not be listed in the preloaded symbols.
26523 exclude_expsyms=$lt_exclude_expsyms_RC
26525 # Symbols that must always be exported.
26526 include_expsyms=$lt_include_expsyms_RC
26528 # ### END LIBTOOL TAG CONFIG: $tagname
26534 # If there is no Makefile yet, we rely on a make rule to execute
26535 # `config.status --recheck' to rerun these tests and create the
26536 # libtool script then.
26537 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26538 if test -f "$ltmain_in"; then
26539 test -f Makefile
&& make "$ltmain"
26545 ac_cpp
='$CPP $CPPFLAGS'
26546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26555 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26556 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26557 { (exit 1); exit 1; }; }
26561 # Append the new tag name to the list of available tags.
26562 if test -n "$tagname" ; then
26563 available_tags
="$available_tags $tagname"
26569 # Now substitute the updated list of available tags.
26570 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26571 mv "${ofile}T" "$ofile"
26575 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26576 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26577 { (exit 1); exit 1; }; }
26583 # This can be used to rebuild libtool when needed
26584 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26586 # Always use our own libtool.
26587 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26589 # Prevent multiple expansion
26611 if test "$lt_cv_dlopen_self" = "yes" ; then
26613 cat >>confdefs.h
<<\_ACEOF
26614 #define CAN_DLOPEN_SELF 1
26619 etags_version
=`$ETAGS --version 2>&1`
26620 case "$etags_version" in
26621 *Eexuberant
*) ETAGSFLAGS
="--language-force=c++" ;;
26622 *GNU\ Emacs
*) ETAGSFLAGS
="-l c++" ;;
26623 *) ETAGSFLAGS
="" ;;
26625 ETAGSFLAGS
=$ETAGSFLAGS
26628 if test "$WITH_LLVMGCCDIR" = "default" ; then
26629 LLVMGCC
="llvm-gcc${EXEEXT}"
26630 LLVMGXX
="llvm-g++${EXEEXT}"
26631 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26632 set dummy
$LLVMGCC; ac_word
=$2
26633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26635 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26640 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26644 for as_dir
in $PATH
26647 test -z "$as_dir" && as_dir
=.
26648 for ac_exec_ext
in '' $ac_executable_extensions; do
26649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26650 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26661 LLVMGCC
=$ac_cv_path_LLVMGCC
26662 if test -n "$LLVMGCC"; then
26663 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26664 echo "${ECHO_T}$LLVMGCC" >&6; }
26666 { echo "$as_me:$LINENO: result: no" >&5
26667 echo "${ECHO_T}no" >&6; }
26671 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26672 set dummy
$LLVMGXX; ac_word
=$2
26673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26675 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26684 for as_dir
in $PATH
26687 test -z "$as_dir" && as_dir
=.
26688 for ac_exec_ext
in '' $ac_executable_extensions; do
26689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26690 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26701 LLVMGXX
=$ac_cv_path_LLVMGXX
26702 if test -n "$LLVMGXX"; then
26703 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26704 echo "${ECHO_T}$LLVMGXX" >&6; }
26706 { echo "$as_me:$LINENO: result: no" >&5
26707 echo "${ECHO_T}no" >&6; }
26712 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26713 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26720 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26721 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26734 if test "$GCC" != "yes" && test "$ICC" != "yes"
26736 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26737 echo "$as_me: error: gcc|icc required but not found" >&2;}
26738 { (exit 1); exit 1; }; }
26741 if test "$GXX" != "yes" && test "$IXX" != "yes"
26743 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26744 echo "$as_me: error: g++|icc required but not found" >&2;}
26745 { (exit 1); exit 1; }; }
26748 if test "$GCC" = "yes"
26750 gccmajor
=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`
26751 if test "$gccmajor" -lt "3"
26753 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
26754 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
26755 { (exit 1); exit 1; }; }
26759 if test -z "$llvm_cv_gnu_make_command"
26761 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
26762 echo "$as_me: error: GNU Make required but not found" >&2;}
26763 { (exit 1); exit 1; }; }
26766 { echo "$as_me:$LINENO: result: ok" >&5
26767 echo "${ECHO_T}ok" >&6; }
26771 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
26772 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
26773 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
26774 echo $ECHO_N "(cached) $ECHO_C" >&6
26776 ac_check_lib_save_LIBS
=$LIBS
26778 cat >conftest.
$ac_ext <<_ACEOF
26781 cat confdefs.h
>>conftest.
$ac_ext
26782 cat >>conftest.
$ac_ext <<_ACEOF
26783 /* end confdefs.h. */
26785 /* Override any GCC internal prototype to avoid an error.
26786 Use char because int might match the return type of a GCC
26787 builtin and then its argument prototype would still apply. */
26795 return elf_begin ();
26800 rm -f conftest.
$ac_objext conftest
$ac_exeext
26801 if { (ac_try
="$ac_link"
26802 case "(($ac_try" in
26803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26804 *) ac_try_echo=$ac_try;;
26806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26807 (eval "$ac_link") 2>conftest.er1
26809 grep -v '^ *+' conftest.er1 >conftest.err
26811 cat conftest.err >&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); } &&
26814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26815 { (case "(($ac_try" in
26816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26817 *) ac_try_echo
=$ac_try;;
26819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26820 (eval "$ac_try") 2>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; } &&
26824 { ac_try
='test -s conftest$ac_exeext'
26825 { (case "(($ac_try" in
26826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26827 *) ac_try_echo=$ac_try;;
26829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26830 (eval "$ac_try") 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834 ac_cv_lib_elf_elf_begin=yes
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26839 ac_cv_lib_elf_elf_begin=no
26842 rm -f core conftest.err conftest.$ac_objext \
26843 conftest$ac_exeext conftest.$ac_ext
26844 LIBS=$ac_check_lib_save_LIBS
26846 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
26847 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
26848 if test $ac_cv_lib_elf_elf_begin = yes; then
26849 cat >>confdefs.h <<_ACEOF
26850 #define HAVE_LIBELF 1
26858 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
26859 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
26860 if test "${ac_cv_lib_m_sin+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 ac_check_lib_save_LIBS=$LIBS
26865 cat >conftest.$ac_ext <<_ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26872 /* Override any GCC internal prototype to avoid an error.
26873 Use char because int might match the return type of a GCC
26874 builtin and then its argument prototype would still apply. */
26887 rm -f conftest.$ac_objext conftest$ac_exeext
26888 if { (ac_try="$ac_link"
26889 case "(($ac_try" in
26890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26891 *) ac_try_echo
=$ac_try;;
26893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26894 (eval "$ac_link") 2>conftest.er1
26896 grep -v '^ *+' conftest.er1
>conftest.err
26898 cat conftest.err
>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } &&
26901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26902 { (case "(($ac_try" in
26903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26904 *) ac_try_echo=$ac_try;;
26906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26907 (eval "$ac_try") 2>&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; } &&
26911 { ac_try='test -s conftest$ac_exeext'
26912 { (case "(($ac_try" in
26913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26914 *) ac_try_echo
=$ac_try;;
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_try") 2>&5
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); }; }; then
26921 ac_cv_lib_m_sin
=yes
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.
$ac_ext >&5
26929 rm -f core conftest.err conftest.
$ac_objext \
26930 conftest
$ac_exeext conftest.
$ac_ext
26931 LIBS
=$ac_check_lib_save_LIBS
26933 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
26934 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
26935 if test $ac_cv_lib_m_sin = yes; then
26936 cat >>confdefs.h
<<_ACEOF
26937 #define HAVE_LIBM 1
26944 if test "$llvm_cv_os_type" = "MingW" ; then
26946 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
26947 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
26948 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
26949 echo $ECHO_N "(cached) $ECHO_C" >&6
26951 ac_check_lib_save_LIBS
=$LIBS
26952 LIBS
="-limagehlp $LIBS"
26953 cat >conftest.
$ac_ext <<_ACEOF
26956 cat confdefs.h
>>conftest.
$ac_ext
26957 cat >>conftest.
$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26969 rm -f conftest.
$ac_objext conftest
$ac_exeext
26970 if { (ac_try
="$ac_link"
26971 case "(($ac_try" in
26972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26973 *) ac_try_echo=$ac_try;;
26975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26976 (eval "$ac_link") 2>conftest.er1
26978 grep -v '^ *+' conftest.er1 >conftest.err
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } &&
26983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26984 { (case "(($ac_try" in
26985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26986 *) ac_try_echo
=$ac_try;;
26988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26989 (eval "$ac_try") 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try
='test -s conftest$ac_exeext'
26994 { (case "(($ac_try" in
26995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26996 *) ac_try_echo=$ac_try;;
26998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26999 (eval "$ac_try") 2>&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); }; }; then
27003 ac_cv_lib_imagehlp_main=yes
27005 echo "$as_me: failed program was:" >&5
27006 sed 's/^/| /' conftest.$ac_ext >&5
27008 ac_cv_lib_imagehlp_main=no
27011 rm -f core conftest.err conftest.$ac_objext \
27012 conftest$ac_exeext conftest.$ac_ext
27013 LIBS=$ac_check_lib_save_LIBS
27015 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27016 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27017 if test $ac_cv_lib_imagehlp_main = yes; then
27018 cat >>confdefs.h <<_ACEOF
27019 #define HAVE_LIBIMAGEHLP 1
27022 LIBS="-limagehlp $LIBS"
27027 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27028 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27029 if test "${ac_cv_lib_psapi_main+set}" = set; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 ac_check_lib_save_LIBS=$LIBS
27033 LIBS="-lpsapi $LIBS"
27034 cat >conftest.$ac_ext <<_ACEOF
27037 cat confdefs.h >>conftest.$ac_ext
27038 cat >>conftest.$ac_ext <<_ACEOF
27039 /* end confdefs.h. */
27050 rm -f conftest.$ac_objext conftest$ac_exeext
27051 if { (ac_try="$ac_link"
27052 case "(($ac_try" in
27053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27054 *) ac_try_echo
=$ac_try;;
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_link") 2>conftest.er1
27059 grep -v '^ *+' conftest.er1
>conftest.err
27061 cat conftest.err
>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } &&
27064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27065 { (case "(($ac_try" in
27066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_try") 2>&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; } &&
27074 { ac_try='test -s conftest$ac_exeext'
27075 { (case "(($ac_try" in
27076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27077 *) ac_try_echo
=$ac_try;;
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_try") 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; }; then
27084 ac_cv_lib_psapi_main
=yes
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.
$ac_ext >&5
27089 ac_cv_lib_psapi_main
=no
27092 rm -f core conftest.err conftest.
$ac_objext \
27093 conftest
$ac_exeext conftest.
$ac_ext
27094 LIBS
=$ac_check_lib_save_LIBS
27096 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27097 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27098 if test $ac_cv_lib_psapi_main = yes; then
27099 cat >>confdefs.h
<<_ACEOF
27100 #define HAVE_LIBPSAPI 1
27103 LIBS
="-lpsapi $LIBS"
27109 { echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
27110 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6; }
27111 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 ac_func_search_save_LIBS
=$LIBS
27115 cat >conftest.
$ac_ext <<_ACEOF
27118 cat confdefs.h
>>conftest.
$ac_ext
27119 cat >>conftest.
$ac_ext <<_ACEOF
27120 /* end confdefs.h. */
27122 /* Override any GCC internal prototype to avoid an error.
27123 Use char because int might match the return type of a GCC
27124 builtin and then its argument prototype would still apply. */
27132 return lt_dlopen ();
27137 for ac_lib
in '' ltdl
; do
27138 if test -z "$ac_lib"; then
27139 ac_res
="none required"
27142 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27144 rm -f conftest.
$ac_objext conftest
$ac_exeext
27145 if { (ac_try
="$ac_link"
27146 case "(($ac_try" in
27147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27148 *) ac_try_echo=$ac_try;;
27150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27151 (eval "$ac_link") 2>conftest.er1
27153 grep -v '^ *+' conftest.er1 >conftest.err
27155 cat conftest.err >&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); } &&
27158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27159 { (case "(($ac_try" in
27160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27161 *) ac_try_echo
=$ac_try;;
27163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27164 (eval "$ac_try") 2>&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); }; } &&
27168 { ac_try
='test -s conftest$ac_exeext'
27169 { (case "(($ac_try" in
27170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27171 *) ac_try_echo=$ac_try;;
27173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27174 (eval "$ac_try") 2>&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); }; }; then
27178 ac_cv_search_lt_dlopen=$ac_res
27180 echo "$as_me: failed program was:" >&5
27181 sed 's/^/| /' conftest.$ac_ext >&5
27186 rm -f core conftest.err conftest.$ac_objext \
27188 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27192 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27195 ac_cv_search_lt_dlopen=no
27197 rm conftest.$ac_ext
27198 LIBS=$ac_func_search_save_LIBS
27200 { echo "$as_me:$LINENO: result: $ac_cv_search_lt_dlopen" >&5
27201 echo "${ECHO_T}$ac_cv_search_lt_dlopen" >&6; }
27202 ac_res=$ac_cv_search_lt_dlopen
27203 if test "$ac_res" != no; then
27204 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27206 cat >>confdefs.h <<\_ACEOF
27207 #define HAVE_LT_DLOPEN 1
27211 { echo "$as_me:$LINENO: WARNING: lt_dlopen() not found - plugin support might
27212 not be available" >&5
27213 echo "$as_me: WARNING: lt_dlopen() not found - plugin support might
27214 not be available" >&2;}
27218 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27219 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27220 if test "${ac_cv_search_dlopen+set}" = set; then
27221 echo $ECHO_N "(cached) $ECHO_C" >&6
27223 ac_func_search_save_LIBS=$LIBS
27224 cat >conftest.$ac_ext <<_ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h. */
27231 /* Override any GCC internal prototype to avoid an error.
27232 Use char because int might match the return type of a GCC
27233 builtin and then its argument prototype would still apply. */
27246 for ac_lib in '' dl; do
27247 if test -z "$ac_lib"; then
27248 ac_res="none required"
27251 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27253 rm -f conftest.$ac_objext conftest$ac_exeext
27254 if { (ac_try="$ac_link"
27255 case "(($ac_try" in
27256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27257 *) ac_try_echo
=$ac_try;;
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_link") 2>conftest.er1
27262 grep -v '^ *+' conftest.er1
>conftest.err
27264 cat conftest.err
>&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27268 { (case "(($ac_try" in
27269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27270 *) ac_try_echo=$ac_try;;
27272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27273 (eval "$ac_try") 2>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; } &&
27277 { ac_try='test -s conftest$ac_exeext'
27278 { (case "(($ac_try" in
27279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27280 *) ac_try_echo
=$ac_try;;
27282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27283 (eval "$ac_try") 2>&5
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; }; then
27287 ac_cv_search_dlopen
=$ac_res
27289 echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.
$ac_ext >&5
27295 rm -f core conftest.err conftest.
$ac_objext \
27297 if test "${ac_cv_search_dlopen+set}" = set; then
27301 if test "${ac_cv_search_dlopen+set}" = set; then
27304 ac_cv_search_dlopen
=no
27306 rm conftest.
$ac_ext
27307 LIBS
=$ac_func_search_save_LIBS
27309 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27310 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27311 ac_res
=$ac_cv_search_dlopen
27312 if test "$ac_res" != no
; then
27313 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27315 cat >>confdefs.h
<<\_ACEOF
27316 #define HAVE_DLOPEN 1
27320 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27321 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27325 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27326 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27327 if test "${ac_cv_search_mallinfo+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 ac_func_search_save_LIBS
=$LIBS
27331 cat >conftest.
$ac_ext <<_ACEOF
27334 cat confdefs.h
>>conftest.
$ac_ext
27335 cat >>conftest.
$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27338 /* Override any GCC internal prototype to avoid an error.
27339 Use char because int might match the return type of a GCC
27340 builtin and then its argument prototype would still apply. */
27348 return mallinfo ();
27353 for ac_lib
in '' malloc
; do
27354 if test -z "$ac_lib"; then
27355 ac_res
="none required"
27358 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27360 rm -f conftest.
$ac_objext conftest
$ac_exeext
27361 if { (ac_try
="$ac_link"
27362 case "(($ac_try" in
27363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_link") 2>conftest.er1
27369 grep -v '^ *+' conftest.er1 >conftest.err
27371 cat conftest.err >&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } &&
27374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27375 { (case "(($ac_try" in
27376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27377 *) ac_try_echo
=$ac_try;;
27379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27380 (eval "$ac_try") 2>&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; } &&
27384 { ac_try
='test -s conftest$ac_exeext'
27385 { (case "(($ac_try" in
27386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27387 *) ac_try_echo=$ac_try;;
27389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27390 (eval "$ac_try") 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 ac_cv_search_mallinfo=$ac_res
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27402 rm -f core conftest.err conftest.$ac_objext \
27404 if test "${ac_cv_search_mallinfo+set}" = set; then
27408 if test "${ac_cv_search_mallinfo+set}" = set; then
27411 ac_cv_search_mallinfo=no
27413 rm conftest.$ac_ext
27414 LIBS=$ac_func_search_save_LIBS
27416 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27417 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27418 ac_res=$ac_cv_search_mallinfo
27419 if test "$ac_res" != no; then
27420 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27422 cat >>confdefs.h <<\_ACEOF
27423 #define HAVE_MALLINFO 1
27429 if test "$ENABLE_THREADS" -eq 1 ; then
27431 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27432 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27433 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 ac_check_lib_save_LIBS=$LIBS
27437 LIBS="-lpthread $LIBS"
27438 cat >conftest.$ac_ext <<_ACEOF
27441 cat confdefs.h >>conftest.$ac_ext
27442 cat >>conftest.$ac_ext <<_ACEOF
27443 /* end confdefs.h. */
27445 /* Override any GCC internal prototype to avoid an error.
27446 Use char because int might match the return type of a GCC
27447 builtin and then its argument prototype would still apply. */
27451 char pthread_mutex_init ();
27455 return pthread_mutex_init ();
27460 rm -f conftest.$ac_objext conftest$ac_exeext
27461 if { (ac_try="$ac_link"
27462 case "(($ac_try" in
27463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27464 *) ac_try_echo
=$ac_try;;
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_link") 2>conftest.er1
27469 grep -v '^ *+' conftest.er1
>conftest.err
27471 cat conftest.err
>&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } &&
27474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27475 { (case "(($ac_try" in
27476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27477 *) ac_try_echo=$ac_try;;
27479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27480 (eval "$ac_try") 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; } &&
27484 { ac_try='test -s conftest$ac_exeext'
27485 { (case "(($ac_try" in
27486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27487 *) ac_try_echo
=$ac_try;;
27489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27490 (eval "$ac_try") 2>&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); }; }; then
27494 ac_cv_lib_pthread_pthread_mutex_init
=yes
27496 echo "$as_me: failed program was:" >&5
27497 sed 's/^/| /' conftest.
$ac_ext >&5
27499 ac_cv_lib_pthread_pthread_mutex_init
=no
27502 rm -f core conftest.err conftest.
$ac_objext \
27503 conftest
$ac_exeext conftest.
$ac_ext
27504 LIBS
=$ac_check_lib_save_LIBS
27506 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27507 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27508 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27509 cat >>confdefs.h
<<_ACEOF
27510 #define HAVE_LIBPTHREAD 1
27513 LIBS
="-lpthread $LIBS"
27517 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27518 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27519 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27520 echo $ECHO_N "(cached) $ECHO_C" >&6
27522 ac_func_search_save_LIBS
=$LIBS
27523 cat >conftest.
$ac_ext <<_ACEOF
27526 cat confdefs.h
>>conftest.
$ac_ext
27527 cat >>conftest.
$ac_ext <<_ACEOF
27528 /* end confdefs.h. */
27530 /* Override any GCC internal prototype to avoid an error.
27531 Use char because int might match the return type of a GCC
27532 builtin and then its argument prototype would still apply. */
27536 char pthread_mutex_lock ();
27540 return pthread_mutex_lock ();
27545 for ac_lib
in '' pthread
; do
27546 if test -z "$ac_lib"; then
27547 ac_res
="none required"
27550 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27552 rm -f conftest.
$ac_objext conftest
$ac_exeext
27553 if { (ac_try
="$ac_link"
27554 case "(($ac_try" in
27555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_link") 2>conftest.er1
27561 grep -v '^ *+' conftest.er1 >conftest.err
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } &&
27566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27567 { (case "(($ac_try" in
27568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27569 *) ac_try_echo
=$ac_try;;
27571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27572 (eval "$ac_try") 2>&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); }; } &&
27576 { ac_try
='test -s conftest$ac_exeext'
27577 { (case "(($ac_try" in
27578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27579 *) ac_try_echo=$ac_try;;
27581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27582 (eval "$ac_try") 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; }; then
27586 ac_cv_search_pthread_mutex_lock=$ac_res
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.$ac_ext >&5
27594 rm -f core conftest.err conftest.$ac_objext \
27596 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27600 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27603 ac_cv_search_pthread_mutex_lock=no
27605 rm conftest.$ac_ext
27606 LIBS=$ac_func_search_save_LIBS
27608 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27609 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27610 ac_res=$ac_cv_search_pthread_mutex_lock
27611 if test "$ac_res" != no; then
27612 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27614 cat >>confdefs.h <<\_ACEOF
27615 #define HAVE_PTHREAD_MUTEX_LOCK 1
27623 # Check whether --with-udis86 was given.
27624 if test "${with_udis86+set}" = set; then
27625 withval=$with_udis86;
27630 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
27633 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27634 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27635 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27636 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 ac_check_lib_save_LIBS=$LIBS
27639 LIBS="-ludis86 $LIBS"
27640 cat >conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27647 /* Override any GCC internal prototype to avoid an error.
27648 Use char because int might match the return type of a GCC
27649 builtin and then its argument prototype would still apply. */
27662 rm -f conftest.$ac_objext conftest$ac_exeext
27663 if { (ac_try="$ac_link"
27664 case "(($ac_try" in
27665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27666 *) ac_try_echo
=$ac_try;;
27668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27669 (eval "$ac_link") 2>conftest.er1
27671 grep -v '^ *+' conftest.er1
>conftest.err
27673 cat conftest.err
>&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
27676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27677 { (case "(($ac_try" in
27678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27679 *) ac_try_echo=$ac_try;;
27681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27682 (eval "$ac_try") 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; } &&
27686 { ac_try='test -s conftest$ac_exeext'
27687 { (case "(($ac_try" in
27688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27689 *) ac_try_echo
=$ac_try;;
27691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_try") 2>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; }; then
27696 ac_cv_lib_udis86_ud_init
=yes
27698 echo "$as_me: failed program was:" >&5
27699 sed 's/^/| /' conftest.
$ac_ext >&5
27701 ac_cv_lib_udis86_ud_init
=no
27704 rm -f core conftest.err conftest.
$ac_objext \
27705 conftest
$ac_exeext conftest.
$ac_ext
27706 LIBS
=$ac_check_lib_save_LIBS
27708 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27709 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27710 if test $ac_cv_lib_udis86_ud_init = yes; then
27711 cat >>confdefs.h
<<_ACEOF
27712 #define HAVE_LIBUDIS86 1
27715 LIBS
="-ludis86 $LIBS"
27719 echo "Error! You need to have libudis86 around."
27731 cat >>confdefs.h
<<_ACEOF
27732 #define USE_UDIS86 $USE_UDIS86
27742 ac_header_dirent
=no
27743 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
27744 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
27745 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27746 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27747 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27748 echo $ECHO_N "(cached) $ECHO_C" >&6
27750 cat >conftest.
$ac_ext <<_ACEOF
27753 cat confdefs.h
>>conftest.
$ac_ext
27754 cat >>conftest.
$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756 #include <sys/types.h>
27768 rm -f conftest.
$ac_objext
27769 if { (ac_try
="$ac_compile"
27770 case "(($ac_try" in
27771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27772 *) ac_try_echo=$ac_try;;
27774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27775 (eval "$ac_compile") 2>conftest.er1
27777 grep -v '^ *+' conftest.er1 >conftest.err
27779 cat conftest.err >&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } &&
27782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27783 { (case "(($ac_try" in
27784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27785 *) ac_try_echo
=$ac_try;;
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_try") 2>&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; } &&
27792 { ac_try
='test -s conftest.$ac_objext'
27793 { (case "(($ac_try" in
27794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27795 *) ac_try_echo=$ac_try;;
27797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27798 (eval "$ac_try") 2>&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); }; }; then
27802 eval "$as_ac_Header=yes"
27804 echo "$as_me: failed program was:" >&5
27805 sed 's/^/| /' conftest.$ac_ext >&5
27807 eval "$as_ac_Header=no"
27810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27812 ac_res=`eval echo '${'$as_ac_Header'}'`
27813 { echo "$as_me:$LINENO: result: $ac_res" >&5
27814 echo "${ECHO_T}$ac_res" >&6; }
27815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27816 cat >>confdefs.h <<_ACEOF
27817 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
27820 ac_header_dirent=$ac_hdr; break
27824 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
27825 if test $ac_header_dirent = dirent.h; then
27826 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27827 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27828 if test "${ac_cv_search_opendir+set}" = set; then
27829 echo $ECHO_N "(cached) $ECHO_C" >&6
27831 ac_func_search_save_LIBS=$LIBS
27832 cat >conftest.$ac_ext <<_ACEOF
27835 cat confdefs.h >>conftest.$ac_ext
27836 cat >>conftest.$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27839 /* Override any GCC internal prototype to avoid an error.
27840 Use char because int might match the return type of a GCC
27841 builtin and then its argument prototype would still apply. */
27854 for ac_lib in '' dir; do
27855 if test -z "$ac_lib"; then
27856 ac_res="none required"
27859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27861 rm -f conftest.$ac_objext conftest$ac_exeext
27862 if { (ac_try="$ac_link"
27863 case "(($ac_try" in
27864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27865 *) ac_try_echo
=$ac_try;;
27867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27868 (eval "$ac_link") 2>conftest.er1
27870 grep -v '^ *+' conftest.er1
>conftest.err
27872 cat conftest.err
>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } &&
27875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27876 { (case "(($ac_try" in
27877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27878 *) ac_try_echo=$ac_try;;
27880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27881 (eval "$ac_try") 2>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; } &&
27885 { ac_try='test -s conftest$ac_exeext'
27886 { (case "(($ac_try" in
27887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27888 *) ac_try_echo
=$ac_try;;
27890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27891 (eval "$ac_try") 2>&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; }; then
27895 ac_cv_search_opendir
=$ac_res
27897 echo "$as_me: failed program was:" >&5
27898 sed 's/^/| /' conftest.
$ac_ext >&5
27903 rm -f core conftest.err conftest.
$ac_objext \
27905 if test "${ac_cv_search_opendir+set}" = set; then
27909 if test "${ac_cv_search_opendir+set}" = set; then
27912 ac_cv_search_opendir
=no
27914 rm conftest.
$ac_ext
27915 LIBS
=$ac_func_search_save_LIBS
27917 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27918 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
27919 ac_res
=$ac_cv_search_opendir
27920 if test "$ac_res" != no
; then
27921 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27926 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27927 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27928 if test "${ac_cv_search_opendir+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27931 ac_func_search_save_LIBS
=$LIBS
27932 cat >conftest.
$ac_ext <<_ACEOF
27935 cat confdefs.h
>>conftest.
$ac_ext
27936 cat >>conftest.
$ac_ext <<_ACEOF
27937 /* end confdefs.h. */
27939 /* Override any GCC internal prototype to avoid an error.
27940 Use char because int might match the return type of a GCC
27941 builtin and then its argument prototype would still apply. */
27954 for ac_lib
in '' x
; do
27955 if test -z "$ac_lib"; then
27956 ac_res
="none required"
27959 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27961 rm -f conftest.
$ac_objext conftest
$ac_exeext
27962 if { (ac_try
="$ac_link"
27963 case "(($ac_try" in
27964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27965 *) ac_try_echo=$ac_try;;
27967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_link") 2>conftest.er1
27970 grep -v '^ *+' conftest.er1 >conftest.err
27972 cat conftest.err >&5
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); } &&
27975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27976 { (case "(($ac_try" in
27977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27978 *) ac_try_echo
=$ac_try;;
27980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27981 (eval "$ac_try") 2>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); }; } &&
27985 { ac_try
='test -s conftest$ac_exeext'
27986 { (case "(($ac_try" in
27987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27988 *) ac_try_echo=$ac_try;;
27990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27991 (eval "$ac_try") 2>&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); }; }; then
27995 ac_cv_search_opendir=$ac_res
27997 echo "$as_me: failed program was:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
28003 rm -f core conftest.err conftest.$ac_objext \
28005 if test "${ac_cv_search_opendir+set}" = set; then
28009 if test "${ac_cv_search_opendir+set}" = set; then
28012 ac_cv_search_opendir=no
28014 rm conftest.$ac_ext
28015 LIBS=$ac_func_search_save_LIBS
28017 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28018 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28019 ac_res=$ac_cv_search_opendir
28020 if test "$ac_res" != no; then
28021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28027 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28028 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28029 if test "${ac_cv_header_mmap_anon+set}" = set; then
28030 echo $ECHO_N "(cached) $ECHO_C" >&6
28033 ac_cpp='$CPP $CPPFLAGS'
28034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038 cat >conftest.$ac_ext <<_ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044 #include <sys/mman.h>
28045 #include <unistd.h>
28050 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28055 rm -f conftest.$ac_objext
28056 if { (ac_try="$ac_compile"
28057 case "(($ac_try" in
28058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28059 *) ac_try_echo
=$ac_try;;
28061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28062 (eval "$ac_compile") 2>conftest.er1
28064 grep -v '^ *+' conftest.er1
>conftest.err
28066 cat conftest.err
>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } &&
28069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28070 { (case "(($ac_try" in
28071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28072 *) ac_try_echo=$ac_try;;
28074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28075 (eval "$ac_try") 2>&5
28077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28078 (exit $ac_status); }; } &&
28079 { ac_try='test -s conftest.$ac_objext'
28080 { (case "(($ac_try" in
28081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28082 *) ac_try_echo
=$ac_try;;
28084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28085 (eval "$ac_try") 2>&5
28087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088 (exit $ac_status); }; }; then
28089 ac_cv_header_mmap_anon
=yes
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.
$ac_ext >&5
28094 ac_cv_header_mmap_anon
=no
28097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28099 ac_cpp
='$CPP $CPPFLAGS'
28100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28106 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28107 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28108 if test "$ac_cv_header_mmap_anon" = yes; then
28110 cat >>confdefs.h
<<\_ACEOF
28111 #define HAVE_MMAP_ANONYMOUS 1
28116 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28117 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28118 if test "${ac_cv_header_stat_broken+set}" = set; then
28119 echo $ECHO_N "(cached) $ECHO_C" >&6
28121 cat >conftest.
$ac_ext <<_ACEOF
28124 cat confdefs.h
>>conftest.
$ac_ext
28125 cat >>conftest.
$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127 #include <sys/types.h>
28128 #include <sys/stat.h>
28130 #if defined S_ISBLK && defined S_IFDIR
28131 # if S_ISBLK (S_IFDIR)
28136 #if defined S_ISBLK && defined S_IFCHR
28137 # if S_ISBLK (S_IFCHR)
28142 #if defined S_ISLNK && defined S_IFREG
28143 # if S_ISLNK (S_IFREG)
28148 #if defined S_ISSOCK && defined S_IFREG
28149 # if S_ISSOCK (S_IFREG)
28155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28156 $EGREP "You lose" >/dev
/null
2>&1; then
28157 ac_cv_header_stat_broken
=yes
28159 ac_cv_header_stat_broken
=no
28164 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28165 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28166 if test $ac_cv_header_stat_broken = yes; then
28168 cat >>confdefs.h
<<\_ACEOF
28169 #define STAT_MACROS_BROKEN 1
28174 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28176 if test "${ac_cv_header_stdc+set}" = set; then
28177 echo $ECHO_N "(cached) $ECHO_C" >&6
28179 cat >conftest.
$ac_ext <<_ACEOF
28182 cat confdefs.h
>>conftest.
$ac_ext
28183 cat >>conftest.
$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28185 #include <stdlib.h>
28186 #include <stdarg.h>
28187 #include <string.h>
28198 rm -f conftest.
$ac_objext
28199 if { (ac_try
="$ac_compile"
28200 case "(($ac_try" in
28201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28202 *) ac_try_echo=$ac_try;;
28204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28205 (eval "$ac_compile") 2>conftest.er1
28207 grep -v '^ *+' conftest.er1 >conftest.err
28209 cat conftest.err >&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28213 { (case "(($ac_try" in
28214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28215 *) ac_try_echo
=$ac_try;;
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_try") 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try
='test -s conftest.$ac_objext'
28223 { (case "(($ac_try" in
28224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28225 *) ac_try_echo=$ac_try;;
28227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28228 (eval "$ac_try") 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28232 ac_cv_header_stdc=yes
28234 echo "$as_me: failed program was:" >&5
28235 sed 's/^/| /' conftest.$ac_ext >&5
28237 ac_cv_header_stdc=no
28240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28242 if test $ac_cv_header_stdc = yes; then
28243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28244 cat >conftest.$ac_ext <<_ACEOF
28247 cat confdefs.h >>conftest.$ac_ext
28248 cat >>conftest.$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28250 #include <string.h>
28253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28254 $EGREP "memchr" >/dev/null 2>&1; then
28257 ac_cv_header_stdc=no
28263 if test $ac_cv_header_stdc = yes; then
28264 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28265 cat >conftest.$ac_ext <<_ACEOF
28268 cat confdefs.h >>conftest.$ac_ext
28269 cat >>conftest.$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28271 #include <stdlib.h>
28274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28275 $EGREP "free" >/dev/null 2>&1; then
28278 ac_cv_header_stdc=no
28284 if test $ac_cv_header_stdc = yes; then
28285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28286 if test "$cross_compiling" = yes; then
28289 cat >conftest.$ac_ext <<_ACEOF
28292 cat confdefs.h >>conftest.$ac_ext
28293 cat >>conftest.$ac_ext <<_ACEOF
28294 /* end confdefs.h. */
28296 #include <stdlib.h>
28297 #if ((' ' & 0x0FF) == 0x020)
28298 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28299 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28301 # define ISLOWER(c) \
28302 (('a' <= (c) && (c) <= 'i') \
28303 || ('j' <= (c) && (c) <= 'r') \
28304 || ('s' <= (c) && (c) <= 'z'))
28305 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28308 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28313 for (i = 0; i < 256; i++)
28314 if (XOR (islower (i), ISLOWER (i))
28315 || toupper (i) != TOUPPER (i))
28320 rm -f conftest$ac_exeext
28321 if { (ac_try="$ac_link"
28322 case "(($ac_try" in
28323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28324 *) ac_try_echo
=$ac_try;;
28326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28327 (eval "$ac_link") 2>&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28331 { (case "(($ac_try" in
28332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28333 *) ac_try_echo=$ac_try;;
28335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28336 (eval "$ac_try") 2>&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; }; then
28342 echo "$as_me: program exited with status $ac_status" >&5
28343 echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.$ac_ext >&5
28346 ( exit $ac_status )
28347 ac_cv_header_stdc=no
28349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28355 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28356 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28357 if test $ac_cv_header_stdc = yes; then
28359 cat >>confdefs.h <<\_ACEOF
28360 #define STDC_HEADERS 1
28365 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28366 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28367 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28368 echo $ECHO_N "(cached) $ECHO_C" >&6
28370 cat >conftest.$ac_ext <<_ACEOF
28373 cat confdefs.h >>conftest.$ac_ext
28374 cat >>conftest.$ac_ext <<_ACEOF
28375 /* end confdefs.h. */
28376 #include <sys/types.h>
28377 #include <sys/wait.h>
28378 #ifndef WEXITSTATUS
28379 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28382 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28390 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28395 rm -f conftest.$ac_objext
28396 if { (ac_try="$ac_compile"
28397 case "(($ac_try" in
28398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28399 *) ac_try_echo
=$ac_try;;
28401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28402 (eval "$ac_compile") 2>conftest.er1
28404 grep -v '^ *+' conftest.er1
>conftest.err
28406 cat conftest.err
>&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); } &&
28409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28410 { (case "(($ac_try" in
28411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_try") 2>&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); }; } &&
28419 { ac_try='test -s conftest.$ac_objext'
28420 { (case "(($ac_try" in
28421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28422 *) ac_try_echo
=$ac_try;;
28424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28425 (eval "$ac_try") 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_cv_header_sys_wait_h
=yes
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.
$ac_ext >&5
28434 ac_cv_header_sys_wait_h
=no
28437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28439 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28440 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28441 if test $ac_cv_header_sys_wait_h = yes; then
28443 cat >>confdefs.h
<<\_ACEOF
28444 #define HAVE_SYS_WAIT_H 1
28449 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28450 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28451 if test "${ac_cv_header_time+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 cat >conftest.
$ac_ext <<_ACEOF
28457 cat confdefs.h
>>conftest.
$ac_ext
28458 cat >>conftest.
$ac_ext <<_ACEOF
28459 /* end confdefs.h. */
28460 #include <sys/types.h>
28461 #include <sys/time.h>
28467 if ((struct tm *) 0)
28473 rm -f conftest.
$ac_objext
28474 if { (ac_try
="$ac_compile"
28475 case "(($ac_try" in
28476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28477 *) ac_try_echo=$ac_try;;
28479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28480 (eval "$ac_compile") 2>conftest.er1
28482 grep -v '^ *+' conftest.er1 >conftest.err
28484 cat conftest.err >&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); } &&
28487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28488 { (case "(($ac_try" in
28489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28490 *) ac_try_echo
=$ac_try;;
28492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_try") 2>&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; } &&
28497 { ac_try
='test -s conftest.$ac_objext'
28498 { (case "(($ac_try" in
28499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_try") 2>&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 ac_cv_header_time=yes
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28512 ac_cv_header_time=no
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28517 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28518 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28519 if test $ac_cv_header_time = yes; then
28521 cat >>confdefs.h <<\_ACEOF
28522 #define TIME_WITH_SYS_TIME 1
28534 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28536 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 ac_res=`eval echo '${'$as_ac_Header'}'`
28544 { echo "$as_me:$LINENO: result: $ac_res" >&5
28545 echo "${ECHO_T}$ac_res" >&6; }
28547 # Is the header compilable?
28548 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28550 cat >conftest.$ac_ext <<_ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 $ac_includes_default
28557 #include <$ac_header>
28559 rm -f conftest.$ac_objext
28560 if { (ac_try="$ac_compile"
28561 case "(($ac_try" in
28562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28563 *) ac_try_echo
=$ac_try;;
28565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28566 (eval "$ac_compile") 2>conftest.er1
28568 grep -v '^ *+' conftest.er1
>conftest.err
28570 cat conftest.err
>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } &&
28573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28574 { (case "(($ac_try" in
28575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28576 *) ac_try_echo=$ac_try;;
28578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28579 (eval "$ac_try") 2>&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); }; } &&
28583 { ac_try='test -s conftest.$ac_objext'
28584 { (case "(($ac_try" in
28585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28586 *) ac_try_echo
=$ac_try;;
28588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28589 (eval "$ac_try") 2>&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); }; }; then
28593 ac_header_compiler
=yes
28595 echo "$as_me: failed program was:" >&5
28596 sed 's/^/| /' conftest.
$ac_ext >&5
28598 ac_header_compiler
=no
28601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28603 echo "${ECHO_T}$ac_header_compiler" >&6; }
28605 # Is the header present?
28606 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28608 cat >conftest.
$ac_ext <<_ACEOF
28611 cat confdefs.h
>>conftest.
$ac_ext
28612 cat >>conftest.
$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28614 #include <$ac_header>
28616 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28617 case "(($ac_try" in
28618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28619 *) ac_try_echo=$ac_try;;
28621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28624 grep -v '^ *+' conftest.er1 >conftest.err
28626 cat conftest.err >&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } >/dev/null; then
28629 if test -s conftest.err; then
28630 ac_cpp_err=$ac_c_preproc_warn_flag
28631 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28638 if test -z "$ac_cpp_err"; then
28639 ac_header_preproc=yes
28641 echo "$as_me: failed program was:" >&5
28642 sed 's/^/| /' conftest.$ac_ext >&5
28644 ac_header_preproc=no
28647 rm -f conftest.err conftest.$ac_ext
28648 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28649 echo "${ECHO_T}$ac_header_preproc" >&6; }
28651 # So? What about this header?
28652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28658 ac_header_preproc=yes
28661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28674 ## ----------------------------------- ##
28675 ## Report this to llvmbugs@cs.uiuc.edu ##
28676 ## ----------------------------------- ##
28678 ) | sed "s/^/$as_me: WARNING: /" >&2
28681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28684 echo $ECHO_N "(cached) $ECHO_C" >&6
28686 eval "$as_ac_Header=\$ac_header_preproc"
28688 ac_res=`eval echo '${'$as_ac_Header'}'`
28689 { echo "$as_me:$LINENO: result: $ac_res" >&5
28690 echo "${ECHO_T}$ac_res" >&6; }
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h <<_ACEOF
28695 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28708 for ac_header in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28710 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28712 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 ac_res=`eval echo '${'$as_ac_Header'}'`
28718 { echo "$as_me:$LINENO: result: $ac_res" >&5
28719 echo "${ECHO_T}$ac_res" >&6; }
28721 # Is the header compilable?
28722 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28724 cat >conftest.$ac_ext <<_ACEOF
28727 cat confdefs.h >>conftest.$ac_ext
28728 cat >>conftest.$ac_ext <<_ACEOF
28729 /* end confdefs.h. */
28730 $ac_includes_default
28731 #include <$ac_header>
28733 rm -f conftest.$ac_objext
28734 if { (ac_try="$ac_compile"
28735 case "(($ac_try" in
28736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28737 *) ac_try_echo
=$ac_try;;
28739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28740 (eval "$ac_compile") 2>conftest.er1
28742 grep -v '^ *+' conftest.er1
>conftest.err
28744 cat conftest.err
>&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } &&
28747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28748 { (case "(($ac_try" in
28749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_try") 2>&5
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; } &&
28757 { ac_try='test -s conftest.$ac_objext'
28758 { (case "(($ac_try" in
28759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28760 *) ac_try_echo
=$ac_try;;
28762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28763 (eval "$ac_try") 2>&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); }; }; then
28767 ac_header_compiler
=yes
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.
$ac_ext >&5
28772 ac_header_compiler
=no
28775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28776 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28777 echo "${ECHO_T}$ac_header_compiler" >&6; }
28779 # Is the header present?
28780 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28781 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28782 cat >conftest.
$ac_ext <<_ACEOF
28785 cat confdefs.h
>>conftest.
$ac_ext
28786 cat >>conftest.
$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28788 #include <$ac_header>
28790 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28791 case "(($ac_try" in
28792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28793 *) ac_try_echo=$ac_try;;
28795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28798 grep -v '^ *+' conftest.er1 >conftest.err
28800 cat conftest.err >&5
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); } >/dev/null; then
28803 if test -s conftest.err; then
28804 ac_cpp_err=$ac_c_preproc_warn_flag
28805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28812 if test -z "$ac_cpp_err"; then
28813 ac_header_preproc=yes
28815 echo "$as_me: failed program was:" >&5
28816 sed 's/^/| /' conftest.$ac_ext >&5
28818 ac_header_preproc=no
28821 rm -f conftest.err conftest.$ac_ext
28822 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28823 echo "${ECHO_T}$ac_header_preproc" >&6; }
28825 # So? What about this header?
28826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28832 ac_header_preproc=yes
28835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28848 ## ----------------------------------- ##
28849 ## Report this to llvmbugs@cs.uiuc.edu ##
28850 ## ----------------------------------- ##
28852 ) | sed "s/^/$as_me: WARNING: /" >&2
28855 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28858 echo $ECHO_N "(cached) $ECHO_C" >&6
28860 eval "$as_ac_Header=\$ac_header_preproc"
28862 ac_res=`eval echo '${'$as_ac_Header'}'`
28863 { echo "$as_me:$LINENO: result: $ac_res" >&5
28864 echo "${ECHO_T}$ac_res" >&6; }
28867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28868 cat >>confdefs.h <<_ACEOF
28869 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28881 for ac_header in windows.h sys/mman.h sys/param.h sys/resource.h sys/time.h
28883 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 ac_res=`eval echo '${'$as_ac_Header'}'`
28891 { echo "$as_me:$LINENO: result: $ac_res" >&5
28892 echo "${ECHO_T}$ac_res" >&6; }
28894 # Is the header compilable?
28895 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28897 cat >conftest.$ac_ext <<_ACEOF
28900 cat confdefs.h >>conftest.$ac_ext
28901 cat >>conftest.$ac_ext <<_ACEOF
28902 /* end confdefs.h. */
28903 $ac_includes_default
28904 #include <$ac_header>
28906 rm -f conftest.$ac_objext
28907 if { (ac_try="$ac_compile"
28908 case "(($ac_try" in
28909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28910 *) ac_try_echo
=$ac_try;;
28912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28913 (eval "$ac_compile") 2>conftest.er1
28915 grep -v '^ *+' conftest.er1
>conftest.err
28917 cat conftest.err
>&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } &&
28920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28921 { (case "(($ac_try" in
28922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28923 *) ac_try_echo=$ac_try;;
28925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28926 (eval "$ac_try") 2>&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); }; } &&
28930 { ac_try='test -s conftest.$ac_objext'
28931 { (case "(($ac_try" in
28932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28933 *) ac_try_echo
=$ac_try;;
28935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28936 (eval "$ac_try") 2>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; }; then
28940 ac_header_compiler
=yes
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.
$ac_ext >&5
28945 ac_header_compiler
=no
28948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28949 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28950 echo "${ECHO_T}$ac_header_compiler" >&6; }
28952 # Is the header present?
28953 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28955 cat >conftest.
$ac_ext <<_ACEOF
28958 cat confdefs.h
>>conftest.
$ac_ext
28959 cat >>conftest.
$ac_ext <<_ACEOF
28960 /* end confdefs.h. */
28961 #include <$ac_header>
28963 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28964 case "(($ac_try" in
28965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28966 *) ac_try_echo=$ac_try;;
28968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28971 grep -v '^ *+' conftest.er1 >conftest.err
28973 cat conftest.err >&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); } >/dev/null; then
28976 if test -s conftest.err; then
28977 ac_cpp_err=$ac_c_preproc_warn_flag
28978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28985 if test -z "$ac_cpp_err"; then
28986 ac_header_preproc=yes
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28991 ac_header_preproc=no
28994 rm -f conftest.err conftest.$ac_ext
28995 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28996 echo "${ECHO_T}$ac_header_preproc" >&6; }
28998 # So? What about this header?
28999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29005 ac_header_preproc=yes
29008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29021 ## ----------------------------------- ##
29022 ## Report this to llvmbugs@cs.uiuc.edu ##
29023 ## ----------------------------------- ##
29025 ) | sed "s/^/$as_me: WARNING: /" >&2
29028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29031 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 eval "$as_ac_Header=\$ac_header_preproc"
29035 ac_res=`eval echo '${'$as_ac_Header'}'`
29036 { echo "$as_me:$LINENO: result: $ac_res" >&5
29037 echo "${ECHO_T}$ac_res" >&6; }
29040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29041 cat >>confdefs.h <<_ACEOF
29042 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29052 for ac_header in sys/types.h malloc/malloc.h mach/mach.h
29054 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29059 echo $ECHO_N "(cached) $ECHO_C" >&6
29061 ac_res=`eval echo '${'$as_ac_Header'}'`
29062 { echo "$as_me:$LINENO: result: $ac_res" >&5
29063 echo "${ECHO_T}$ac_res" >&6; }
29065 # Is the header compilable?
29066 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29068 cat >conftest.$ac_ext <<_ACEOF
29071 cat confdefs.h >>conftest.$ac_ext
29072 cat >>conftest.$ac_ext <<_ACEOF
29073 /* end confdefs.h. */
29074 $ac_includes_default
29075 #include <$ac_header>
29077 rm -f conftest.$ac_objext
29078 if { (ac_try="$ac_compile"
29079 case "(($ac_try" in
29080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29081 *) ac_try_echo
=$ac_try;;
29083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29084 (eval "$ac_compile") 2>conftest.er1
29086 grep -v '^ *+' conftest.er1
>conftest.err
29088 cat conftest.err
>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } &&
29091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29092 { (case "(($ac_try" in
29093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29094 *) ac_try_echo=$ac_try;;
29096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29097 (eval "$ac_try") 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try='test -s conftest.$ac_objext'
29102 { (case "(($ac_try" in
29103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29104 *) ac_try_echo
=$ac_try;;
29106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29107 (eval "$ac_try") 2>&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); }; }; then
29111 ac_header_compiler
=yes
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.
$ac_ext >&5
29116 ac_header_compiler
=no
29119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29121 echo "${ECHO_T}$ac_header_compiler" >&6; }
29123 # Is the header present?
29124 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29126 cat >conftest.
$ac_ext <<_ACEOF
29129 cat confdefs.h
>>conftest.
$ac_ext
29130 cat >>conftest.
$ac_ext <<_ACEOF
29131 /* end confdefs.h. */
29132 #include <$ac_header>
29134 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29135 case "(($ac_try" in
29136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29137 *) ac_try_echo=$ac_try;;
29139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29142 grep -v '^ *+' conftest.er1 >conftest.err
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } >/dev/null; then
29147 if test -s conftest.err; then
29148 ac_cpp_err=$ac_c_preproc_warn_flag
29149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29156 if test -z "$ac_cpp_err"; then
29157 ac_header_preproc=yes
29159 echo "$as_me: failed program was:" >&5
29160 sed 's/^/| /' conftest.$ac_ext >&5
29162 ac_header_preproc=no
29165 rm -f conftest.err conftest.$ac_ext
29166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29167 echo "${ECHO_T}$ac_header_preproc" >&6; }
29169 # So? What about this header?
29170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29176 ac_header_preproc=yes
29179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29192 ## ----------------------------------- ##
29193 ## Report this to llvmbugs@cs.uiuc.edu ##
29194 ## ----------------------------------- ##
29196 ) | sed "s/^/$as_me: WARNING: /" >&2
29199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29204 eval "$as_ac_Header=\$ac_header_preproc"
29206 ac_res=`eval echo '${'$as_ac_Header'}'`
29207 { echo "$as_me:$LINENO: result: $ac_res" >&5
29208 echo "${ECHO_T}$ac_res" >&6; }
29211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29212 cat >>confdefs.h <<_ACEOF
29213 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29220 if test "$ENABLE_THREADS" -eq 1 ; then
29221 if test "${ac_cv_header_pthread_h+set}" = set; then
29222 { echo "$as_me:$LINENO: checking for pthread.h" >&5
29223 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
29224 if test "${ac_cv_header_pthread_h+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
29228 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
29230 # Is the header compilable?
29231 { echo "$as_me:$LINENO: checking pthread.h usability" >&5
29232 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
29233 cat >conftest.$ac_ext <<_ACEOF
29236 cat confdefs.h >>conftest.$ac_ext
29237 cat >>conftest.$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29239 $ac_includes_default
29240 #include <pthread.h>
29242 rm -f conftest.$ac_objext
29243 if { (ac_try="$ac_compile"
29244 case "(($ac_try" in
29245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29246 *) ac_try_echo
=$ac_try;;
29248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29249 (eval "$ac_compile") 2>conftest.er1
29251 grep -v '^ *+' conftest.er1
>conftest.err
29253 cat conftest.err
>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); } &&
29256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29257 { (case "(($ac_try" in
29258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29259 *) ac_try_echo=$ac_try;;
29261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29262 (eval "$ac_try") 2>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; } &&
29266 { ac_try='test -s conftest.$ac_objext'
29267 { (case "(($ac_try" in
29268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29269 *) ac_try_echo
=$ac_try;;
29271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29272 (eval "$ac_try") 2>&5
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 (exit $ac_status); }; }; then
29276 ac_header_compiler
=yes
29278 echo "$as_me: failed program was:" >&5
29279 sed 's/^/| /' conftest.
$ac_ext >&5
29281 ac_header_compiler
=no
29284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29285 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29286 echo "${ECHO_T}$ac_header_compiler" >&6; }
29288 # Is the header present?
29289 { echo "$as_me:$LINENO: checking pthread.h presence" >&5
29290 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
29291 cat >conftest.
$ac_ext <<_ACEOF
29294 cat confdefs.h
>>conftest.
$ac_ext
29295 cat >>conftest.
$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29297 #include <pthread.h>
29299 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29300 case "(($ac_try" in
29301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29302 *) ac_try_echo=$ac_try;;
29304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29307 grep -v '^ *+' conftest.er1 >conftest.err
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } >/dev/null; then
29312 if test -s conftest.err; then
29313 ac_cpp_err=$ac_c_preproc_warn_flag
29314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29321 if test -z "$ac_cpp_err"; then
29322 ac_header_preproc=yes
29324 echo "$as_me: failed program was:" >&5
29325 sed 's/^/| /' conftest.$ac_ext >&5
29327 ac_header_preproc=no
29330 rm -f conftest.err conftest.$ac_ext
29331 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29332 echo "${ECHO_T}$ac_header_preproc" >&6; }
29334 # So? What about this header?
29335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29337 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
29338 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29339 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
29340 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
29341 ac_header_preproc=yes
29344 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
29345 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
29346 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
29347 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
29348 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
29349 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
29350 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
29351 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
29352 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
29353 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
29354 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
29355 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
29357 ## ----------------------------------- ##
29358 ## Report this to llvmbugs@cs.uiuc.edu ##
29359 ## ----------------------------------- ##
29361 ) | sed "s/^/$as_me: WARNING: /" >&2
29364 { echo "$as_me:$LINENO: checking for pthread.h" >&5
29365 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
29366 if test "${ac_cv_header_pthread_h+set}" = set; then
29367 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 ac_cv_header_pthread_h=$ac_header_preproc
29371 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
29372 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
29375 if test $ac_cv_header_pthread_h = yes; then
29391 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29392 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29393 if test "${ac_cv_huge_val_sanity+set}" = set; then
29394 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 ac_cpp='$CXXCPP $CPPFLAGS'
29399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29404 if test "$cross_compiling" = yes; then
29405 ac_cv_huge_val_sanity=yes
29407 cat >conftest.$ac_ext <<_ACEOF
29410 cat confdefs.h >>conftest.$ac_ext
29411 cat >>conftest.$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29417 double x = HUGE_VAL; return x != x;
29422 rm -f conftest$ac_exeext
29423 if { (ac_try="$ac_link"
29424 case "(($ac_try" in
29425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29426 *) ac_try_echo
=$ac_try;;
29428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29429 (eval "$ac_link") 2>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29433 { (case "(($ac_try" in
29434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_try") 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 ac_cv_huge_val_sanity=yes
29444 echo "$as_me: program exited with status $ac_status" >&5
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29448 ( exit $ac_status )
29449 ac_cv_huge_val_sanity=no
29451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29456 ac_cpp='$CPP $CPPFLAGS'
29457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
29464 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
29465 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
29468 { echo "$as_me:$LINENO: checking for pid_t" >&5
29469 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
29470 if test "${ac_cv_type_pid_t+set}" = set; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29473 cat >conftest.$ac_ext <<_ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 $ac_includes_default
29480 typedef pid_t ac__type_new_;
29484 if ((ac__type_new_ *) 0)
29486 if (sizeof (ac__type_new_))
29492 rm -f conftest.$ac_objext
29493 if { (ac_try="$ac_compile"
29494 case "(($ac_try" in
29495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29496 *) ac_try_echo
=$ac_try;;
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_compile") 2>conftest.er1
29501 grep -v '^ *+' conftest.er1
>conftest.err
29503 cat conftest.err
>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } &&
29506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29507 { (case "(($ac_try" in
29508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29509 *) ac_try_echo=$ac_try;;
29511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29512 (eval "$ac_try") 2>&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); }; } &&
29516 { ac_try='test -s conftest.$ac_objext'
29517 { (case "(($ac_try" in
29518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29519 *) ac_try_echo
=$ac_try;;
29521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29522 (eval "$ac_try") 2>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; }; then
29526 ac_cv_type_pid_t
=yes
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.
$ac_ext >&5
29531 ac_cv_type_pid_t
=no
29534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29536 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29537 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
29538 if test $ac_cv_type_pid_t = yes; then
29542 cat >>confdefs.h
<<_ACEOF
29548 { echo "$as_me:$LINENO: checking for size_t" >&5
29549 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
29550 if test "${ac_cv_type_size_t+set}" = set; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 cat >conftest.
$ac_ext <<_ACEOF
29556 cat confdefs.h
>>conftest.
$ac_ext
29557 cat >>conftest.
$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559 $ac_includes_default
29560 typedef size_t ac__type_new_;
29564 if ((ac__type_new_ *) 0)
29566 if (sizeof (ac__type_new_))
29572 rm -f conftest.
$ac_objext
29573 if { (ac_try
="$ac_compile"
29574 case "(($ac_try" in
29575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29576 *) ac_try_echo=$ac_try;;
29578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29579 (eval "$ac_compile") 2>conftest.er1
29581 grep -v '^ *+' conftest.er1 >conftest.err
29583 cat conftest.err >&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); } &&
29586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29587 { (case "(($ac_try" in
29588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29589 *) ac_try_echo
=$ac_try;;
29591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29592 (eval "$ac_try") 2>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; } &&
29596 { ac_try
='test -s conftest.$ac_objext'
29597 { (case "(($ac_try" in
29598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29599 *) ac_try_echo=$ac_try;;
29601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29602 (eval "$ac_try") 2>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; }; then
29606 ac_cv_type_size_t=yes
29608 echo "$as_me: failed program was:" >&5
29609 sed 's/^/| /' conftest.$ac_ext >&5
29611 ac_cv_type_size_t=no
29614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29616 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29617 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
29618 if test $ac_cv_type_size_t = yes; then
29622 cat >>confdefs.h <<_ACEOF
29623 #define size_t unsigned int
29628 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
29629 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
29630 if test "${ac_cv_type_signal+set}" = set; then
29631 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 cat >conftest.$ac_ext <<_ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639 #include <sys/types.h>
29640 #include <signal.h>
29645 return *(signal (0, 0)) (0) == 1;
29650 rm -f conftest.$ac_objext
29651 if { (ac_try="$ac_compile"
29652 case "(($ac_try" in
29653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29654 *) ac_try_echo
=$ac_try;;
29656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29657 (eval "$ac_compile") 2>conftest.er1
29659 grep -v '^ *+' conftest.er1
>conftest.err
29661 cat conftest.err
>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } &&
29664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29665 { (case "(($ac_try" in
29666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29667 *) ac_try_echo=$ac_try;;
29669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29670 (eval "$ac_try") 2>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; } &&
29674 { ac_try='test -s conftest.$ac_objext'
29675 { (case "(($ac_try" in
29676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29677 *) ac_try_echo
=$ac_try;;
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_try") 2>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; }; then
29684 ac_cv_type_signal
=int
29686 echo "$as_me: failed program was:" >&5
29687 sed 's/^/| /' conftest.
$ac_ext >&5
29689 ac_cv_type_signal
=void
29692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29694 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
29695 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
29697 cat >>confdefs.h
<<_ACEOF
29698 #define RETSIGTYPE $ac_cv_type_signal
29702 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
29703 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
29704 if test "${ac_cv_struct_tm+set}" = set; then
29705 echo $ECHO_N "(cached) $ECHO_C" >&6
29707 cat >conftest.
$ac_ext <<_ACEOF
29710 cat confdefs.h
>>conftest.
$ac_ext
29711 cat >>conftest.
$ac_ext <<_ACEOF
29712 /* end confdefs.h. */
29713 #include <sys/types.h>
29719 struct tm *tp; tp->tm_sec;
29724 rm -f conftest.
$ac_objext
29725 if { (ac_try
="$ac_compile"
29726 case "(($ac_try" in
29727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29728 *) ac_try_echo=$ac_try;;
29730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29731 (eval "$ac_compile") 2>conftest.er1
29733 grep -v '^ *+' conftest.er1 >conftest.err
29735 cat conftest.err >&5
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); } &&
29738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29739 { (case "(($ac_try" in
29740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29741 *) ac_try_echo
=$ac_try;;
29743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29744 (eval "$ac_try") 2>&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); }; } &&
29748 { ac_try
='test -s conftest.$ac_objext'
29749 { (case "(($ac_try" in
29750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29751 *) ac_try_echo=$ac_try;;
29753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29754 (eval "$ac_try") 2>&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; }; then
29758 ac_cv_struct_tm=time.h
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29763 ac_cv_struct_tm=sys/time.h
29766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29768 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
29769 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
29770 if test $ac_cv_struct_tm = sys/time.h; then
29772 cat >>confdefs.h <<\_ACEOF
29773 #define TM_IN_SYS_TIME 1
29778 { echo "$as_me:$LINENO: checking for int64_t" >&5
29779 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
29780 if test "${ac_cv_type_int64_t+set}" = set; then
29781 echo $ECHO_N "(cached) $ECHO_C" >&6
29783 cat >conftest.$ac_ext <<_ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29789 $ac_includes_default
29790 typedef int64_t ac__type_new_;
29794 if ((ac__type_new_ *) 0)
29796 if (sizeof (ac__type_new_))
29802 rm -f conftest.$ac_objext
29803 if { (ac_try="$ac_compile"
29804 case "(($ac_try" in
29805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29806 *) ac_try_echo
=$ac_try;;
29808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29809 (eval "$ac_compile") 2>conftest.er1
29811 grep -v '^ *+' conftest.er1
>conftest.err
29813 cat conftest.err
>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); } &&
29816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29817 { (case "(($ac_try" in
29818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29819 *) ac_try_echo=$ac_try;;
29821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29822 (eval "$ac_try") 2>&5
29824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29825 (exit $ac_status); }; } &&
29826 { ac_try='test -s conftest.$ac_objext'
29827 { (case "(($ac_try" in
29828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29829 *) ac_try_echo
=$ac_try;;
29831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29832 (eval "$ac_try") 2>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836 ac_cv_type_int64_t
=yes
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.
$ac_ext >&5
29841 ac_cv_type_int64_t
=no
29844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29846 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
29847 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
29848 if test $ac_cv_type_int64_t = yes; then
29850 cat >>confdefs.h
<<_ACEOF
29851 #define HAVE_INT64_T 1
29856 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
29857 echo "$as_me: error: Type int64_t required but not found" >&2;}
29858 { (exit 1); exit 1; }; }
29861 { echo "$as_me:$LINENO: checking for uint64_t" >&5
29862 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
29863 if test "${ac_cv_type_uint64_t+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29866 cat >conftest.
$ac_ext <<_ACEOF
29869 cat confdefs.h
>>conftest.
$ac_ext
29870 cat >>conftest.
$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872 $ac_includes_default
29873 typedef uint64_t ac__type_new_;
29877 if ((ac__type_new_ *) 0)
29879 if (sizeof (ac__type_new_))
29885 rm -f conftest.
$ac_objext
29886 if { (ac_try
="$ac_compile"
29887 case "(($ac_try" in
29888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29889 *) ac_try_echo=$ac_try;;
29891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29892 (eval "$ac_compile") 2>conftest.er1
29894 grep -v '^ *+' conftest.er1 >conftest.err
29896 cat conftest.err >&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29900 { (case "(($ac_try" in
29901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29902 *) ac_try_echo
=$ac_try;;
29904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29905 (eval "$ac_try") 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; } &&
29909 { ac_try
='test -s conftest.$ac_objext'
29910 { (case "(($ac_try" in
29911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_try") 2>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 ac_cv_type_uint64_t=yes
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.$ac_ext >&5
29924 ac_cv_type_uint64_t=no
29927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29929 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
29930 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
29931 if test $ac_cv_type_uint64_t = yes; then
29933 cat >>confdefs.h <<_ACEOF
29934 #define HAVE_UINT64_T 1
29939 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
29940 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
29941 if test "${ac_cv_type_u_int64_t+set}" = set; then
29942 echo $ECHO_N "(cached) $ECHO_C" >&6
29944 cat >conftest.$ac_ext <<_ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29950 $ac_includes_default
29951 typedef u_int64_t ac__type_new_;
29955 if ((ac__type_new_ *) 0)
29957 if (sizeof (ac__type_new_))
29963 rm -f conftest.$ac_objext
29964 if { (ac_try="$ac_compile"
29965 case "(($ac_try" in
29966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29967 *) ac_try_echo
=$ac_try;;
29969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29970 (eval "$ac_compile") 2>conftest.er1
29972 grep -v '^ *+' conftest.er1
>conftest.err
29974 cat conftest.err
>&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } &&
29977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29978 { (case "(($ac_try" in
29979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29980 *) ac_try_echo=$ac_try;;
29982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29983 (eval "$ac_try") 2>&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; } &&
29987 { ac_try='test -s conftest.$ac_objext'
29988 { (case "(($ac_try" in
29989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29990 *) ac_try_echo
=$ac_try;;
29992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29993 (eval "$ac_try") 2>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); }; }; then
29997 ac_cv_type_u_int64_t
=yes
29999 echo "$as_me: failed program was:" >&5
30000 sed 's/^/| /' conftest.
$ac_ext >&5
30002 ac_cv_type_u_int64_t
=no
30005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30007 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30008 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30009 if test $ac_cv_type_u_int64_t = yes; then
30011 cat >>confdefs.h
<<_ACEOF
30012 #define HAVE_U_INT64_T 1
30017 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30018 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30019 { (exit 1); exit 1; }; }
30033 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30035 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30036 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30038 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30039 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 cat >conftest.
$ac_ext <<_ACEOF
30044 cat confdefs.h
>>conftest.
$ac_ext
30045 cat >>conftest.
$ac_ext <<_ACEOF
30046 /* end confdefs.h. */
30047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30049 #define $ac_func innocuous_$ac_func
30051 /* System header to define __stub macros and hopefully few prototypes,
30052 which can conflict with char $ac_func (); below.
30053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30054 <limits.h> exists even on freestanding compilers. */
30057 # include <limits.h>
30059 # include <assert.h>
30064 /* Override any GCC internal prototype to avoid an error.
30065 Use char because int might match the return type of a GCC
30066 builtin and then its argument prototype would still apply. */
30071 /* The GNU C library defines this for functions which it implements
30072 to always fail with ENOSYS. Some functions are actually named
30073 something starting with __ and the normal name is an alias. */
30074 #if defined __stub_$ac_func || defined __stub___$ac_func
30081 return $ac_func ();
30086 rm -f conftest.
$ac_objext conftest
$ac_exeext
30087 if { (ac_try
="$ac_link"
30088 case "(($ac_try" in
30089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30090 *) ac_try_echo=$ac_try;;
30092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30093 (eval "$ac_link") 2>conftest.er1
30095 grep -v '^ *+' conftest.er1 >conftest.err
30097 cat conftest.err >&5
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); } &&
30100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30101 { (case "(($ac_try" in
30102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30103 *) ac_try_echo
=$ac_try;;
30105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30106 (eval "$ac_try") 2>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; } &&
30110 { ac_try
='test -s conftest$ac_exeext'
30111 { (case "(($ac_try" in
30112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_try") 2>&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); }; }; then
30120 eval "$as_ac_var=yes"
30122 echo "$as_me: failed program was:" >&5
30123 sed 's/^/| /' conftest.$ac_ext >&5
30125 eval "$as_ac_var=no"
30128 rm -f core conftest.err conftest.$ac_objext \
30129 conftest$ac_exeext conftest.$ac_ext
30131 ac_res=`eval echo '${'$as_ac_var'}'`
30132 { echo "$as_me:$LINENO: result: $ac_res" >&5
30133 echo "${ECHO_T}$ac_res" >&6; }
30134 if test `eval echo '${'$as_ac_var'}'` = yes; then
30135 cat >>confdefs.h <<_ACEOF
30136 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30146 for ac_func in powf fmodf strtof round
30148 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30152 echo $ECHO_N "(cached) $ECHO_C" >&6
30154 cat >conftest.$ac_ext <<_ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30162 #define $ac_func innocuous_$ac_func
30164 /* System header to define __stub macros and hopefully few prototypes,
30165 which can conflict with char $ac_func (); below.
30166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30167 <limits.h> exists even on freestanding compilers. */
30170 # include <limits.h>
30172 # include <assert.h>
30177 /* Override any GCC internal prototype to avoid an error.
30178 Use char because int might match the return type of a GCC
30179 builtin and then its argument prototype would still apply. */
30184 /* The GNU C library defines this for functions which it implements
30185 to always fail with ENOSYS. Some functions are actually named
30186 something starting with __ and the normal name is an alias. */
30187 #if defined __stub_$ac_func || defined __stub___$ac_func
30194 return $ac_func ();
30199 rm -f conftest.$ac_objext conftest$ac_exeext
30200 if { (ac_try="$ac_link"
30201 case "(($ac_try" in
30202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30203 *) ac_try_echo
=$ac_try;;
30205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30206 (eval "$ac_link") 2>conftest.er1
30208 grep -v '^ *+' conftest.er1
>conftest.err
30210 cat conftest.err
>&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); } &&
30213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30214 { (case "(($ac_try" in
30215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30216 *) ac_try_echo=$ac_try;;
30218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30219 (eval "$ac_try") 2>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; } &&
30223 { ac_try='test -s conftest$ac_exeext'
30224 { (case "(($ac_try" in
30225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30226 *) ac_try_echo
=$ac_try;;
30228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30229 (eval "$ac_try") 2>&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); }; }; then
30233 eval "$as_ac_var=yes"
30235 echo "$as_me: failed program was:" >&5
30236 sed 's/^/| /' conftest.
$ac_ext >&5
30238 eval "$as_ac_var=no"
30241 rm -f core conftest.err conftest.
$ac_objext \
30242 conftest
$ac_exeext conftest.
$ac_ext
30244 ac_res
=`eval echo '${'$as_ac_var'}'`
30245 { echo "$as_me:$LINENO: result: $ac_res" >&5
30246 echo "${ECHO_T}$ac_res" >&6; }
30247 if test `eval echo '${'$as_ac_var'}'` = yes; then
30248 cat >>confdefs.h
<<_ACEOF
30249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30260 for ac_func
in getpagesize getrusage getrlimit setrlimit gettimeofday
30262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30265 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30266 echo $ECHO_N "(cached) $ECHO_C" >&6
30268 cat >conftest.
$ac_ext <<_ACEOF
30271 cat confdefs.h
>>conftest.
$ac_ext
30272 cat >>conftest.
$ac_ext <<_ACEOF
30273 /* end confdefs.h. */
30274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30276 #define $ac_func innocuous_$ac_func
30278 /* System header to define __stub macros and hopefully few prototypes,
30279 which can conflict with char $ac_func (); below.
30280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30281 <limits.h> exists even on freestanding compilers. */
30284 # include <limits.h>
30286 # include <assert.h>
30291 /* Override any GCC internal prototype to avoid an error.
30292 Use char because int might match the return type of a GCC
30293 builtin and then its argument prototype would still apply. */
30298 /* The GNU C library defines this for functions which it implements
30299 to always fail with ENOSYS. Some functions are actually named
30300 something starting with __ and the normal name is an alias. */
30301 #if defined __stub_$ac_func || defined __stub___$ac_func
30308 return $ac_func ();
30313 rm -f conftest.
$ac_objext conftest
$ac_exeext
30314 if { (ac_try
="$ac_link"
30315 case "(($ac_try" in
30316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30317 *) ac_try_echo=$ac_try;;
30319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30320 (eval "$ac_link") 2>conftest.er1
30322 grep -v '^ *+' conftest.er1 >conftest.err
30324 cat conftest.err >&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); } &&
30327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30328 { (case "(($ac_try" in
30329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30330 *) ac_try_echo
=$ac_try;;
30332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30333 (eval "$ac_try") 2>&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); }; } &&
30337 { ac_try
='test -s conftest$ac_exeext'
30338 { (case "(($ac_try" in
30339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30340 *) ac_try_echo=$ac_try;;
30342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30343 (eval "$ac_try") 2>&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); }; }; then
30347 eval "$as_ac_var=yes"
30349 echo "$as_me: failed program was:" >&5
30350 sed 's/^/| /' conftest.$ac_ext >&5
30352 eval "$as_ac_var=no"
30355 rm -f core conftest.err conftest.$ac_objext \
30356 conftest$ac_exeext conftest.$ac_ext
30358 ac_res=`eval echo '${'$as_ac_var'}'`
30359 { echo "$as_me:$LINENO: result: $ac_res" >&5
30360 echo "${ECHO_T}$ac_res" >&6; }
30361 if test `eval echo '${'$as_ac_var'}'` = yes; then
30362 cat >>confdefs.h <<_ACEOF
30363 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30372 for ac_func in isatty mkdtemp mkstemp
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
30488 for ac_func
in mktemp realpath sbrk setrlimit strdup strerror strerror_r
30490 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30491 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30493 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30494 echo $ECHO_N "(cached) $ECHO_C" >&6
30496 cat >conftest.
$ac_ext <<_ACEOF
30499 cat confdefs.h
>>conftest.
$ac_ext
30500 cat >>conftest.
$ac_ext <<_ACEOF
30501 /* end confdefs.h. */
30502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30504 #define $ac_func innocuous_$ac_func
30506 /* System header to define __stub macros and hopefully few prototypes,
30507 which can conflict with char $ac_func (); below.
30508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30509 <limits.h> exists even on freestanding compilers. */
30512 # include <limits.h>
30514 # include <assert.h>
30519 /* Override any GCC internal prototype to avoid an error.
30520 Use char because int might match the return type of a GCC
30521 builtin and then its argument prototype would still apply. */
30526 /* The GNU C library defines this for functions which it implements
30527 to always fail with ENOSYS. Some functions are actually named
30528 something starting with __ and the normal name is an alias. */
30529 #if defined __stub_$ac_func || defined __stub___$ac_func
30536 return $ac_func ();
30541 rm -f conftest.
$ac_objext conftest
$ac_exeext
30542 if { (ac_try
="$ac_link"
30543 case "(($ac_try" in
30544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30545 *) ac_try_echo=$ac_try;;
30547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30548 (eval "$ac_link") 2>conftest.er1
30550 grep -v '^ *+' conftest.er1 >conftest.err
30552 cat conftest.err >&5
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); } &&
30555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30556 { (case "(($ac_try" in
30557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30558 *) ac_try_echo
=$ac_try;;
30560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30561 (eval "$ac_try") 2>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; } &&
30565 { ac_try
='test -s conftest$ac_exeext'
30566 { (case "(($ac_try" in
30567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_try") 2>&5
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); }; }; then
30575 eval "$as_ac_var=yes"
30577 echo "$as_me: failed program was:" >&5
30578 sed 's/^/| /' conftest.$ac_ext >&5
30580 eval "$as_ac_var=no"
30583 rm -f core conftest.err conftest.$ac_objext \
30584 conftest$ac_exeext conftest.$ac_ext
30586 ac_res=`eval echo '${'$as_ac_var'}'`
30587 { echo "$as_me:$LINENO: result: $ac_res" >&5
30588 echo "${ECHO_T}$ac_res" >&6; }
30589 if test `eval echo '${'$as_ac_var'}'` = yes; then
30590 cat >>confdefs.h <<_ACEOF
30591 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30601 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
30603 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 cat >conftest.$ac_ext <<_ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30617 #define $ac_func innocuous_$ac_func
30619 /* System header to define __stub macros and hopefully few prototypes,
30620 which can conflict with char $ac_func (); below.
30621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30622 <limits.h> exists even on freestanding compilers. */
30625 # include <limits.h>
30627 # include <assert.h>
30632 /* Override any GCC internal prototype to avoid an error.
30633 Use char because int might match the return type of a GCC
30634 builtin and then its argument prototype would still apply. */
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined __stub_$ac_func || defined __stub___$ac_func
30649 return $ac_func ();
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (ac_try="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30658 *) ac_try_echo
=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30663 grep -v '^ *+' conftest.er1
>conftest.err
30665 cat conftest.err
>&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } &&
30668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30669 { (case "(($ac_try" in
30670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30671 *) ac_try_echo=$ac_try;;
30673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30674 (eval "$ac_try") 2>&5
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); }; } &&
30678 { ac_try='test -s conftest$ac_exeext'
30679 { (case "(($ac_try" in
30680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30681 *) ac_try_echo
=$ac_try;;
30683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30684 (eval "$ac_try") 2>&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; }; then
30688 eval "$as_ac_var=yes"
30690 echo "$as_me: failed program was:" >&5
30691 sed 's/^/| /' conftest.
$ac_ext >&5
30693 eval "$as_ac_var=no"
30696 rm -f core conftest.err conftest.
$ac_objext \
30697 conftest
$ac_exeext conftest.
$ac_ext
30699 ac_res
=`eval echo '${'$as_ac_var'}'`
30700 { echo "$as_me:$LINENO: result: $ac_res" >&5
30701 echo "${ECHO_T}$ac_res" >&6; }
30702 if test `eval echo '${'$as_ac_var'}'` = yes; then
30703 cat >>confdefs.h
<<_ACEOF
30704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30714 for ac_func
in setjmp longjmp sigsetjmp siglongjmp
30716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30719 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30720 echo $ECHO_N "(cached) $ECHO_C" >&6
30722 cat >conftest.
$ac_ext <<_ACEOF
30725 cat confdefs.h
>>conftest.
$ac_ext
30726 cat >>conftest.
$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30730 #define $ac_func innocuous_$ac_func
30732 /* System header to define __stub macros and hopefully few prototypes,
30733 which can conflict with char $ac_func (); below.
30734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30735 <limits.h> exists even on freestanding compilers. */
30738 # include <limits.h>
30740 # include <assert.h>
30745 /* Override any GCC internal prototype to avoid an error.
30746 Use char because int might match the return type of a GCC
30747 builtin and then its argument prototype would still apply. */
30752 /* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755 #if defined __stub_$ac_func || defined __stub___$ac_func
30762 return $ac_func ();
30767 rm -f conftest.
$ac_objext conftest
$ac_exeext
30768 if { (ac_try
="$ac_link"
30769 case "(($ac_try" in
30770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30771 *) ac_try_echo=$ac_try;;
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_link") 2>conftest.er1
30776 grep -v '^ *+' conftest.er1 >conftest.err
30778 cat conftest.err >&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } &&
30781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30782 { (case "(($ac_try" in
30783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30784 *) ac_try_echo
=$ac_try;;
30786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30787 (eval "$ac_try") 2>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; } &&
30791 { ac_try
='test -s conftest$ac_exeext'
30792 { (case "(($ac_try" in
30793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30794 *) ac_try_echo=$ac_try;;
30796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30797 (eval "$ac_try") 2>&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; }; then
30801 eval "$as_ac_var=yes"
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.$ac_ext >&5
30806 eval "$as_ac_var=no"
30809 rm -f core conftest.err conftest.$ac_objext \
30810 conftest$ac_exeext conftest.$ac_ext
30812 ac_res=`eval echo '${'$as_ac_var'}'`
30813 { echo "$as_me:$LINENO: result: $ac_res" >&5
30814 echo "${ECHO_T}$ac_res" >&6; }
30815 if test `eval echo '${'$as_ac_var'}'` = yes; then
30816 cat >>confdefs.h <<_ACEOF
30817 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30823 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
30824 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
30825 if test "${llvm_cv_c_printf_a+set}" = set; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 ac_cpp='$CPP $CPPFLAGS'
30830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30834 if test "$cross_compiling" = yes; then
30835 llvmac_cv_c_printf_a=no
30837 cat >conftest.$ac_ext <<_ACEOF
30841 cat confdefs.h >>conftest.$ac_ext
30842 cat >>conftest.$ac_ext <<_ACEOF
30843 /* end confdefs.h. */
30846 #include <stdlib.h>
30852 volatile double A, B;
30856 sprintf(Buffer, "%a", A);
30860 if (A != 0x1.999999999999ap-4)
30867 rm -f conftest$ac_exeext
30868 if { (ac_try="$ac_link"
30869 case "(($ac_try" in
30870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30871 *) ac_try_echo
=$ac_try;;
30873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30874 (eval "$ac_link") 2>&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30878 { (case "(($ac_try" in
30879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30880 *) ac_try_echo=$ac_try;;
30882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30883 (eval "$ac_try") 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); }; }; then
30887 llvm_cv_c_printf_a=yes
30889 echo "$as_me: program exited with status $ac_status" >&5
30890 echo "$as_me: failed program was:" >&5
30891 sed 's/^/| /' conftest.$ac_ext >&5
30893 ( exit $ac_status )
30894 llvmac_cv_c_printf_a=no
30896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30901 ac_cpp='$CPP $CPPFLAGS'
30902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30907 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
30908 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
30909 if test "$llvm_cv_c_printf_a" = "yes"; then
30911 cat >>confdefs.h <<\_ACEOF
30912 #define HAVE_PRINTF_A 1
30917 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
30918 # for constant arguments. Useless!
30919 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
30920 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
30921 if test "${ac_cv_working_alloca_h+set}" = set; then
30922 echo $ECHO_N "(cached) $ECHO_C" >&6
30924 cat >conftest.$ac_ext <<_ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30930 #include <alloca.h>
30934 char *p = (char *) alloca (2 * sizeof (int));
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30944 *) ac_try_echo
=$ac_try;;
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30949 grep -v '^ *+' conftest.er1
>conftest.err
30951 cat conftest.err
>&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } &&
30954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30955 { (case "(($ac_try" in
30956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30957 *) ac_try_echo=$ac_try;;
30959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30960 (eval "$ac_try") 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; } &&
30964 { ac_try='test -s conftest$ac_exeext'
30965 { (case "(($ac_try" in
30966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30967 *) ac_try_echo
=$ac_try;;
30969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30970 (eval "$ac_try") 2>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; }; then
30974 ac_cv_working_alloca_h
=yes
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.
$ac_ext >&5
30979 ac_cv_working_alloca_h
=no
30982 rm -f core conftest.err conftest.
$ac_objext \
30983 conftest
$ac_exeext conftest.
$ac_ext
30985 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
30986 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
30987 if test $ac_cv_working_alloca_h = yes; then
30989 cat >>confdefs.h
<<\_ACEOF
30990 #define HAVE_ALLOCA_H 1
30995 { echo "$as_me:$LINENO: checking for alloca" >&5
30996 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
30997 if test "${ac_cv_func_alloca_works+set}" = set; then
30998 echo $ECHO_N "(cached) $ECHO_C" >&6
31000 cat >conftest.
$ac_ext <<_ACEOF
31003 cat confdefs.h
>>conftest.
$ac_ext
31004 cat >>conftest.
$ac_ext <<_ACEOF
31005 /* end confdefs.h. */
31007 # define alloca __builtin_alloca
31010 # include <malloc.h>
31011 # define alloca _alloca
31014 # include <alloca.h>
31019 # ifndef alloca /* predefined by HP cc +Olibcalls */
31030 char *p = (char *) alloca (1);
31036 rm -f conftest.
$ac_objext conftest
$ac_exeext
31037 if { (ac_try
="$ac_link"
31038 case "(($ac_try" in
31039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31040 *) ac_try_echo=$ac_try;;
31042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31043 (eval "$ac_link") 2>conftest.er1
31045 grep -v '^ *+' conftest.er1 >conftest.err
31047 cat conftest.err >&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); } &&
31050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31051 { (case "(($ac_try" in
31052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31053 *) ac_try_echo
=$ac_try;;
31055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31056 (eval "$ac_try") 2>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try
='test -s conftest$ac_exeext'
31061 { (case "(($ac_try" in
31062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31063 *) ac_try_echo=$ac_try;;
31065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31066 (eval "$ac_try") 2>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; }; then
31070 ac_cv_func_alloca_works=yes
31072 echo "$as_me: failed program was:" >&5
31073 sed 's/^/| /' conftest.$ac_ext >&5
31075 ac_cv_func_alloca_works=no
31078 rm -f core conftest.err conftest.$ac_objext \
31079 conftest$ac_exeext conftest.$ac_ext
31081 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31082 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31084 if test $ac_cv_func_alloca_works = yes; then
31086 cat >>confdefs.h <<\_ACEOF
31087 #define HAVE_ALLOCA 1
31091 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31092 # that cause trouble. Some versions do not even contain alloca or
31093 # contain a buggy version. If you still want to use their alloca,
31094 # use ar to extract alloca.o from them instead of compiling alloca.c.
31096 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
31098 cat >>confdefs.h <<\_ACEOF
31103 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
31104 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
31105 if test "${ac_cv_os_cray+set}" = set; then
31106 echo $ECHO_N "(cached
) $ECHO_C" >&6
31108 cat >conftest.$ac_ext <<_ACEOF
31111 cat confdefs.h >>conftest.$ac_ext
31112 cat >>conftest.$ac_ext <<_ACEOF
31113 /* end confdefs.h. */
31114 #if defined CRAY && ! defined CRAY2
31121 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
31122 $EGREP "webecray
" >/dev/null 2>&1; then
31130 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
31131 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31132 if test $ac_cv_os_cray = yes; then
31133 for ac_func in _getb67 GETB67 getb67; do
31134 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
31135 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
31136 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
31137 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
31138 echo $ECHO_N "(cached
) $ECHO_C" >&6
31140 cat >conftest.$ac_ext <<_ACEOF
31143 cat confdefs.h >>conftest.$ac_ext
31144 cat >>conftest.$ac_ext <<_ACEOF
31145 /* end confdefs.h. */
31146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31148 #define $ac_func innocuous_$ac_func
31150 /* System header to define __stub macros and hopefully few prototypes,
31151 which can conflict with char $ac_func (); below.
31152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31153 <limits.h> exists even on freestanding compilers. */
31156 # include <limits.h>
31158 # include <assert.h>
31163 /* Override any GCC internal prototype to avoid an error.
31164 Use char because int might match the return type of a GCC
31165 builtin and then its argument prototype would still apply. */
31170 /* The GNU C library defines this for functions which it implements
31171 to always fail with ENOSYS. Some functions are actually named
31172 something starting with __ and the normal name is an alias. */
31173 #if defined __stub_$ac_func || defined __stub___$ac_func
31180 return $ac_func ();
31185 rm -f conftest.$ac_objext conftest$ac_exeext
31186 if { (ac_try="$ac_link"
31187 case "(($ac_try" in
31188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31189 *) ac_try_echo=$ac_try;;
31191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31192 (eval "$ac_link") 2>conftest.er1
31194 grep -v '^ *+' conftest.er1 >conftest.err
31196 cat conftest.err >&5
31197 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31198 (exit $ac_status); } &&
31199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31200 { (case "(($ac_try" in
31201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31202 *) ac_try_echo=$ac_try;;
31204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31205 (eval "$ac_try") 2>&5
31207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31208 (exit $ac_status); }; } &&
31209 { ac_try='test -s conftest$ac_exeext'
31210 { (case "(($ac_try" in
31211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31212 *) ac_try_echo=$ac_try;;
31214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31215 (eval "$ac_try") 2>&5
31217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 eval "$as_ac_var=yes"
31221 echo "$as_me: failed program was
:" >&5
31222 sed 's/^/| /' conftest.$ac_ext >&5
31224 eval "$as_ac_var=no
"
31227 rm -f core conftest.err conftest.$ac_objext \
31228 conftest$ac_exeext conftest.$ac_ext
31230 ac_res=`eval echo '${'$as_ac_var'}'`
31231 { echo "$as_me:$LINENO: result
: $ac_res" >&5
31232 echo "${ECHO_T}$ac_res" >&6; }
31233 if test `eval echo '${'$as_ac_var'}'` = yes; then
31235 cat >>confdefs.h <<_ACEOF
31236 #define CRAY_STACKSEG_END $ac_func
31245 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
31246 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
31247 if test "${ac_cv_c_stack_direction+set}" = set; then
31248 echo $ECHO_N "(cached
) $ECHO_C" >&6
31250 if test "$cross_compiling" = yes; then
31251 ac_cv_c_stack_direction=0
31253 cat >conftest.$ac_ext <<_ACEOF
31256 cat confdefs.h >>conftest.$ac_ext
31257 cat >>conftest.$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31259 $ac_includes_default
31261 find_stack_direction ()
31263 static char *addr = 0;
31268 return find_stack_direction ();
31271 return (&dummy > addr) ? 1 : -1;
31277 return find_stack_direction () < 0;
31280 rm -f conftest$ac_exeext
31281 if { (ac_try="$ac_link"
31282 case "(($ac_try" in
31283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31284 *) ac_try_echo=$ac_try;;
31286 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31287 (eval "$ac_link") 2>&5
31289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31291 { (case "(($ac_try" in
31292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31293 *) ac_try_echo=$ac_try;;
31295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_try") 2>&5
31298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31299 (exit $ac_status); }; }; then
31300 ac_cv_c_stack_direction=1
31302 echo "$as_me: program exited with status
$ac_status" >&5
31303 echo "$as_me: failed program was
:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31306 ( exit $ac_status )
31307 ac_cv_c_stack_direction=-1
31309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31314 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
31315 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31317 cat >>confdefs.h <<_ACEOF
31318 #define STACK_DIRECTION $ac_cv_c_stack_direction
31325 { echo "$as_me:$LINENO: checking
for srand48
/lrand48
/drand48
in <stdlib.h
>" >&5
31326 echo $ECHO_N "checking
for srand48
/lrand48
/drand48
in <stdlib.h
>...
$ECHO_C" >&6; }
31327 if test "${ac_cv_func_rand48+set}" = set; then
31328 echo $ECHO_N "(cached
) $ECHO_C" >&6
31331 ac_cpp='$CXXCPP $CPPFLAGS'
31332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31336 cat >conftest.$ac_ext <<_ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 #include <stdlib.h>
31346 srand48(0);lrand48();drand48();
31351 rm -f conftest.$ac_objext
31352 if { (ac_try="$ac_compile"
31353 case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_compile") 2>conftest.er1
31360 grep -v '^ *+' conftest.er1 >conftest.err
31362 cat conftest.err >&5
31363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31364 (exit $ac_status); } &&
31365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31366 { (case "(($ac_try" in
31367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31368 *) ac_try_echo=$ac_try;;
31370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31371 (eval "$ac_try") 2>&5
31373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31374 (exit $ac_status); }; } &&
31375 { ac_try='test -s conftest.$ac_objext'
31376 { (case "(($ac_try" in
31377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31378 *) ac_try_echo=$ac_try;;
31380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31381 (eval "$ac_try") 2>&5
31383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31384 (exit $ac_status); }; }; then
31385 ac_cv_func_rand48=yes
31387 echo "$as_me: failed program was
:" >&5
31388 sed 's/^/| /' conftest.$ac_ext >&5
31390 ac_cv_func_rand48=no
31393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31395 ac_cpp='$CPP $CPPFLAGS'
31396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31401 { echo "$as_me:$LINENO: result
: $ac_cv_func_rand48" >&5
31402 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
31404 if test "$ac_cv_func_rand48" = "yes" ; then
31406 cat >>confdefs.h <<\_ACEOF
31407 #define HAVE_RAND48 1
31413 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces
" >&5
31414 echo $ECHO_N "checking whether the compiler implements namespaces...
$ECHO_C" >&6; }
31415 if test "${ac_cv_cxx_namespaces+set}" = set; then
31416 echo $ECHO_N "(cached
) $ECHO_C" >&6
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424 cat >conftest.$ac_ext <<_ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 namespace Outer { namespace Inner { int i = 0; }}
31434 using namespace Outer::Inner; return i;
31439 rm -f conftest.$ac_objext
31440 if { (ac_try="$ac_compile"
31441 case "(($ac_try" in
31442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31443 *) ac_try_echo=$ac_try;;
31445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31446 (eval "$ac_compile") 2>conftest.er1
31448 grep -v '^ *+' conftest.er1 >conftest.err
31450 cat conftest.err >&5
31451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31452 (exit $ac_status); } &&
31453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31454 { (case "(($ac_try" in
31455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31456 *) ac_try_echo=$ac_try;;
31458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31459 (eval "$ac_try") 2>&5
31461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31462 (exit $ac_status); }; } &&
31463 { ac_try='test -s conftest.$ac_objext'
31464 { (case "(($ac_try" in
31465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31466 *) ac_try_echo=$ac_try;;
31468 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31469 (eval "$ac_try") 2>&5
31471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31472 (exit $ac_status); }; }; then
31473 ac_cv_cxx_namespaces=yes
31475 echo "$as_me: failed program was
:" >&5
31476 sed 's/^/| /' conftest.$ac_ext >&5
31478 ac_cv_cxx_namespaces=no
31481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31483 ac_cpp='$CPP $CPPFLAGS'
31484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31490 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_namespaces" >&5
31491 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
31492 if test "$ac_cv_cxx_namespaces" = yes; then
31494 cat >>confdefs.h <<\_ACEOF
31495 #define HAVE_NAMESPACES
31500 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_map
> defining template class std
::hash_map
" >&5
31501 echo $ECHO_N "checking whether the compiler has
<ext
/hash_map
> defining template class std
::hash_map...
$ECHO_C" >&6; }
31502 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
31503 echo $ECHO_N "(cached
) $ECHO_C" >&6
31507 ac_cpp='$CXXCPP $CPPFLAGS'
31508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31512 cat >conftest.$ac_ext <<_ACEOF
31515 cat confdefs.h >>conftest.$ac_ext
31516 cat >>conftest.$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31518 #include <ext/hash_map>
31519 #ifdef HAVE_NAMESPACES
31520 using namespace std;
31525 hash_map<int, int> t;
31530 rm -f conftest.$ac_objext
31531 if { (ac_try="$ac_compile"
31532 case "(($ac_try" in
31533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31534 *) ac_try_echo=$ac_try;;
31536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31537 (eval "$ac_compile") 2>conftest.er1
31539 grep -v '^ *+' conftest.er1 >conftest.err
31541 cat conftest.err >&5
31542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31543 (exit $ac_status); } &&
31544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31545 { (case "(($ac_try" in
31546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31547 *) ac_try_echo=$ac_try;;
31549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31550 (eval "$ac_try") 2>&5
31552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31553 (exit $ac_status); }; } &&
31554 { ac_try='test -s conftest.$ac_objext'
31555 { (case "(($ac_try" in
31556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31557 *) ac_try_echo=$ac_try;;
31559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31560 (eval "$ac_try") 2>&5
31562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31563 (exit $ac_status); }; }; then
31564 ac_cv_cxx_have_std_ext_hash_map=yes
31566 echo "$as_me: failed program was
:" >&5
31567 sed 's/^/| /' conftest.$ac_ext >&5
31569 ac_cv_cxx_have_std_ext_hash_map=no
31572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31574 ac_cpp='$CPP $CPPFLAGS'
31575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31580 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_std_ext_hash_map" >&5
31581 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6; }
31582 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes
31585 cat >>confdefs.h <<\_ACEOF
31586 #define HAVE_STD_EXT_HASH_MAP 1
31591 cat >>confdefs.h <<\_ACEOF
31592 #define HAVE_STD_EXT_HASH_MAP 0
31597 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_map
> defining template class __gnu_cxx
::hash_map
" >&5
31598 echo $ECHO_N "checking whether the compiler has
<ext
/hash_map
> defining template class __gnu_cxx
::hash_map...
$ECHO_C" >&6; }
31599 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
31600 echo $ECHO_N "(cached
) $ECHO_C" >&6
31604 ac_cpp='$CXXCPP $CPPFLAGS'
31605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31609 cat >conftest.$ac_ext <<_ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615 #include <ext/hash_map>
31616 #ifdef HAVE_NAMESPACES
31617 using namespace __gnu_cxx;
31622 hash_map<int,int> t;
31627 rm -f conftest.$ac_objext
31628 if { (ac_try="$ac_compile"
31629 case "(($ac_try" in
31630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31631 *) ac_try_echo=$ac_try;;
31633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31634 (eval "$ac_compile") 2>conftest.er1
31636 grep -v '^ *+' conftest.er1 >conftest.err
31638 cat conftest.err >&5
31639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31640 (exit $ac_status); } &&
31641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31642 { (case "(($ac_try" in
31643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31644 *) ac_try_echo=$ac_try;;
31646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31647 (eval "$ac_try") 2>&5
31649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31650 (exit $ac_status); }; } &&
31651 { ac_try='test -s conftest.$ac_objext'
31652 { (case "(($ac_try" in
31653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31654 *) ac_try_echo=$ac_try;;
31656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31657 (eval "$ac_try") 2>&5
31659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31660 (exit $ac_status); }; }; then
31661 ac_cv_cxx_have_gnu_ext_hash_map=yes
31663 echo "$as_me: failed program was
:" >&5
31664 sed 's/^/| /' conftest.$ac_ext >&5
31666 ac_cv_cxx_have_gnu_ext_hash_map=no
31669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31671 ac_cpp='$CPP $CPPFLAGS'
31672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31677 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
31678 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6; }
31679 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes
31682 cat >>confdefs.h <<\_ACEOF
31683 #define HAVE_GNU_EXT_HASH_MAP 1
31688 cat >>confdefs.h <<\_ACEOF
31689 #define HAVE_GNU_EXT_HASH_MAP 0
31694 { echo "$as_me:$LINENO: checking whether the compiler has
<hash_map
> defining template class
::hash_map
" >&5
31695 echo $ECHO_N "checking whether the compiler has
<hash_map
> defining template class
::hash_map...
$ECHO_C" >&6; }
31696 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
31697 echo $ECHO_N "(cached
) $ECHO_C" >&6
31701 ac_cpp='$CXXCPP $CPPFLAGS'
31702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31706 cat >conftest.$ac_ext <<_ACEOF
31709 cat confdefs.h >>conftest.$ac_ext
31710 cat >>conftest.$ac_ext <<_ACEOF
31711 /* end confdefs.h. */
31712 #include <hash_map>
31716 hash_map<int,int> t;
31721 rm -f conftest.$ac_objext
31722 if { (ac_try="$ac_compile"
31723 case "(($ac_try" in
31724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31725 *) ac_try_echo=$ac_try;;
31727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31728 (eval "$ac_compile") 2>conftest.er1
31730 grep -v '^ *+' conftest.er1 >conftest.err
31732 cat conftest.err >&5
31733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31734 (exit $ac_status); } &&
31735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31736 { (case "(($ac_try" in
31737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31738 *) ac_try_echo=$ac_try;;
31740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31741 (eval "$ac_try") 2>&5
31743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31744 (exit $ac_status); }; } &&
31745 { ac_try='test -s conftest.$ac_objext'
31746 { (case "(($ac_try" in
31747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31748 *) ac_try_echo=$ac_try;;
31750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31751 (eval "$ac_try") 2>&5
31753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31754 (exit $ac_status); }; }; then
31755 ac_cv_cxx_have_global_hash_map=yes
31757 echo "$as_me: failed program was
:" >&5
31758 sed 's/^/| /' conftest.$ac_ext >&5
31760 ac_cv_cxx_have_global_hash_map=no
31763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31765 ac_cpp='$CPP $CPPFLAGS'
31766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31771 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_global_hash_map" >&5
31772 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6; }
31773 if test "$ac_cv_cxx_have_global_hash_map" = yes
31776 cat >>confdefs.h <<\_ACEOF
31777 #define HAVE_GLOBAL_HASH_MAP 1
31782 cat >>confdefs.h <<\_ACEOF
31783 #define HAVE_GLOBAL_HASH_MAP 0
31788 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_set
> defining template class std
::hash_set
" >&5
31789 echo $ECHO_N "checking whether the compiler has
<ext
/hash_set
> defining template class std
::hash_set...
$ECHO_C" >&6; }
31790 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
31791 echo $ECHO_N "(cached
) $ECHO_C" >&6
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31800 cat >conftest.$ac_ext <<_ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 #include <ext/hash_set>
31807 #ifdef HAVE_NAMESPACES
31808 using namespace std;
31818 rm -f conftest.$ac_objext
31819 if { (ac_try="$ac_compile"
31820 case "(($ac_try" in
31821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31822 *) ac_try_echo=$ac_try;;
31824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31825 (eval "$ac_compile") 2>conftest.er1
31827 grep -v '^ *+' conftest.er1 >conftest.err
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31833 { (case "(($ac_try" in
31834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31835 *) ac_try_echo=$ac_try;;
31837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31838 (eval "$ac_try") 2>&5
31840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31841 (exit $ac_status); }; } &&
31842 { ac_try='test -s conftest.$ac_objext'
31843 { (case "(($ac_try" in
31844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31845 *) ac_try_echo=$ac_try;;
31847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31848 (eval "$ac_try") 2>&5
31850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31851 (exit $ac_status); }; }; then
31852 ac_cv_cxx_have_std_ext_hash_set=yes
31854 echo "$as_me: failed program was
:" >&5
31855 sed 's/^/| /' conftest.$ac_ext >&5
31857 ac_cv_cxx_have_std_ext_hash_set=no
31860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31862 ac_cpp='$CPP $CPPFLAGS'
31863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31868 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_std_ext_hash_set" >&5
31869 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6; }
31870 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes
31873 cat >>confdefs.h <<\_ACEOF
31874 #define HAVE_STD_EXT_HASH_SET 1
31879 cat >>confdefs.h <<\_ACEOF
31880 #define HAVE_STD_EXT_HASH_SET 0
31885 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_set
> defining template class __gnu_cxx
::hash_set
" >&5
31886 echo $ECHO_N "checking whether the compiler has
<ext
/hash_set
> defining template class __gnu_cxx
::hash_set...
$ECHO_C" >&6; }
31887 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
31888 echo $ECHO_N "(cached
) $ECHO_C" >&6
31892 ac_cpp='$CXXCPP $CPPFLAGS'
31893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31897 cat >conftest.$ac_ext <<_ACEOF
31900 cat confdefs.h >>conftest.$ac_ext
31901 cat >>conftest.$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31903 #include <ext/hash_set>
31904 #ifdef HAVE_NAMESPACES
31905 using namespace __gnu_cxx;
31915 rm -f conftest.$ac_objext
31916 if { (ac_try="$ac_compile"
31917 case "(($ac_try" in
31918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31919 *) ac_try_echo=$ac_try;;
31921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31922 (eval "$ac_compile") 2>conftest.er1
31924 grep -v '^ *+' conftest.er1 >conftest.err
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31928 (exit $ac_status); } &&
31929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31930 { (case "(($ac_try" in
31931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31932 *) ac_try_echo=$ac_try;;
31934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31935 (eval "$ac_try") 2>&5
31937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31938 (exit $ac_status); }; } &&
31939 { ac_try='test -s conftest.$ac_objext'
31940 { (case "(($ac_try" in
31941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31942 *) ac_try_echo=$ac_try;;
31944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31945 (eval "$ac_try") 2>&5
31947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_cxx_have_gnu_ext_hash_set=yes
31951 echo "$as_me: failed program was
:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31954 ac_cv_cxx_have_gnu_ext_hash_set=no
31957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31959 ac_cpp='$CPP $CPPFLAGS'
31960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31965 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
31966 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6; }
31967 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes
31970 cat >>confdefs.h <<\_ACEOF
31971 #define HAVE_GNU_EXT_HASH_SET 1
31976 cat >>confdefs.h <<\_ACEOF
31977 #define HAVE_GNU_EXT_HASH_SET 0
31982 { echo "$as_me:$LINENO: checking whether the compiler has
<hash_set
> defining template class
::hash_set
" >&5
31983 echo $ECHO_N "checking whether the compiler has
<hash_set
> defining template class
::hash_set...
$ECHO_C" >&6; }
31984 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
31985 echo $ECHO_N "(cached
) $ECHO_C" >&6
31989 ac_cpp='$CXXCPP $CPPFLAGS'
31990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31994 cat >conftest.$ac_ext <<_ACEOF
31997 cat confdefs.h >>conftest.$ac_ext
31998 cat >>conftest.$ac_ext <<_ACEOF
31999 /* end confdefs.h. */
32000 #include <hash_set>
32004 hash_set<int> t; return 0;
32009 rm -f conftest.$ac_objext
32010 if { (ac_try="$ac_compile"
32011 case "(($ac_try" in
32012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32013 *) ac_try_echo=$ac_try;;
32015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32016 (eval "$ac_compile") 2>conftest.er1
32018 grep -v '^ *+' conftest.er1 >conftest.err
32020 cat conftest.err >&5
32021 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32022 (exit $ac_status); } &&
32023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32024 { (case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_try") 2>&5
32031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32032 (exit $ac_status); }; } &&
32033 { ac_try='test -s conftest.$ac_objext'
32034 { (case "(($ac_try" in
32035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32036 *) ac_try_echo=$ac_try;;
32038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32039 (eval "$ac_try") 2>&5
32041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32042 (exit $ac_status); }; }; then
32043 ac_cv_cxx_have_global_hash_set=yes
32045 echo "$as_me: failed program was
:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32048 ac_cv_cxx_have_global_hash_set=no
32051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32053 ac_cpp='$CPP $CPPFLAGS'
32054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32059 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_global_hash_set" >&5
32060 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6; }
32061 if test "$ac_cv_cxx_have_global_hash_set" = yes
32064 cat >>confdefs.h <<\_ACEOF
32065 #define HAVE_GLOBAL_HASH_SET 1
32070 cat >>confdefs.h <<\_ACEOF
32071 #define HAVE_GLOBAL_HASH_SET 0
32076 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator
" >&5
32077 echo $ECHO_N "checking whether the compiler has the standard iterator...
$ECHO_C" >&6; }
32078 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32079 echo $ECHO_N "(cached
) $ECHO_C" >&6
32083 ac_cpp='$CXXCPP $CPPFLAGS'
32084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32088 cat >conftest.$ac_ext <<_ACEOF
32091 cat confdefs.h >>conftest.$ac_ext
32092 cat >>conftest.$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32094 #include <iterator>
32095 #ifdef HAVE_NAMESPACES
32096 using namespace std;
32101 iterator<int,int,int> t; return 0;
32106 rm -f conftest.$ac_objext
32107 if { (ac_try="$ac_compile"
32108 case "(($ac_try" in
32109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32110 *) ac_try_echo=$ac_try;;
32112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32113 (eval "$ac_compile") 2>conftest.er1
32115 grep -v '^ *+' conftest.er1 >conftest.err
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32121 { (case "(($ac_try" in
32122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32123 *) ac_try_echo=$ac_try;;
32125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32126 (eval "$ac_try") 2>&5
32128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32129 (exit $ac_status); }; } &&
32130 { ac_try='test -s conftest.$ac_objext'
32131 { (case "(($ac_try" in
32132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32133 *) ac_try_echo=$ac_try;;
32135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32136 (eval "$ac_try") 2>&5
32138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32139 (exit $ac_status); }; }; then
32140 ac_cv_cxx_have_std_iterator=yes
32142 echo "$as_me: failed program was
:" >&5
32143 sed 's/^/| /' conftest.$ac_ext >&5
32145 ac_cv_cxx_have_std_iterator=no
32148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32150 ac_cpp='$CPP $CPPFLAGS'
32151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32157 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_std_iterator" >&5
32158 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32159 if test "$ac_cv_cxx_have_std_iterator" = yes
32162 cat >>confdefs.h <<\_ACEOF
32163 #define HAVE_STD_ITERATOR 1
32168 cat >>confdefs.h <<\_ACEOF
32169 #define HAVE_STD_ITERATOR 0
32174 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator
" >&5
32175 echo $ECHO_N "checking whether the compiler has the bidirectional iterator...
$ECHO_C" >&6; }
32176 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32177 echo $ECHO_N "(cached
) $ECHO_C" >&6
32181 ac_cpp='$CXXCPP $CPPFLAGS'
32182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32186 cat >conftest.$ac_ext <<_ACEOF
32189 cat confdefs.h >>conftest.$ac_ext
32190 cat >>conftest.$ac_ext <<_ACEOF
32191 /* end confdefs.h. */
32192 #include <iterator>
32193 #ifdef HAVE_NAMESPACES
32194 using namespace std;
32199 bidirectional_iterator<int,int> t; return 0;
32204 rm -f conftest.$ac_objext
32205 if { (ac_try="$ac_compile"
32206 case "(($ac_try" in
32207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32208 *) ac_try_echo=$ac_try;;
32210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32211 (eval "$ac_compile") 2>conftest.er1
32213 grep -v '^ *+' conftest.er1 >conftest.err
32215 cat conftest.err >&5
32216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32217 (exit $ac_status); } &&
32218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32219 { (case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 *) ac_try_echo=$ac_try;;
32223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_try") 2>&5
32226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32227 (exit $ac_status); }; } &&
32228 { ac_try='test -s conftest.$ac_objext'
32229 { (case "(($ac_try" in
32230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32231 *) ac_try_echo=$ac_try;;
32233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32234 (eval "$ac_try") 2>&5
32236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32237 (exit $ac_status); }; }; then
32238 ac_cv_cxx_have_bi_iterator=yes
32240 echo "$as_me: failed program was
:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32243 ac_cv_cxx_have_bi_iterator=no
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 ac_cpp='$CPP $CPPFLAGS'
32249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32255 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_bi_iterator" >&5
32256 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32257 if test "$ac_cv_cxx_have_bi_iterator" = yes
32260 cat >>confdefs.h <<\_ACEOF
32261 #define HAVE_BI_ITERATOR 1
32266 cat >>confdefs.h <<\_ACEOF
32267 #define HAVE_BI_ITERATOR 0
32272 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators
" >&5
32273 echo $ECHO_N "checking whether the compiler has forward iterators...
$ECHO_C" >&6; }
32274 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32275 echo $ECHO_N "(cached
) $ECHO_C" >&6
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284 cat >conftest.$ac_ext <<_ACEOF
32287 cat confdefs.h >>conftest.$ac_ext
32288 cat >>conftest.$ac_ext <<_ACEOF
32289 /* end confdefs.h. */
32290 #include <iterator>
32291 #ifdef HAVE_NAMESPACES
32292 using namespace std;
32297 forward_iterator<int,int> t; return 0;
32302 rm -f conftest.$ac_objext
32303 if { (ac_try="$ac_compile"
32304 case "(($ac_try" in
32305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32306 *) ac_try_echo=$ac_try;;
32308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32309 (eval "$ac_compile") 2>conftest.er1
32311 grep -v '^ *+' conftest.er1 >conftest.err
32313 cat conftest.err >&5
32314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32317 { (case "(($ac_try" in
32318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32319 *) ac_try_echo=$ac_try;;
32321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32322 (eval "$ac_try") 2>&5
32324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32325 (exit $ac_status); }; } &&
32326 { ac_try='test -s conftest.$ac_objext'
32327 { (case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32331 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_try") 2>&5
32334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32335 (exit $ac_status); }; }; then
32336 ac_cv_cxx_have_fwd_iterator=yes
32338 echo "$as_me: failed program was
:" >&5
32339 sed 's/^/| /' conftest.$ac_ext >&5
32341 ac_cv_cxx_have_fwd_iterator=no
32344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346 ac_cpp='$CPP $CPPFLAGS'
32347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32353 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_fwd_iterator" >&5
32354 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32355 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32358 cat >>confdefs.h <<\_ACEOF
32359 #define HAVE_FWD_ITERATOR 1
32364 cat >>confdefs.h <<\_ACEOF
32365 #define HAVE_FWD_ITERATOR 0
32371 { echo "$as_me:$LINENO: checking
for isnan
in <math.h
>" >&5
32372 echo $ECHO_N "checking
for isnan
in <math.h
>...
$ECHO_C" >&6; }
32373 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32374 echo $ECHO_N "(cached
) $ECHO_C" >&6
32377 ac_cpp='$CXXCPP $CPPFLAGS'
32378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32382 cat >conftest.$ac_ext <<_ACEOF
32385 cat confdefs.h >>conftest.$ac_ext
32386 cat >>conftest.$ac_ext <<_ACEOF
32387 /* end confdefs.h. */
32397 rm -f conftest.$ac_objext
32398 if { (ac_try="$ac_compile"
32399 case "(($ac_try" in
32400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32401 *) ac_try_echo=$ac_try;;
32403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32404 (eval "$ac_compile") 2>conftest.er1
32406 grep -v '^ *+' conftest.er1 >conftest.err
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32412 { (case "(($ac_try" in
32413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32414 *) ac_try_echo=$ac_try;;
32416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32417 (eval "$ac_try") 2>&5
32419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32420 (exit $ac_status); }; } &&
32421 { ac_try='test -s conftest.$ac_objext'
32422 { (case "(($ac_try" in
32423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32424 *) ac_try_echo=$ac_try;;
32426 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32427 (eval "$ac_try") 2>&5
32429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32430 (exit $ac_status); }; }; then
32431 ac_cv_func_isnan_in_math_h=yes
32433 echo "$as_me: failed program was
:" >&5
32434 sed 's/^/| /' conftest.$ac_ext >&5
32436 ac_cv_func_isnan_in_math_h=no
32439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32441 ac_cpp='$CPP $CPPFLAGS'
32442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32447 { echo "$as_me:$LINENO: result
: $ac_cv_func_isnan_in_math_h" >&5
32448 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32451 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32453 cat >>confdefs.h <<\_ACEOF
32454 #define HAVE_ISNAN_IN_MATH_H 1
32459 { echo "$as_me:$LINENO: checking
for isnan
in <cmath
>" >&5
32460 echo $ECHO_N "checking
for isnan
in <cmath
>...
$ECHO_C" >&6; }
32461 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32462 echo $ECHO_N "(cached
) $ECHO_C" >&6
32465 ac_cpp='$CXXCPP $CPPFLAGS'
32466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32470 cat >conftest.$ac_ext <<_ACEOF
32473 cat confdefs.h >>conftest.$ac_ext
32474 cat >>conftest.$ac_ext <<_ACEOF
32475 /* end confdefs.h. */
32485 rm -f conftest.$ac_objext
32486 if { (ac_try="$ac_compile"
32487 case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32489 *) ac_try_echo=$ac_try;;
32491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_compile") 2>conftest.er1
32494 grep -v '^ *+' conftest.er1 >conftest.err
32496 cat conftest.err >&5
32497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32498 (exit $ac_status); } &&
32499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32500 { (case "(($ac_try" in
32501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32502 *) ac_try_echo=$ac_try;;
32504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32505 (eval "$ac_try") 2>&5
32507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32508 (exit $ac_status); }; } &&
32509 { ac_try='test -s conftest.$ac_objext'
32510 { (case "(($ac_try" in
32511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32512 *) ac_try_echo=$ac_try;;
32514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32515 (eval "$ac_try") 2>&5
32517 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32518 (exit $ac_status); }; }; then
32519 ac_cv_func_isnan_in_cmath=yes
32521 echo "$as_me: failed program was
:" >&5
32522 sed 's/^/| /' conftest.$ac_ext >&5
32524 ac_cv_func_isnan_in_cmath=no
32527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529 ac_cpp='$CPP $CPPFLAGS'
32530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32535 { echo "$as_me:$LINENO: result
: $ac_cv_func_isnan_in_cmath" >&5
32536 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32538 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32540 cat >>confdefs.h <<\_ACEOF
32541 #define HAVE_ISNAN_IN_CMATH 1
32546 { echo "$as_me:$LINENO: checking
for std
::isnan
in <cmath
>" >&5
32547 echo $ECHO_N "checking
for std
::isnan
in <cmath
>...
$ECHO_C" >&6; }
32548 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32549 echo $ECHO_N "(cached
) $ECHO_C" >&6
32552 ac_cpp='$CXXCPP $CPPFLAGS'
32553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32557 cat >conftest.$ac_ext <<_ACEOF
32560 cat confdefs.h >>conftest.$ac_ext
32561 cat >>conftest.$ac_ext <<_ACEOF
32562 /* end confdefs.h. */
32567 float f; std::isnan(f);
32572 rm -f conftest.$ac_objext
32573 if { (ac_try="$ac_compile"
32574 case "(($ac_try" in
32575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32576 *) ac_try_echo=$ac_try;;
32578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32579 (eval "$ac_compile") 2>conftest.er1
32581 grep -v '^ *+' conftest.er1 >conftest.err
32583 cat conftest.err >&5
32584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32585 (exit $ac_status); } &&
32586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32587 { (case "(($ac_try" in
32588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32589 *) ac_try_echo=$ac_try;;
32591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32592 (eval "$ac_try") 2>&5
32594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32595 (exit $ac_status); }; } &&
32596 { ac_try='test -s conftest.$ac_objext'
32597 { (case "(($ac_try" in
32598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32599 *) ac_try_echo=$ac_try;;
32601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32602 (eval "$ac_try") 2>&5
32604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32605 (exit $ac_status); }; }; then
32606 ac_cv_func_std_isnan_in_cmath=yes
32608 echo "$as_me: failed program was
:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32611 ac_cv_func_std_isnan_in_cmath=no
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622 { echo "$as_me:$LINENO: result
: $ac_cv_func_std_isnan_in_cmath" >&5
32623 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32625 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32627 cat >>confdefs.h <<\_ACEOF
32628 #define HAVE_STD_ISNAN_IN_CMATH 1
32634 { echo "$as_me:$LINENO: checking
for isinf
in <math.h
>" >&5
32635 echo $ECHO_N "checking
for isinf
in <math.h
>...
$ECHO_C" >&6; }
32636 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32637 echo $ECHO_N "(cached
) $ECHO_C" >&6
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645 cat >conftest.$ac_ext <<_ACEOF
32648 cat confdefs.h >>conftest.$ac_ext
32649 cat >>conftest.$ac_ext <<_ACEOF
32650 /* end confdefs.h. */
32660 rm -f conftest.$ac_objext
32661 if { (ac_try="$ac_compile"
32662 case "(($ac_try" in
32663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32664 *) ac_try_echo=$ac_try;;
32666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32667 (eval "$ac_compile") 2>conftest.er1
32669 grep -v '^ *+' conftest.er1 >conftest.err
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32673 (exit $ac_status); } &&
32674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32675 { (case "(($ac_try" in
32676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32677 *) ac_try_echo=$ac_try;;
32679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32680 (eval "$ac_try") 2>&5
32682 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32683 (exit $ac_status); }; } &&
32684 { ac_try='test -s conftest.$ac_objext'
32685 { (case "(($ac_try" in
32686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32687 *) ac_try_echo=$ac_try;;
32689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32690 (eval "$ac_try") 2>&5
32692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32693 (exit $ac_status); }; }; then
32694 ac_cv_func_isinf_in_math_h=yes
32696 echo "$as_me: failed program was
:" >&5
32697 sed 's/^/| /' conftest.$ac_ext >&5
32699 ac_cv_func_isinf_in_math_h=no
32702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32704 ac_cpp='$CPP $CPPFLAGS'
32705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32710 { echo "$as_me:$LINENO: result
: $ac_cv_func_isinf_in_math_h" >&5
32711 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
32713 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
32715 cat >>confdefs.h <<\_ACEOF
32716 #define HAVE_ISINF_IN_MATH_H 1
32721 { echo "$as_me:$LINENO: checking
for isinf
in <cmath
>" >&5
32722 echo $ECHO_N "checking
for isinf
in <cmath
>...
$ECHO_C" >&6; }
32723 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
32724 echo $ECHO_N "(cached
) $ECHO_C" >&6
32727 ac_cpp='$CXXCPP $CPPFLAGS'
32728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732 cat >conftest.$ac_ext <<_ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32756 grep -v '^ *+' conftest.er1 >conftest.err
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32760 (exit $ac_status); } &&
32761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32762 { (case "(($ac_try" in
32763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32764 *) ac_try_echo=$ac_try;;
32766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32767 (eval "$ac_try") 2>&5
32769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try='test -s conftest.$ac_objext'
32772 { (case "(($ac_try" in
32773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32774 *) ac_try_echo=$ac_try;;
32776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32777 (eval "$ac_try") 2>&5
32779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32780 (exit $ac_status); }; }; then
32781 ac_cv_func_isinf_in_cmath=yes
32783 echo "$as_me: failed program was
:" >&5
32784 sed 's/^/| /' conftest.$ac_ext >&5
32786 ac_cv_func_isinf_in_cmath=no
32789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791 ac_cpp='$CPP $CPPFLAGS'
32792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32797 { echo "$as_me:$LINENO: result
: $ac_cv_func_isinf_in_cmath" >&5
32798 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
32800 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
32802 cat >>confdefs.h <<\_ACEOF
32803 #define HAVE_ISINF_IN_CMATH 1
32808 { echo "$as_me:$LINENO: checking
for std
::isinf
in <cmath
>" >&5
32809 echo $ECHO_N "checking
for std
::isinf
in <cmath
>...
$ECHO_C" >&6; }
32810 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
32811 echo $ECHO_N "(cached
) $ECHO_C" >&6
32814 ac_cpp='$CXXCPP $CPPFLAGS'
32815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819 cat >conftest.$ac_ext <<_ACEOF
32822 cat confdefs.h >>conftest.$ac_ext
32823 cat >>conftest.$ac_ext <<_ACEOF
32824 /* end confdefs.h. */
32829 float f; std::isinf(f)}
32834 rm -f conftest.$ac_objext
32835 if { (ac_try="$ac_compile"
32836 case "(($ac_try" in
32837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32838 *) ac_try_echo=$ac_try;;
32840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32841 (eval "$ac_compile") 2>conftest.er1
32843 grep -v '^ *+' conftest.er1 >conftest.err
32845 cat conftest.err >&5
32846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32847 (exit $ac_status); } &&
32848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32849 { (case "(($ac_try" in
32850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32851 *) ac_try_echo=$ac_try;;
32853 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32854 (eval "$ac_try") 2>&5
32856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32857 (exit $ac_status); }; } &&
32858 { ac_try='test -s conftest.$ac_objext'
32859 { (case "(($ac_try" in
32860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32861 *) ac_try_echo=$ac_try;;
32863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32864 (eval "$ac_try") 2>&5
32866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32867 (exit $ac_status); }; }; then
32868 ac_cv_func_std_isinf_in_cmath=yes
32870 echo "$as_me: failed program was
:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32873 ac_cv_func_std_isinf_in_cmath=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32884 { echo "$as_me:$LINENO: result
: $ac_cv_func_std_isinf_in_cmath" >&5
32885 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
32887 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
32889 cat >>confdefs.h <<\_ACEOF
32890 #define HAVE_STD_ISINF_IN_CMATH 1
32895 { echo "$as_me:$LINENO: checking
for finite
in <ieeefp.h
>" >&5
32896 echo $ECHO_N "checking
for finite
in <ieeefp.h
>...
$ECHO_C" >&6; }
32897 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
32898 echo $ECHO_N "(cached
) $ECHO_C" >&6
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906 cat >conftest.$ac_ext <<_ACEOF
32909 cat confdefs.h >>conftest.$ac_ext
32910 cat >>conftest.$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32912 #include <ieeefp.h>
32916 float f; finite(f);
32921 rm -f conftest.$ac_objext
32922 if { (ac_try="$ac_compile"
32923 case "(($ac_try" in
32924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32925 *) ac_try_echo=$ac_try;;
32927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32928 (eval "$ac_compile") 2>conftest.er1
32930 grep -v '^ *+' conftest.er1 >conftest.err
32932 cat conftest.err >&5
32933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32934 (exit $ac_status); } &&
32935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32936 { (case "(($ac_try" in
32937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32938 *) ac_try_echo=$ac_try;;
32940 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32941 (eval "$ac_try") 2>&5
32943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try='test -s conftest.$ac_objext'
32946 { (case "(($ac_try" in
32947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32948 *) ac_try_echo=$ac_try;;
32950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32951 (eval "$ac_try") 2>&5
32953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32954 (exit $ac_status); }; }; then
32955 ac_cv_func_finite_in_ieeefp_h=yes
32957 echo "$as_me: failed program was
:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32960 ac_cv_func_finite_in_ieeefp_h=no
32963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32965 ac_cpp='$CPP $CPPFLAGS'
32966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32971 { echo "$as_me:$LINENO: result
: $ac_cv_func_finite_in_ieeefp_h" >&5
32972 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
32974 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
32976 cat >>confdefs.h <<\_ACEOF
32977 #define HAVE_FINITE_IN_IEEEFP_H 1
32984 if test "$llvm_cv_platform_type" = "Unix
" ; then
32987 for ac_header in stdlib.h unistd.h
32989 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
32990 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
32991 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
32992 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
32993 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
32994 echo $ECHO_N "(cached
) $ECHO_C" >&6
32996 ac_res=`eval echo '${'$as_ac_Header'}'`
32997 { echo "$as_me:$LINENO: result
: $ac_res" >&5
32998 echo "${ECHO_T}$ac_res" >&6; }
33000 # Is the header compilable?
33001 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
33002 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
33003 cat >conftest.$ac_ext <<_ACEOF
33006 cat confdefs.h >>conftest.$ac_ext
33007 cat >>conftest.$ac_ext <<_ACEOF
33008 /* end confdefs.h. */
33009 $ac_includes_default
33010 #include <$ac_header>
33012 rm -f conftest.$ac_objext
33013 if { (ac_try="$ac_compile"
33014 case "(($ac_try" in
33015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33016 *) ac_try_echo=$ac_try;;
33018 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33019 (eval "$ac_compile") 2>conftest.er1
33021 grep -v '^ *+' conftest.er1 >conftest.err
33023 cat conftest.err >&5
33024 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33025 (exit $ac_status); } &&
33026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33027 { (case "(($ac_try" in
33028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33029 *) ac_try_echo=$ac_try;;
33031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33032 (eval "$ac_try") 2>&5
33034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33035 (exit $ac_status); }; } &&
33036 { ac_try='test -s conftest.$ac_objext'
33037 { (case "(($ac_try" in
33038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33039 *) ac_try_echo=$ac_try;;
33041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33042 (eval "$ac_try") 2>&5
33044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33045 (exit $ac_status); }; }; then
33046 ac_header_compiler=yes
33048 echo "$as_me: failed program was
:" >&5
33049 sed 's/^/| /' conftest.$ac_ext >&5
33051 ac_header_compiler=no
33054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33055 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
33056 echo "${ECHO_T}$ac_header_compiler" >&6; }
33058 # Is the header present?
33059 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
33060 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
33061 cat >conftest.$ac_ext <<_ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33067 #include <$ac_header>
33069 if { (ac_try="$ac_cpp conftest.
$ac_ext"
33070 case "(($ac_try" in
33071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33072 *) ac_try_echo=$ac_try;;
33074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33075 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
33077 grep -v '^ *+' conftest.er1 >conftest.err
33079 cat conftest.err >&5
33080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33081 (exit $ac_status); } >/dev/null; then
33082 if test -s conftest.err; then
33083 ac_cpp_err=$ac_c_preproc_warn_flag
33084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33091 if test -z "$ac_cpp_err"; then
33092 ac_header_preproc=yes
33094 echo "$as_me: failed program was
:" >&5
33095 sed 's/^/| /' conftest.$ac_ext >&5
33097 ac_header_preproc=no
33100 rm -f conftest.err conftest.$ac_ext
33101 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
33102 echo "${ECHO_T}$ac_header_preproc" >&6; }
33104 # So? What about this header?
33105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33107 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
33108 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
33109 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
33110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
33111 ac_header_preproc=yes
33114 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
33115 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
33116 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
33117 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
33118 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
33119 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
33120 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
33121 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
33122 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
33123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
33124 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
33125 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
33127 ## ----------------------------------- ##
33128 ## Report this to llvmbugs@cs.uiuc.edu ##
33129 ## ----------------------------------- ##
33131 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
33134 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
33135 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
33136 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
33137 echo $ECHO_N "(cached
) $ECHO_C" >&6
33139 eval "$as_ac_Header=\
$ac_header_preproc"
33141 ac_res=`eval echo '${'$as_ac_Header'}'`
33142 { echo "$as_me:$LINENO: result
: $ac_res" >&5
33143 echo "${ECHO_T}$ac_res" >&6; }
33146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33147 cat >>confdefs.h <<_ACEOF
33148 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
33156 for ac_func in getpagesize
33158 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
33159 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
33160 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
33161 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
33162 echo $ECHO_N "(cached
) $ECHO_C" >&6
33164 cat >conftest.$ac_ext <<_ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33172 #define $ac_func innocuous_$ac_func
33174 /* System header to define __stub macros and hopefully few prototypes,
33175 which can conflict with char $ac_func (); below.
33176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33177 <limits.h> exists even on freestanding compilers. */
33180 # include <limits.h>
33182 # include <assert.h>
33187 /* Override any GCC internal prototype to avoid an error.
33188 Use char because int might match the return type of a GCC
33189 builtin and then its argument prototype would still apply. */
33194 /* The GNU C library defines this for functions which it implements
33195 to always fail with ENOSYS. Some functions are actually named
33196 something starting with __ and the normal name is an alias. */
33197 #if defined __stub_$ac_func || defined __stub___$ac_func
33204 return $ac_func ();
33209 rm -f conftest.$ac_objext conftest$ac_exeext
33210 if { (ac_try="$ac_link"
33211 case "(($ac_try" in
33212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33213 *) ac_try_echo=$ac_try;;
33215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33216 (eval "$ac_link") 2>conftest.er1
33218 grep -v '^ *+' conftest.er1 >conftest.err
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33224 { (case "(($ac_try" in
33225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33226 *) ac_try_echo=$ac_try;;
33228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33229 (eval "$ac_try") 2>&5
33231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33232 (exit $ac_status); }; } &&
33233 { ac_try='test -s conftest$ac_exeext'
33234 { (case "(($ac_try" in
33235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33236 *) ac_try_echo=$ac_try;;
33238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33239 (eval "$ac_try") 2>&5
33241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33242 (exit $ac_status); }; }; then
33243 eval "$as_ac_var=yes"
33245 echo "$as_me: failed program was
:" >&5
33246 sed 's/^/| /' conftest.$ac_ext >&5
33248 eval "$as_ac_var=no
"
33251 rm -f core conftest.err conftest.$ac_objext \
33252 conftest$ac_exeext conftest.$ac_ext
33254 ac_res=`eval echo '${'$as_ac_var'}'`
33255 { echo "$as_me:$LINENO: result
: $ac_res" >&5
33256 echo "${ECHO_T}$ac_res" >&6; }
33257 if test `eval echo '${'$as_ac_var'}'` = yes; then
33258 cat >>confdefs.h <<_ACEOF
33259 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
33265 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
33266 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
33267 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33268 echo $ECHO_N "(cached
) $ECHO_C" >&6
33270 if test "$cross_compiling" = yes; then
33271 ac_cv_func_mmap_fixed_mapped=no
33273 cat >conftest.$ac_ext <<_ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
33278 /* end confdefs.h. */
33279 $ac_includes_default
33280 /* malloc might have been renamed as rpl_malloc. */
33283 /* Thanks to Mike Haertel and Jim Avera for this test.
33284 Here is a matrix of mmap possibilities:
33285 mmap private not fixed
33286 mmap private fixed at somewhere currently unmapped
33287 mmap private fixed at somewhere already mapped
33288 mmap shared not fixed
33289 mmap shared fixed at somewhere currently unmapped
33290 mmap shared fixed at somewhere already mapped
33291 For private mappings, we should verify that changes cannot be read()
33292 back from the file, nor mmap's back from the file at a different
33293 address. (There have been systems where private was not correctly
33294 implemented like the infamous i386 svr4.0, and systems where the
33295 VM page cache was not coherent with the file system buffer cache
33296 like early versions of FreeBSD and possibly contemporary NetBSD.)
33297 For shared mappings, we should conversely verify that changes get
33298 propagated back to all the places they're supposed to be.
33300 Grep wants private fixed already mapped.
33301 The main things grep needs to know about mmap are:
33302 * does it exist and is it safe to write into the mmap'd area
33303 * how to use it (BSD variants) */
33306 #include <sys/mman.h>
33308 #if !STDC_HEADERS && !HAVE_STDLIB_H
33312 /* This mess was copied from the GNU getpagesize.h. */
33313 #if !HAVE_GETPAGESIZE
33314 /* Assume that all systems that can run configure have sys/param.h. */
33315 # if !HAVE_SYS_PARAM_H
33316 # define HAVE_SYS_PARAM_H 1
33319 # ifdef _SC_PAGESIZE
33320 # define getpagesize() sysconf(_SC_PAGESIZE)
33321 # else /* no _SC_PAGESIZE */
33322 # if HAVE_SYS_PARAM_H
33323 # include <sys/param.h>
33324 # ifdef EXEC_PAGESIZE
33325 # define getpagesize() EXEC_PAGESIZE
33326 # else /* no EXEC_PAGESIZE */
33328 # define getpagesize() NBPG * CLSIZE
33331 # endif /* no CLSIZE */
33332 # else /* no NBPG */
33334 # define getpagesize() NBPC
33335 # else /* no NBPC */
33337 # define getpagesize() PAGESIZE
33338 # endif /* PAGESIZE */
33339 # endif /* no NBPC */
33340 # endif /* no NBPG */
33341 # endif /* no EXEC_PAGESIZE */
33342 # else /* no HAVE_SYS_PARAM_H */
33343 # define getpagesize() 8192 /* punt totally */
33344 # endif /* no HAVE_SYS_PARAM_H */
33345 # endif /* no _SC_PAGESIZE */
33347 #endif /* no HAVE_GETPAGESIZE */
33352 char *data, *data2, *data3;
33356 pagesize = getpagesize ();
33358 /* First, make a file with some known garbage in it. */
33359 data = (char *) malloc (pagesize);
33362 for (i = 0; i < pagesize; ++i)
33363 *(data + i) = rand ();
33365 fd = creat ("conftest.mmap
", 0600);
33368 if (write (fd, data, pagesize) != pagesize)
33372 /* Next, try to mmap the file at a fixed address which already has
33373 something else allocated at it. If we can, also make sure that
33374 we see the same garbage. */
33375 fd = open ("conftest.mmap
", O_RDWR);
33378 data2 = (char *) malloc (2 * pagesize);
33381 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33382 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33383 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33385 for (i = 0; i < pagesize; ++i)
33386 if (*(data + i) != *(data2 + i))
33389 /* Finally, make sure that changes to the mapped area do not
33390 percolate back to the file as seen by read(). (This is a bug on
33391 some variants of i386 svr4.0.) */
33392 for (i = 0; i < pagesize; ++i)
33393 *(data2 + i) = *(data2 + i) + 1;
33394 data3 = (char *) malloc (pagesize);
33397 if (read (fd, data3, pagesize) != pagesize)
33399 for (i = 0; i < pagesize; ++i)
33400 if (*(data + i) != *(data3 + i))
33406 rm -f conftest$ac_exeext
33407 if { (ac_try="$ac_link"
33408 case "(($ac_try" in
33409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33410 *) ac_try_echo=$ac_try;;
33412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33413 (eval "$ac_link") 2>&5
33415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33417 { (case "(($ac_try" in
33418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33419 *) ac_try_echo=$ac_try;;
33421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33422 (eval "$ac_try") 2>&5
33424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33425 (exit $ac_status); }; }; then
33426 ac_cv_func_mmap_fixed_mapped=yes
33428 echo "$as_me: program exited with status
$ac_status" >&5
33429 echo "$as_me: failed program was
:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33432 ( exit $ac_status )
33433 ac_cv_func_mmap_fixed_mapped=no
33435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33440 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
33441 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33442 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33444 cat >>confdefs.h <<\_ACEOF
33445 #define HAVE_MMAP 1
33449 rm -f conftest.mmap
33451 { echo "$as_me:$LINENO: checking
for mmap of files
" >&5
33452 echo $ECHO_N "checking
for mmap of files...
$ECHO_C" >&6; }
33453 if test "${ac_cv_func_mmap_file+set}" = set; then
33454 echo $ECHO_N "(cached
) $ECHO_C" >&6
33457 ac_cpp='$CPP $CPPFLAGS'
33458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33462 if test "$cross_compiling" = yes; then
33463 ac_cv_func_mmap_file=no
33465 cat >conftest.$ac_ext <<_ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h. */
33473 #include <sys/types.h>
33474 #include <sys/mman.h>
33482 fd = creat ("foo
",0777);
33483 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33485 return (fd != (int) MAP_FAILED);
33490 rm -f conftest$ac_exeext
33491 if { (ac_try="$ac_link"
33492 case "(($ac_try" in
33493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33494 *) ac_try_echo=$ac_try;;
33496 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33497 (eval "$ac_link") 2>&5
33499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33501 { (case "(($ac_try" in
33502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33503 *) ac_try_echo=$ac_try;;
33505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33506 (eval "$ac_try") 2>&5
33508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33509 (exit $ac_status); }; }; then
33510 ac_cv_func_mmap_file=yes
33512 echo "$as_me: program exited with status
$ac_status" >&5
33513 echo "$as_me: failed program was
:" >&5
33514 sed 's/^/| /' conftest.$ac_ext >&5
33516 ( exit $ac_status )
33517 ac_cv_func_mmap_file=no
33519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33531 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_file" >&5
33532 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33533 if test "$ac_cv_func_mmap_file" = yes; then
33535 cat >>confdefs.h <<\_ACEOF
33536 #define HAVE_MMAP_FILE
33543 { echo "$as_me:$LINENO: checking
if /dev
/zero is needed
for mmap
" >&5
33544 echo $ECHO_N "checking
if /dev
/zero is needed
for mmap...
$ECHO_C" >&6; }
33545 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33546 echo $ECHO_N "(cached
) $ECHO_C" >&6
33548 if test "$llvm_cv_os_type" = "Interix
" ; then
33549 ac_cv_need_dev_zero_for_mmap=yes
33551 ac_cv_need_dev_zero_for_mmap=no
33555 { echo "$as_me:$LINENO: result
: $ac_cv_need_dev_zero_for_mmap" >&5
33556 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33557 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33559 cat >>confdefs.h <<\_ACEOF
33560 #define NEED_DEV_ZERO_FOR_MMAP 1
33565 if test "$ac_cv_func_mmap_fixed_mapped" = "no
"
33567 { echo "$as_me:$LINENO: WARNING
: mmap
() of a fixed address required but not supported
" >&5
33568 echo "$as_me: WARNING
: mmap
() of a fixed address required but not supported
" >&2;}
33570 if test "$ac_cv_func_mmap_file" = "no
"
33572 { echo "$as_me:$LINENO: WARNING
: mmap
() of files required but not found
" >&5
33573 echo "$as_me: WARNING
: mmap
() of files required but not found
" >&2;}
33579 for ac_func in __dso_handle
33581 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
33582 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
33583 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
33584 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
33585 echo $ECHO_N "(cached
) $ECHO_C" >&6
33587 cat >conftest.$ac_ext <<_ACEOF
33590 cat confdefs.h >>conftest.$ac_ext
33591 cat >>conftest.$ac_ext <<_ACEOF
33592 /* end confdefs.h. */
33593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33595 #define $ac_func innocuous_$ac_func
33597 /* System header to define __stub macros and hopefully few prototypes,
33598 which can conflict with char $ac_func (); below.
33599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33600 <limits.h> exists even on freestanding compilers. */
33603 # include <limits.h>
33605 # include <assert.h>
33610 /* Override any GCC internal prototype to avoid an error.
33611 Use char because int might match the return type of a GCC
33612 builtin and then its argument prototype would still apply. */
33617 /* The GNU C library defines this for functions which it implements
33618 to always fail with ENOSYS. Some functions are actually named
33619 something starting with __ and the normal name is an alias. */
33620 #if defined __stub_$ac_func || defined __stub___$ac_func
33627 return $ac_func ();
33632 rm -f conftest.$ac_objext conftest$ac_exeext
33633 if { (ac_try="$ac_link"
33634 case "(($ac_try" in
33635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33636 *) ac_try_echo=$ac_try;;
33638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33639 (eval "$ac_link") 2>conftest.er1
33641 grep -v '^ *+' conftest.er1 >conftest.err
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33645 (exit $ac_status); } &&
33646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33647 { (case "(($ac_try" in
33648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33649 *) ac_try_echo=$ac_try;;
33651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33652 (eval "$ac_try") 2>&5
33654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33655 (exit $ac_status); }; } &&
33656 { ac_try='test -s conftest$ac_exeext'
33657 { (case "(($ac_try" in
33658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33659 *) ac_try_echo=$ac_try;;
33661 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_try") 2>&5
33664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33665 (exit $ac_status); }; }; then
33666 eval "$as_ac_var=yes"
33668 echo "$as_me: failed program was
:" >&5
33669 sed 's/^/| /' conftest.$ac_ext >&5
33671 eval "$as_ac_var=no
"
33674 rm -f core conftest.err conftest.$ac_objext \
33675 conftest$ac_exeext conftest.$ac_ext
33677 ac_res=`eval echo '${'$as_ac_var'}'`
33678 { echo "$as_me:$LINENO: result
: $ac_res" >&5
33679 echo "${ECHO_T}$ac_res" >&6; }
33680 if test `eval echo '${'$as_ac_var'}'` = yes; then
33681 cat >>confdefs.h <<_ACEOF
33682 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
33689 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane
" >&5
33690 echo $ECHO_N "checking whether llvm-gcc is sane...
$ECHO_C" >&6; }
33691 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
33692 echo $ECHO_N "(cached
) $ECHO_C" >&6
33694 llvm_cv_llvmgcc_sanity="no
"
33695 if test -x "$LLVMGCC" ; then
33696 cp /dev/null conftest.c
33697 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
33698 grep 'target datalayout =' > /dev/null 2>&1
33699 if test $? -eq 0 ; then
33700 llvm_cv_llvmgcc_sanity="yes"
33705 { echo "$as_me:$LINENO: result
: $llvm_cv_llvmgcc_sanity" >&5
33706 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
33708 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
33709 { echo "$as_me:$LINENO: checking llvm-gcc component support
" >&5
33710 echo $ECHO_N "checking llvm-gcc component support...
$ECHO_C" >&6; }
33711 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1`
33712 LLVMCC1=$llvmcc1path
33714 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus`
33715 LLVMCC1PLUS=$llvmcc1pluspath
33717 llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
33718 LLVMGCCDIR=$llvmgccdir
33720 llvmgcclibexec=`echo "$llvmcc1path" | sed 's,/cc1,,'`
33721 LLVMGCCLIBEXEC=$llvmgcclibexec
33723 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`
33724 llvmgccmajvers=`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`
33725 LLVMGCC_VERSION=$llvmgccversion
33727 LLVMGCC_MAJVERS=$llvmgccmajvers
33729 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ -]*\).*/\1/'`
33730 LLVMGCC_LANGS=$llvmgcclangs
33732 { echo "$as_me:$LINENO: result
: ok
" >&5
33733 echo "${ECHO_T}ok
" >&6; }
33736 SHLIBEXT=$libltdl_cv_shlibext
33739 # Translate the various configuration directories and other basic
33740 # information into substitutions that will end up in Makefile.config.in
33741 # that these configured values can be used by the makefiles
33742 if test "${prefix}" = "NONE
" ; then
33743 prefix="/usr
/local"
33745 eval LLVM_PREFIX="${prefix}";
33746 eval LLVM_BINDIR="${prefix}/bin
";
33747 eval LLVM_LIBDIR="${prefix}/lib
";
33748 eval LLVM_DATADIR="${prefix}/share
/llvm
";
33749 eval LLVM_DOCSDIR="${prefix}/docs
/llvm
";
33750 eval LLVM_ETCDIR="${prefix}/etc
/llvm
";
33751 eval LLVM_INCLUDEDIR="${prefix}/include
";
33752 eval LLVM_INFODIR="${prefix}/info
";
33753 eval LLVM_MANDIR="${prefix}/man
";
33754 LLVM_CONFIGTIME=`date`
33766 # Place the various directores into the config.h file as #defines so that we
33767 # can know about the installation paths within LLVM.
33769 cat >>confdefs.h <<_ACEOF
33770 #define LLVM_PREFIX "$LLVM_PREFIX"
33774 cat >>confdefs.h <<_ACEOF
33775 #define LLVM_BINDIR "$LLVM_BINDIR"
33779 cat >>confdefs.h <<_ACEOF
33780 #define LLVM_LIBDIR "$LLVM_LIBDIR"
33784 cat >>confdefs.h <<_ACEOF
33785 #define LLVM_DATADIR "$LLVM_DATADIR"
33789 cat >>confdefs.h <<_ACEOF
33790 #define LLVM_DATADIR "$LLVM_DOCSDIR"
33794 cat >>confdefs.h <<_ACEOF
33795 #define LLVM_ETCDIR "$LLVM_ETCDIR"
33799 cat >>confdefs.h <<_ACEOF
33800 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
33804 cat >>confdefs.h <<_ACEOF
33805 #define LLVM_INFODIR "$LLVM_INFODIR"
33809 cat >>confdefs.h <<_ACEOF
33810 #define LLVM_MANDIR "$LLVM_MANDIR"
33814 cat >>confdefs.h <<_ACEOF
33815 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
33820 ac_config_headers="$ac_config_headers include
/llvm
/Config
/config.h
"
33822 ac_config_headers="$ac_config_headers include
/llvm
/Support
/DataTypes.h
"
33824 ac_config_headers="$ac_config_headers include
/llvm
/ADT
/hash_map
"
33826 ac_config_headers="$ac_config_headers include
/llvm
/ADT
/hash_set
"
33828 ac_config_headers="$ac_config_headers include
/llvm
/ADT
/iterator
"
33831 ac_config_files="$ac_config_files Makefile.config
"
33834 ac_config_files="$ac_config_files llvm.spec
"
33837 ac_config_files="$ac_config_files docs
/doxygen.cfg
"
33840 ac_config_files="$ac_config_files tools
/llvm-config
/llvm-config.
in"
33843 ac_config_commands="$ac_config_commands setup
"
33845 ac_config_commands="$ac_config_commands Makefile
"
33848 ac_config_commands="$ac_config_commands Makefile.common
"
33851 ac_config_commands="$ac_config_commands examples
/Makefile
"
33854 ac_config_commands="$ac_config_commands lib
/Makefile
"
33857 ac_config_commands="$ac_config_commands runtime
/Makefile
"
33860 ac_config_commands="$ac_config_commands test
/Makefile
"
33863 ac_config_commands="$ac_config_commands test
/Makefile.tests
"
33866 ac_config_commands="$ac_config_commands tools
/Makefile
"
33869 ac_config_commands="$ac_config_commands utils
/Makefile
"
33872 ac_config_commands="$ac_config_commands projects
/Makefile
"
33876 cat >confcache <<\_ACEOF
33877 # This file is a shell script that caches the results of configure
33878 # tests run on this system so they can be shared between configure
33879 # scripts and configure runs, see configure's option --config-cache.
33880 # It is not useful on other systems. If it contains results you don't
33881 # want to keep, you may remove or edit it.
33883 # config.status only pays attention to the cache file if you give it
33884 # the --recheck option to rerun configure.
33886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33888 # following values.
33892 # The following way of writing the cache mishandles newlines in values,
33893 # but we know of no workaround that is simple, portable, and efficient.
33894 # So, we kill variables containing newlines.
33895 # Ultrix sh set writes to stderr and can't be redirected directly,
33896 # and sets the high bit in the cache file unless we assign to the vars.
33898 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33899 eval ac_val=\$$ac_var
33903 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
33904 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
33907 _ | IFS | as_nl) ;; #(
33908 *) $as_unset $ac_var ;;
33914 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33915 *${as_nl}ac_space=\ *)
33916 # `set' does not quote correctly, so add quotes (double-quote
33917 # substitution turns \\\\ into \\, and sed turns \\ into \).
33920 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
33923 # `set' quotes correctly as required by POSIX, so do not add quotes.
33924 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
33933 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33935 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33937 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33938 if test -w "$cache_file"; then
33939 test "x
$cache_file" != "x
/dev
/null
" &&
33940 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
33941 echo "$as_me: updating cache
$cache_file" >&6;}
33942 cat confcache >$cache_file
33944 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
33945 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
33950 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
33951 # Let make expand exec_prefix.
33952 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
33954 DEFS=-DHAVE_CONFIG_H
33958 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
33959 # 1. Remove the extension, and $U if already installed.
33960 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33961 ac_i=`echo "$ac_i" | sed "$ac_script"`
33962 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33963 # will be set to the directory where LIBOBJS objects are built.
33964 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
33965 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
33967 LIBOBJS=$ac_libobjs
33969 LTLIBOBJS=$ac_ltlibobjs
33972 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
33973 { { echo "$as_me:$LINENO: error
: conditional
\"INSTALL_LTDL
\" was never defined.
33974 Usually this means the macro was only invoked conditionally.
" >&5
33975 echo "$as_me: error
: conditional
\"INSTALL_LTDL
\" was never defined.
33976 Usually this means the macro was only invoked conditionally.
" >&2;}
33977 { (exit 1); exit 1; }; }
33979 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
33980 { { echo "$as_me:$LINENO: error
: conditional
\"CONVENIENCE_LTDL
\" was never defined.
33981 Usually this means the macro was only invoked conditionally.
" >&5
33982 echo "$as_me: error
: conditional
\"CONVENIENCE_LTDL
\" was never defined.
33983 Usually this means the macro was only invoked conditionally.
" >&2;}
33984 { (exit 1); exit 1; }; }
33987 : ${CONFIG_STATUS=./config.status}
33988 ac_clean_files_save=$ac_clean_files
33989 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33990 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
33991 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
33992 cat >$CONFIG_STATUS <<_ACEOF
33994 # Generated by $as_me.
33995 # Run this file to recreate the current configuration.
33996 # Compiler output produced by configure, useful for debugging
33997 # configure, is in config.log if it exists.
34000 ac_cs_recheck=false
34002 SHELL=\${CONFIG_SHELL-$SHELL}
34005 cat >>$CONFIG_STATUS <<\_ACEOF
34006 ## --------------------- ##
34007 ## M4sh Initialization. ##
34008 ## --------------------- ##
34010 # Be Bourne compatible
34011 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34014 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34015 # is contrary to our usage. Disable this feature.
34016 alias -g '${1+"$@"}'='"$@
"'
34017 setopt NO_GLOB_SUBST
34019 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
34021 BIN_SH=xpg4; export BIN_SH # for Tru64
34022 DUALCASE=1; export DUALCASE # for MKS sh
34026 # Avoid depending upon Character Ranges.
34027 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34028 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34029 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34030 as_cr_digits='0123456789'
34031 as_cr_alnum=$as_cr_Letters$as_cr_digits
34033 # The user is always right.
34034 if test "${PATH_SEPARATOR+set}" != set; then
34035 echo "#! /bin/sh" >conf$$.sh
34036 echo "exit 0" >>conf$$.sh
34038 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34046 # Support unset when possible.
34047 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34055 # We need space, tab and new line, in precisely that order. Quoting is
34056 # there to prevent editors from complaining about space-tab.
34057 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34058 # splitting by setting IFS to empty value.)
34063 # Find who we are. Look in the path if we contain no directory separator.
34065 *[\\/]* ) as_myself
=$0 ;;
34066 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34067 for as_dir
in $PATH
34070 test -z "$as_dir" && as_dir
=.
34071 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34077 # We did not find ourselves, most probably we were run as `sh COMMAND'
34078 # in which case we are not to be found in the path.
34079 if test "x$as_myself" = x
; then
34082 if test ! -f "$as_myself"; then
34083 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34084 { (exit 1); exit 1; }
34087 # Work around bugs in pre-3.0 UWIN ksh.
34088 for as_var
in ENV MAIL MAILPATH
34089 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34097 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34098 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34099 LC_TELEPHONE LC_TIME
34101 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34102 eval $as_var=C
; export $as_var
34104 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34108 # Required to use basename.
34109 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34110 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34116 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34117 as_basename
=basename
34123 # Name of the executable.
34124 as_me
=`$as_basename -- "$0" ||
34125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34126 X"$0" : 'X\(//\)$' \| \
34127 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34129 sed '/^.*\/\([^/][^/]*\)\/*$/{
34148 as_lineno_1
=$LINENO
34149 as_lineno_2
=$LINENO
34150 test "x$as_lineno_1" != "x$as_lineno_2" &&
34151 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34154 # uniformly replaced by the line number. The first 'sed' inserts a
34155 # line-number line after each line using $LINENO; the second 'sed'
34156 # does the real work. The second script uses 'N' to pair each
34157 # line-number line with the line containing $LINENO, and appends
34158 # trailing '-' during substitution so that $LINENO is not a special
34159 # case at line end.
34160 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34161 # scripts with optimization help from Paolo Bonzini. Blame Lee
34162 # E. McMahon (1931-1989) for sed's syntax. :-)
34174 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34177 ' >$as_me.lineno
&&
34178 chmod +x
"$as_me.lineno" ||
34179 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34180 { (exit 1); exit 1; }; }
34182 # Don't try to exec as it changes $[0], causing all sort of problems
34183 # (the dirname of $[0] is not the place where we might find the
34184 # original and so on. Autoconf is especially sensitive to this).
34185 .
"./$as_me.lineno"
34186 # Exit status is that of the last command.
34191 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34197 ECHO_C
= ECHO_N
= ECHO_T
=
34198 case `echo -n x` in
34200 case `echo 'x\c'` in
34201 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34208 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34209 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34215 rm -f conf$$ conf$$.exe conf$$.
file
34216 if test -d conf$$.dir
; then
34217 rm -f conf$$.dir
/conf$$.
file
34223 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34225 # ... but there are two gotchas:
34226 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34227 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34228 # In both cases, we have to default to `cp -p'.
34229 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34231 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34236 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34237 rmdir conf$$.dir
2>/dev
/null
34239 if mkdir
-p .
2>/dev
/null
; then
34242 test -d .
/-p && rmdir .
/-p
34246 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34247 # systems may use methods other than mode bits to determine executability.
34248 cat >conf$$.
file <<_ASEOF
34252 chmod +x conf$$.
file
34253 if test -x conf$$.
file >/dev
/null
2>&1; then
34254 as_executable_p
="test -x"
34260 # Sed expression to map a string onto a valid CPP name.
34261 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34263 # Sed expression to map a string onto a valid variable name.
34264 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34269 # Save the log message, to keep $[0] and so on meaningful, and to
34270 # report actual input values of CONFIG_FILES etc. instead of their
34271 # values after options handling.
34273 This file was extended by llvm $as_me 2.1svn, which was
34274 generated by GNU Autoconf 2.60. Invocation command line was
34276 CONFIG_FILES = $CONFIG_FILES
34277 CONFIG_HEADERS = $CONFIG_HEADERS
34278 CONFIG_LINKS = $CONFIG_LINKS
34279 CONFIG_COMMANDS = $CONFIG_COMMANDS
34282 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34287 cat >>$CONFIG_STATUS <<_ACEOF
34288 # Files that config.status was made for.
34289 config_files="$ac_config_files"
34290 config_headers="$ac_config_headers"
34291 config_commands="$ac_config_commands"
34295 cat >>$CONFIG_STATUS <<\_ACEOF
34297 \`$as_me' instantiates files from templates according to the
34298 current configuration.
34300 Usage: $0 [OPTIONS] [FILE]...
34302 -h, --help print this help, then exit
34303 -V, --version print version number, then exit
34304 -q, --quiet do not print progress messages
34305 -d, --debug don't remove temporary files
34306 --recheck update $as_me by reconfiguring in the same conditions
34307 --file=FILE[:TEMPLATE]
34308 instantiate the configuration file FILE
34309 --header=FILE[:TEMPLATE]
34310 instantiate the configuration header FILE
34312 Configuration files:
34315 Configuration headers:
34318 Configuration commands:
34321 Report bugs to <bug-autoconf@gnu.org>."
34324 cat >>$CONFIG_STATUS <<_ACEOF
34326 llvm config.status 2.1svn
34327 configured by $0, generated by GNU Autoconf 2.60,
34328 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34330 Copyright (C) 2006 Free Software Foundation, Inc.
34331 This config.status script is free software; the Free Software Foundation
34332 gives unlimited permission to copy, distribute and modify it."
34339 cat >>$CONFIG_STATUS <<\_ACEOF
34340 # If no file are specified by the user, then we need to provide default
34341 # value. By we need to know if files were specified by the user.
34347 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34348 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34359 # Handling of the options.
34360 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34362 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34363 echo "$ac_cs_version"; exit ;;
34364 --debug |
--debu |
--deb |
--de |
--d |
-d )
34366 --file |
--fil |
--fi |
--f )
34368 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34369 ac_need_defaults
=false
;;
34370 --header |
--heade |
--head |
--hea )
34372 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34373 ac_need_defaults
=false
;;
34375 # Conflict between --help and --header
34376 { echo "$as_me: error: ambiguous option: $1
34377 Try \`$0 --help' for more information." >&2
34378 { (exit 1); exit 1; }; };;
34379 --help |
--hel |
-h )
34380 echo "$ac_cs_usage"; exit ;;
34381 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34382 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34385 # This is an error.
34386 -*) { echo "$as_me: error: unrecognized option: $1
34387 Try \`$0 --help' for more information." >&2
34388 { (exit 1); exit 1; }; } ;;
34390 *) ac_config_targets
="$ac_config_targets $1"
34391 ac_need_defaults
=false
;;
34397 ac_configure_extra_args
=
34399 if $ac_cs_silent; then
34401 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34405 cat >>$CONFIG_STATUS <<_ACEOF
34406 if \$ac_cs_recheck; then
34407 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34408 CONFIG_SHELL=$SHELL
34409 export CONFIG_SHELL
34410 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34414 cat >>$CONFIG_STATUS <<\_ACEOF
34418 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34419 ## Running $as_me. ##
34425 cat >>$CONFIG_STATUS <<_ACEOF
34429 llvm_src="${srcdir}"
34433 cat >>$CONFIG_STATUS <<\_ACEOF
34435 # Handling of arguments.
34436 for ac_config_target
in $ac_config_targets
34438 case $ac_config_target in
34439 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34440 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34441 "include/llvm/ADT/hash_map") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_map" ;;
34442 "include/llvm/ADT/hash_set") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_set" ;;
34443 "include/llvm/ADT/iterator") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator" ;;
34444 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34445 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34446 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34447 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34448 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34449 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34450 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34451 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34452 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34453 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34454 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34455 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34456 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34457 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34458 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34460 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34461 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34462 { (exit 1); exit 1; }; };;
34467 # If the user did not use the arguments to specify the items to instantiate,
34468 # then the envvar interface is used. Set only those that are not.
34469 # We use the long form for the default assignment because of an extremely
34470 # bizarre bug on SunOS 4.1.3.
34471 if $ac_need_defaults; then
34472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34473 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34474 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34477 # Have a temporary directory for convenience. Make it in the build tree
34478 # simply because there is no reason against having it here, and in addition,
34479 # creating and moving files from /tmp can sometimes cause problems.
34480 # Hook for its removal unless debugging.
34481 # Note that there is a small window in which the directory will not be cleaned:
34482 # after its creation but before its name has been assigned to `$tmp'.
34486 trap 'exit_status=$?
34487 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34489 trap '{ (exit 1); exit 1; }' 1 2 13 15
34491 # Create a (secure) tmp directory for tmp files.
34494 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34495 test -n "$tmp" && test -d "$tmp"
34498 tmp
=.
/conf$$
-$RANDOM
34499 (umask 077 && mkdir
"$tmp")
34502 echo "$me: cannot create a temporary directory in ." >&2
34503 { (exit 1); exit 1; }
34507 # Set up the sed scripts for CONFIG_FILES section.
34510 # No need to generate the scripts if there are no CONFIG_FILES.
34511 # This happens for instance when ./config.status config.h
34512 if test -n "$CONFIG_FILES"; then
34519 for ac_last_try
in false false false false false
:; do
34520 cat >conf$
$subs.
sed <<_ACEOF
34521 SHELL!$SHELL$ac_delim
34522 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34523 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34524 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34525 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34526 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34527 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34528 exec_prefix!$exec_prefix$ac_delim
34529 prefix!$prefix$ac_delim
34530 program_transform_name!$program_transform_name$ac_delim
34531 bindir!$bindir$ac_delim
34532 sbindir!$sbindir$ac_delim
34533 libexecdir!$libexecdir$ac_delim
34534 datarootdir!$datarootdir$ac_delim
34535 datadir!$datadir$ac_delim
34536 sysconfdir!$sysconfdir$ac_delim
34537 sharedstatedir!$sharedstatedir$ac_delim
34538 localstatedir!$localstatedir$ac_delim
34539 includedir!$includedir$ac_delim
34540 oldincludedir!$oldincludedir$ac_delim
34541 docdir!$docdir$ac_delim
34542 infodir!$infodir$ac_delim
34543 htmldir!$htmldir$ac_delim
34544 dvidir!$dvidir$ac_delim
34545 pdfdir!$pdfdir$ac_delim
34546 psdir!$psdir$ac_delim
34547 libdir!$libdir$ac_delim
34548 localedir!$localedir$ac_delim
34549 mandir!$mandir$ac_delim
34550 DEFS!$DEFS$ac_delim
34551 ECHO_C!$ECHO_C$ac_delim
34552 ECHO_N!$ECHO_N$ac_delim
34553 ECHO_T!$ECHO_T$ac_delim
34554 LIBS!$LIBS$ac_delim
34555 build_alias!$build_alias$ac_delim
34556 host_alias!$host_alias$ac_delim
34557 target_alias!$target_alias$ac_delim
34558 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34559 subdirs!$subdirs$ac_delim
34560 build!$build$ac_delim
34561 build_cpu!$build_cpu$ac_delim
34562 build_vendor!$build_vendor$ac_delim
34563 build_os!$build_os$ac_delim
34564 host!$host$ac_delim
34565 host_cpu!$host_cpu$ac_delim
34566 host_vendor!$host_vendor$ac_delim
34567 host_os!$host_os$ac_delim
34568 target!$target$ac_delim
34569 target_cpu!$target_cpu$ac_delim
34570 target_vendor!$target_vendor$ac_delim
34571 target_os!$target_os$ac_delim
34573 LINKALL!$LINKALL$ac_delim
34574 NOLINKALL!$NOLINKALL$ac_delim
34575 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34576 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34577 ARCH!$ARCH$ac_delim
34578 ENDIAN!$ENDIAN$ac_delim
34580 CFLAGS!$CFLAGS$ac_delim
34581 LDFLAGS!$LDFLAGS$ac_delim
34582 CPPFLAGS!$CPPFLAGS$ac_delim
34583 ac_ct_CC!$ac_ct_CC$ac_delim
34584 EXEEXT!$EXEEXT$ac_delim
34585 OBJEXT!$OBJEXT$ac_delim
34587 GREP!$GREP$ac_delim
34588 EGREP!$EGREP$ac_delim
34589 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
34590 BUILD_CC!$BUILD_CC$ac_delim
34591 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
34592 CVSBUILD!$CVSBUILD$ac_delim
34593 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
34594 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
34595 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
34596 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
34597 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
34599 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
34600 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
34601 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
34602 ENABLE_PIC!$ENABLE_PIC$ac_delim
34603 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
34604 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
34605 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
34607 CXXFLAGS!$CXXFLAGS$ac_delim
34608 ac_ct_CXX!$ac_ct_CXX$ac_delim
34610 LEXLIB!$LEXLIB$ac_delim
34611 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
34612 FLEX!$FLEX$ac_delim
34613 YACC!$YACC$ac_delim
34614 YFLAGS!$YFLAGS$ac_delim
34615 BISON!$BISON$ac_delim
34617 ifGNUmake!$ifGNUmake$ac_delim
34620 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34622 elif $ac_last_try; then
34623 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34624 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34625 { (exit 1); exit 1; }; }
34627 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34631 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34632 if test -n "$ac_eof"; then
34633 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34634 ac_eof
=`expr $ac_eof + 1`
34637 cat >>$CONFIG_STATUS <<_ACEOF
34638 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34642 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34643 s/^/s,@/; s/!/@,|#_!!_#|/
34646 s/'"$ac_delim"'$/,g/; t
34648 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34649 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34650 rm -f conf$
$subs.
sed
34651 cat >>$CONFIG_STATUS <<_ACEOF
34657 for ac_last_try
in false false false false false
:; do
34658 cat >conf$
$subs.
sed <<_ACEOF
34659 LN_S!$LN_S$ac_delim
34662 DATE!$DATE$ac_delim
34663 FIND!$FIND$ac_delim
34664 MKDIR!$MKDIR$ac_delim
34666 RANLIB!$RANLIB$ac_delim
34670 BINPWD!$BINPWD$ac_delim
34671 GRAPHVIZ!$GRAPHVIZ$ac_delim
34674 DOTTY!$DOTTY$ac_delim
34675 PERL!$PERL$ac_delim
34676 HAVE_PERL!$HAVE_PERL$ac_delim
34677 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34678 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34679 INSTALL_DATA!$INSTALL_DATA$ac_delim
34680 BZIP2!$BZIP2$ac_delim
34681 DOXYGEN!$DOXYGEN$ac_delim
34682 GROFF!$GROFF$ac_delim
34683 GZIP!$GZIP$ac_delim
34684 POD2HTML!$POD2HTML$ac_delim
34685 POD2MAN!$POD2MAN$ac_delim
34686 RUNTEST!$RUNTEST$ac_delim
34687 TCLSH!$TCLSH$ac_delim
34689 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
34690 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
34691 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
34692 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
34693 LIBADD_DL!$LIBADD_DL$ac_delim
34694 ECHO!$ECHO$ac_delim
34696 STRIP!$STRIP$ac_delim
34697 CXXCPP!$CXXCPP$ac_delim
34699 FFLAGS!$FFLAGS$ac_delim
34700 ac_ct_F77!$ac_ct_F77$ac_delim
34701 LIBTOOL!$LIBTOOL$ac_delim
34702 ETAGSFLAGS!$ETAGSFLAGS$ac_delim
34703 LLVMGCC!$LLVMGCC$ac_delim
34704 LLVMGXX!$LLVMGXX$ac_delim
34705 USE_UDIS86!$USE_UDIS86$ac_delim
34706 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
34707 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
34708 ALLOCA!$ALLOCA$ac_delim
34709 MMAP_FILE!$MMAP_FILE$ac_delim
34710 LLVMCC1!$LLVMCC1$ac_delim
34711 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
34712 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
34713 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
34714 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
34715 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
34716 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
34717 SHLIBEXT!$SHLIBEXT$ac_delim
34718 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
34719 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
34720 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
34721 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
34722 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
34723 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
34724 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
34725 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
34726 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
34727 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
34728 LIBOBJS!$LIBOBJS$ac_delim
34729 LTLIBOBJS!$LTLIBOBJS$ac_delim
34732 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
34734 elif $ac_last_try; then
34735 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34736 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34737 { (exit 1); exit 1; }; }
34739 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34743 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34744 if test -n "$ac_eof"; then
34745 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34746 ac_eof
=`expr $ac_eof + 1`
34749 cat >>$CONFIG_STATUS <<_ACEOF
34750 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34754 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34755 s/^/s,@/; s/!/@,|#_!!_#|/
34758 s/'"$ac_delim"'$/,g/; t
34760 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34761 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34762 rm -f conf$
$subs.
sed
34763 cat >>$CONFIG_STATUS <<_ACEOF
34770 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34771 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34772 # trailing colons and then remove the whole line if VPATH becomes empty
34773 # (actually we leave an empty line to preserve line numbers).
34774 if test "x$srcdir" = x.
; then
34775 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34776 s/:*\$(srcdir):*/:/
34777 s/:*\${srcdir}:*/:/
34779 s/^\([^=]*=[ ]*\):*/\1/
34785 cat >>$CONFIG_STATUS <<\_ACEOF
34786 fi # test -n "$CONFIG_FILES"
34789 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
34792 :[FHLC
]) ac_mode
=$ac_tag; continue;;
34794 case $ac_mode$ac_tag in
34796 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34797 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34798 { (exit 1); exit 1; }; };;
34799 :[FH
]-) ac_tag
=-:-;;
34800 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34817 -) ac_f
="$tmp/stdin";;
34818 *) # Look for the file first in the build tree, then in the source tree
34819 # (if the path is not absolute). The absolute path cannot be DOS-style,
34820 # because $ac_f cannot contain `:'.
34824 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34826 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34827 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34828 { (exit 1); exit 1; }; };;
34830 ac_file_inputs
="$ac_file_inputs $ac_f"
34833 # Let's still pretend it is `configure' which instantiates (i.e., don't
34834 # use $as_me), people would be surprised to read:
34835 # /* config.h. Generated by config.status. */
34836 configure_input
="Generated from "`IFS=:
34837 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34838 if test x
"$ac_file" != x-
; then
34839 configure_input
="$ac_file. $configure_input"
34840 { echo "$as_me:$LINENO: creating $ac_file" >&5
34841 echo "$as_me: creating $ac_file" >&6;}
34845 *:-:* |
*:-) cat >"$tmp/stdin";;
34850 ac_dir
=`$as_dirname -- "$ac_file" ||
34851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34852 X"$ac_file" : 'X\(//\)[^/]' \| \
34853 X"$ac_file" : 'X\(//\)$' \| \
34854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34860 /^X\(\/\/\)[^/].*/{
34875 -*) as_dir
=.
/$as_dir;;
34877 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
34881 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34882 *) as_qdir
=$as_dir;;
34884 as_dirs
="'$as_qdir' $as_dirs"
34885 as_dir
=`$as_dirname -- "$as_dir" ||
34886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34887 X"$as_dir" : 'X\(//\)[^/]' \| \
34888 X"$as_dir" : 'X\(//\)$' \| \
34889 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34895 /^X\(\/\/\)[^/].*/{
34908 test -d "$as_dir" && break
34910 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
34911 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34912 echo "$as_me: error: cannot create directory $as_dir" >&2;}
34913 { (exit 1); exit 1; }; }; }
34917 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34919 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34920 # A ".." for each directory in $ac_dir_suffix.
34921 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34922 case $ac_top_builddir_sub in
34923 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34924 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
34927 ac_abs_top_builddir
=$ac_pwd
34928 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
34929 # for backward compatibility:
34930 ac_top_builddir
=$ac_top_build_prefix
34933 .
) # We are building in place.
34935 ac_top_srcdir
=$ac_top_builddir_sub
34936 ac_abs_top_srcdir
=$ac_pwd ;;
34937 [\\/]* | ?
:[\\/]* ) # Absolute name.
34938 ac_srcdir
=$srcdir$ac_dir_suffix;
34939 ac_top_srcdir
=$srcdir
34940 ac_abs_top_srcdir
=$srcdir ;;
34941 *) # Relative name.
34942 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
34943 ac_top_srcdir
=$ac_top_build_prefix$srcdir
34944 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
34946 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
34956 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
34957 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
34961 cat >>$CONFIG_STATUS <<\_ACEOF
34962 # If the template does not know about datarootdir, expand it.
34963 # FIXME: This hack should be removed a few years after 2.60.
34964 ac_datarootdir_hack
=; ac_datarootdir_seen
=
34966 case `sed -n '/datarootdir/ {
34975 ' $ac_file_inputs` in
34976 *datarootdir
*) ac_datarootdir_seen
=yes;;
34977 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
34978 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34979 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34981 cat >>$CONFIG_STATUS <<_ACEOF
34982 ac_datarootdir_hack='
34983 s&@datadir@&$datadir&g
34984 s&@docdir@&$docdir&g
34985 s&@infodir@&$infodir&g
34986 s&@localedir@&$localedir&g
34987 s&@mandir@&$mandir&g
34988 s&\\\${datarootdir}&$datarootdir&g' ;;
34992 # Neutralize VPATH when `$srcdir' = `.'.
34993 # Shell code in configure.ac might set extrasub.
34994 # FIXME: do we really want to maintain this feature?
34995 cat >>$CONFIG_STATUS <<_ACEOF
34999 cat >>$CONFIG_STATUS <<\_ACEOF
35001 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35002 s
&@configure_input@
&$configure_input&;t t
35003 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35004 s
&@srcdir@
&$ac_srcdir&;t t
35005 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35006 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35007 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35008 s
&@builddir@
&$ac_builddir&;t t
35009 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35010 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35011 s
&@INSTALL@
&$ac_INSTALL&;t t
35012 $ac_datarootdir_hack
35013 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35016 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35018 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35019 which seems to be undefined. Please make sure it is defined." >&5
35020 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35021 which seems to be undefined. Please make sure it is defined." >&2;}
35025 -) cat "$tmp/out"; rm -f "$tmp/out";;
35026 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35035 # Transform confdefs.h into a sed script `conftest.defines', that
35036 # substitutes the proper values into config.h.in to produce config.h.
35037 rm -f conftest.defines conftest.
tail
35038 # First, append a space to every undef/define line, to ease matching.
35039 echo 's/$/ /' >conftest.defines
35040 # Then, protect against being on the right side of a sed subst, or in
35041 # an unquoted here document, in config.status. If some macros were
35042 # called several times there might be several #defines for the same
35043 # symbol, which is useless. But do not sort them, since the last
35044 # AC_DEFINE must be honored.
35045 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35046 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35047 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35048 # PARAMS is the parameter list in the macro definition--in most cases, it's
35049 # just an empty string.
35050 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35051 ac_dB
='\\)[ (].*,\\1define\\2'
35059 s/^[ ]*#[ ]*define[ ][ ]*//
35064 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35065 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35066 ' >>conftest.defines
35068 # Remove the space that was appended to ease matching.
35069 # Then replace #undef with comments. This is necessary, for
35070 # example, in the case of _POSIX_SOURCE, which is predefined and required
35071 # on some systems where configure will not decide to define it.
35072 # (The regexp can be short, since the line contains either #define or #undef.)
35074 s,^[ #]*u.*,/* & */,' >>conftest.defines
35076 # Break up conftest.defines:
35077 ac_max_sed_lines
=50
35079 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35080 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35081 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35083 ac_in
='$ac_file_inputs'
35084 ac_out
='"$tmp/out1"'
35085 ac_nxt
='"$tmp/out2"'
35089 # Write a here document:
35090 cat >>$CONFIG_STATUS <<_ACEOF
35091 # First, check the format of the line:
35092 cat >"\$tmp/defines.sed" <<\\CEOF
35093 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35094 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35098 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35100 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35101 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35102 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35103 grep . conftest.
tail >/dev
/null ||
break
35104 rm -f conftest.defines
35105 mv conftest.
tail conftest.defines
35107 rm -f conftest.defines conftest.
tail
35109 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35110 cat >>$CONFIG_STATUS <<\_ACEOF
35111 if test x
"$ac_file" != x-
; then
35112 echo "/* $configure_input */" >"$tmp/config.h"
35113 cat "$ac_result" >>"$tmp/config.h"
35114 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35115 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35116 echo "$as_me: $ac_file is unchanged" >&6;}
35119 mv "$tmp/config.h" $ac_file
35122 echo "/* $configure_input */"
35128 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35129 echo "$as_me: executing $ac_file commands" >&6;}
35134 case $ac_file$ac_mode in
35135 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35136 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35137 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35138 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35139 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35140 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35141 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35142 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35143 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35144 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35145 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35146 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35147 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35148 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35149 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35150 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35151 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35152 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35153 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35154 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35160 { (exit 0); exit 0; }
35162 chmod +x
$CONFIG_STATUS
35163 ac_clean_files
=$ac_clean_files_save
35166 # configure is writing to config.log, and then calls config.status.
35167 # config.status does its own redirection, appending to config.log.
35168 # Unfortunately, on DOS this fails, as config.log is still kept open
35169 # by configure, so config.status won't be able to write to it; its
35170 # output is simply discarded. So we exec the FD to /dev/null,
35171 # effectively closing config.log, so it can be properly (re)opened and
35172 # appended to by config.status. When coming back to configure, we
35173 # need to make the FD available again.
35174 if test "$no_create" != yes; then
35176 ac_config_status_args
=
35177 test "$silent" = yes &&
35178 ac_config_status_args
="$ac_config_status_args --quiet"
35180 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35182 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35183 # would make configure fail if this is the last instruction.
35184 $ac_cs_success ||
{ (exit 1); exit 1; }
35188 # CONFIG_SUBDIRS section.
35190 if test "$no_recursion" != yes; then
35192 # Remove --cache-file and --srcdir arguments so they do not pile up.
35193 ac_sub_configure_args
=
35195 eval "set x $ac_configure_args"
35199 if test -n "$ac_prev"; then
35204 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35205 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35206 ac_prev
=cache_file
;;
35207 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35208 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35211 --config-cache |
-C)
35213 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35215 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35217 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35219 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35223 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35225 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35229 # Always prepend --prefix to ensure using the same prefix
35230 # in subdir configurations.
35231 ac_arg
="--prefix=$prefix"
35233 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35235 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35238 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35240 # Do not complain, so a configure script can configure whichever
35241 # parts of a large source tree are present.
35242 test -d "$srcdir/$ac_dir" ||
continue
35244 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35245 echo "$as_me:$LINENO: $ac_msg" >&5
35249 -*) as_dir
=.
/$as_dir;;
35251 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35255 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35256 *) as_qdir
=$as_dir;;
35258 as_dirs
="'$as_qdir' $as_dirs"
35259 as_dir
=`$as_dirname -- "$as_dir" ||
35260 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35261 X"$as_dir" : 'X\(//\)[^/]' \| \
35262 X"$as_dir" : 'X\(//\)$' \| \
35263 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35269 /^X\(\/\/\)[^/].*/{
35282 test -d "$as_dir" && break
35284 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35285 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35286 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35287 { (exit 1); exit 1; }; }; }
35291 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35293 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35294 # A ".." for each directory in $ac_dir_suffix.
35295 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35296 case $ac_top_builddir_sub in
35297 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35298 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35301 ac_abs_top_builddir
=$ac_pwd
35302 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35303 # for backward compatibility:
35304 ac_top_builddir
=$ac_top_build_prefix
35307 .
) # We are building in place.
35309 ac_top_srcdir
=$ac_top_builddir_sub
35310 ac_abs_top_srcdir
=$ac_pwd ;;
35311 [\\/]* | ?
:[\\/]* ) # Absolute name.
35312 ac_srcdir
=$srcdir$ac_dir_suffix;
35313 ac_top_srcdir
=$srcdir
35314 ac_abs_top_srcdir
=$srcdir ;;
35315 *) # Relative name.
35316 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35317 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35318 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35320 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35325 # Check for guested configure; otherwise get Cygnus style configure.
35326 if test -f "$ac_srcdir/configure.gnu"; then
35327 ac_sub_configure
=$ac_srcdir/configure.gnu
35328 elif test -f "$ac_srcdir/configure"; then
35329 ac_sub_configure
=$ac_srcdir/configure
35330 elif test -f "$ac_srcdir/configure.in"; then
35331 # This should be Cygnus configure.
35332 ac_sub_configure
=$ac_aux_dir/configure
35334 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35335 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35339 # The recursion is here.
35340 if test -n "$ac_sub_configure"; then
35341 # Make the cache file name correct relative to the subdirectory.
35342 case $cache_file in
35343 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35344 *) # Relative name.
35345 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35348 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35349 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35350 # The eval makes quoting arguments work.
35351 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35352 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35353 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35354 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35355 { (exit 1); exit 1; }; }