2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for llvm 2.2svn.
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.2svn'
719 PACKAGE_STRING
='llvm 2.2svn'
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
891 CONVENIENCE_LTDL_TRUE
892 CONVENIENCE_LTDL_FALSE
933 ac_precious_vars
='build_alias
949 ac_subdirs_all
='projects/sample
951 projects/llvm-stacker
957 projects/llvm-poolalloc
959 projects/llvm-kernel'
961 # Initialize some variables set by options.
963 ac_init_version
=false
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
973 program_transform_name
=s
,x
,x
,
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir
='${exec_prefix}/bin'
988 sbindir
='${exec_prefix}/sbin'
989 libexecdir
='${exec_prefix}/libexec'
990 datarootdir
='${prefix}/share'
991 datadir
='${datarootdir}'
992 sysconfdir
='${prefix}/etc'
993 sharedstatedir
='${prefix}/com'
994 localstatedir
='${prefix}/var'
995 includedir
='${prefix}/include'
996 oldincludedir
='/usr/include'
997 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
998 infodir
='${datarootdir}/info'
1003 libdir
='${exec_prefix}/lib'
1004 localedir
='${datarootdir}/locale'
1005 mandir
='${datarootdir}/man'
1011 # If the previous option needs an argument, assign it.
1012 if test -n "$ac_prev"; then
1013 eval $ac_prev=\
$ac_option
1019 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 # Accept the important Cygnus configure options, so we can diagnose typos.
1025 case $ac_dashdash$ac_option in
1029 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1031 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1032 bindir
=$ac_optarg ;;
1034 -build |
--build |
--buil |
--bui |
--bu)
1035 ac_prev
=build_alias
;;
1036 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1037 build_alias
=$ac_optarg ;;
1039 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1040 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1041 ac_prev
=cache_file
;;
1042 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1043 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1044 cache_file
=$ac_optarg ;;
1046 --config-cache |
-C)
1047 cache_file
=config.cache
;;
1049 -datadir |
--datadir |
--datadi |
--datad)
1051 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1052 datadir
=$ac_optarg ;;
1054 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1055 |
--dataroo |
--dataro |
--datar)
1056 ac_prev
=datarootdir
;;
1057 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1058 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1059 datarootdir
=$ac_optarg ;;
1061 -disable-* |
--disable-*)
1062 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1065 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1068 eval enable_
$ac_feature=no
;;
1070 -docdir |
--docdir |
--docdi |
--doc |
--do)
1072 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1073 docdir
=$ac_optarg ;;
1075 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1077 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1078 dvidir
=$ac_optarg ;;
1080 -enable-* |
--enable-*)
1081 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1084 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1085 { (exit 1); exit 1; }; }
1086 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1087 eval enable_
$ac_feature=\
$ac_optarg ;;
1089 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1090 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1091 |
--exec |
--exe |
--ex)
1092 ac_prev
=exec_prefix
;;
1093 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1094 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1095 |
--exec=* |
--exe=* |
--ex=*)
1096 exec_prefix
=$ac_optarg ;;
1098 -gas |
--gas |
--ga |
--g)
1099 # Obsolete; use --with-gas.
1102 -help |
--help |
--hel |
--he |
-h)
1103 ac_init_help
=long
;;
1104 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1105 ac_init_help
=recursive
;;
1106 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1107 ac_init_help
=short
;;
1109 -host |
--host |
--hos |
--ho)
1110 ac_prev
=host_alias
;;
1111 -host=* |
--host=* |
--hos=* |
--ho=*)
1112 host_alias
=$ac_optarg ;;
1114 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1116 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1118 htmldir
=$ac_optarg ;;
1120 -includedir |
--includedir |
--includedi |
--included |
--include \
1121 |
--includ |
--inclu |
--incl |
--inc)
1122 ac_prev
=includedir
;;
1123 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1124 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1125 includedir
=$ac_optarg ;;
1127 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1129 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1130 infodir
=$ac_optarg ;;
1132 -libdir |
--libdir |
--libdi |
--libd)
1134 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1135 libdir
=$ac_optarg ;;
1137 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1138 |
--libexe |
--libex |
--libe)
1139 ac_prev
=libexecdir
;;
1140 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1141 |
--libexe=* |
--libex=* |
--libe=*)
1142 libexecdir
=$ac_optarg ;;
1144 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1145 ac_prev
=localedir
;;
1146 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1147 localedir
=$ac_optarg ;;
1149 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1150 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1151 ac_prev
=localstatedir
;;
1152 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1153 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1154 localstatedir
=$ac_optarg ;;
1156 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1158 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1159 mandir
=$ac_optarg ;;
1161 -nfp |
--nfp |
--nf)
1162 # Obsolete; use --without-fp.
1165 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1166 |
--no-cr |
--no-c |
-n)
1169 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1170 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1173 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1174 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1175 |
--oldin |
--oldi |
--old |
--ol |
--o)
1176 ac_prev
=oldincludedir
;;
1177 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1178 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1179 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1180 oldincludedir
=$ac_optarg ;;
1182 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1184 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1185 prefix
=$ac_optarg ;;
1187 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1188 |
--program-pre |
--program-pr |
--program-p)
1189 ac_prev
=program_prefix
;;
1190 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1191 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1192 program_prefix
=$ac_optarg ;;
1194 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1195 |
--program-suf |
--program-su |
--program-s)
1196 ac_prev
=program_suffix
;;
1197 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1198 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1199 program_suffix
=$ac_optarg ;;
1201 -program-transform-name |
--program-transform-name \
1202 |
--program-transform-nam |
--program-transform-na \
1203 |
--program-transform-n |
--program-transform- \
1204 |
--program-transform |
--program-transfor \
1205 |
--program-transfo |
--program-transf \
1206 |
--program-trans |
--program-tran \
1207 |
--progr-tra |
--program-tr |
--program-t)
1208 ac_prev
=program_transform_name
;;
1209 -program-transform-name=* |
--program-transform-name=* \
1210 |
--program-transform-nam=* |
--program-transform-na=* \
1211 |
--program-transform-n=* |
--program-transform-=* \
1212 |
--program-transform=* |
--program-transfor=* \
1213 |
--program-transfo=* |
--program-transf=* \
1214 |
--program-trans=* |
--program-tran=* \
1215 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1216 program_transform_name
=$ac_optarg ;;
1218 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1220 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1221 pdfdir
=$ac_optarg ;;
1223 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1225 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1228 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1229 |
-silent |
--silent |
--silen |
--sile |
--sil)
1232 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1234 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1236 sbindir
=$ac_optarg ;;
1238 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1239 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1240 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1242 ac_prev
=sharedstatedir
;;
1243 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1244 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1245 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1247 sharedstatedir
=$ac_optarg ;;
1249 -site |
--site |
--sit)
1251 -site=* |
--site=* |
--sit=*)
1254 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1256 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1257 srcdir
=$ac_optarg ;;
1259 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1260 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1261 ac_prev
=sysconfdir
;;
1262 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1263 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1264 sysconfdir
=$ac_optarg ;;
1266 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1267 ac_prev
=target_alias
;;
1268 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1269 target_alias
=$ac_optarg ;;
1271 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1274 -version |
--version |
--versio |
--versi |
--vers |
-V)
1275 ac_init_version
=: ;;
1278 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1281 { echo "$as_me: error: invalid package name: $ac_package" >&2
1282 { (exit 1); exit 1; }; }
1283 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1284 eval with_
$ac_package=\
$ac_optarg ;;
1286 -without-* |
--without-*)
1287 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1290 { echo "$as_me: error: invalid package name: $ac_package" >&2
1291 { (exit 1); exit 1; }; }
1292 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1293 eval with_
$ac_package=no
;;
1296 # Obsolete; use --with-x.
1299 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1300 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1301 ac_prev
=x_includes
;;
1302 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1303 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1304 x_includes
=$ac_optarg ;;
1306 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1307 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1308 ac_prev
=x_libraries
;;
1309 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1310 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1311 x_libraries
=$ac_optarg ;;
1313 -*) { echo "$as_me: error: unrecognized option: $ac_option
1314 Try \`$0 --help' for more information." >&2
1315 { (exit 1); exit 1; }; }
1319 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1320 # Reject names that are not valid shell variable names.
1321 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1322 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1323 { (exit 1); exit 1; }; }
1324 eval $ac_envvar=\
$ac_optarg
1325 export $ac_envvar ;;
1328 # FIXME: should be removed in autoconf 3.0.
1329 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1331 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1332 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1338 if test -n "$ac_prev"; then
1339 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1340 { echo "$as_me: error: missing argument to $ac_option" >&2
1341 { (exit 1); exit 1; }; }
1344 # Be sure to have absolute directory names.
1345 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1350 eval ac_val
=\$
$ac_var
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1355 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1356 { (exit 1); exit 1; }; }
1359 # There might be people who depend on the old broken behavior: `$host'
1360 # used to hold the argument of --host etc.
1361 # FIXME: To remove some day.
1364 target
=$target_alias
1366 # FIXME: To remove some day.
1367 if test "x$host_alias" != x
; then
1368 if test "x$build_alias" = x
; then
1369 cross_compiling
=maybe
1370 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1371 If a cross compiler is detected then cross compile mode will be used." >&2
1372 elif test "x$build_alias" != "x$host_alias"; then
1378 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1380 test "$silent" = yes && exec 6>/dev
/null
1383 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di
=`ls -di .` &&
1385 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1386 { echo "$as_me: error: Working directory cannot be determined" >&2
1387 { (exit 1); exit 1; }; }
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 { echo "$as_me: error: pwd does not report name of working directory" >&2
1390 { (exit 1); exit 1; }; }
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted
=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir
=`$as_dirname -- "$0" ||
1398 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$0" : 'X\(//\)[^/]' \| \
1400 X"$0" : 'X\(//\)$' \| \
1401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1425 ac_srcdir_defaulted
=no
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1429 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1430 { (exit 1); exit 1; }; }
1432 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1434 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1435 { (exit 1); exit 1; }; }
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1445 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 for ac_var
in $ac_precious_vars; do
1448 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1450 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1455 # Report the --help message.
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1461 \`configure' configures llvm 2.2svn to adapt to many kinds of systems.
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1468 Defaults for the options are specified in brackets.
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1492 For better control, use the options below.
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1519 --build=BUILD configure
for building on BUILD
[guessed
]
1520 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1521 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive
) echo "Configuration of llvm 2.2svn:";;
1532 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1533 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1536 --enable-expensive-checks
1538 --enable-debug-runtime
1539 --enable-jit Enable Just In Time Compiling
(default is YES
)
1540 --enable-doxygen Build doxygen documentation
(default is NO
)
1541 --enable-threads Use threads
if available
(default is YES
)
1542 --enable-pic Build LLVM with Position Independent Code
(default
1544 --enable-targets Build specific
host targets
:
1545 all
,host-only
,{target-name
} (default
=all
)
1546 --enable-cbe-printf-a Enable C Backend output with hex floating point via
1548 --enable-bindings Build specific language bindings
:
1549 all
,auto
,none
,{binding-name
} (default
=auto
)
1550 --enable-ltdl-install install libltdl
1551 --enable-shared[=PKGS
] build shared libraries
1553 --enable-static[=PKGS
] build static libraries
1555 --enable-fast-install[=PKGS
]
1556 optimize
for fast installation
1558 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1561 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1562 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1563 --with-llvmgccdir Specify location of llvm-gcc
install dir
(default
1565 --with-extra-options Specify addtional options to compile LLVM with
1566 --with-ocaml-libdir Specify
install location
for ocaml bindings
(default
1568 --with-tclinclude directory where tcl headers are
1569 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1570 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1572 --with-tags[=TAGS
] include additional configurations
[automatic
]
1573 --with-udis86=<path
> Use udis86 external x86 disassembler library
1575 Some influential environment variables
:
1576 CC C compiler
command
1577 CFLAGS C compiler flags
1578 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1579 nonstandard directory
<lib dir
>
1580 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1581 you have headers
in a nonstandard directory
<include dir
>
1583 CXX C
++ compiler
command
1584 CXXFLAGS C
++ compiler flags
1585 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1586 the first program found out of: `bison
-y', `byacc', `yacc'.
1587 YFLAGS The list of arguments that will be passed by default to $YACC.
1588 This script will default YFLAGS to the empty string to avoid a
1589 default value of `-d' given by some make applications.
1590 CXXCPP C++ preprocessor
1591 F77 Fortran 77 compiler command
1592 FFLAGS Fortran 77 compiler flags
1594 Use these variables to override the choices made by `configure' or to
help
1595 it to
find libraries and programs with nonstandard names
/locations.
1597 Report bugs to
<llvmbugs@cs.uiuc.edu
>.
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1605 test -d "$ac_dir" ||
continue
1609 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1611 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1616 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir
=$ac_pwd
1620 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir
=$ac_top_build_prefix
1625 .
) # We are building in place.
1627 ac_top_srcdir
=$ac_top_builddir_sub
1628 ac_abs_top_srcdir
=$ac_pwd ;;
1629 [\\/]* | ?
:[\\/]* ) # Absolute name.
1630 ac_srcdir
=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir
=$srcdir
1632 ac_abs_top_srcdir
=$srcdir ;;
1634 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 llvm configure
2.2svn
1659 generated by GNU Autoconf
2.60
1661 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1662 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1663 This configure
script is free software
; the Free Software Foundation
1664 gives unlimited permission to copy
, distribute and modify it.
1666 Copyright
(c
) 2003-2007 University of Illinois
at Urbana-Champaign.
1670 cat >config.log
<<_ACEOF
1671 This file contains any messages produced by compilers while
1672 running configure, to aid debugging if configure makes a mistake.
1674 It was created by llvm $as_me 2.2svn, which was
1675 generated by GNU Autoconf 2.60. Invocation command line was
1687 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1688 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1689 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1690 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1691 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1693 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1694 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1696 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1697 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1698 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1699 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1700 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1701 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1702 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir
=.
1711 echo "PATH: $as_dir"
1727 # Keep a trace of the command line.
1728 # Strip out --no-create and --no-recursion so they do not pile up.
1729 # Strip out --silent because we don't want to record it for future runs.
1730 # Also quote any args containing shell meta-characters.
1731 # Make two passes to allow for proper duplicate-argument suppression.
1735 ac_must_keep_next
=false
1741 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1742 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1743 |
-silent |
--silent |
--silen |
--sile |
--sil)
1746 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1749 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1751 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1752 if test $ac_must_keep_next = true
; then
1753 ac_must_keep_next
=false
# Got value, back to normal.
1756 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1757 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1758 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1759 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1760 case "$ac_configure_args0 " in
1761 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1764 -* ) ac_must_keep_next
=true
;;
1767 ac_configure_args
="$ac_configure_args '$ac_arg'"
1772 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1773 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1775 # When interrupted or exit'd, cleanup temporary files, and complete
1776 # config.log. We remove comments because anyway the quotes in there
1777 # would cause problems or look ugly.
1778 # WARNING: Use '\'' to represent an apostrophe within the trap.
1779 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1780 trap 'exit_status=$?
1781 # Save into config.log some information that might help in debugging.
1786 ## ---------------- ##
1787 ## Cache variables. ##
1788 ## ---------------- ##
1791 # The following way of writing the cache mishandles newlines in values,
1793 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1794 eval ac_val=\$$ac_var
1798 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1799 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1802 _ | IFS | as_nl) ;; #(
1803 *) $as_unset $ac_var ;;
1808 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1809 *${as_nl}ac_space=\ *)
1811 "s/'\''/'\''\\\\'\'''\''/g;
1812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1823 ## ----------------- ##
1824 ## Output variables. ##
1825 ## ----------------- ##
1828 for ac_var in $ac_subst_vars
1830 eval ac_val=\$$ac_var
1832 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1834 echo "$ac_var='\''$ac_val'\''"
1838 if test -n "$ac_subst_files"; then
1840 ## ------------------- ##
1841 ## File substitutions. ##
1842 ## ------------------- ##
1845 for ac_var
in $ac_subst_files
1847 eval ac_val
=\$
$ac_var
1849 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851 echo "$ac_var='\''$ac_val'\''"
1856 if test -s confdefs.h; then
1866 test "$ac_signal" != 0 &&
1867 echo "$as_me: caught signal $ac_signal"
1868 echo "$as_me: exit $exit_status"
1870 rm -f core *.core core.conftest.* &&
1871 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1874 for ac_signal
in 1 2 13 15; do
1875 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1879 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1880 rm -f -r conftest
* confdefs.h
1882 # Predefined preprocessor variables.
1884 cat >>confdefs.h
<<_ACEOF
1885 #define PACKAGE_NAME "$PACKAGE_NAME"
1889 cat >>confdefs.h
<<_ACEOF
1890 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1894 cat >>confdefs.h
<<_ACEOF
1895 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1899 cat >>confdefs.h
<<_ACEOF
1900 #define PACKAGE_STRING "$PACKAGE_STRING"
1904 cat >>confdefs.h
<<_ACEOF
1905 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1909 # Let the site file select an alternate cache file if it wants to.
1910 # Prefer explicitly selected file to automatically selected ones.
1911 if test -n "$CONFIG_SITE"; then
1912 set x
"$CONFIG_SITE"
1913 elif test "x$prefix" != xNONE
; then
1914 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1916 set x
"$ac_default_prefix/share/config.site" \
1917 "$ac_default_prefix/etc/config.site"
1922 if test -r "$ac_site_file"; then
1923 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1924 echo "$as_me: loading site script $ac_site_file" >&6;}
1925 sed 's/^/| /' "$ac_site_file" >&5
1930 if test -r "$cache_file"; then
1931 # Some versions of bash will fail to source /dev/null (special
1932 # files actually), so we avoid doing that.
1933 if test -f "$cache_file"; then
1934 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1935 echo "$as_me: loading cache $cache_file" >&6;}
1937 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1938 *) .
"./$cache_file";;
1942 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1943 echo "$as_me: creating cache $cache_file" >&6;}
1947 # Check that the precious variables saved in the cache have kept the same
1949 ac_cache_corrupted
=false
1950 for ac_var
in $ac_precious_vars; do
1951 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1952 eval ac_new_set
=\
$ac_env_${ac_var}_set
1953 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1954 eval ac_new_val
=\
$ac_env_${ac_var}_value
1955 case $ac_old_set,$ac_new_set in
1957 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1958 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1959 ac_cache_corrupted
=: ;;
1961 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1962 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1963 ac_cache_corrupted
=: ;;
1966 if test "x$ac_old_val" != "x$ac_new_val"; then
1967 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1968 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1969 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1970 echo "$as_me: former value: $ac_old_val" >&2;}
1971 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1972 echo "$as_me: current value: $ac_new_val" >&2;}
1973 ac_cache_corrupted
=:
1976 # Pass precious variables to config.status.
1977 if test "$ac_new_set" = set; then
1979 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1980 *) ac_arg
=$ac_var=$ac_new_val ;;
1982 case " $ac_configure_args " in
1983 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1984 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1988 if $ac_cache_corrupted; then
1989 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1990 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1991 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1992 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1993 { (exit 1); exit 1; }; }
2021 ac_cpp
='$CPP $CPPFLAGS'
2022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2028 LLVM_COPYRIGHT
="Copyright (c) 2003-2007 University of Illinois at Urbana-Champaign."
2037 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2038 if test -f "$ac_dir/install-sh"; then
2040 ac_install_sh
="$ac_aux_dir/install-sh -c"
2042 elif test -f "$ac_dir/install.sh"; then
2044 ac_install_sh
="$ac_aux_dir/install.sh -c"
2046 elif test -f "$ac_dir/shtool"; then
2048 ac_install_sh
="$ac_aux_dir/shtool install -c"
2052 if test -z "$ac_aux_dir"; then
2053 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2054 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2055 { (exit 1); exit 1; }; }
2058 # These three variables are undocumented and unsupported,
2059 # and are intended to be withdrawn in a future Autoconf release.
2060 # They can cause serious problems if a builder's source tree is in a directory
2061 # whose full name contains unusual characters.
2062 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2063 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2064 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2068 if test ${srcdir} != "." ; then
2069 if test -f ${srcdir}/include
/llvm
/Config
/config.h
; then
2070 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
2071 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
2072 { (exit 1); exit 1; }; }
2076 for i
in `ls ${srcdir}/projects`
2078 if test -d ${srcdir}/projects
/${i} ; then
2081 sample
) subdirs
="$subdirs projects/sample"
2083 privbracket
) subdirs
="$subdirs projects/privbracket"
2085 llvm-stacker
) subdirs
="$subdirs projects/llvm-stacker"
2087 llvm-test
) subdirs
="$subdirs projects/llvm-test"
2089 llvm-reopt
) subdirs
="$subdirs projects/llvm-reopt"
2091 llvm-gcc
) subdirs
="$subdirs projects/llvm-gcc"
2093 llvm-java
) subdirs
="$subdirs projects/llvm-java"
2095 llvm-tv
) subdirs
="$subdirs projects/llvm-tv"
2097 llvm-poolalloc
) subdirs
="$subdirs projects/llvm-poolalloc"
2099 poolalloc
) subdirs
="$subdirs projects/poolalloc"
2101 llvm-kernel
) subdirs
="$subdirs projects/llvm-kernel"
2104 { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5
2105 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;}
2112 # Make sure we can run config.sub.
2113 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2114 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2115 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2116 { (exit 1); exit 1; }; }
2118 { echo "$as_me:$LINENO: checking build system type" >&5
2119 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2120 if test "${ac_cv_build+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 ac_build_alias
=$build_alias
2124 test "x$ac_build_alias" = x
&&
2125 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2126 test "x$ac_build_alias" = x
&&
2127 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2128 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2129 { (exit 1); exit 1; }; }
2130 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2131 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2132 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2133 { (exit 1); exit 1; }; }
2136 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2137 echo "${ECHO_T}$ac_cv_build" >&6; }
2138 case $ac_cv_build in
2140 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2141 echo "$as_me: error: invalid value of canonical build" >&2;}
2142 { (exit 1); exit 1; }; };;
2145 ac_save_IFS
=$IFS; IFS
='-'
2151 # Remember, the first character of IFS is used to create $*,
2152 # except with old shells:
2155 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2158 { echo "$as_me:$LINENO: checking host system type" >&5
2159 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2160 if test "${ac_cv_host+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test "x$host_alias" = x
; then
2164 ac_cv_host
=$ac_cv_build
2166 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2167 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2168 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2169 { (exit 1); exit 1; }; }
2173 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2174 echo "${ECHO_T}$ac_cv_host" >&6; }
2177 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2178 echo "$as_me: error: invalid value of canonical host" >&2;}
2179 { (exit 1); exit 1; }; };;
2182 ac_save_IFS
=$IFS; IFS
='-'
2188 # Remember, the first character of IFS is used to create $*,
2189 # except with old shells:
2192 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2195 { echo "$as_me:$LINENO: checking target system type" >&5
2196 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2197 if test "${ac_cv_target+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 if test "x$target_alias" = x
; then
2201 ac_cv_target
=$ac_cv_host
2203 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2204 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2205 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2206 { (exit 1); exit 1; }; }
2210 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2211 echo "${ECHO_T}$ac_cv_target" >&6; }
2212 case $ac_cv_target in
2214 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2215 echo "$as_me: error: invalid value of canonical target" >&2;}
2216 { (exit 1); exit 1; }; };;
2218 target
=$ac_cv_target
2219 ac_save_IFS
=$IFS; IFS
='-'
2225 # Remember, the first character of IFS is used to create $*,
2226 # except with old shells:
2229 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2232 # The aliases save the names the user supplied, while $host etc.
2233 # will get canonicalized.
2234 test -n "$target_alias" &&
2235 test "$program_prefix$program_suffix$program_transform_name" = \
2237 program_prefix
=${target_alias}-
2239 { echo "$as_me:$LINENO: checking type of operating system we're going to host on" >&5
2240 echo $ECHO_N "checking type of operating system we're going to host on... $ECHO_C" >&6; }
2241 if test "${llvm_cv_os_type+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 llvm_cv_link_all_option
="-Wl,--whole-archive"
2247 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2248 llvm_cv_os_type
="AIX"
2249 llvm_cv_platform_type
="Unix" ;;
2251 llvm_cv_link_all_option
="-Wl,--whole-archive"
2252 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2253 llvm_cv_os_type
="IRIX"
2254 llvm_cv_platform_type
="Unix" ;;
2256 llvm_cv_link_all_option
="-Wl,--whole-archive"
2257 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2258 llvm_cv_os_type
="Cygwin"
2259 llvm_cv_platform_type
="Unix" ;;
2261 llvm_cv_link_all_option
="-Wl,-all_load"
2262 llvm_cv_link_all_option
="-Wl,-noall_load"
2263 llvm_cv_os_type
="Darwin"
2264 llvm_cv_platform_type
="Unix" ;;
2266 llvm_cv_link_all_option
="-Wl,--whole-archive"
2267 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2268 llvm_cv_os_type
="FreeBSD"
2269 llvm_cv_platform_type
="Unix" ;;
2271 llvm_cv_link_all_option
="-Wl,--whole-archive"
2272 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2273 llvm_cv_os_type
="OpenBSD"
2274 llvm_cv_platform_type
="Unix" ;;
2276 llvm_cv_link_all_option
="-Wl,--whole-archive"
2277 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2278 llvm_cv_os_type
="NetBSD"
2279 llvm_cv_platform_type
="Unix" ;;
2281 llvm_cv_link_all_option
="-Wl,--whole-archive"
2282 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2283 llvm_cv_os_type
="HP-UX"
2284 llvm_cv_platform_type
="Unix" ;;
2286 llvm_cv_link_all_option
="-Wl,--whole-archive"
2287 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2288 llvm_cv_os_type
="Interix"
2289 llvm_cv_platform_type
="Unix" ;;
2291 llvm_cv_link_all_option
="-Wl,--whole-archive"
2292 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2293 llvm_cv_os_type
="Linux"
2294 llvm_cv_platform_type
="Unix" ;;
2296 llvm_cv_link_all_option
="-Wl,-z,allextract"
2297 llvm_cv_no_link_all_option
="-Wl,-z,defaultextract"
2298 llvm_cv_os_type
="SunOS"
2299 llvm_cv_platform_type
="Unix" ;;
2301 llvm_cv_link_all_option
="-Wl,--whole-archive"
2302 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2303 llvm_cv_os_type
="Win32"
2304 llvm_cv_platform_type
="Win32" ;;
2306 llvm_cv_link_all_option
="-Wl,--whole-archive"
2307 llvm_cv_no_link_all_option
="-Wl,--no-whole-archive"
2308 llvm_cv_os_type
="MingW"
2309 llvm_cv_platform_type
="Win32" ;;
2311 llvm_cv_link_all_option
=""
2312 llvm_cv_no_link_all_option
=""
2313 llvm_cv_os_type
="Unknown"
2314 llvm_cv_platform_type
="Unknown" ;;
2317 { echo "$as_me:$LINENO: result: $llvm_cv_os_type" >&5
2318 echo "${ECHO_T}$llvm_cv_os_type" >&6; }
2320 if test "$llvm_cv_os_type" = "Unknown" ; then
2321 { { echo "$as_me:$LINENO: error: Operating system is unknown, configure can't continue" >&5
2322 echo "$as_me: error: Operating system is unknown, configure can't continue" >&2;}
2323 { (exit 1); exit 1; }; }
2329 LINKALL
=$llvm_cv_link_all_option
2331 NOLINKALL
=$llvm_cv_no_link_all_option
2334 case $llvm_cv_platform_type in
2337 cat >>confdefs.h
<<\_ACEOF
2338 #define LLVM_ON_UNIX 1
2348 cat >>confdefs.h
<<\_ACEOF
2349 #define LLVM_ON_WIN32 1
2359 { echo "$as_me:$LINENO: checking target architecture" >&5
2360 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2361 if test "${llvm_cv_target_arch+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 i?
86-*) llvm_cv_target_arch
="x86" ;;
2366 amd64-
* | x86_64-
*) llvm_cv_target_arch
="x86_64" ;;
2367 sparc
*-*) llvm_cv_target_arch
="Sparc" ;;
2368 powerpc
*-*) llvm_cv_target_arch
="PowerPC" ;;
2369 alpha
*-*) llvm_cv_target_arch
="Alpha" ;;
2370 ia64-
*) llvm_cv_target_arch
="IA64" ;;
2371 arm-
*) llvm_cv_target_arch
="ARM" ;;
2372 mips-
*) llvm_cv_target_arch
="Mips" ;;
2373 *) llvm_cv_target_arch
="Unknown" ;;
2376 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2377 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2379 if test "$llvm_cv_target_arch" = "Unknown" ; then
2380 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2381 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2384 ARCH
=$llvm_cv_target_arch
2388 ac_cpp
='$CPP $CPPFLAGS'
2389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2394 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397 if test "${ac_cv_prog_CC+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC
="$CC" # Let the user override the test.
2403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir
=.
2408 for ac_exec_ext
in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test -n "$CC"; then
2422 { echo "$as_me:$LINENO: result: $CC" >&5
2423 echo "${ECHO_T}$CC" >&6; }
2425 { echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6; }
2431 if test -z "$ac_cv_prog_CC"; then
2433 # Extract the first word of "gcc", so it can be a program name with args.
2434 set dummy gcc
; ac_word
=$2
2435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2437 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 if test -n "$ac_ct_CC"; then
2441 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir
=.
2448 for ac_exec_ext
in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_ac_ct_CC
="gcc"
2451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2461 if test -n "$ac_ct_CC"; then
2462 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2463 echo "${ECHO_T}$ac_ct_CC" >&6; }
2465 { echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6; }
2469 if test "x$ac_ct_CC" = x
; then
2472 case $cross_compiling:$ac_tool_warned in
2474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2475 whose name does not start with the host triplet. If you think this
2476 configuration is useful to you, please write to autoconf@gnu.org." >&5
2477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2478 whose name does not start with the host triplet. If you think this
2479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2480 ac_tool_warned
=yes ;;
2488 if test -z "$CC"; then
2489 if test -n "$ac_tool_prefix"; then
2490 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2491 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2494 if test "${ac_cv_prog_CC+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 if test -n "$CC"; then
2498 ac_cv_prog_CC
="$CC" # Let the user override the test.
2500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir
=.
2505 for ac_exec_ext
in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2507 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 if test -n "$CC"; then
2519 { echo "$as_me:$LINENO: result: $CC" >&5
2520 echo "${ECHO_T}$CC" >&6; }
2522 { echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6; }
2529 if test -z "$CC"; then
2530 # Extract the first word of "cc", so it can be a program name with args.
2531 set dummy cc
; ac_word
=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 if test -n "$CC"; then
2538 ac_cv_prog_CC
="$CC" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2549 ac_prog_rejected
=yes
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test $ac_prog_rejected = yes; then
2561 # We found a bogon in the path, so make sure we never use it.
2562 set dummy
$ac_cv_prog_CC
2564 if test $# != 0; then
2565 # We chose a different compiler from the bogus one.
2566 # However, it has the same basename, so the bogon will be chosen
2567 # first if we set CC to just the basename; use the full file name.
2569 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2575 if test -n "$CC"; then
2576 { echo "$as_me:$LINENO: result: $CC" >&5
2577 echo "${ECHO_T}$CC" >&6; }
2579 { echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6; }
2585 if test -z "$CC"; then
2586 if test -n "$ac_tool_prefix"; then
2587 for ac_prog
in cl.exe
2589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2590 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2593 if test "${ac_cv_prog_CC+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 if test -n "$CC"; then
2597 ac_cv_prog_CC
="$CC" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 if test -n "$CC"; then
2618 { echo "$as_me:$LINENO: result: $CC" >&5
2619 echo "${ECHO_T}$CC" >&6; }
2621 { echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6; }
2626 test -n "$CC" && break
2629 if test -z "$CC"; then
2631 for ac_prog
in cl.exe
2633 # Extract the first word of "$ac_prog", so it can be a program name with args.
2634 set dummy
$ac_prog; ac_word
=$2
2635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$ac_ct_CC"; then
2641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 ac_cv_prog_ac_ct_CC
="$ac_prog"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2661 if test -n "$ac_ct_CC"; then
2662 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2663 echo "${ECHO_T}$ac_ct_CC" >&6; }
2665 { echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6; }
2670 test -n "$ac_ct_CC" && break
2673 if test "x$ac_ct_CC" = x
; then
2676 case $cross_compiling:$ac_tool_warned in
2678 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2679 whose name does not start with the host triplet. If you think this
2680 configuration is useful to you, please write to autoconf@gnu.org." >&5
2681 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2682 whose name does not start with the host triplet. If you think this
2683 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2684 ac_tool_warned
=yes ;;
2693 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2694 See \`config.log' for more details." >&5
2695 echo "$as_me: error: no acceptable C compiler found in \$PATH
2696 See \`config.log' for more details." >&2;}
2697 { (exit 1); exit 1; }; }
2699 # Provide some information about the compiler.
2700 echo "$as_me:$LINENO: checking for C compiler version" >&5
2701 ac_compiler
=`set X $ac_compile; echo $2`
2702 { (ac_try
="$ac_compiler --version >&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 --version >&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); }
2722 { (ac_try
="$ac_compiler -V >&5"
2724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2728 (eval "$ac_compiler -V >&5") 2>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }
2733 cat >conftest.$ac_ext <<_ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2748 ac_clean_files_save=$ac_clean_files
2749 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2750 # Try to create an executable without -o first, disregard a.out.
2751 # It will help us diagnose broken compilers, and finding out an intuition
2753 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2754 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2755 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2757 # List of possible output files, starting from the most likely.
2758 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2759 # only as a last resort. b.out is created by i960 compilers.
2760 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2762 # The IRIX 6 linker writes into existing files which may not be
2763 # executable, retaining their permissions. Remove them first so a
2764 # subsequent execution test works.
2766 for ac_file in $ac_files
2769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2770 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2775 if { (ac_try="$ac_link_default"
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_link_default") 2>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; then
2785 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2786 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2787 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2788 # so that the user can short-circuit this test for compilers unknown to
2790 for ac_file
in $ac_files
2792 test -f "$ac_file" ||
continue
2794 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2797 # We found the default executable, but exeext='' is most
2801 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2803 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 # We set ac_cv_exeext here because the later test for it is not
2806 # safe: cross compilers may not add the suffix if given an `-o'
2807 # argument, so we may need to know it at that point already.
2808 # Even if this section looks crufty: it has the advantage of
2815 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2818 echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.
$ac_ext >&5
2821 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2822 See \`config.log' for more details." >&5
2823 echo "$as_me: error: C compiler cannot create executables
2824 See \`config.log' for more details." >&2;}
2825 { (exit 77); exit 77; }; }
2828 ac_exeext
=$ac_cv_exeext
2829 { echo "$as_me:$LINENO: result: $ac_file" >&5
2830 echo "${ECHO_T}$ac_file" >&6; }
2832 # Check that the compiler produces executables we can run. If not, either
2833 # the compiler is broken, or we cross compile.
2834 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2835 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2836 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2837 # If not cross compiling, check that we can run a simple program.
2838 if test "$cross_compiling" != yes; then
2839 if { ac_try
='./$ac_file'
2840 { (case "(($ac_try" in
2841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2845 (eval "$ac_try") 2>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; }; then
2851 if test "$cross_compiling" = maybe; then
2854 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2855 If you meant to cross compile, use \`--host'.
2856 See \`config.log' for more details.
" >&5
2857 echo "$as_me: error
: cannot run C compiled programs.
2858 If you meant to cross compile
, use \
`--host'.
2859 See \`config.log
' for more details." >&2;}
2860 { (exit 1); exit 1; }; }
2864 { echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6; }
2867 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2868 ac_clean_files=$ac_clean_files_save
2869 # Check that the compiler produces executables we can run. If not, either
2870 # the compiler is broken, or we cross compile.
2871 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2872 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2873 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2874 echo "${ECHO_T}$cross_compiling" >&6; }
2876 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2877 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2878 if { (ac_try="$ac_link"
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_link") 2>&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; then
2888 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2889 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2890 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2892 for ac_file
in conftest.exe conftest conftest.
*; do
2893 test -f "$ac_file" ||
continue
2895 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2896 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2902 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2903 See \`config.log' for more details." >&5
2904 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2905 See \`config.log' for more details." >&2;}
2906 { (exit 1); exit 1; }; }
2909 rm -f conftest
$ac_cv_exeext
2910 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2911 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2913 rm -f conftest.
$ac_ext
2914 EXEEXT
=$ac_cv_exeext
2916 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2917 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2918 if test "${ac_cv_objext+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 cat >conftest.
$ac_ext <<_ACEOF
2924 cat confdefs.h
>>conftest.
$ac_ext
2925 cat >>conftest.
$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2936 rm -f conftest.o conftest.obj
2937 if { (ac_try
="$ac_compile"
2939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_compile") 2>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; then
2947 for ac_file in conftest.o conftest.obj conftest.*; do
2948 test -f "$ac_file" || continue;
2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2951 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2960 See \`config.log
' for more details." >&5
2961 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2962 See \`config.log' for more details.
" >&2;}
2963 { (exit 1); exit 1; }; }
2966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2968 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2969 echo "${ECHO_T}$ac_cv_objext" >&6; }
2970 OBJEXT=$ac_cv_objext
2972 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2973 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2974 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2975 echo $ECHO_N "(cached
) $ECHO_C" >&6
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2995 rm -f conftest.$ac_objext
2996 if { (ac_try="$ac_compile"
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3002 (eval "$ac_compile") 2>conftest.er1
3004 grep -v '^ *+' conftest.er1 >conftest.err
3006 cat conftest.err >&5
3007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3008 (exit $ac_status); } &&
3009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3019 { ac_try='test -s conftest.$ac_objext'
3020 { (case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_try") 2>&5
3027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3028 (exit $ac_status); }; }; then
3031 echo "$as_me: failed program was
:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3041 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3042 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3043 GCC=`test $ac_compiler_gnu = yes && echo yes`
3044 ac_test_CFLAGS=${CFLAGS+set}
3045 ac_save_CFLAGS=$CFLAGS
3046 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3047 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3048 if test "${ac_cv_prog_cc_g+set}" = set; then
3049 echo $ECHO_N "(cached
) $ECHO_C" >&6
3051 ac_save_c_werror_flag=$ac_c_werror_flag
3052 ac_c_werror_flag=yes
3055 cat >conftest.$ac_ext <<_ACEOF
3058 cat confdefs.h >>conftest.$ac_ext
3059 cat >>conftest.$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3070 rm -f conftest.$ac_objext
3071 if { (ac_try="$ac_compile"
3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_compile") 2>conftest.er1
3079 grep -v '^ *+' conftest.er1 >conftest.err
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3094 { ac_try='test -s conftest.$ac_objext'
3095 { (case "(($ac_try" in
3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3100 (eval "$ac_try") 2>&5
3102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3103 (exit $ac_status); }; }; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3155 (eval "$ac_try") 2>&5
3157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3158 (exit $ac_status); }; }; then
3161 echo "$as_me: failed program was
:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3164 ac_c_werror_flag=$ac_save_c_werror_flag
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3181 rm -f conftest.$ac_objext
3182 if { (ac_try="$ac_compile"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_compile") 2>conftest.er1
3190 grep -v '^ *+' conftest.er1 >conftest.err
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3205 { ac_try='test -s conftest.$ac_objext'
3206 { (case "(($ac_try" in
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_try") 2>&5
3213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3214 (exit $ac_status); }; }; then
3217 echo "$as_me: failed program was
:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 ac_c_werror_flag=$ac_save_c_werror_flag
3232 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3233 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3234 if test "$ac_test_CFLAGS" = set; then
3235 CFLAGS=$ac_save_CFLAGS
3236 elif test $ac_cv_prog_cc_g = yes; then
3237 if test "$GCC" = yes; then
3243 if test "$GCC" = yes; then
3249 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3250 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3251 if test "${ac_cv_prog_cc_c89+set}" = set; then
3252 echo $ECHO_N "(cached
) $ECHO_C" >&6
3254 ac_cv_prog_cc_c89=no
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3264 #include <sys/types.h>
3265 #include <sys/stat.h>
3266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3267 struct buf { int x; };
3268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3269 static char *e (p, i)
3275 static char *f (char * (*g) (char **, int), char **p, ...)
3280 s = g (p, va_arg (v,int));
3285 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3286 function prototypes and stuff, but not '\xHH' hex character constants.
3287 These don't provoke an error unfortunately, instead are silently treated
3288 as 'x'. The following induces an error, until -std is added to get
3289 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3290 array size at least. It's necessary to write '\x00'==0 to get something
3291 that's true only with -std. */
3292 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3294 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3295 inside strings and character constants. */
3297 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3299 int test (int i, double x);
3300 struct s1 {int (*f) (int a);};
3301 struct s2 {int (*f) (double a);};
3302 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3308 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3313 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3314 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3316 CC="$ac_save_CC $ac_arg"
3317 rm -f conftest.$ac_objext
3318 if { (ac_try="$ac_compile"
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_compile") 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3330 (exit $ac_status); } &&
3331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3341 { ac_try='test -s conftest.$ac_objext'
3342 { (case "(($ac_try" in
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_try") 2>&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 ac_cv_prog_cc_c89=$ac_arg
3353 echo "$as_me: failed program was
:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3359 rm -f core conftest.err conftest.$ac_objext
3360 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3362 rm -f conftest.$ac_ext
3367 case "x
$ac_cv_prog_cc_c89" in
3369 { echo "$as_me:$LINENO: result
: none needed
" >&5
3370 echo "${ECHO_T}none needed
" >&6; } ;;
3372 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3373 echo "${ECHO_T}unsupported
" >&6; } ;;
3375 CC="$CC $ac_cv_prog_cc_c89"
3376 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3377 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3382 ac_cpp='$CPP $CPPFLAGS'
3383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389 ac_cpp='$CPP $CPPFLAGS'
3390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3393 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3394 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3395 # On Suns, sometimes $CPP names a directory.
3396 if test -n "$CPP" && test -d "$CPP"; then
3399 if test -z "$CPP"; then
3400 if test "${ac_cv_prog_CPP+set}" = set; then
3401 echo $ECHO_N "(cached
) $ECHO_C" >&6
3403 # Double quotes because CPP needs to be expanded
3404 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3407 for ac_c_preproc_warn_flag in '' yes
3409 # Use a header file that comes with gcc, so configuring glibc
3410 # with a fresh cross-compiler works.
3411 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3412 # <limits.h> exists even on freestanding compilers.
3413 # On the NeXT, cc -E runs the code through the compiler's parser,
3414 # not just through cpp. "Syntax error
" is here to catch this case.
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3422 # include <limits.h>
3424 # include <assert.h>
3428 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3434 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3436 grep -v '^ *+' conftest.er1 >conftest.err
3438 cat conftest.err >&5
3439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3440 (exit $ac_status); } >/dev/null; then
3441 if test -s conftest.err; then
3442 ac_cpp_err=$ac_c_preproc_warn_flag
3443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3450 if test -z "$ac_cpp_err"; then
3453 echo "$as_me: failed program was
:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3456 # Broken: fails on valid input.
3460 rm -f conftest.err conftest.$ac_ext
3462 # OK, works on sane cases. Now check whether nonexistent headers
3463 # can be detected and how.
3464 cat >conftest.$ac_ext <<_ACEOF
3467 cat confdefs.h >>conftest.$ac_ext
3468 cat >>conftest.$ac_ext <<_ACEOF
3469 /* end confdefs.h. */
3470 #include <ac_nonexistent.h>
3472 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3484 (exit $ac_status); } >/dev/null; then
3485 if test -s conftest.err; then
3486 ac_cpp_err=$ac_c_preproc_warn_flag
3487 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3494 if test -z "$ac_cpp_err"; then
3495 # Broken: success on invalid input.
3498 echo "$as_me: failed program was
:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 # Passes both tests.
3506 rm -f conftest.err conftest.$ac_ext
3509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3510 rm -f conftest.err conftest.$ac_ext
3511 if $ac_preproc_ok; then
3523 { echo "$as_me:$LINENO: result
: $CPP" >&5
3524 echo "${ECHO_T}$CPP" >&6; }
3526 for ac_c_preproc_warn_flag in '' yes
3528 # Use a header file that comes with gcc, so configuring glibc
3529 # with a fresh cross-compiler works.
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3531 # <limits.h> exists even on freestanding compilers.
3532 # On the NeXT, cc -E runs the code through the compiler's parser,
3533 # not just through cpp. "Syntax error
" is here to catch this case.
3534 cat >conftest.$ac_ext <<_ACEOF
3537 cat confdefs.h >>conftest.$ac_ext
3538 cat >>conftest.$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3541 # include <limits.h>
3543 # include <assert.h>
3547 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3559 (exit $ac_status); } >/dev/null; then
3560 if test -s conftest.err; then
3561 ac_cpp_err=$ac_c_preproc_warn_flag
3562 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3569 if test -z "$ac_cpp_err"; then
3572 echo "$as_me: failed program was
:" >&5
3573 sed 's/^/| /' conftest.$ac_ext >&5
3575 # Broken: fails on valid input.
3579 rm -f conftest.err conftest.$ac_ext
3581 # OK, works on sane cases. Now check whether nonexistent headers
3582 # can be detected and how.
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3589 #include <ac_nonexistent.h>
3591 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3597 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3599 grep -v '^ *+' conftest.er1 >conftest.err
3601 cat conftest.err >&5
3602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3603 (exit $ac_status); } >/dev/null; then
3604 if test -s conftest.err; then
3605 ac_cpp_err=$ac_c_preproc_warn_flag
3606 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3613 if test -z "$ac_cpp_err"; then
3614 # Broken: success on invalid input.
3617 echo "$as_me: failed program was
:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3620 # Passes both tests.
3625 rm -f conftest.err conftest.$ac_ext
3628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3629 rm -f conftest.err conftest.$ac_ext
3630 if $ac_preproc_ok; then
3633 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3634 See \
`config.log' for more details." >&5
3635 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3636 See \`config.log
' for more details." >&2;}
3637 { (exit 1); exit 1; }; }
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3643 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3647 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3648 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3649 if test "${ac_cv_path_GREP+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 # Extract the first word of "grep ggrep" to use in msg output
3653 if test -z "$GREP"; then
3654 set dummy grep ggrep; ac_prog_name=$2
3655 if test "${ac_cv_path_GREP+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 ac_path_GREP_found=false
3659 # Loop through the user's path and
test for each of PROGNAME-LIST
3660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3664 test -z "$as_dir" && as_dir
=.
3665 for ac_prog
in grep ggrep
; do
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3668 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3669 # Check for GNU ac_path_GREP and select it if it is found.
3670 # Check for GNU $ac_path_GREP
3671 case `"$ac_path_GREP" --version 2>&1` in
3673 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3676 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3679 cat "conftest.in" "conftest.in" >"conftest.tmp"
3680 mv "conftest.tmp" "conftest.in"
3681 cp "conftest.in" "conftest.nl"
3682 echo 'GREP' >> "conftest.nl"
3683 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3684 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3685 ac_count
=`expr $ac_count + 1`
3686 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3687 # Best one so far, save it but keep looking for a better one
3688 ac_cv_path_GREP
="$ac_path_GREP"
3689 ac_path_GREP_max
=$ac_count
3691 # 10*(2^10) chars as input seems more than enough
3692 test $ac_count -gt 10 && break
3694 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3698 $ac_path_GREP_found && break 3
3708 GREP
="$ac_cv_path_GREP"
3709 if test -z "$GREP"; then
3710 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3711 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3712 { (exit 1); exit 1; }; }
3716 ac_cv_path_GREP
=$GREP
3721 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3722 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3723 GREP
="$ac_cv_path_GREP"
3726 { echo "$as_me:$LINENO: checking for egrep" >&5
3727 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3728 if test "${ac_cv_path_EGREP+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3732 then ac_cv_path_EGREP
="$GREP -E"
3734 # Extract the first word of "egrep" to use in msg output
3735 if test -z "$EGREP"; then
3736 set dummy
egrep; ac_prog_name
=$2
3737 if test "${ac_cv_path_EGREP+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 ac_path_EGREP_found
=false
3741 # Loop through the user's path and test for each of PROGNAME-LIST
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3743 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_prog
in egrep; do
3748 for ac_exec_ext
in '' $ac_executable_extensions; do
3749 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3750 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3751 # Check for GNU ac_path_EGREP and select it if it is found.
3752 # Check for GNU $ac_path_EGREP
3753 case `"$ac_path_EGREP" --version 2>&1` in
3755 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3758 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3761 cat "conftest.in" "conftest.in" >"conftest.tmp"
3762 mv "conftest.tmp" "conftest.in"
3763 cp "conftest.in" "conftest.nl"
3764 echo 'EGREP' >> "conftest.nl"
3765 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3766 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3767 ac_count
=`expr $ac_count + 1`
3768 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3769 # Best one so far, save it but keep looking for a better one
3770 ac_cv_path_EGREP
="$ac_path_EGREP"
3771 ac_path_EGREP_max
=$ac_count
3773 # 10*(2^10) chars as input seems more than enough
3774 test $ac_count -gt 10 && break
3776 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3780 $ac_path_EGREP_found && break 3
3790 EGREP
="$ac_cv_path_EGREP"
3791 if test -z "$EGREP"; then
3792 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3793 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3794 { (exit 1); exit 1; }; }
3798 ac_cv_path_EGREP
=$EGREP
3804 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3805 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3806 EGREP
="$ac_cv_path_EGREP"
3809 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3810 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3811 if test "${ac_cv_header_stdc+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 cat >conftest.
$ac_ext <<_ACEOF
3817 cat confdefs.h
>>conftest.
$ac_ext
3818 cat >>conftest.
$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3833 rm -f conftest.
$ac_objext
3834 if { (ac_try
="$ac_compile"
3836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_compile") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1 >conftest.err
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } &&
3847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
3857 { ac_try
='test -s conftest.$ac_objext'
3858 { (case "(($ac_try" in
3859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_try") 2>&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 ac_cv_header_stdc=yes
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 ac_cv_header_stdc=no
3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3877 if test $ac_cv_header_stdc = yes; then
3878 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3879 cat >conftest.$ac_ext <<_ACEOF
3882 cat confdefs.h >>conftest.$ac_ext
3883 cat >>conftest.$ac_ext <<_ACEOF
3884 /* end confdefs.h. */
3888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3889 $EGREP "memchr" >/dev/null 2>&1; then
3892 ac_cv_header_stdc=no
3898 if test $ac_cv_header_stdc = yes; then
3899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3900 cat >conftest.$ac_ext <<_ACEOF
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3910 $EGREP "free" >/dev/null 2>&1; then
3913 ac_cv_header_stdc=no
3919 if test $ac_cv_header_stdc = yes; then
3920 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3921 if test "$cross_compiling" = yes; then
3924 cat >conftest.$ac_ext <<_ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3932 #if ((' ' & 0x0FF) == 0x020)
3933 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3934 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3936 # define ISLOWER(c) \
3937 (('a' <= (c) && (c) <= 'i') \
3938 || ('j' <= (c) && (c) <= 'r') \
3939 || ('s' <= (c) && (c) <= 'z'))
3940 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3943 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3948 for (i = 0; i < 256; i++)
3949 if (XOR (islower (i), ISLOWER (i))
3950 || toupper (i) != TOUPPER (i))
3955 rm -f conftest$ac_exeext
3956 if { (ac_try="$ac_link"
3958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3959 *) ac_try_echo
=$ac_try;;
3961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 (eval "$ac_link") 2>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3966 { (case "(($ac_try" in
3967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3971 (eval "$ac_try") 2>&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3977 echo "$as_me: program exited with status $ac_status" >&5
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3982 ac_cv_header_stdc=no
3984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3990 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3991 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3992 if test $ac_cv_header_stdc = yes; then
3994 cat >>confdefs.h <<\_ACEOF
3995 #define STDC_HEADERS 1
4000 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4010 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4011 inttypes.h stdint.h unistd.h
4013 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 cat >conftest.$ac_ext <<_ACEOF
4022 cat confdefs.h >>conftest.$ac_ext
4023 cat >>conftest.$ac_ext <<_ACEOF
4024 /* end confdefs.h. */
4025 $ac_includes_default
4027 #include <$ac_header>
4029 rm -f conftest.$ac_objext
4030 if { (ac_try="$ac_compile"
4032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4033 *) ac_try_echo
=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_compile") 2>conftest.er1
4038 grep -v '^ *+' conftest.er1
>conftest.err
4040 cat conftest.err
>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } &&
4043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4053 { ac_try='test -s conftest.$ac_objext'
4054 { (case "(($ac_try" in
4055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4056 *) ac_try_echo
=$ac_try;;
4058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4059 (eval "$ac_try") 2>&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; }; then
4063 eval "$as_ac_Header=yes"
4065 echo "$as_me: failed program was:" >&5
4066 sed 's/^/| /' conftest.
$ac_ext >&5
4068 eval "$as_ac_Header=no"
4071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4073 ac_res
=`eval echo '${'$as_ac_Header'}'`
4074 { echo "$as_me:$LINENO: result: $ac_res" >&5
4075 echo "${ECHO_T}$ac_res" >&6; }
4076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4077 cat >>confdefs.h
<<_ACEOF
4078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4086 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4087 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4088 if test "${ac_cv_c_bigendian+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 # See if sys/param.h defines the BYTE_ORDER macro.
4092 cat >conftest.
$ac_ext <<_ACEOF
4095 cat confdefs.h
>>conftest.
$ac_ext
4096 cat >>conftest.
$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4098 #include <sys/types.h>
4099 #include <sys/param.h>
4104 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4112 rm -f conftest.
$ac_objext
4113 if { (ac_try
="$ac_compile"
4115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4119 (eval "$ac_compile") 2>conftest.er1
4121 grep -v '^ *+' conftest.er1 >conftest.err
4123 cat conftest.err >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } &&
4126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4136 { ac_try
='test -s conftest.$ac_objext'
4137 { (case "(($ac_try" in
4138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4142 (eval "$ac_try") 2>&5
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; }; then
4146 # It does; now see whether it defined to BIG_ENDIAN or not.
4147 cat >conftest.$ac_ext <<_ACEOF
4150 cat confdefs.h >>conftest.$ac_ext
4151 cat >>conftest.$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4153 #include <sys/types.h>
4154 #include <sys/param.h>
4159 #if BYTE_ORDER != BIG_ENDIAN
4167 rm -f conftest.$ac_objext
4168 if { (ac_try="$ac_compile"
4170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4171 *) ac_try_echo
=$ac_try;;
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_compile") 2>conftest.er1
4176 grep -v '^ *+' conftest.er1
>conftest.err
4178 cat conftest.err
>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } &&
4181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4191 { ac_try='test -s conftest.$ac_objext'
4192 { (case "(($ac_try" in
4193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4194 *) ac_try_echo
=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_try") 2>&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); }; }; then
4201 ac_cv_c_bigendian
=yes
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 ac_cv_c_bigendian
=no
4209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 # It does not; compile a test program.
4215 if test "$cross_compiling" = yes; then
4216 # try to guess the endianness by grepping values into an object file
4217 ac_cv_c_bigendian
=unknown
4218 cat >conftest.
$ac_ext <<_ACEOF
4221 cat confdefs.h
>>conftest.
$ac_ext
4222 cat >>conftest.
$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4224 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4225 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4226 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4227 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4228 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4229 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4233 _ascii (); _ebcdic ();
4238 rm -f conftest.
$ac_objext
4239 if { (ac_try
="$ac_compile"
4241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_compile") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
4262 { ac_try
='test -s conftest.$ac_objext'
4263 { (case "(($ac_try" in
4264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4268 (eval "$ac_try") 2>&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; }; then
4272 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4273 ac_cv_c_bigendian=yes
4275 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4276 if test "$ac_cv_c_bigendian" = unknown; then
4277 ac_cv_c_bigendian=no
4279 # finding both strings is unlikely to happen, but who knows?
4280 ac_cv_c_bigendian=unknown
4284 echo "$as_me: failed program was:" >&5
4285 sed 's/^/| /' conftest.$ac_ext >&5
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292 cat >conftest.$ac_ext <<_ACEOF
4295 cat confdefs.h >>conftest.$ac_ext
4296 cat >>conftest.$ac_ext <<_ACEOF
4297 /* end confdefs.h. */
4298 $ac_includes_default
4303 /* Are we little or big endian? From Harbison&Steele. */
4307 char c[sizeof (long int)];
4310 return u.c[sizeof (long int) - 1] == 1;
4316 rm -f conftest$ac_exeext
4317 if { (ac_try="$ac_link"
4319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4320 *) ac_try_echo
=$ac_try;;
4322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4323 (eval "$ac_link") 2>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4327 { (case "(($ac_try" in
4328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4332 (eval "$ac_try") 2>&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); }; }; then
4336 ac_cv_c_bigendian=no
4338 echo "$as_me: program exited with status $ac_status" >&5
4339 echo "$as_me: failed program was:" >&5
4340 sed 's/^/| /' conftest.$ac_ext >&5
4343 ac_cv_c_bigendian=yes
4345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4353 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4354 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4355 case $ac_cv_c_bigendian in
4363 { { echo "$as_me:$LINENO: error: unknown endianness
4364 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4365 echo "$as_me: error: unknown endianness
4366 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4367 { (exit 1); exit 1; }; } ;;
4371 if test "$cross_compiling" = yes; then
4372 LLVM_CROSS_COMPILING=1
4375 { echo "$as_me:$LINENO: checking for executable suffix on build platform" >&5
4376 echo $ECHO_N "checking for executable suffix on build platform... $ECHO_C" >&6; }
4377 if test "${ac_cv_build_exeext+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4381 ac_cv_build_exeext=.exe
4383 ac_build_prefix=${build_alias}-
4385 # Extract the first word of "${ac_build_prefix}gcc", so it can be a program name with args.
4386 set dummy ${ac_build_prefix}gcc; ac_word=$2
4387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4389 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$BUILD_CC"; then
4393 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 BUILD_CC=$ac_cv_prog_BUILD_CC
4413 if test -n "$BUILD_CC"; then
4414 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4415 echo "${ECHO_T}$BUILD_CC" >&6; }
4417 { echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6; }
4422 if test -z "$BUILD_CC"; then
4423 # Extract the first word of "gcc", so it can be a program name with args.
4424 set dummy gcc; ac_word=$2
4425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4427 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 if test -n "$BUILD_CC"; then
4431 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4440 ac_cv_prog_BUILD_CC="gcc"
4441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 BUILD_CC=$ac_cv_prog_BUILD_CC
4451 if test -n "$BUILD_CC"; then
4452 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4453 echo "${ECHO_T}$BUILD_CC" >&6; }
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4460 if test -z "$BUILD_CC"; then
4461 # Extract the first word of "cc", so it can be a program name with args.
4462 set dummy cc; ac_word=$2
4463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4465 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$BUILD_CC"; then
4469 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4480 ac_prog_rejected=yes
4483 ac_cv_prog_BUILD_CC="cc"
4484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 if test $ac_prog_rejected = yes; then
4492 # We found a bogon in the path, so make sure we never use it.
4493 set dummy $ac_cv_prog_BUILD_CC
4495 if test $# != 0; then
4496 # We chose a different compiler from the bogus one.
4497 # However, it has the same basename, so the bogon will be chosen
4498 # first if we set BUILD_CC to just the basename; use the full file name.
4500 ac_cv_prog_BUILD_CC="$as_dir/$ac_word${1+' '}$@"
4505 BUILD_CC=$ac_cv_prog_BUILD_CC
4506 if test -n "$BUILD_CC"; then
4507 { echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4508 echo "${ECHO_T}$BUILD_CC" >&6; }
4510 { echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6; }
4517 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4518 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4519 { (exit 1); exit 1; }; }
4520 ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4522 echo 'int main () { return 0; }' > conftest.$ac_ext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_build_link\"") >&5
4525 (eval $ac_build_link) 2>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; then
4529 for file in conftest.*; do
4531 *.c | *.o | *.obj) ;;
4532 *) ac_cv_build_exeext=`echo $file |
sed -e s
/conftest
//` ;;
4536 { { echo "$as_me:$LINENO: error: installation or configuration problem: compiler cannot create executables." >&5
4537 echo "$as_me: error: installation or configuration problem: compiler cannot create executables." >&2;}
4538 { (exit 1); exit 1; }; }
4541 test x"${ac_cv_build_exeext}" = x && ac_cv_build_exeext=blank
4546 test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
4547 { echo "$as_me:$LINENO: result: ${ac_cv_build_exeext}" >&5
4548 echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
4549 ac_build_exeext=$BUILD_EXEEXT
4552 LLVM_CROSS_COMPILING=0
4556 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
4567 # Check whether --enable-optimized was given.
4568 if test "${enable_optimized+set}" = set; then
4569 enableval=$enable_optimized;
4574 if test ${enableval} = "no" ; then
4578 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
4582 # Check whether --enable-assertions was given.
4583 if test "${enable_assertions+set}" = set; then
4584 enableval=$enable_assertions;
4589 if test ${enableval} = "yes" ; then
4593 DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
4597 # Check whether --enable-expensive-checks was given.
4598 if test "${enable_expensive_checks+set}" = set; then
4599 enableval=$enable_expensive_checks;
4604 if test ${enableval} = "yes" ; then
4605 ENABLE_EXPENSIVE_CHECKS=ENABLE_EXPENSIVE_CHECKS=1
4607 EXPENSIVE_CHECKS=yes
4610 ENABLE_EXPENSIVE_CHECKS=
4616 # Check whether --enable-debug-runtime was given.
4617 if test "${enable_debug_runtime+set}" = set; then
4618 enableval=$enable_debug_runtime;
4623 if test ${enableval} = "no" ; then
4627 DEBUG_RUNTIME=DEBUG_RUNTIME=1
4631 # Check whether --enable-jit was given.
4632 if test "${enable_jit+set}" = set; then
4633 enableval=$enable_jit;
4638 if test ${enableval} = "no"
4643 case "$llvm_cv_target_arch" in
4644 x86) TARGET_HAS_JIT=1
4646 Sparc) TARGET_HAS_JIT=0
4648 PowerPC) TARGET_HAS_JIT=1
4650 x86_64) TARGET_HAS_JIT=1
4652 Alpha) TARGET_HAS_JIT=1
4654 IA64) TARGET_HAS_JIT=0
4656 ARM) TARGET_HAS_JIT=0
4658 Mips) TARGET_HAS_JIT=0
4665 # Check whether --enable-doxygen was given.
4666 if test "${enable_doxygen+set}" = set; then
4667 enableval=$enable_doxygen;
4672 case "$enableval" in
4673 yes) ENABLE_DOXYGEN=1
4675 no) ENABLE_DOXYGEN=0
4677 default) ENABLE_DOXYGEN=0
4679 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
4680 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
4681 { (exit 1); exit 1; }; } ;;
4684 # Check whether --enable-threads was given.
4685 if test "${enable_threads+set}" = set; then
4686 enableval=$enable_threads;
4691 case "$enableval" in
4692 yes) ENABLE_THREADS=1
4694 no) ENABLE_THREADS=0
4696 default) ENABLE_THREADS=1
4698 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
4699 echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
4700 { (exit 1); exit 1; }; } ;;
4703 cat >>confdefs.h <<_ACEOF
4704 #define ENABLE_THREADS $ENABLE_THREADS
4708 # Check whether --enable-pic was given.
4709 if test "${enable_pic+set}" = set; then
4710 enableval=$enable_pic;
4715 case "$enableval" in
4720 default) ENABLE_PIC=0
4722 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&5
4723 echo "$as_me: error: Invalid setting for --enable-pic. Use \"yes\" or \"no\"" >&2;}
4724 { (exit 1); exit 1; }; } ;;
4727 cat >>confdefs.h <<_ACEOF
4728 #define ENABLE_PIC $ENABLE_PIC
4733 # Check whether --enable-targets was given.
4734 if test "${enable_targets+set}" = set; then
4735 enableval=$enable_targets;
4740 case "$enableval" in
4741 all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM Mips" ;;
4743 case "$llvm_cv_target_arch" in
4744 x86) TARGETS_TO_BUILD="X86" ;;
4745 x86_64) TARGETS_TO_BUILD="X86" ;;
4746 Sparc) TARGETS_TO_BUILD="Sparc" ;;
4747 PowerPC) TARGETS_TO_BUILD="PowerPC" ;;
4748 Alpha) TARGETS_TO_BUILD="Alpha" ;;
4749 IA64) TARGETS_TO_BUILD="IA64" ;;
4750 ARM) TARGETS_TO_BUILD="ARM" ;;
4751 Mips) TARGETS_TO_BUILD="Mips" ;;
4752 *) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
4753 echo "$as_me: error: Can not set target to build" >&2;}
4754 { (exit 1); exit 1; }; } ;;
4757 *)for a_target in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4759 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4760 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
4761 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
4762 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
4763 alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
4764 ia64) TARGETS_TO_BUILD="IA64 $TARGETS_TO_BUILD" ;;
4765 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
4766 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
4767 *) { { echo "$as_me:$LINENO: error: Unrecognized target $a_target" >&5
4768 echo "$as_me: error: Unrecognized target $a_target" >&2;}
4769 { (exit 1); exit 1; }; } ;;
4774 TARGETS_TO_BUILD="CBackend MSIL $TARGETS_TO_BUILD"
4775 TARGETS_TO_BUILD=$TARGETS_TO_BUILD
4778 # Check whether --enable-cbe-printf-a was given.
4779 if test "${enable_cbe_printf_a+set}" = set; then
4780 enableval=$enable_cbe_printf_a;
4785 case "$enableval" in
4786 yes) ENABLE_CBE_PRINTF_A=1
4788 no) ENABLE_CBE_PRINTF_A=0
4790 default) ENABLE_CBE_PRINTF_A=1
4792 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
4793 echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
4794 { (exit 1); exit 1; }; } ;;
4797 cat >>confdefs.h <<_ACEOF
4798 #define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
4803 # Check whether --with-llvmgccdir was given.
4804 if test "${with_llvmgccdir+set}" = set; then
4805 withval=$with_llvmgccdir;
4811 default) WITH_LLVMGCCDIR=default ;;
4812 /* | [A-Za-z]:[\\/]*) WITH_LLVMGCCDIR=$withval ;;
4813 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-llvmgccdir. Provide full path" >&5
4814 echo "$as_me: error: Invalid path for --with-llvmgccdir. Provide full path" >&2;}
4815 { (exit 1); exit 1; }; } ;;
4819 # Check whether --with-extra-options was given.
4820 if test "${with_extra_options+set}" = set; then
4821 withval=$with_extra_options;
4827 default) EXTRA_OPTIONS= ;;
4828 *) EXTRA_OPTIONS=$withval ;;
4830 EXTRA_OPTIONS=$EXTRA_OPTIONS
4833 # Check whether --enable-bindings was given.
4834 if test "${enable_bindings+set}" = set; then
4835 enableval=$enable_bindings;
4840 BINDINGS_TO_BUILD=""
4841 case "$enableval" in
4842 yes | default | auto) BINDINGS_TO_BUILD="auto" ;;
4843 all ) BINDINGS_TO_BUILD="ocaml" ;;
4844 none | no) BINDINGS_TO_BUILD="" ;;
4845 *)for a_binding in `echo $enableval|
sed -e 's/,/ /g' ` ; do
4846 case "$a_binding" in
4847 ocaml) BINDINGS_TO_BUILD="ocaml $BINDINGS_TO_BUILD" ;;
4848 *) { { echo "$as_me:$LINENO: error: Unrecognized binding $a_binding" >&5
4849 echo "$as_me: error: Unrecognized binding $a_binding" >&2;}
4850 { (exit 1); exit 1; }; } ;;
4857 # Check whether --with-ocaml-libdir was given.
4858 if test "${with_ocaml_libdir+set}" = set; then
4859 withval=$with_ocaml_libdir;
4865 auto) with_ocaml_libdir="$withval" ;;
4866 /* | [A-Za-z]:[\\/]*) with_ocaml_libdir="$withval" ;;
4867 *) { { echo "$as_me:$LINENO: error: Invalid path for --with-ocaml-libdir. Provide full path" >&5
4868 echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&2;}
4869 { (exit 1); exit 1; }; } ;;
4874 ac_cpp='$CPP $CPPFLAGS'
4875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4878 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4879 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4880 # On Suns, sometimes $CPP names a directory.
4881 if test -n "$CPP" && test -d "$CPP"; then
4884 if test -z "$CPP"; then
4885 if test "${ac_cv_prog_CPP+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 # Double quotes because CPP needs to be expanded
4889 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4892 for ac_c_preproc_warn_flag in '' yes
4894 # Use a header file that comes with gcc, so configuring glibc
4895 # with a fresh cross-compiler works.
4896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4897 # <limits.h> exists even on freestanding compilers.
4898 # On the NeXT, cc -E runs the code through the compiler's parser,
4899 # not just through cpp. "Syntax error" is here to catch this case.
4900 cat >conftest.$ac_ext <<_ACEOF
4903 cat confdefs.h >>conftest.$ac_ext
4904 cat >>conftest.$ac_ext <<_ACEOF
4905 /* end confdefs.h. */
4907 # include <limits.h>
4909 # include <assert.h>
4913 if { (ac_try="$ac_cpp conftest.$ac_ext"
4915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4916 *) ac_try_echo
=$ac_try;;
4918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4921 grep -v '^ *+' conftest.er1
>conftest.err
4923 cat conftest.err
>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } >/dev
/null
; then
4926 if test -s conftest.err
; then
4927 ac_cpp_err
=$ac_c_preproc_warn_flag
4928 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4935 if test -z "$ac_cpp_err"; then
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.
$ac_ext >&5
4941 # Broken: fails on valid input.
4945 rm -f conftest.err conftest.
$ac_ext
4947 # OK, works on sane cases. Now check whether nonexistent headers
4948 # can be detected and how.
4949 cat >conftest.
$ac_ext <<_ACEOF
4952 cat confdefs.h
>>conftest.
$ac_ext
4953 cat >>conftest.
$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4955 #include <ac_nonexistent.h>
4957 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } >/dev/null; then
4970 if test -s conftest.err; then
4971 ac_cpp_err=$ac_c_preproc_warn_flag
4972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4979 if test -z "$ac_cpp_err"; then
4980 # Broken: success on invalid input.
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.$ac_ext >&5
4986 # Passes both tests.
4991 rm -f conftest.err conftest.$ac_ext
4994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4995 rm -f conftest.err conftest.
$ac_ext
4996 if $ac_preproc_ok; then
5008 { echo "$as_me:$LINENO: result: $CPP" >&5
5009 echo "${ECHO_T}$CPP" >&6; }
5011 for ac_c_preproc_warn_flag
in '' yes
5013 # Use a header file that comes with gcc, so configuring glibc
5014 # with a fresh cross-compiler works.
5015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5016 # <limits.h> exists even on freestanding compilers.
5017 # On the NeXT, cc -E runs the code through the compiler's parser,
5018 # not just through cpp. "Syntax error" is here to catch this case.
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5026 # include <limits.h>
5028 # include <assert.h>
5032 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5035 *) ac_try_echo=$ac_try;;
5037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5040 grep -v '^ *+' conftest.er1 >conftest.err
5042 cat conftest.err >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } >/dev/null; then
5045 if test -s conftest.err; then
5046 ac_cpp_err=$ac_c_preproc_warn_flag
5047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5054 if test -z "$ac_cpp_err"; then
5057 echo "$as_me: failed program was:" >&5
5058 sed 's/^/| /' conftest.$ac_ext >&5
5060 # Broken: fails on valid input.
5064 rm -f conftest.err conftest.$ac_ext
5066 # OK, works on sane cases. Now check whether nonexistent headers
5067 # can be detected and how.
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5074 #include <ac_nonexistent.h>
5076 if { (ac_try="$ac_cpp conftest.$ac_ext"
5078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5079 *) ac_try_echo
=$ac_try;;
5081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5084 grep -v '^ *+' conftest.er1
>conftest.err
5086 cat conftest.err
>&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } >/dev
/null
; then
5089 if test -s conftest.err
; then
5090 ac_cpp_err
=$ac_c_preproc_warn_flag
5091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5098 if test -z "$ac_cpp_err"; then
5099 # Broken: success on invalid input.
5102 echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.
$ac_ext >&5
5105 # Passes both tests.
5110 rm -f conftest.err conftest.
$ac_ext
5113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5114 rm -f conftest.err conftest.
$ac_ext
5115 if $ac_preproc_ok; then
5118 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5119 See \`config.log' for more details." >&5
5120 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5121 See \`config.log' for more details." >&2;}
5122 { (exit 1); exit 1; }; }
5126 ac_cpp
='$CPP $CPPFLAGS'
5127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5132 ac_cpp
='$CPP $CPPFLAGS'
5133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5136 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5140 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5143 if test "${ac_cv_prog_CC+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 if test -n "$CC"; then
5147 ac_cv_prog_CC
="$CC" # Let the user override the test.
5149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir
=.
5154 for ac_exec_ext
in '' $ac_executable_extensions; do
5155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5156 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 if test -n "$CC"; then
5168 { echo "$as_me:$LINENO: result: $CC" >&5
5169 echo "${ECHO_T}$CC" >&6; }
5171 { echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6; }
5176 test -n "$CC" && break
5179 if test -z "$CC"; then
5183 # Extract the first word of "$ac_prog", so it can be a program name with args.
5184 set dummy
$ac_prog; ac_word
=$2
5185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 if test -n "$ac_ct_CC"; then
5191 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_ac_ct_CC
="$ac_prog"
5201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5211 if test -n "$ac_ct_CC"; then
5212 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5213 echo "${ECHO_T}$ac_ct_CC" >&6; }
5215 { echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6; }
5220 test -n "$ac_ct_CC" && break
5223 if test "x$ac_ct_CC" = x
; then
5226 case $cross_compiling:$ac_tool_warned in
5228 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5229 whose name does not start with the host triplet. If you think this
5230 configuration is useful to you, please write to autoconf@gnu.org." >&5
5231 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5232 whose name does not start with the host triplet. If you think this
5233 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5234 ac_tool_warned
=yes ;;
5241 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5242 See \`config.log' for more details." >&5
5243 echo "$as_me: error: no acceptable C compiler found in \$PATH
5244 See \`config.log' for more details." >&2;}
5245 { (exit 1); exit 1; }; }
5247 # Provide some information about the compiler.
5248 echo "$as_me:$LINENO: checking for C compiler version" >&5
5249 ac_compiler
=`set X $ac_compile; echo $2`
5250 { (ac_try
="$ac_compiler --version >&5"
5252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5253 *) ac_try_echo=$ac_try;;
5255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5256 (eval "$ac_compiler --version >&5") 2>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); }
5260 { (ac_try="$ac_compiler -v >&5"
5262 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5263 *) ac_try_echo
=$ac_try;;
5265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5266 (eval "$ac_compiler -v >&5") 2>&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); }
5270 { (ac_try
="$ac_compiler -V >&5"
5272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5273 *) ac_try_echo=$ac_try;;
5275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5276 (eval "$ac_compiler -V >&5") 2>&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); }
5281 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5282 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5283 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 cat >conftest.$ac_ext <<_ACEOF
5289 cat confdefs.h >>conftest.$ac_ext
5290 cat >>conftest.$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5304 rm -f conftest.$ac_objext
5305 if { (ac_try="$ac_compile"
5307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5308 *) ac_try_echo
=$ac_try;;
5310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5311 (eval "$ac_compile") 2>conftest.er1
5313 grep -v '^ *+' conftest.er1
>conftest.err
5315 cat conftest.err
>&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } &&
5318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5319 { (case "(($ac_try" in
5320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5321 *) ac_try_echo=$ac_try;;
5323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5324 (eval "$ac_try") 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); }; } &&
5328 { ac_try='test -s conftest.$ac_objext'
5329 { (case "(($ac_try" in
5330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5331 *) ac_try_echo
=$ac_try;;
5333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334 (eval "$ac_try") 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }; }; then
5340 echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.
$ac_ext >&5
5346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5347 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5350 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5351 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5352 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5353 ac_test_CFLAGS
=${CFLAGS+set}
5354 ac_save_CFLAGS
=$CFLAGS
5355 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5356 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5357 if test "${ac_cv_prog_cc_g+set}" = set; then
5358 echo $ECHO_N "(cached) $ECHO_C" >&6
5360 ac_save_c_werror_flag
=$ac_c_werror_flag
5361 ac_c_werror_flag
=yes
5364 cat >conftest.
$ac_ext <<_ACEOF
5367 cat confdefs.h
>>conftest.
$ac_ext
5368 cat >>conftest.
$ac_ext <<_ACEOF
5369 /* end confdefs.h. */
5379 rm -f conftest.
$ac_objext
5380 if { (ac_try
="$ac_compile"
5382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_compile") 2>conftest.er1
5388 grep -v '^ *+' conftest.er1 >conftest.err
5390 cat conftest.err >&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } &&
5393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5394 { (case "(($ac_try" in
5395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5396 *) ac_try_echo
=$ac_try;;
5398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5399 (eval "$ac_try") 2>&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; } &&
5403 { ac_try
='test -s conftest.$ac_objext'
5404 { (case "(($ac_try" in
5405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5406 *) ac_try_echo=$ac_try;;
5408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5409 (eval "$ac_try") 2>&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.$ac_ext >&5
5419 cat >conftest.$ac_ext <<_ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5434 rm -f conftest.$ac_objext
5435 if { (ac_try="$ac_compile"
5437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5438 *) ac_try_echo
=$ac_try;;
5440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5441 (eval "$ac_compile") 2>conftest.er1
5443 grep -v '^ *+' conftest.er1
>conftest.err
5445 cat conftest.err
>&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); } &&
5448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5449 { (case "(($ac_try" in
5450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5451 *) ac_try_echo=$ac_try;;
5453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5454 (eval "$ac_try") 2>&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; } &&
5458 { ac_try='test -s conftest.$ac_objext'
5459 { (case "(($ac_try" in
5460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5461 *) ac_try_echo
=$ac_try;;
5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5464 (eval "$ac_try") 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.
$ac_ext >&5
5473 ac_c_werror_flag
=$ac_save_c_werror_flag
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5490 rm -f conftest.
$ac_objext
5491 if { (ac_try
="$ac_compile"
5493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5494 *) ac_try_echo=$ac_try;;
5496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5497 (eval "$ac_compile") 2>conftest.er1
5499 grep -v '^ *+' conftest.er1 >conftest.err
5501 cat conftest.err >&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5505 { (case "(($ac_try" in
5506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5507 *) ac_try_echo
=$ac_try;;
5509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5510 (eval "$ac_try") 2>&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; } &&
5514 { ac_try
='test -s conftest.$ac_objext'
5515 { (case "(($ac_try" in
5516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5517 *) ac_try_echo=$ac_try;;
5519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5520 (eval "$ac_try") 2>&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); }; }; then
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.$ac_ext >&5
5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5539 ac_c_werror_flag=$ac_save_c_werror_flag
5541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5542 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5543 if test "$ac_test_CFLAGS" = set; then
5544 CFLAGS=$ac_save_CFLAGS
5545 elif test $ac_cv_prog_cc_g = yes; then
5546 if test "$GCC" = yes; then
5552 if test "$GCC" = yes; then
5558 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5559 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5560 if test "${ac_cv_prog_cc_c89+set}" = set; then
5561 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 ac_cv_prog_cc_c89=no
5565 cat >conftest.$ac_ext <<_ACEOF
5568 cat confdefs.h >>conftest.$ac_ext
5569 cat >>conftest.$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5573 #include <sys/types.h>
5574 #include <sys/stat.h>
5575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5576 struct buf { int x; };
5577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5578 static char *e (p, i)
5584 static char *f (char * (*g) (char **, int), char **p, ...)
5589 s = g (p, va_arg (v,int));
5594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5595 function prototypes and stuff, but not '\xHH' hex character constants.
5596 These don't provoke an error unfortunately, instead are silently treated
5597 as 'x'. The following induces an error, until -std is added to get
5598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5599 array size at least. It's necessary to write '\x00'==0 to get something
5600 that's true only with -std. */
5601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5604 inside strings and character constants. */
5606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5608 int test (int i, double x);
5609 struct s1 {int (*f) (int a);};
5610 struct s2 {int (*f) (double a);};
5611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5617 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5623 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5625 CC="$ac_save_CC $ac_arg"
5626 rm -f conftest.$ac_objext
5627 if { (ac_try="$ac_compile"
5629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5630 *) ac_try_echo
=$ac_try;;
5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5633 (eval "$ac_compile") 2>conftest.er1
5635 grep -v '^ *+' conftest.er1
>conftest.err
5637 cat conftest.err
>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5641 { (case "(($ac_try" in
5642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5643 *) ac_try_echo=$ac_try;;
5645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5646 (eval "$ac_try") 2>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); }; } &&
5650 { ac_try='test -s conftest.$ac_objext'
5651 { (case "(($ac_try" in
5652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5653 *) ac_try_echo
=$ac_try;;
5655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5656 (eval "$ac_try") 2>&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); }; }; then
5660 ac_cv_prog_cc_c89
=$ac_arg
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.
$ac_ext >&5
5668 rm -f core conftest.err conftest.
$ac_objext
5669 test "x$ac_cv_prog_cc_c89" != "xno" && break
5671 rm -f conftest.
$ac_ext
5676 case "x$ac_cv_prog_cc_c89" in
5678 { echo "$as_me:$LINENO: result: none needed" >&5
5679 echo "${ECHO_T}none needed" >&6; } ;;
5681 { echo "$as_me:$LINENO: result: unsupported" >&5
5682 echo "${ECHO_T}unsupported" >&6; } ;;
5684 CC
="$CC $ac_cv_prog_cc_c89"
5685 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5686 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5691 ac_cpp
='$CPP $CPPFLAGS'
5692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5697 ac_cpp
='$CXXCPP $CPPFLAGS'
5698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5701 if test -z "$CXX"; then
5702 if test -n "$CCC"; then
5705 if test -n "$ac_tool_prefix"; then
5708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5709 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5712 if test "${ac_cv_prog_CXX+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 if test -n "$CXX"; then
5716 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5722 test -z "$as_dir" && as_dir
=.
5723 for ac_exec_ext
in '' $ac_executable_extensions; do
5724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5725 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 if test -n "$CXX"; then
5737 { echo "$as_me:$LINENO: result: $CXX" >&5
5738 echo "${ECHO_T}$CXX" >&6; }
5740 { echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6; }
5745 test -n "$CXX" && break
5748 if test -z "$CXX"; then
5752 # Extract the first word of "$ac_prog", so it can be a program name with args.
5753 set dummy
$ac_prog; ac_word
=$2
5754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5756 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5757 echo $ECHO_N "(cached) $ECHO_C" >&6
5759 if test -n "$ac_ct_CXX"; then
5760 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5780 if test -n "$ac_ct_CXX"; then
5781 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5782 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5784 { echo "$as_me:$LINENO: result: no" >&5
5785 echo "${ECHO_T}no" >&6; }
5789 test -n "$ac_ct_CXX" && break
5792 if test "x$ac_ct_CXX" = x
; then
5795 case $cross_compiling:$ac_tool_warned in
5797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5798 whose name does not start with the host triplet. If you think this
5799 configuration is useful to you, please write to autoconf@gnu.org." >&5
5800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5801 whose name does not start with the host triplet. If you think this
5802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5803 ac_tool_warned
=yes ;;
5811 # Provide some information about the compiler.
5812 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5813 ac_compiler
=`set X $ac_compile; echo $2`
5814 { (ac_try
="$ac_compiler --version >&5"
5816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5817 *) ac_try_echo=$ac_try;;
5819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5820 (eval "$ac_compiler --version >&5") 2>&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); }
5824 { (ac_try="$ac_compiler -v >&5"
5826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5827 *) ac_try_echo
=$ac_try;;
5829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5830 (eval "$ac_compiler -v >&5") 2>&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); }
5834 { (ac_try
="$ac_compiler -V >&5"
5836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5837 *) ac_try_echo=$ac_try;;
5839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5840 (eval "$ac_compiler -V >&5") 2>&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }
5845 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5846 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5847 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 cat >conftest.$ac_ext <<_ACEOF
5853 cat confdefs.h >>conftest.$ac_ext
5854 cat >>conftest.$ac_ext <<_ACEOF
5855 /* end confdefs.h. */
5868 rm -f conftest.$ac_objext
5869 if { (ac_try="$ac_compile"
5871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5872 *) ac_try_echo
=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_compile") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1
>conftest.err
5879 cat conftest.err
>&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } &&
5882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5883 { (case "(($ac_try" in
5884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5885 *) ac_try_echo=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_try") 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; } &&
5892 { ac_try='test -s conftest.$ac_objext'
5893 { (case "(($ac_try" in
5894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5895 *) ac_try_echo
=$ac_try;;
5897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5898 (eval "$ac_try") 2>&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); }; }; then
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5911 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5914 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5915 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5916 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5917 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5918 ac_save_CXXFLAGS
=$CXXFLAGS
5919 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5920 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5921 if test "${ac_cv_prog_cxx_g+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5925 ac_cxx_werror_flag
=yes
5928 cat >conftest.
$ac_ext <<_ACEOF
5931 cat confdefs.h
>>conftest.
$ac_ext
5932 cat >>conftest.
$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5943 rm -f conftest.
$ac_objext
5944 if { (ac_try
="$ac_compile"
5946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5947 *) ac_try_echo=$ac_try;;
5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950 (eval "$ac_compile") 2>conftest.er1
5952 grep -v '^ *+' conftest.er1 >conftest.err
5954 cat conftest.err >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } &&
5957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5958 { (case "(($ac_try" in
5959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5960 *) ac_try_echo
=$ac_try;;
5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5963 (eval "$ac_try") 2>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); }; } &&
5967 { ac_try
='test -s conftest.$ac_objext'
5968 { (case "(($ac_try" in
5969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5970 *) ac_try_echo=$ac_try;;
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5973 (eval "$ac_try") 2>&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then
5977 ac_cv_prog_cxx_g=yes
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.$ac_ext >&5
5983 cat >conftest.$ac_ext <<_ACEOF
5986 cat confdefs.h >>conftest.$ac_ext
5987 cat >>conftest.$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5998 rm -f conftest.$ac_objext
5999 if { (ac_try="$ac_compile"
6001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6002 *) ac_try_echo
=$ac_try;;
6004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005 (eval "$ac_compile") 2>conftest.er1
6007 grep -v '^ *+' conftest.er1
>conftest.err
6009 cat conftest.err
>&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); } &&
6012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6013 { (case "(($ac_try" in
6014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6015 *) ac_try_echo=$ac_try;;
6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018 (eval "$ac_try") 2>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; } &&
6022 { ac_try='test -s conftest.$ac_objext'
6023 { (case "(($ac_try" in
6024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6025 *) ac_try_echo
=$ac_try;;
6027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6028 (eval "$ac_try") 2>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6034 echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.
$ac_ext >&5
6037 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6039 cat >conftest.
$ac_ext <<_ACEOF
6042 cat confdefs.h
>>conftest.
$ac_ext
6043 cat >>conftest.
$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6054 rm -f conftest.
$ac_objext
6055 if { (ac_try
="$ac_compile"
6057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6058 *) ac_try_echo=$ac_try;;
6060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061 (eval "$ac_compile") 2>conftest.er1
6063 grep -v '^ *+' conftest.er1 >conftest.err
6065 cat conftest.err >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } &&
6068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6069 { (case "(($ac_try" in
6070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6071 *) ac_try_echo
=$ac_try;;
6073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6074 (eval "$ac_try") 2>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; } &&
6078 { ac_try
='test -s conftest.$ac_objext'
6079 { (case "(($ac_try" in
6080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6084 (eval "$ac_try") 2>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 ac_cv_prog_cxx_g=yes
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6105 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6106 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6107 if test "$ac_test_CXXFLAGS" = set; then
6108 CXXFLAGS=$ac_save_CXXFLAGS
6109 elif test $ac_cv_prog_cxx_g = yes; then
6110 if test "$GXX" = yes; then
6116 if test "$GXX" = yes; then
6123 ac_cpp='$CPP $CPPFLAGS'
6124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6128 { echo "$as_me:$LINENO: checking " >&5
6129 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6130 if test "${ac_cv_has_flex+set}" = set; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 for ac_prog in flex lex
6135 # Extract the first word of "$ac_prog", so it can be a program name with args.
6136 set dummy $ac_prog; ac_word=$2
6137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6139 if test "${ac_cv_prog_LEX+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 if test -n "$LEX"; then
6143 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6152 ac_cv_prog_LEX="$ac_prog"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 if test -n "$LEX"; then
6164 { echo "$as_me:$LINENO: result: $LEX" >&5
6165 echo "${ECHO_T}$LEX" >&6; }
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6172 test -n "$LEX" && break
6174 test -n "$LEX" || LEX=":"
6176 if test -z "$LEXLIB"
6178 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6179 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 ac_check_lib_save_LIBS=$LIBS
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6211 *) ac_try_echo
=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1
>conftest.err
6218 cat conftest.err
>&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } &&
6221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6222 { (case "(($ac_try" in
6223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_try") 2>&5
6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230 (exit $ac_status); }; } &&
6231 { ac_try='test -s conftest$ac_exeext'
6232 { (case "(($ac_try" in
6233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6234 *) ac_try_echo
=$ac_try;;
6236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6237 (eval "$ac_try") 2>&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6241 ac_cv_lib_fl_yywrap
=yes
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.
$ac_ext >&5
6246 ac_cv_lib_fl_yywrap
=no
6249 rm -f core conftest.err conftest.
$ac_objext \
6250 conftest
$ac_exeext conftest.
$ac_ext
6251 LIBS
=$ac_check_lib_save_LIBS
6253 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6254 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
6255 if test $ac_cv_lib_fl_yywrap = yes; then
6258 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6259 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
6260 if test "${ac_cv_lib_l_yywrap+set}" = set; then
6261 echo $ECHO_N "(cached) $ECHO_C" >&6
6263 ac_check_lib_save_LIBS
=$LIBS
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6272 /* Override any GCC internal prototype to avoid an error.
6273 Use char because int might match the return type of a GCC
6274 builtin and then its argument prototype would still apply. */
6287 rm -f conftest.
$ac_objext conftest
$ac_exeext
6288 if { (ac_try
="$ac_link"
6290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6291 *) ac_try_echo=$ac_try;;
6293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6294 (eval "$ac_link") 2>conftest.er1
6296 grep -v '^ *+' conftest.er1 >conftest.err
6298 cat conftest.err >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6302 { (case "(($ac_try" in
6303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6304 *) ac_try_echo
=$ac_try;;
6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6307 (eval "$ac_try") 2>&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); }; } &&
6311 { ac_try
='test -s conftest$ac_exeext'
6312 { (case "(($ac_try" in
6313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6314 *) ac_try_echo=$ac_try;;
6316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6317 (eval "$ac_try") 2>&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); }; }; then
6321 ac_cv_lib_l_yywrap=yes
6323 echo "$as_me: failed program was:" >&5
6324 sed 's/^/| /' conftest.$ac_ext >&5
6326 ac_cv_lib_l_yywrap=no
6329 rm -f core conftest.err conftest.$ac_objext \
6330 conftest$ac_exeext conftest.$ac_ext
6331 LIBS=$ac_check_lib_save_LIBS
6333 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6334 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
6335 if test $ac_cv_lib_l_yywrap = yes; then
6343 if test "x$LEX" != "x:"; then
6344 { echo "$as_me:$LINENO: checking lex output file root" >&5
6345 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
6346 if test "${ac_cv_prog_lex_root+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 # The minimal lex program is just a single line: %%. But some broken lexes
6350 # (Solaris, I think it was) want two %% lines, so accommodate them.
6351 cat >conftest.l <<_ACEOF
6355 { (ac_try="$LEX conftest.l"
6357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6358 *) ac_try_echo
=$ac_try;;
6360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6361 (eval "$LEX conftest.l") 2>&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }
6365 if test -f lex.yy.c
; then
6366 ac_cv_prog_lex_root
=lex.yy
6367 elif test -f lexyy.c
; then
6368 ac_cv_prog_lex_root
=lexyy
6370 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6371 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6372 { (exit 1); exit 1; }; }
6375 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6376 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
6378 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
6380 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6381 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
6382 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 # POSIX says lex can declare yytext either as a pointer or an array; the
6386 # default is implementation-dependent. Figure out which it is, since
6387 # not all implementations provide the %pointer and %array declarations.
6388 ac_cv_prog_lex_yytext_pointer
=no
6389 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6391 LIBS
="$LIBS $LEXLIB"
6392 cat >conftest.
$ac_ext <<_ACEOF
6393 `cat $LEX_OUTPUT_ROOT.c`
6395 rm -f conftest.
$ac_objext conftest
$ac_exeext
6396 if { (ac_try
="$ac_link"
6398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6399 *) ac_try_echo=$ac_try;;
6401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6402 (eval "$ac_link") 2>conftest.er1
6404 grep -v '^ *+' conftest.er1 >conftest.err
6406 cat conftest.err >&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); } &&
6409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6410 { (case "(($ac_try" in
6411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6412 *) ac_try_echo
=$ac_try;;
6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6415 (eval "$ac_try") 2>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; } &&
6419 { ac_try
='test -s conftest$ac_exeext'
6420 { (case "(($ac_try" in
6421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_try") 2>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6429 ac_cv_prog_lex_yytext_pointer=yes
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.$ac_ext >&5
6437 rm -f core conftest.err conftest.$ac_objext \
6438 conftest$ac_exeext conftest.$ac_ext
6440 rm -f "${LEX_OUTPUT_ROOT}.c"
6443 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6444 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
6445 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6447 cat >>confdefs.h <<\_ACEOF
6448 #define YYTEXT_POINTER 1
6456 { echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
6457 echo "${ECHO_T}$ac_cv_has_flex" >&6; }
6458 if test "$LEX" != "flex"; then
6459 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
6460 echo "$as_me: error: flex not found but required" >&2;}
6461 { (exit 1); exit 1; }; }
6467 { echo "$as_me:$LINENO: checking " >&5
6468 echo $ECHO_N "checking ... $ECHO_C" >&6; }
6469 if test "${llvm_cv_has_bison+set}" = set; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 for ac_prog in 'bison -y' byacc
6474 # Extract the first word of "$ac_prog", so it can be a program name with args.
6475 set dummy $ac_prog; ac_word=$2
6476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6478 if test "${ac_cv_prog_YACC+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 if test -n "$YACC"; then
6482 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6491 ac_cv_prog_YACC="$ac_prog"
6492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6501 YACC=$ac_cv_prog_YACC
6502 if test -n "$YACC"; then
6503 { echo "$as_me:$LINENO: result: $YACC" >&5
6504 echo "${ECHO_T}$YACC" >&6; }
6506 { echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6; }
6511 test -n "$YACC" && break
6513 test -n "$YACC" || YACC="yacc"
6516 { echo "$as_me:$LINENO: result: $llvm_cv_has_bison" >&5
6517 echo "${ECHO_T}$llvm_cv_has_bison" >&6; }
6518 if test "$YACC" != "bison -y"; then
6520 { echo "$as_me:$LINENO: WARNING: bison not found, can't rebuild grammars" >&5
6521 echo "$as_me: WARNING: bison not found, can't rebuild grammars" >&2;}
6527 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6528 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6529 if test "${lt_cv_path_NM+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 if test -n "$NM"; then
6533 # Let the user override the test.
6536 lt_nm_to_check="${ac_tool_prefix}nm"
6537 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6538 lt_nm_to_check="$lt_nm_to_check nm"
6540 for lt_tmp_nm in $lt_nm_to_check; do
6541 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6542 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6544 test -z "$ac_dir" && ac_dir=.
6545 tmp_nm="$ac_dir/$lt_tmp_nm"
6546 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6547 # Check to see if the nm accepts a BSD-compat flag.
6548 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6549 # nm: unknown option "B" ignored
6550 # Tru64's nm complains that
/dev
/null is an invalid object
file
6551 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6552 */dev
/null
* |
*'Invalid file or object type'*)
6553 lt_cv_path_NM
="$tmp_nm -B"
6557 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6559 lt_cv_path_NM
="$tmp_nm -p"
6563 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6564 continue # so that we can try to find one that supports BSD flags
6573 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6576 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6577 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6582 { echo "$as_me:$LINENO: checking for GNU make" >&5
6583 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6584 if test "${llvm_cv_gnu_make_command+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 llvm_cv_gnu_make_command
=''
6588 for a
in "$MAKE" make gmake gnumake
; do
6589 if test -z "$a" ; then continue ; fi ;
6590 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6592 llvm_cv_gnu_make_command
=$a ;
6597 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6598 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6599 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6603 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6604 echo "${ECHO_T}\"Not found\"" >&6; };
6608 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6609 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6611 if test "$LN_S" = "ln -s"; then
6612 { echo "$as_me:$LINENO: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6; }
6615 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6616 echo "${ECHO_T}no, using $LN_S" >&6; }
6619 # Extract the first word of "cmp", so it can be a program name with args.
6620 set dummy
cmp; ac_word
=$2
6621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6623 if test "${ac_cv_path_CMP+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 ac_cv_path_CMP
="$CMP" # Let the user override the test with a path.
6631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir
=.
6636 for ac_exec_ext
in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_path_CMP
="$as_dir/$ac_word$ac_exec_ext"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP
="cmp"
6651 if test -n "$CMP"; then
6652 { echo "$as_me:$LINENO: result: $CMP" >&5
6653 echo "${ECHO_T}$CMP" >&6; }
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6660 # Extract the first word of "cp", so it can be a program name with args.
6661 set dummy
cp; ac_word
=$2
6662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6664 if test "${ac_cv_path_CP+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6669 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
6672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir
=.
6677 for ac_exec_ext
in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
6692 if test -n "$CP"; then
6693 { echo "$as_me:$LINENO: result: $CP" >&5
6694 echo "${ECHO_T}$CP" >&6; }
6696 { echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6; }
6701 # Extract the first word of "date", so it can be a program name with args.
6702 set dummy
date; ac_word
=$2
6703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6705 if test "${ac_cv_path_DATE+set}" = set; then
6706 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 ac_cv_path_DATE
="$DATE" # Let the user override the test with a path.
6713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir
=.
6718 for ac_exec_ext
in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_path_DATE
="$as_dir/$ac_word$ac_exec_ext"
6721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE
="date"
6732 DATE
=$ac_cv_path_DATE
6733 if test -n "$DATE"; then
6734 { echo "$as_me:$LINENO: result: $DATE" >&5
6735 echo "${ECHO_T}$DATE" >&6; }
6737 { echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6; }
6742 # Extract the first word of "find", so it can be a program name with args.
6743 set dummy
find; ac_word
=$2
6744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6746 if test "${ac_cv_path_FIND+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir
=.
6759 for ac_exec_ext
in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="find"
6773 FIND
=$ac_cv_path_FIND
6774 if test -n "$FIND"; then
6775 { echo "$as_me:$LINENO: result: $FIND" >&5
6776 echo "${ECHO_T}$FIND" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 # Extract the first word of "grep", so it can be a program name with args.
6784 set dummy
grep; ac_word
=$2
6785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6787 if test "${ac_cv_path_GREP+set}" = set; then
6788 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6799 test -z "$as_dir" && as_dir
=.
6800 for ac_exec_ext
in '' $ac_executable_extensions; do
6801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6802 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
="grep"
6814 GREP
=$ac_cv_path_GREP
6815 if test -n "$GREP"; then
6816 { echo "$as_me:$LINENO: result: $GREP" >&5
6817 echo "${ECHO_T}$GREP" >&6; }
6819 { echo "$as_me:$LINENO: result: no" >&5
6820 echo "${ECHO_T}no" >&6; }
6824 # Extract the first word of "mkdir", so it can be a program name with args.
6825 set dummy mkdir
; ac_word
=$2
6826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6828 if test "${ac_cv_path_MKDIR+set}" = set; then
6829 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
6836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir
=.
6841 for ac_exec_ext
in '' $ac_executable_extensions; do
6842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6843 ac_cv_path_MKDIR
="$as_dir/$ac_word$ac_exec_ext"
6844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="mkdir"
6855 MKDIR
=$ac_cv_path_MKDIR
6856 if test -n "$MKDIR"; then
6857 { echo "$as_me:$LINENO: result: $MKDIR" >&5
6858 echo "${ECHO_T}$MKDIR" >&6; }
6860 { echo "$as_me:$LINENO: result: no" >&5
6861 echo "${ECHO_T}no" >&6; }
6865 # Extract the first word of "mv", so it can be a program name with args.
6866 set dummy
mv; ac_word
=$2
6867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6869 if test "${ac_cv_path_MV+set}" = set; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
6877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir
=.
6882 for ac_exec_ext
in '' $ac_executable_extensions; do
6883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6884 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
6885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6892 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
6897 if test -n "$MV"; then
6898 { echo "$as_me:$LINENO: result: $MV" >&5
6899 echo "${ECHO_T}$MV" >&6; }
6901 { echo "$as_me:$LINENO: result: no" >&5
6902 echo "${ECHO_T}no" >&6; }
6906 if test -n "$ac_tool_prefix"; then
6907 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6908 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6911 if test "${ac_cv_prog_RANLIB+set}" = set; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6914 if test -n "$RANLIB"; then
6915 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir
=.
6922 for ac_exec_ext
in '' $ac_executable_extensions; do
6923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 RANLIB
=$ac_cv_prog_RANLIB
6935 if test -n "$RANLIB"; then
6936 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6937 echo "${ECHO_T}$RANLIB" >&6; }
6939 { echo "$as_me:$LINENO: result: no" >&5
6940 echo "${ECHO_T}no" >&6; }
6945 if test -z "$ac_cv_prog_RANLIB"; then
6946 ac_ct_RANLIB
=$RANLIB
6947 # Extract the first word of "ranlib", so it can be a program name with args.
6948 set dummy ranlib
; ac_word
=$2
6949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6951 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 if test -n "$ac_ct_RANLIB"; then
6955 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6961 test -z "$as_dir" && as_dir
=.
6962 for ac_exec_ext
in '' $ac_executable_extensions; do
6963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6974 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6975 if test -n "$ac_ct_RANLIB"; then
6976 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6977 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6979 { echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6; }
6983 if test "x$ac_ct_RANLIB" = x
; then
6986 case $cross_compiling:$ac_tool_warned in
6988 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6989 whose name does not start with the host triplet. If you think this
6990 configuration is useful to you, please write to autoconf@gnu.org." >&5
6991 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6992 whose name does not start with the host triplet. If you think this
6993 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6994 ac_tool_warned
=yes ;;
6996 RANLIB
=$ac_ct_RANLIB
6999 RANLIB
="$ac_cv_prog_RANLIB"
7002 # Extract the first word of "rm", so it can be a program name with args.
7003 set dummy
rm; ac_word
=$2
7004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7006 if test "${ac_cv_path_RM+set}" = set; then
7007 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
7014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir
=.
7019 for ac_exec_ext
in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
7022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
7034 if test -n "$RM"; then
7035 { echo "$as_me:$LINENO: result: $RM" >&5
7036 echo "${ECHO_T}$RM" >&6; }
7038 { echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6; }
7043 # Extract the first word of "sed", so it can be a program name with args.
7044 set dummy
sed; ac_word
=$2
7045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7047 if test "${ac_cv_path_SED+set}" = set; then
7048 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
7055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir
=.
7060 for ac_exec_ext
in '' $ac_executable_extensions; do
7061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7062 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
7063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7070 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
7075 if test -n "$SED"; then
7076 { echo "$as_me:$LINENO: result: $SED" >&5
7077 echo "${ECHO_T}$SED" >&6; }
7079 { echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6; }
7084 # Extract the first word of "tar", so it can be a program name with args.
7085 set dummy
tar; ac_word
=$2
7086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7088 if test "${ac_cv_path_TAR+set}" = set; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7093 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir
=.
7101 for ac_exec_ext
in '' $ac_executable_extensions; do
7102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="gtar"
7116 if test -n "$TAR"; then
7117 { echo "$as_me:$LINENO: result: $TAR" >&5
7118 echo "${ECHO_T}$TAR" >&6; }
7120 { echo "$as_me:$LINENO: result: no" >&5
7121 echo "${ECHO_T}no" >&6; }
7125 # Extract the first word of "pwd", so it can be a program name with args.
7126 set dummy
pwd; ac_word
=$2
7127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7129 if test "${ac_cv_path_BINPWD+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 ac_cv_path_BINPWD
="$BINPWD" # Let the user override the test with a path.
7137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7141 test -z "$as_dir" && as_dir
=.
7142 for ac_exec_ext
in '' $ac_executable_extensions; do
7143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7144 ac_cv_path_BINPWD
="$as_dir/$ac_word$ac_exec_ext"
7145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 test -z "$ac_cv_path_BINPWD" && ac_cv_path_BINPWD
="pwd"
7156 BINPWD
=$ac_cv_path_BINPWD
7157 if test -n "$BINPWD"; then
7158 { echo "$as_me:$LINENO: result: $BINPWD" >&5
7159 echo "${ECHO_T}$BINPWD" >&6; }
7161 { echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6; }
7167 # Extract the first word of "Graphviz", so it can be a program name with args.
7168 set dummy Graphviz
; ac_word
=$2
7169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7171 if test "${ac_cv_path_GRAPHVIZ+set}" = set; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 ac_cv_path_GRAPHVIZ
="$GRAPHVIZ" # Let the user override the test with a path.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_path_GRAPHVIZ
="$as_dir/$ac_word$ac_exec_ext"
7187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 test -z "$ac_cv_path_GRAPHVIZ" && ac_cv_path_GRAPHVIZ
="echo Graphviz"
7198 GRAPHVIZ
=$ac_cv_path_GRAPHVIZ
7199 if test -n "$GRAPHVIZ"; then
7200 { echo "$as_me:$LINENO: result: $GRAPHVIZ" >&5
7201 echo "${ECHO_T}$GRAPHVIZ" >&6; }
7203 { echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6; }
7208 if test "$GRAPHVIZ" != "echo Graphviz" ; then
7210 cat >>confdefs.h
<<\_ACEOF
7211 #define HAVE_GRAPHVIZ 1
7214 if test "$llvm_cv_os_type" = "MingW" ; then
7215 GRAPHVIZ
=`echo $GRAPHVIZ | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7218 cat >>confdefs.h
<<_ACEOF
7219 #define LLVM_PATH_GRAPHVIZ "$GRAPHVIZ${EXEEXT}"
7223 # Extract the first word of "dot", so it can be a program name with args.
7224 set dummy dot
; ac_word
=$2
7225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7227 if test "${ac_cv_path_DOT+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7232 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir
=.
7240 for ac_exec_ext
in '' $ac_executable_extensions; do
7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7242 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="echo dot"
7255 if test -n "$DOT"; then
7256 { echo "$as_me:$LINENO: result: $DOT" >&5
7257 echo "${ECHO_T}$DOT" >&6; }
7259 { echo "$as_me:$LINENO: result: no" >&5
7260 echo "${ECHO_T}no" >&6; }
7264 if test "$DOT" != "echo dot" ; then
7266 cat >>confdefs.h
<<\_ACEOF
7270 if test "$llvm_cv_os_type" = "MingW" ; then
7271 DOT
=`echo $DOT | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7274 cat >>confdefs.h
<<_ACEOF
7275 #define LLVM_PATH_DOT "$DOT${EXEEXT}"
7279 for ac_prog
in gv gsview32
7281 # Extract the first word of "$ac_prog", so it can be a program name with args.
7282 set dummy
$ac_prog; ac_word
=$2
7283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7285 if test "${ac_cv_path_GV+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 ac_cv_path_GV
="$GV" # Let the user override the test with a path.
7293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir
=.
7298 for ac_exec_ext
in '' $ac_executable_extensions; do
7299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7300 ac_cv_path_GV
="$as_dir/$ac_word$ac_exec_ext"
7301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7312 if test -n "$GV"; then
7313 { echo "$as_me:$LINENO: result: $GV" >&5
7314 echo "${ECHO_T}$GV" >&6; }
7316 { echo "$as_me:$LINENO: result: no" >&5
7317 echo "${ECHO_T}no" >&6; }
7321 test -n "$GV" && break
7323 test -n "$GV" || GV
="echo gv"
7325 if test "$GV" != "echo gv" ; then
7327 cat >>confdefs.h
<<\_ACEOF
7331 if test "$llvm_cv_os_type" = "MingW" ; then
7332 GV
=`echo $GV | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7335 cat >>confdefs.h
<<_ACEOF
7336 #define LLVM_PATH_GV "$GV${EXEEXT}"
7340 # Extract the first word of "dotty", so it can be a program name with args.
7341 set dummy dotty
; ac_word
=$2
7342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7344 if test "${ac_cv_path_DOTTY+set}" = set; then
7345 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 ac_cv_path_DOTTY
="$DOTTY" # Let the user override the test with a path.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 test -z "$as_dir" && as_dir
=.
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_path_DOTTY
="$as_dir/$ac_word$ac_exec_ext"
7360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 test -z "$ac_cv_path_DOTTY" && ac_cv_path_DOTTY
="echo dotty"
7371 DOTTY
=$ac_cv_path_DOTTY
7372 if test -n "$DOTTY"; then
7373 { echo "$as_me:$LINENO: result: $DOTTY" >&5
7374 echo "${ECHO_T}$DOTTY" >&6; }
7376 { echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6; }
7381 if test "$DOTTY" != "echo dotty" ; then
7383 cat >>confdefs.h
<<\_ACEOF
7384 #define HAVE_DOTTY 1
7387 if test "$llvm_cv_os_type" = "MingW" ; then
7388 DOTTY
=`echo $DOTTY | sed 's/^\/\([A-Za-z]\)\//\1:\//' `
7391 cat >>confdefs.h
<<_ACEOF
7392 #define LLVM_PATH_DOTTY "$DOTTY${EXEEXT}"
7398 # Extract the first word of "perl", so it can be a program name with args.
7399 set dummy perl
; ac_word
=$2
7400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7402 if test "${ac_cv_path_PERL+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
7410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7414 test -z "$as_dir" && as_dir
=.
7415 for ac_exec_ext
in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
7418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
7429 PERL
=$ac_cv_path_PERL
7430 if test -n "$PERL"; then
7431 { echo "$as_me:$LINENO: result: $PERL" >&5
7432 echo "${ECHO_T}$PERL" >&6; }
7434 { echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6; }
7439 if test "$PERL" != "none"; then
7440 { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
7441 echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
7442 if $PERL -e 'use 5.006;' 2>&1 > /dev
/null
; then
7443 { echo "$as_me:$LINENO: result: yes" >&5
7444 echo "${ECHO_T}yes" >&6; }
7447 { echo "$as_me:$LINENO: result: not found" >&5
7448 echo "${ECHO_T}not found" >&6; }
7453 if test x
"$PERL" = xnone
; then
7456 { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
7457 echo "$as_me: error: perl is required but was not found, please install it" >&2;}
7458 { (exit 1); exit 1; }; }
7464 # Find a good install program. We prefer a C program (faster),
7465 # so one script is as good as another. But avoid the broken or
7466 # incompatible versions:
7467 # SysV /etc/install, /usr/sbin/install
7468 # SunOS /usr/etc/install
7469 # IRIX /sbin/install
7471 # AmigaOS /C/install, which installs bootblocks on floppy discs
7472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7475 # OS/2's system install, which has a completely different semantic
7476 # ./install, which can be erroneously created by make from ./install.sh.
7477 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7478 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7479 if test -z "$INSTALL"; then
7480 if test "${ac_cv_path_install+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir
=.
7488 # Account for people who put trailing slashes in PATH elements.
7490 .
/ | .
// |
/cC
/* | \
7491 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7492 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7495 # OSF1 and SCO ODT 3.0 have their own names for install.
7496 # Don't use installbsd from OSF since it installs stuff as root
7498 for ac_prog
in ginstall scoinst
install; do
7499 for ac_exec_ext
in '' $ac_executable_extensions; do
7500 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7501 if test $ac_prog = install &&
7502 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7503 # AIX install. It has an incompatible calling convention.
7505 elif test $ac_prog = install &&
7506 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7507 # program-specific install script used by HP pwplus--don't use.
7510 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7523 if test "${ac_cv_path_install+set}" = set; then
7524 INSTALL
=$ac_cv_path_install
7526 # As a last resort, use the slow shell script. Don't cache a
7527 # value for INSTALL within a source directory, because that will
7528 # break other packages using the cache if that directory is
7529 # removed, or if the value is a relative name.
7530 INSTALL
=$ac_install_sh
7533 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7534 echo "${ECHO_T}$INSTALL" >&6; }
7536 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7537 # It thinks the first close brace ends the variable substitution.
7538 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7540 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7542 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7545 # Extract the first word of "bzip2", so it can be a program name with args.
7546 set dummy
bzip2; ac_word
=$2
7547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7549 if test "${ac_cv_path_BZIP2+set}" = set; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
7557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir
=.
7562 for ac_exec_ext
in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
7565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7572 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="echo "Skipped
: bzip2 not found
""
7576 BZIP2
=$ac_cv_path_BZIP2
7577 if test -n "$BZIP2"; then
7578 { echo "$as_me:$LINENO: result: $BZIP2" >&5
7579 echo "${ECHO_T}$BZIP2" >&6; }
7581 { echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6; }
7586 # Extract the first word of "doxygen", so it can be a program name with args.
7587 set dummy doxygen
; ac_word
=$2
7588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7590 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7591 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
7598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7602 test -z "$as_dir" && as_dir
=.
7603 for ac_exec_ext
in '' $ac_executable_extensions; do
7604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7605 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
7606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7613 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="echo "Skipped
: doxygen not found
""
7617 DOXYGEN
=$ac_cv_path_DOXYGEN
7618 if test -n "$DOXYGEN"; then
7619 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7620 echo "${ECHO_T}$DOXYGEN" >&6; }
7622 { echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6; }
7627 # Extract the first word of "groff", so it can be a program name with args.
7628 set dummy
groff; ac_word
=$2
7629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7631 if test "${ac_cv_path_GROFF+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 ac_cv_path_GROFF
="$GROFF" # Let the user override the test with a path.
7639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7643 test -z "$as_dir" && as_dir
=.
7644 for ac_exec_ext
in '' $ac_executable_extensions; do
7645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7646 ac_cv_path_GROFF
="$as_dir/$ac_word$ac_exec_ext"
7647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7654 test -z "$ac_cv_path_GROFF" && ac_cv_path_GROFF
="echo "Skipped
: groff not found
""
7658 GROFF
=$ac_cv_path_GROFF
7659 if test -n "$GROFF"; then
7660 { echo "$as_me:$LINENO: result: $GROFF" >&5
7661 echo "${ECHO_T}$GROFF" >&6; }
7663 { echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6; }
7668 # Extract the first word of "gzip", so it can be a program name with args.
7669 set dummy
gzip; ac_word
=$2
7670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7672 if test "${ac_cv_path_GZIP+set}" = set; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 ac_cv_path_GZIP
="$GZIP" # Let the user override the test with a path.
7680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir
=.
7685 for ac_exec_ext
in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_path_GZIP
="$as_dir/$ac_word$ac_exec_ext"
7688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP
="echo "Skipped
: gzip not found
""
7699 GZIP
=$ac_cv_path_GZIP
7700 if test -n "$GZIP"; then
7701 { echo "$as_me:$LINENO: result: $GZIP" >&5
7702 echo "${ECHO_T}$GZIP" >&6; }
7704 { echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6; }
7709 # Extract the first word of "pod2html", so it can be a program name with args.
7710 set dummy pod2html
; ac_word
=$2
7711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7713 if test "${ac_cv_path_POD2HTML+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 ac_cv_path_POD2HTML
="$POD2HTML" # Let the user override the test with a path.
7721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7725 test -z "$as_dir" && as_dir
=.
7726 for ac_exec_ext
in '' $ac_executable_extensions; do
7727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7728 ac_cv_path_POD2HTML
="$as_dir/$ac_word$ac_exec_ext"
7729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML
="echo "Skipped
: pod2html not found
""
7740 POD2HTML
=$ac_cv_path_POD2HTML
7741 if test -n "$POD2HTML"; then
7742 { echo "$as_me:$LINENO: result: $POD2HTML" >&5
7743 echo "${ECHO_T}$POD2HTML" >&6; }
7745 { echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6; }
7750 # Extract the first word of "pod2man", so it can be a program name with args.
7751 set dummy pod2man
; ac_word
=$2
7752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7754 if test "${ac_cv_path_POD2MAN+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
7762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir
=.
7767 for ac_exec_ext
in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
7770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN
="echo "Skipped
: pod2man not found
""
7781 POD2MAN
=$ac_cv_path_POD2MAN
7782 if test -n "$POD2MAN"; then
7783 { echo "$as_me:$LINENO: result: $POD2MAN" >&5
7784 echo "${ECHO_T}$POD2MAN" >&6; }
7786 { echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6; }
7791 # Extract the first word of "runtest", so it can be a program name with args.
7792 set dummy runtest
; ac_word
=$2
7793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7795 if test "${ac_cv_path_RUNTEST+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7800 ac_cv_path_RUNTEST
="$RUNTEST" # Let the user override the test with a path.
7803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7807 test -z "$as_dir" && as_dir
=.
7808 for ac_exec_ext
in '' $ac_executable_extensions; do
7809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7810 ac_cv_path_RUNTEST
="$as_dir/$ac_word$ac_exec_ext"
7811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 test -z "$ac_cv_path_RUNTEST" && ac_cv_path_RUNTEST
="echo "Skipped
: runtest not found
""
7822 RUNTEST
=$ac_cv_path_RUNTEST
7823 if test -n "$RUNTEST"; then
7824 { echo "$as_me:$LINENO: result: $RUNTEST" >&5
7825 echo "${ECHO_T}$RUNTEST" >&6; }
7827 { echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6; }
7834 { echo "$as_me:$LINENO: checking for the tclsh program in tclinclude directory" >&5
7835 echo $ECHO_N "checking for the tclsh program in tclinclude directory... $ECHO_C" >&6; }
7837 # Check whether --with-tclinclude was given.
7838 if test "${with_tclinclude+set}" = set; then
7839 withval
=$with_tclinclude; with_tclinclude
=${withval}
7844 if test "${ac_cv_path_tclsh+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 if test x
"${with_tclinclude}" != x
; then
7849 if test -f ${with_tclinclude}/tclsh
; then
7850 ac_cv_path_tclsh
=`(cd ${with_tclinclude}; pwd)`
7851 elif test -f ${with_tclinclude}/src
/tclsh
; then
7852 ac_cv_path_tclsh
=`(cd ${with_tclinclude}/src; pwd)`
7854 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
7855 echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
7856 { (exit 1); exit 1; }; }
7860 if test x
"${ac_cv_path_tclsh}" = x
; then
7861 { echo "$as_me:$LINENO: result: none" >&5
7862 echo "${ECHO_T}none" >&6; }
7863 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
7865 # Extract the first word of "$ac_prog", so it can be a program name with args.
7866 set dummy
$ac_prog; ac_word
=$2
7867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7869 if test "${ac_cv_path_TCLSH+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 ac_cv_path_TCLSH
="$TCLSH" # Let the user override the test with a path.
7877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7881 test -z "$as_dir" && as_dir
=.
7882 for ac_exec_ext
in '' $ac_executable_extensions; do
7883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7884 ac_cv_path_TCLSH
="$as_dir/$ac_word$ac_exec_ext"
7885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 TCLSH
=$ac_cv_path_TCLSH
7896 if test -n "$TCLSH"; then
7897 { echo "$as_me:$LINENO: result: $TCLSH" >&5
7898 echo "${ECHO_T}$TCLSH" >&6; }
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7905 test -n "$TCLSH" && break
7908 if test x
"${TCLSH}" = x
; then
7909 ac_cv_path_tclsh
='';
7911 ac_cv_path_tclsh
="${TCLSH}";
7914 { echo "$as_me:$LINENO: result: ${ac_cv_path_tclsh}" >&5
7915 echo "${ECHO_T}${ac_cv_path_tclsh}" >&6; }
7916 TCLSH="${ac_cv_path_tclsh}"
7922 # Extract the first word of "zip", so it can be a program name with args.
7923 set dummy zip; ac_word=$2
7924 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7925 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7926 if test "${ac_cv_path_ZIP+set}" = set; then
7927 echo $ECHO_N "(cached
) $ECHO_C" >&6
7931 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
7942 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7949 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="echo "Skipped: zip not found""
7954 if test -n "$ZIP"; then
7955 { echo "$as_me:$LINENO: result
: $ZIP" >&5
7956 echo "${ECHO_T}$ZIP" >&6; }
7958 { echo "$as_me:$LINENO: result
: no
" >&5
7959 echo "${ECHO_T}no
" >&6; }
7963 # Extract the first word of "ocamlc
", so it can be a program name with args.
7964 set dummy ocamlc; ac_word=$2
7965 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7966 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7967 if test "${ac_cv_path_OCAMLC+set}" = set; then
7968 echo $ECHO_N "(cached
) $ECHO_C" >&6
7972 ac_cv_path_OCAMLC="$OCAMLC" # Let the user override the test with a path.
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7982 ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
7983 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7990 test -z "$ac_cv_path_OCAMLC" && ac_cv_path_OCAMLC="echo "Skipped: ocamlc not found""
7994 OCAMLC=$ac_cv_path_OCAMLC
7995 if test -n "$OCAMLC"; then
7996 { echo "$as_me:$LINENO: result
: $OCAMLC" >&5
7997 echo "${ECHO_T}$OCAMLC" >&6; }
7999 { echo "$as_me:$LINENO: result
: no
" >&5
8000 echo "${ECHO_T}no
" >&6; }
8004 # Extract the first word of "ocamlopt
", so it can be a program name with args.
8005 set dummy ocamlopt; ac_word=$2
8006 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8007 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8008 if test "${ac_cv_path_OCAMLOPT+set}" = set; then
8009 echo $ECHO_N "(cached
) $ECHO_C" >&6
8013 ac_cv_path_OCAMLOPT="$OCAMLOPT" # Let the user override the test with a path.
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8023 ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
8024 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8031 test -z "$ac_cv_path_OCAMLOPT" && ac_cv_path_OCAMLOPT="echo "Skipped: ocamlopt not found""
8035 OCAMLOPT=$ac_cv_path_OCAMLOPT
8036 if test -n "$OCAMLOPT"; then
8037 { echo "$as_me:$LINENO: result
: $OCAMLOPT" >&5
8038 echo "${ECHO_T}$OCAMLOPT" >&6; }
8040 { echo "$as_me:$LINENO: result
: no
" >&5
8041 echo "${ECHO_T}no
" >&6; }
8045 # Extract the first word of "ocamldep
", so it can be a program name with args.
8046 set dummy ocamldep; ac_word=$2
8047 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8048 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8049 if test "${ac_cv_path_OCAMLDEP+set}" = set; then
8050 echo $ECHO_N "(cached
) $ECHO_C" >&6
8054 ac_cv_path_OCAMLDEP="$OCAMLDEP" # Let the user override the test with a path.
8057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 test -z "$as_dir" && as_dir=.
8062 for ac_exec_ext in '' $ac_executable_extensions; do
8063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8064 ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
8065 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8072 test -z "$ac_cv_path_OCAMLDEP" && ac_cv_path_OCAMLDEP="echo "Skipped: ocamldep not found""
8076 OCAMLDEP=$ac_cv_path_OCAMLDEP
8077 if test -n "$OCAMLDEP"; then
8078 { echo "$as_me:$LINENO: result
: $OCAMLDEP" >&5
8079 echo "${ECHO_T}$OCAMLDEP" >&6; }
8081 { echo "$as_me:$LINENO: result
: no
" >&5
8082 echo "${ECHO_T}no
" >&6; }
8087 { echo "$as_me:$LINENO: checking
for compiler
-Wl,-R<path
> option
" >&5
8088 echo $ECHO_N "checking
for compiler
-Wl,-R<path
> option...
$ECHO_C" >&6; }
8089 if test "${llvm_cv_link_use_r+set}" = set; then
8090 echo $ECHO_N "(cached
) $ECHO_C" >&6
8093 ac_cpp='$CPP $CPPFLAGS'
8094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8099 CFLAGS="$CFLAGS -Wl,-R.
"
8100 cat >conftest.$ac_ext <<_ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8110 int main() { return 0; }
8115 rm -f conftest.$ac_objext conftest$ac_exeext
8116 if { (ac_try="$ac_link"
8118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8119 *) ac_try_echo=$ac_try;;
8121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8122 (eval "$ac_link") 2>conftest.er1
8124 grep -v '^ *+' conftest.er1 >conftest.err
8126 cat conftest.err >&5
8127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8128 (exit $ac_status); } &&
8129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8130 { (case "(($ac_try" in
8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8132 *) ac_try_echo=$ac_try;;
8134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8135 (eval "$ac_try") 2>&5
8137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try='test -s conftest$ac_exeext'
8140 { (case "(($ac_try" in
8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8142 *) ac_try_echo=$ac_try;;
8144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8145 (eval "$ac_try") 2>&5
8147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8148 (exit $ac_status); }; }; then
8149 llvm_cv_link_use_r=yes
8151 echo "$as_me: failed program was
:" >&5
8152 sed 's/^/| /' conftest.$ac_ext >&5
8154 llvm_cv_link_use_r=no
8157 rm -f core conftest.err conftest.$ac_objext \
8158 conftest$ac_exeext conftest.$ac_ext
8161 ac_cpp='$CPP $CPPFLAGS'
8162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8168 { echo "$as_me:$LINENO: result
: $llvm_cv_link_use_r" >&5
8169 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
8170 if test "$llvm_cv_link_use_r" = yes ; then
8172 cat >>confdefs.h <<\_ACEOF
8173 #define HAVE_LINK_R 1
8181 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
8182 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
8183 if test "${ac_cv_c_const+set}" = set; then
8184 echo $ECHO_N "(cached
) $ECHO_C" >&6
8186 cat >conftest.$ac_ext <<_ACEOF
8189 cat confdefs.h >>conftest.$ac_ext
8190 cat >>conftest.$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8196 /* FIXME: Include the comments suggested by Paul. */
8198 /* Ultrix mips cc rejects this. */
8199 typedef int charset[2];
8201 /* SunOS 4.1.1 cc rejects this. */
8202 char const *const *ccp;
8204 /* NEC SVR4.0.2 mips cc rejects this. */
8205 struct point {int x, y;};
8206 static struct point const zero = {0,0};
8207 /* AIX XL C 1.02.0.0 rejects this.
8208 It does not let you subtract one const X* pointer from another in
8209 an arm of an if-expression whose if-part is not a constant
8211 const char *g = "string
";
8212 ccp = &g + (g ? g-g : 0);
8213 /* HPUX 7.0 cc rejects these. */
8216 ccp = (char const *const *) p;
8217 { /* SCO 3.2v4 cc rejects this. */
8219 char const *s = 0 ? (char *) 0 : (char const *) 0;
8224 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8226 const int *foo = &x[0];
8229 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8230 typedef const int *iptr;
8234 { /* AIX XL C 1.02.0.0 rejects this saying
8235 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8236 struct s { int j; const int *ap[3]; };
8237 struct s *b; b->j = 5;
8239 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8243 return !x[0] && !zero.x;
8250 rm -f conftest.$ac_objext
8251 if { (ac_try="$ac_compile"
8253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8254 *) ac_try_echo=$ac_try;;
8256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8257 (eval "$ac_compile") 2>conftest.er1
8259 grep -v '^ *+' conftest.er1 >conftest.err
8261 cat conftest.err >&5
8262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8263 (exit $ac_status); } &&
8264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8265 { (case "(($ac_try" in
8266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8267 *) ac_try_echo=$ac_try;;
8269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8270 (eval "$ac_try") 2>&5
8272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try='test -s conftest.$ac_objext'
8275 { (case "(($ac_try" in
8276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8277 *) ac_try_echo=$ac_try;;
8279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8280 (eval "$ac_try") 2>&5
8282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8283 (exit $ac_status); }; }; then
8286 echo "$as_me: failed program was
:" >&5
8287 sed 's/^/| /' conftest.$ac_ext >&5
8292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8294 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
8295 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8296 if test $ac_cv_c_const = no; then
8298 cat >>confdefs.h <<\_ACEOF
8310 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8311 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
8312 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
8313 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
8314 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8315 echo $ECHO_N "(cached
) $ECHO_C" >&6
8317 cat >conftest.$ac_ext <<_ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8323 #include <sys/types.h>
8335 rm -f conftest.$ac_objext
8336 if { (ac_try="$ac_compile"
8338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8339 *) ac_try_echo=$ac_try;;
8341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8342 (eval "$ac_compile") 2>conftest.er1
8344 grep -v '^ *+' conftest.er1 >conftest.err
8346 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8348 (exit $ac_status); } &&
8349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8350 { (case "(($ac_try" in
8351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8352 *) ac_try_echo=$ac_try;;
8354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8355 (eval "$ac_try") 2>&5
8357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8358 (exit $ac_status); }; } &&
8359 { ac_try='test -s conftest.$ac_objext'
8360 { (case "(($ac_try" in
8361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8362 *) ac_try_echo=$ac_try;;
8364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8365 (eval "$ac_try") 2>&5
8367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8368 (exit $ac_status); }; }; then
8369 eval "$as_ac_Header=yes"
8371 echo "$as_me: failed program was
:" >&5
8372 sed 's/^/| /' conftest.$ac_ext >&5
8374 eval "$as_ac_Header=no
"
8377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8379 ac_res=`eval echo '${'$as_ac_Header'}'`
8380 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8381 echo "${ECHO_T}$ac_res" >&6; }
8382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8383 cat >>confdefs.h <<_ACEOF
8384 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
8387 ac_header_dirent=$ac_hdr; break
8391 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8392 if test $ac_header_dirent = dirent.h; then
8393 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8394 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8395 if test "${ac_cv_search_opendir+set}" = set; then
8396 echo $ECHO_N "(cached
) $ECHO_C" >&6
8398 ac_func_search_save_LIBS=$LIBS
8399 cat >conftest.$ac_ext <<_ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8406 /* Override any GCC internal prototype to avoid an error.
8407 Use char because int might match the return type of a GCC
8408 builtin and then its argument prototype would still apply. */
8421 for ac_lib in '' dir; do
8422 if test -z "$ac_lib"; then
8423 ac_res="none required
"
8426 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8428 rm -f conftest.$ac_objext conftest$ac_exeext
8429 if { (ac_try="$ac_link"
8431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8432 *) ac_try_echo=$ac_try;;
8434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8435 (eval "$ac_link") 2>conftest.er1
8437 grep -v '^ *+' conftest.er1 >conftest.err
8439 cat conftest.err >&5
8440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8441 (exit $ac_status); } &&
8442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8443 { (case "(($ac_try" in
8444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8445 *) ac_try_echo=$ac_try;;
8447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8448 (eval "$ac_try") 2>&5
8450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8451 (exit $ac_status); }; } &&
8452 { ac_try='test -s conftest$ac_exeext'
8453 { (case "(($ac_try" in
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8455 *) ac_try_echo=$ac_try;;
8457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8458 (eval "$ac_try") 2>&5
8460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8461 (exit $ac_status); }; }; then
8462 ac_cv_search_opendir=$ac_res
8464 echo "$as_me: failed program was
:" >&5
8465 sed 's/^/| /' conftest.$ac_ext >&5
8470 rm -f core conftest.err conftest.$ac_objext \
8472 if test "${ac_cv_search_opendir+set}" = set; then
8476 if test "${ac_cv_search_opendir+set}" = set; then
8479 ac_cv_search_opendir=no
8482 LIBS=$ac_func_search_save_LIBS
8484 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8485 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8486 ac_res=$ac_cv_search_opendir
8487 if test "$ac_res" != no; then
8488 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8493 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
8494 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
8495 if test "${ac_cv_search_opendir+set}" = set; then
8496 echo $ECHO_N "(cached
) $ECHO_C" >&6
8498 ac_func_search_save_LIBS=$LIBS
8499 cat >conftest.$ac_ext <<_ACEOF
8502 cat confdefs.h >>conftest.$ac_ext
8503 cat >>conftest.$ac_ext <<_ACEOF
8504 /* end confdefs.h. */
8506 /* Override any GCC internal prototype to avoid an error.
8507 Use char because int might match the return type of a GCC
8508 builtin and then its argument prototype would still apply. */
8521 for ac_lib in '' x; do
8522 if test -z "$ac_lib"; then
8523 ac_res="none required
"
8526 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8528 rm -f conftest.$ac_objext conftest$ac_exeext
8529 if { (ac_try="$ac_link"
8531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8532 *) ac_try_echo=$ac_try;;
8534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8535 (eval "$ac_link") 2>conftest.er1
8537 grep -v '^ *+' conftest.er1 >conftest.err
8539 cat conftest.err >&5
8540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8541 (exit $ac_status); } &&
8542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8543 { (case "(($ac_try" in
8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8547 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_try") 2>&5
8550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8551 (exit $ac_status); }; } &&
8552 { ac_try='test -s conftest$ac_exeext'
8553 { (case "(($ac_try" in
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_try") 2>&5
8560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 ac_cv_search_opendir=$ac_res
8564 echo "$as_me: failed program was
:" >&5
8565 sed 's/^/| /' conftest.$ac_ext >&5
8570 rm -f core conftest.err conftest.$ac_objext \
8572 if test "${ac_cv_search_opendir+set}" = set; then
8576 if test "${ac_cv_search_opendir+set}" = set; then
8579 ac_cv_search_opendir=no
8582 LIBS=$ac_func_search_save_LIBS
8584 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
8585 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8586 ac_res=$ac_cv_search_opendir
8587 if test "$ac_res" != no; then
8588 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
8595 for ac_header in dlfcn.h
8597 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8598 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8599 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8600 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8601 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8602 echo $ECHO_N "(cached
) $ECHO_C" >&6
8604 ac_res=`eval echo '${'$as_ac_Header'}'`
8605 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8606 echo "${ECHO_T}$ac_res" >&6; }
8608 # Is the header compilable?
8609 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8610 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
8611 cat >conftest.$ac_ext <<_ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8617 $ac_includes_default
8618 #include <$ac_header>
8620 rm -f conftest.$ac_objext
8621 if { (ac_try="$ac_compile"
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8626 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_compile") 2>conftest.er1
8629 grep -v '^ *+' conftest.er1 >conftest.err
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8633 (exit $ac_status); } &&
8634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8635 { (case "(($ac_try" in
8636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8637 *) ac_try_echo=$ac_try;;
8639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8640 (eval "$ac_try") 2>&5
8642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8643 (exit $ac_status); }; } &&
8644 { ac_try='test -s conftest.$ac_objext'
8645 { (case "(($ac_try" in
8646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8647 *) ac_try_echo=$ac_try;;
8649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8650 (eval "$ac_try") 2>&5
8652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8653 (exit $ac_status); }; }; then
8654 ac_header_compiler=yes
8656 echo "$as_me: failed program was
:" >&5
8657 sed 's/^/| /' conftest.$ac_ext >&5
8659 ac_header_compiler=no
8662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8663 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8664 echo "${ECHO_T}$ac_header_compiler" >&6; }
8666 # Is the header present?
8667 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8668 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
8669 cat >conftest.$ac_ext <<_ACEOF
8672 cat confdefs.h >>conftest.$ac_ext
8673 cat >>conftest.$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 #include <$ac_header>
8677 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8680 *) ac_try_echo=$ac_try;;
8682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8683 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8685 grep -v '^ *+' conftest.er1 >conftest.err
8687 cat conftest.err >&5
8688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8689 (exit $ac_status); } >/dev/null; then
8690 if test -s conftest.err; then
8691 ac_cpp_err=$ac_c_preproc_warn_flag
8692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8699 if test -z "$ac_cpp_err"; then
8700 ac_header_preproc=yes
8702 echo "$as_me: failed program was
:" >&5
8703 sed 's/^/| /' conftest.$ac_ext >&5
8705 ac_header_preproc=no
8708 rm -f conftest.err conftest.$ac_ext
8709 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8710 echo "${ECHO_T}$ac_header_preproc" >&6; }
8712 # So? What about this header?
8713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8715 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8716 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8717 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8719 ac_header_preproc=yes
8722 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8723 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8724 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8725 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8726 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8727 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8728 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8729 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8730 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8732 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8733 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8735 ## ----------------------------------- ##
8736 ## Report this to llvmbugs@cs.uiuc.edu ##
8737 ## ----------------------------------- ##
8739 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
8742 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8743 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8744 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8745 echo $ECHO_N "(cached
) $ECHO_C" >&6
8747 eval "$as_ac_Header=\
$ac_header_preproc"
8749 ac_res=`eval echo '${'$as_ac_Header'}'`
8750 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8751 echo "${ECHO_T}$ac_res" >&6; }
8754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8755 cat >>confdefs.h <<_ACEOF
8756 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8763 # Check whether --enable-ltdl-install was given.
8764 if test "${enable_ltdl_install+set}" = set; then
8765 enableval=$enable_ltdl_install;
8771 if test x"${enable_ltdl_install-no}" != xno; then
8773 INSTALL_LTDL_FALSE='#'
8775 INSTALL_LTDL_TRUE='#'
8781 if test x"${enable_ltdl_convenience-no}" != xno; then
8782 CONVENIENCE_LTDL_TRUE=
8783 CONVENIENCE_LTDL_FALSE='#'
8785 CONVENIENCE_LTDL_TRUE='#'
8786 CONVENIENCE_LTDL_FALSE=
8790 { echo "$as_me:$LINENO: checking dynamic linker characteristics
" >&5
8791 echo $ECHO_N "checking dynamic linker characteristics...
$ECHO_C" >&6; }
8793 libname_spec='lib$name'
8801 shlibpath_overrides_runpath=unknown
8803 dynamic_linker="$host_os ld.so
"
8804 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
"
8805 if test "$GCC" = yes; then
8806 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8807 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8808 # if the path contains ";" then we assume it to be the separator
8809 # otherwise default to the standard path separator (i.e. ":") - it is
8810 # assumed that no part of a normal pathname contains ";" but that should
8811 # okay in the real world where ";" in dirpaths is itself problematic.
8812 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8814 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8817 sys_lib_search_path_spec="/lib
/usr
/lib
/usr
/local
/lib
"
8819 need_lib_prefix=unknown
8820 hardcode_into_libs=no
8822 # when you set need_version to no, make sure it does not cause -set_version
8823 # flags to be left without arguments
8824 need_version=unknown
8829 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8830 shlibpath_var=LIBPATH
8832 # AIX 3 has no versioning support, so we append a major version to the name.
8833 soname_spec='${libname}${release}${shared_ext}$major'
8840 hardcode_into_libs=yes
8841 if test "$host_cpu" = ia64; then
8842 # AIX 5 supports IA64
8843 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8844 shlibpath_var=LD_LIBRARY_PATH
8846 # With GCC up to 2.95.x, collect2 would create an import file
8847 # for dependence libraries. The import file would start with
8848 # the line `#! .'. This would cause the generated library to
8849 # depend on `.', always an invalid library. This was fixed in
8850 # development snapshots of GCC prior to 3.0.
8852 aix4 | aix4.[01] | aix4.[01].*)
8853 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8855 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8862 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8863 # soname into executable. Probably we can add versioning support to
8864 # collect2, so additional links can be useful in future.
8865 if test "$aix_use_runtimelinking" = yes; then
8866 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8867 # instead of lib<name>.a to let people know that these are not
8868 # typical AIX shared libraries.
8869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8871 # We preserve .a as extension for shared libraries through AIX4.2
8872 # and later when we are not doing run time linking.
8873 library_names_spec='${libname}${release}.a $libname.a'
8874 soname_spec='${libname}${release}${shared_ext}$major'
8876 shlibpath_var=LIBPATH
8881 library_names_spec='$libname.ixlibrary $libname.a'
8882 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8883 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'
8887 library_names_spec='${libname}${shared_ext}'
8888 dynamic_linker="$host_os ld.so
"
8889 shlibpath_var=LIBRARY_PATH
8895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8896 soname_spec='${libname}${release}${shared_ext}$major'
8897 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig $libdir'
8898 shlibpath_var=LD_LIBRARY_PATH
8899 sys_lib_search_path_spec="/shlib
/usr
/lib
/usr
/X11
/lib
/usr
/contrib
/lib
/lib
/usr
/local
/lib
"
8900 sys_lib_dlsearch_path_spec="/shlib
/usr
/lib
/usr
/local
/lib
"
8901 # the default ld.so.conf also contains /usr/contrib/lib and
8902 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8903 # libtool to hard-code these into programs
8906 cygwin* | mingw* | pw32*)
8907 version_type=windows
8912 case $GCC,$host_os in
8913 yes,cygwin* | yes,mingw* | yes,pw32*)
8914 library_names_spec='$libname.dll.a'
8915 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8916 postinstall_cmds='base_file=`basename \${file}`~
8917 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8918 dldir=$destdir/`dirname \$dlpath`~
8919 test -d \$dldir || mkdir -p \$dldir~
8920 $install_prog $dir/$dlname \$dldir/$dlname~
8921 chmod a+x \$dldir/$dlname'
8922 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8923 dlpath=$dir/\$dldll~
8925 shlibpath_overrides_runpath=yes
8929 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8930 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8931 sys_lib_search_path_spec="/usr
/lib
/lib
/w32api
/lib
/usr
/local
/lib
"
8934 # MinGW DLLs use traditional 'lib' prefix
8935 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8936 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries
:" | $SED -e "s
/^libraries
://" -e "s
,=/,/,g
"`
8937 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8938 # It is most probably a Windows format PATH printed by
8939 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8940 # path with ; separators, and with drive letters. We can handle the
8941 # drive letters (cygwin fileutils understands them), so leave them,
8942 # especially as we might pass files found there to a mingw objdump,
8943 # which wouldn't understand a cygwinified path. Ahh.
8944 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8946 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g
"`
8950 # pw32 DLLs use 'pw' prefix rather than 'lib'
8951 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8957 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8960 dynamic_linker='Win32 ld.exe'
8961 # FIXME: first we should search . and the directory the executable is in
8965 darwin* | rhapsody*)
8966 dynamic_linker="$host_os dyld
"
8970 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8971 soname_spec='${libname}${release}${major}$shared_ext'
8972 shlibpath_overrides_runpath=yes
8973 shlibpath_var=DYLD_LIBRARY_PATH
8974 shrext_cmds='.dylib'
8975 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8976 if test "$GCC" = yes; then
8977 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
"`
8979 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8981 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8989 soname_spec='${libname}${release}${shared_ext}$major'
8990 shlibpath_var=LD_LIBRARY_PATH
9001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9002 soname_spec='${libname}${release}${shared_ext}$major'
9003 shlibpath_var=LD_LIBRARY_PATH
9004 shlibpath_overrides_runpath=no
9005 hardcode_into_libs=yes
9006 dynamic_linker='GNU ld.so'
9009 freebsd* | dragonfly*)
9010 # DragonFly does not have aout. When/if they implement a new
9011 # versioning mechanism, adjust this.
9012 if test -x /usr/bin/objformat; then
9013 objformat=`/usr/bin/objformat`
9016 freebsd[123]*) objformat=aout ;;
9020 version_type=freebsd-$objformat
9021 case $version_type in
9023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9028 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9032 shlibpath_var=LD_LIBRARY_PATH
9035 shlibpath_overrides_runpath=yes
9037 freebsd3.[01]* | freebsdelf3.[01]*)
9038 shlibpath_overrides_runpath=yes
9039 hardcode_into_libs=yes
9041 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9042 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9043 shlibpath_overrides_runpath=no
9044 hardcode_into_libs=yes
9046 freebsd*) # from 4.6 on
9047 shlibpath_overrides_runpath=yes
9048 hardcode_into_libs=yes
9057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9058 soname_spec='${libname}${release}${shared_ext}$major'
9059 shlibpath_var=LD_LIBRARY_PATH
9060 hardcode_into_libs=yes
9063 hpux9* | hpux10* | hpux11*)
9064 # Give a soname corresponding to the major version so that dld.sl refuses to
9065 # link against other versions.
9072 hardcode_into_libs=yes
9073 dynamic_linker="$host_os dld.so
"
9074 shlibpath_var=LD_LIBRARY_PATH
9075 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9077 soname_spec='${libname}${release}${shared_ext}$major'
9078 if test "X
$HPUX_IA64_MODE" = X32; then
9079 sys_lib_search_path_spec="/usr
/lib
/hpux32
/usr
/local
/lib
/hpux32
/usr
/local
/lib
"
9081 sys_lib_search_path_spec="/usr
/lib
/hpux64
/usr
/local
/lib
/hpux64
"
9083 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9087 hardcode_into_libs=yes
9088 dynamic_linker="$host_os dld.sl
"
9089 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9090 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9092 soname_spec='${libname}${release}${shared_ext}$major'
9093 sys_lib_search_path_spec="/usr
/lib
/pa20_64
/usr
/ccs
/lib
/pa20_64
"
9094 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9098 dynamic_linker="$host_os dld.sl
"
9099 shlibpath_var=SHLIB_PATH
9100 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9102 soname_spec='${libname}${release}${shared_ext}$major'
9105 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9106 postinstall_cmds='chmod 555 $lib'
9113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9114 soname_spec='${libname}${release}${shared_ext}$major'
9115 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9116 shlibpath_var=LD_LIBRARY_PATH
9117 shlibpath_overrides_runpath=no
9118 hardcode_into_libs=yes
9121 irix5* | irix6* | nonstopux*)
9123 nonstopux*) version_type=nonstopux ;;
9125 if test "$lt_cv_prog_gnu_ld" = yes; then
9133 soname_spec='${libname}${release}${shared_ext}$major'
9134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9136 irix5* | nonstopux*)
9140 case $LD in # libtool.m4 will add one of these switches to LD
9141 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9142 libsuff= shlibsuff= libmagic=32-bit;;
9143 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9144 libsuff=32 shlibsuff=N32 libmagic=N32;;
9145 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9146 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9147 *) libsuff= shlibsuff= libmagic=never-match;;
9151 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9152 shlibpath_overrides_runpath=no
9153 sys_lib_search_path_spec="/usr
/lib
${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9154 sys_lib_dlsearch_path_spec="/usr
/lib
${libsuff} /lib
${libsuff}"
9155 hardcode_into_libs=yes
9158 # No shared lib support for Linux oldld, aout, or coff.
9159 linux*oldld* | linux*aout* | linux*coff*)
9163 # This must be Linux ELF.
9168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9169 soname_spec='${libname}${release}${shared_ext}$major'
9170 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -n $libdir'
9171 shlibpath_var=LD_LIBRARY_PATH
9172 shlibpath_overrides_runpath=no
9173 # This implies no fast_install, which is unacceptable.
9174 # Some rework will be needed to allow for fast_install
9175 # before this can be enabled.
9176 hardcode_into_libs=yes
9178 # Append ld.so.conf contents to the search path
9179 if test -f /etc/ld.so.conf; then
9180 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' ' '`
9181 sys_lib_dlsearch_path_spec="/lib
/usr
/lib
$lt_ld_extra"
9184 # We used to test for /lib/ld.so.1 and disable shared libraries on
9185 # powerpc, because MkLinux only supported shared libraries with the
9186 # GNU dynamic linker. Since this was broken with cross compilers,
9187 # most powerpc-linux boxes support dynamic linking these days and
9188 # people can always --disable-shared, the test was removed, and we
9189 # assume the GNU/Linux dynamic linker is in use.
9190 dynamic_linker='GNU/Linux ld.so'
9197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9198 soname_spec='${libname}${release}${shared_ext}$major'
9199 shlibpath_var=LD_LIBRARY_PATH
9200 shlibpath_overrides_runpath=no
9201 hardcode_into_libs=yes
9202 dynamic_linker='GNU ld.so'
9209 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9211 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9212 dynamic_linker='NetBSD (a.out) ld.so'
9214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9215 soname_spec='${libname}${release}${shared_ext}$major'
9216 dynamic_linker='NetBSD ld.elf_so'
9218 shlibpath_var=LD_LIBRARY_PATH
9219 shlibpath_overrides_runpath=yes
9220 hardcode_into_libs=yes
9225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226 shlibpath_var=LD_LIBRARY_PATH
9227 shlibpath_overrides_runpath=yes
9234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9235 soname_spec='${libname}${release}${shared_ext}$major'
9236 shlibpath_var=LD_LIBRARY_PATH
9237 shlibpath_overrides_runpath=yes
9242 sys_lib_dlsearch_path_spec="/usr
/lib
"
9244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9246 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9247 *) need_version=no ;;
9249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9250 finish_cmds='PATH="\
$PATH:/sbin
" ldconfig -m $libdir'
9251 shlibpath_var=LD_LIBRARY_PATH
9252 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9254 openbsd2.[89] | openbsd2.[89].*)
9255 shlibpath_overrides_runpath=no
9258 shlibpath_overrides_runpath=yes
9262 shlibpath_overrides_runpath=yes
9267 libname_spec='$name'
9270 library_names_spec='$libname${shared_ext} $libname.a'
9271 dynamic_linker='OS/2 ld.exe'
9272 shlibpath_var=LIBPATH
9275 osf3* | osf4* | osf5*)
9279 soname_spec='${libname}${release}${shared_ext}$major'
9280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 shlibpath_var=LD_LIBRARY_PATH
9282 sys_lib_search_path_spec="/usr
/shlib
/usr
/ccs
/lib
/usr
/lib
/cmplrs
/cc
/usr
/lib
/usr
/local
/lib
/var
/shlib
"
9283 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9291 soname_spec='${libname}${release}${shared_ext}$major'
9292 shlibpath_var=LD_LIBRARY_PATH
9293 shlibpath_overrides_runpath=yes
9294 hardcode_into_libs=yes
9295 # ldd complains unless libraries are executable
9296 postinstall_cmds='chmod +x $lib'
9301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9302 finish_cmds='PATH="\
$PATH:/usr
/etc
" ldconfig $libdir'
9303 shlibpath_var=LD_LIBRARY_PATH
9304 shlibpath_overrides_runpath=yes
9305 if test "$with_gnu_ld" = yes; then
9313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9314 soname_spec='${libname}${release}${shared_ext}$major'
9315 shlibpath_var=LD_LIBRARY_PATH
9316 case $host_vendor in
9318 shlibpath_overrides_runpath=no
9320 export_dynamic_flag_spec='${wl}-Blargedynsym'
9321 runpath_var=LD_RUN_PATH
9329 shlibpath_overrides_runpath=no
9330 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9336 if test -d /usr/nec ;then
9338 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9339 soname_spec='$libname${shared_ext}.$major'
9340 shlibpath_var=LD_LIBRARY_PATH
9344 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9345 version_type=freebsd-elf
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 shlibpath_var=LD_LIBRARY_PATH
9351 hardcode_into_libs=yes
9352 if test "$with_gnu_ld" = yes; then
9353 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9354 shlibpath_overrides_runpath=no
9356 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9357 shlibpath_overrides_runpath=yes
9360 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib
"
9364 sys_lib_dlsearch_path_spec='/usr/lib'
9369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9370 soname_spec='${libname}${release}${shared_ext}$major'
9371 shlibpath_var=LD_LIBRARY_PATH
9378 { echo "$as_me:$LINENO: result
: $dynamic_linker" >&5
9379 echo "${ECHO_T}$dynamic_linker" >&6; }
9380 test "$dynamic_linker" = no && can_build_shared=no
9382 variables_saved_for_relink="PATH
$shlibpath_var $runpath_var"
9383 if test "$GCC" = yes; then
9384 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
"
9388 { echo "$as_me:$LINENO: checking
which extension is used
for loadable modules
" >&5
9389 echo $ECHO_N "checking
which extension is used
for loadable modules...
$ECHO_C" >&6; }
9390 if test "${libltdl_cv_shlibext+set}" = set; then
9391 echo $ECHO_N "(cached
) $ECHO_C" >&6
9395 eval libltdl_cv_shlibext=$shrext_cmds
9398 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibext" >&5
9399 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
9400 if test -n "$libltdl_cv_shlibext"; then
9402 cat >>confdefs.h <<_ACEOF
9403 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
9409 { echo "$as_me:$LINENO: checking
which variable specifies run-time library path
" >&5
9410 echo $ECHO_N "checking
which variable specifies run-time library path...
$ECHO_C" >&6; }
9411 if test "${libltdl_cv_shlibpath_var+set}" = set; then
9412 echo $ECHO_N "(cached
) $ECHO_C" >&6
9414 libltdl_cv_shlibpath_var="$shlibpath_var"
9416 { echo "$as_me:$LINENO: result
: $libltdl_cv_shlibpath_var" >&5
9417 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
9418 if test -n "$libltdl_cv_shlibpath_var"; then
9420 cat >>confdefs.h <<_ACEOF
9421 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
9427 { echo "$as_me:$LINENO: checking
for the default library search path
" >&5
9428 echo $ECHO_N "checking
for the default library search path...
$ECHO_C" >&6; }
9429 if test "${libltdl_cv_sys_search_path+set}" = set; then
9430 echo $ECHO_N "(cached
) $ECHO_C" >&6
9432 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
9434 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_search_path" >&5
9435 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
9436 if test -n "$libltdl_cv_sys_search_path"; then
9438 for dir in $libltdl_cv_sys_search_path; do
9439 if test -z "$sys_search_path"; then
9440 sys_search_path="$dir"
9442 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
9446 cat >>confdefs.h <<_ACEOF
9447 #define LTDL_SYSSEARCHPATH "$sys_search_path"
9452 { echo "$as_me:$LINENO: checking
for objdir
" >&5
9453 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
9454 if test "${libltdl_cv_objdir+set}" = set; then
9455 echo $ECHO_N "(cached
) $ECHO_C" >&6
9457 libltdl_cv_objdir="$objdir"
9458 if test -n "$objdir"; then
9461 rm -f .libs 2>/dev/null
9462 mkdir .libs 2>/dev/null
9463 if test -d .libs; then
9464 libltdl_cv_objdir=.libs
9466 # MS-DOS does not allow filenames that begin with a dot.
9467 libltdl_cv_objdir=_libs
9469 rmdir .libs 2>/dev/null
9473 { echo "$as_me:$LINENO: result
: $libltdl_cv_objdir" >&5
9474 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
9476 cat >>confdefs.h <<_ACEOF
9477 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
9485 # Check for command to grab the raw symbol name followed by C symbol from nm.
9486 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
9487 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
9488 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9489 echo $ECHO_N "(cached
) $ECHO_C" >&6
9492 # These are sane defaults that work on at least a few old systems.
9493 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9495 # Character class describing NM global symbol codes.
9496 symcode='[BCDEGRST]'
9498 # Regexp to match symbols that can be accessed directly from C.
9499 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9501 # Transform an extracted symbol line into a proper C declaration
9502 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9504 # Transform an extracted symbol line into symbol name and symbol address
9505 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'"
9507 # Define system-specific variables.
9512 cygwin* | mingw* | pw32*)
9513 symcode='[ABCDGISTW]'
9515 hpux*) # Its linker distinguishes data from code symbols
9516 if test "$host_cpu" = ia64; then
9517 symcode='[ABCDEGRST]'
9519 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9520 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'"
9523 if test "$host_cpu" = ia64; then
9524 symcode='[ABCDGIRSTW]'
9525 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9526 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'"
9530 symcode='[BCDEGRST]'
9533 symcode='[BCDEGQRST]'
9544 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9552 # Handle CRLF in mingw tool chain
9556 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9560 # If we're using GNU nm, then use its standard symbol codes.
9561 case `$NM -V 2>&1` in
9562 *GNU* | *'with BFD'*)
9563 symcode='[ABCDGIRSTW]' ;;
9566 # Try without a prefix undercore, then with it.
9567 for ac_symprfx in "" "_
"; do
9569 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9570 symxfrm="\\1 $ac_symprfx\\2 \\2"
9572 # Write the raw and C identifiers.
9573 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9575 # Check to see that the pipe works correctly.
9579 cat > conftest.$ac_ext <<EOF
9584 void nm_test_func(){}
9588 int main(){nm_test_var='a';nm_test_func();return(0);}
9591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9592 (eval $ac_compile) 2>&5
9594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9595 (exit $ac_status); }; then
9596 # Now try to grab the symbols.
9598 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
9599 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9602 (exit $ac_status); } && test -s "$nlist"; then
9603 # Try sorting and uniquifying the output.
9604 if sort "$nlist" | uniq > "$nlist"T; then
9605 mv -f "$nlist"T "$nlist"
9610 # Make sure that we snagged all the symbols we need.
9611 if grep ' nm_test_var$' "$nlist" >/dev/null; then
9612 if grep ' nm_test_func$' "$nlist" >/dev/null; then
9613 cat <<EOF > conftest.$ac_ext
9619 # Now generate the symbol file.
9620 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9622 cat <<EOF >> conftest.$ac_ext
9623 #if defined (__STDC__) && __STDC__
9624 # define lt_ptr_t void *
9626 # define lt_ptr_t char *
9630 /* The mapping between symbol names and symbols. */
9635 lt_preloaded_symbols[] =
9638 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (lt_ptr_t
) \
&\
2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9639 cat <<\EOF >> conftest.$ac_ext
9647 # Now try linking the two files.
9648 mv conftest.$ac_objext conftstm.$ac_objext
9649 lt_save_LIBS="$LIBS"
9650 lt_save_CFLAGS="$CFLAGS"
9651 LIBS="conftstm.
$ac_objext"
9652 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654 (eval $ac_link) 2>&5
9656 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9657 (exit $ac_status); } && test -s conftest${ac_exeext}; then
9660 LIBS="$lt_save_LIBS"
9661 CFLAGS="$lt_save_CFLAGS"
9663 echo "cannot
find nm_test_func
in $nlist" >&5
9666 echo "cannot
find nm_test_var
in $nlist" >&5
9669 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
9672 echo "$progname: failed program was
:" >&5
9673 cat conftest.$ac_ext >&5
9675 rm -f conftest* conftst*
9677 # Do not use the global_symbol_pipe unless it works.
9678 if test "$pipe_works" = yes; then
9681 lt_cv_sys_global_symbol_pipe=
9687 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9688 lt_cv_sys_global_symbol_to_cdecl=
9690 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9691 { echo "$as_me:$LINENO: result
: failed
" >&5
9692 echo "${ECHO_T}failed
" >&6; }
9694 { echo "$as_me:$LINENO: result
: ok
" >&5
9695 echo "${ECHO_T}ok
" >&6; }
9699 { echo "$as_me:$LINENO: checking whether libtool supports
-dlopen/-dlpreopen" >&5
9700 echo $ECHO_N "checking whether libtool supports
-dlopen/-dlpreopen...
$ECHO_C" >&6; }
9701 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
9702 echo $ECHO_N "(cached
) $ECHO_C" >&6
9704 if test -n "$lt_cv_sys_global_symbol_pipe"; then
9705 libltdl_cv_preloaded_symbols=yes
9707 libltdl_cv_preloaded_symbols=no
9711 { echo "$as_me:$LINENO: result
: $libltdl_cv_preloaded_symbols" >&5
9712 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
9713 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
9715 cat >>confdefs.h <<\_ACEOF
9716 #define HAVE_PRELOADED_SYMBOLS 1
9724 ac_cpp='$CPP $CPPFLAGS'
9725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9730 { echo "$as_me:$LINENO: checking
for shl_load
" >&5
9731 echo $ECHO_N "checking
for shl_load...
$ECHO_C" >&6; }
9732 if test "${ac_cv_func_shl_load+set}" = set; then
9733 echo $ECHO_N "(cached
) $ECHO_C" >&6
9735 cat >conftest.$ac_ext <<_ACEOF
9738 cat confdefs.h >>conftest.$ac_ext
9739 cat >>conftest.$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9741 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9743 #define shl_load innocuous_shl_load
9745 /* System header to define __stub macros and hopefully few prototypes,
9746 which can conflict with char shl_load (); below.
9747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9748 <limits.h> exists even on freestanding compilers. */
9751 # include <limits.h>
9753 # include <assert.h>
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9765 /* The GNU C library defines this for functions which it implements
9766 to always fail with ENOSYS. Some functions are actually named
9767 something starting with __ and the normal name is an alias. */
9768 #if defined __stub_shl_load || defined __stub___shl_load
9780 rm -f conftest.$ac_objext conftest$ac_exeext
9781 if { (ac_try="$ac_link"
9783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9784 *) ac_try_echo=$ac_try;;
9786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9787 (eval "$ac_link") 2>conftest.er1
9789 grep -v '^ *+' conftest.er1 >conftest.err
9791 cat conftest.err >&5
9792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9793 (exit $ac_status); } &&
9794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9795 { (case "(($ac_try" in
9796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9797 *) ac_try_echo=$ac_try;;
9799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9800 (eval "$ac_try") 2>&5
9802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try='test -s conftest$ac_exeext'
9805 { (case "(($ac_try" in
9806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9807 *) ac_try_echo=$ac_try;;
9809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_try") 2>&5
9812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9813 (exit $ac_status); }; }; then
9814 ac_cv_func_shl_load=yes
9816 echo "$as_me: failed program was
:" >&5
9817 sed 's/^/| /' conftest.$ac_ext >&5
9819 ac_cv_func_shl_load=no
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9825 { echo "$as_me:$LINENO: result
: $ac_cv_func_shl_load" >&5
9826 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9827 if test $ac_cv_func_shl_load = yes; then
9829 cat >>confdefs.h <<\_ACEOF
9830 #define HAVE_SHL_LOAD 1
9834 { echo "$as_me:$LINENO: checking
for shl_load
in -ldld" >&5
9835 echo $ECHO_N "checking
for shl_load
in -ldld...
$ECHO_C" >&6; }
9836 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9837 echo $ECHO_N "(cached
) $ECHO_C" >&6
9839 ac_check_lib_save_LIBS=$LIBS
9841 cat >conftest.$ac_ext <<_ACEOF
9844 cat confdefs.h >>conftest.$ac_ext
9845 cat >>conftest.$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9863 rm -f conftest.$ac_objext conftest$ac_exeext
9864 if { (ac_try="$ac_link"
9866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9867 *) ac_try_echo=$ac_try;;
9869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_link") 2>conftest.er1
9872 grep -v '^ *+' conftest.er1 >conftest.err
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9876 (exit $ac_status); } &&
9877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9878 { (case "(($ac_try" in
9879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9880 *) ac_try_echo=$ac_try;;
9882 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9883 (eval "$ac_try") 2>&5
9885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9886 (exit $ac_status); }; } &&
9887 { ac_try='test -s conftest$ac_exeext'
9888 { (case "(($ac_try" in
9889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9890 *) ac_try_echo=$ac_try;;
9892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9893 (eval "$ac_try") 2>&5
9895 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9896 (exit $ac_status); }; }; then
9897 ac_cv_lib_dld_shl_load=yes
9899 echo "$as_me: failed program was
:" >&5
9900 sed 's/^/| /' conftest.$ac_ext >&5
9902 ac_cv_lib_dld_shl_load=no
9905 rm -f core conftest.err conftest.$ac_objext \
9906 conftest$ac_exeext conftest.$ac_ext
9907 LIBS=$ac_check_lib_save_LIBS
9909 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_shl_load" >&5
9910 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9911 if test $ac_cv_lib_dld_shl_load = yes; then
9913 cat >>confdefs.h <<\_ACEOF
9914 #define HAVE_SHL_LOAD 1
9917 LIBADD_DL="$LIBADD_DL -ldld"
9919 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
9920 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
9921 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9922 echo $ECHO_N "(cached
) $ECHO_C" >&6
9924 ac_check_lib_save_LIBS=$LIBS
9926 cat >conftest.$ac_ext <<_ACEOF
9929 cat confdefs.h >>conftest.$ac_ext
9930 cat >>conftest.$ac_ext <<_ACEOF
9931 /* end confdefs.h. */
9933 /* Override any GCC internal prototype to avoid an error.
9934 Use char because int might match the return type of a GCC
9935 builtin and then its argument prototype would still apply. */
9948 rm -f conftest.$ac_objext conftest$ac_exeext
9949 if { (ac_try="$ac_link"
9951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9952 *) ac_try_echo=$ac_try;;
9954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9955 (eval "$ac_link") 2>conftest.er1
9957 grep -v '^ *+' conftest.er1 >conftest.err
9959 cat conftest.err >&5
9960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9963 { (case "(($ac_try" in
9964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9965 *) ac_try_echo=$ac_try;;
9967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9968 (eval "$ac_try") 2>&5
9970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9971 (exit $ac_status); }; } &&
9972 { ac_try='test -s conftest$ac_exeext'
9973 { (case "(($ac_try" in
9974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_try") 2>&5
9980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9981 (exit $ac_status); }; }; then
9982 ac_cv_lib_dl_dlopen=yes
9984 echo "$as_me: failed program was
:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9987 ac_cv_lib_dl_dlopen=no
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_lib_save_LIBS
9994 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
9995 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9996 if test $ac_cv_lib_dl_dlopen = yes; then
9998 cat >>confdefs.h <<\_ACEOF
9999 #define HAVE_LIBDL 1
10002 LIBADD_DL="-ldl" libltdl_cv_lib_dl_dlopen="yes"
10004 cat >conftest.$ac_ext <<_ACEOF
10007 cat confdefs.h >>conftest.$ac_ext
10008 cat >>conftest.$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10011 # include <dlfcn.h>
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (ac_try="$ac_link"
10024 case "(($ac_try" in
10025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10026 *) ac_try_echo=$ac_try;;
10028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10029 (eval "$ac_link") 2>conftest.er1
10031 grep -v '^ *+' conftest.er1 >conftest.err
10033 cat conftest.err >&5
10034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10035 (exit $ac_status); } &&
10036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10037 { (case "(($ac_try" in
10038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10039 *) ac_try_echo=$ac_try;;
10041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_try") 2>&5
10044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try='test -s conftest$ac_exeext'
10047 { (case "(($ac_try" in
10048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10049 *) ac_try_echo=$ac_try;;
10051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10052 (eval "$ac_try") 2>&5
10054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10055 (exit $ac_status); }; }; then
10057 cat >>confdefs.h <<\_ACEOF
10058 #define HAVE_LIBDL 1
10060 libltdl_cv_func_dlopen="yes"
10062 echo "$as_me: failed program was
:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10065 { echo "$as_me:$LINENO: checking
for dlopen
in -lsvld" >&5
10066 echo $ECHO_N "checking
for dlopen
in -lsvld...
$ECHO_C" >&6; }
10067 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10068 echo $ECHO_N "(cached
) $ECHO_C" >&6
10070 ac_check_lib_save_LIBS=$LIBS
10071 LIBS="-lsvld $LIBS"
10072 cat >conftest.$ac_ext <<_ACEOF
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h. */
10079 /* Override any GCC internal prototype to avoid an error.
10080 Use char because int might match the return type of a GCC
10081 builtin and then its argument prototype would still apply. */
10094 rm -f conftest.$ac_objext conftest$ac_exeext
10095 if { (ac_try="$ac_link"
10096 case "(($ac_try" in
10097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10098 *) ac_try_echo=$ac_try;;
10100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10101 (eval "$ac_link") 2>conftest.er1
10103 grep -v '^ *+' conftest.er1 >conftest.err
10105 cat conftest.err >&5
10106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10109 { (case "(($ac_try" in
10110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10111 *) ac_try_echo=$ac_try;;
10113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10114 (eval "$ac_try") 2>&5
10116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10117 (exit $ac_status); }; } &&
10118 { ac_try='test -s conftest$ac_exeext'
10119 { (case "(($ac_try" in
10120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10121 *) ac_try_echo=$ac_try;;
10123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10124 (eval "$ac_try") 2>&5
10126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10127 (exit $ac_status); }; }; then
10128 ac_cv_lib_svld_dlopen=yes
10130 echo "$as_me: failed program was
:" >&5
10131 sed 's/^/| /' conftest.$ac_ext >&5
10133 ac_cv_lib_svld_dlopen=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 { echo "$as_me:$LINENO: result
: $ac_cv_lib_svld_dlopen" >&5
10141 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10142 if test $ac_cv_lib_svld_dlopen = yes; then
10144 cat >>confdefs.h <<\_ACEOF
10145 #define HAVE_LIBDL 1
10148 LIBADD_DL="-lsvld" libltdl_cv_func_dlopen="yes"
10150 { echo "$as_me:$LINENO: checking
for dld_link
in -ldld" >&5
10151 echo $ECHO_N "checking
for dld_link
in -ldld...
$ECHO_C" >&6; }
10152 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10153 echo $ECHO_N "(cached
) $ECHO_C" >&6
10155 ac_check_lib_save_LIBS=$LIBS
10157 cat >conftest.$ac_ext <<_ACEOF
10160 cat confdefs.h >>conftest.$ac_ext
10161 cat >>conftest.$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10174 return dld_link ();
10179 rm -f conftest.$ac_objext conftest$ac_exeext
10180 if { (ac_try="$ac_link"
10181 case "(($ac_try" in
10182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10183 *) ac_try_echo=$ac_try;;
10185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10186 (eval "$ac_link") 2>conftest.er1
10188 grep -v '^ *+' conftest.er1 >conftest.err
10190 cat conftest.err >&5
10191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10194 { (case "(($ac_try" in
10195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10196 *) ac_try_echo=$ac_try;;
10198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10199 (eval "$ac_try") 2>&5
10201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10202 (exit $ac_status); }; } &&
10203 { ac_try='test -s conftest$ac_exeext'
10204 { (case "(($ac_try" in
10205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10206 *) ac_try_echo=$ac_try;;
10208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10209 (eval "$ac_try") 2>&5
10211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10212 (exit $ac_status); }; }; then
10213 ac_cv_lib_dld_dld_link=yes
10215 echo "$as_me: failed program was
:" >&5
10216 sed 's/^/| /' conftest.$ac_ext >&5
10218 ac_cv_lib_dld_dld_link=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_lib_save_LIBS
10225 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dld_dld_link" >&5
10226 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10227 if test $ac_cv_lib_dld_dld_link = yes; then
10229 cat >>confdefs.h <<\_ACEOF
10233 LIBADD_DL="$LIBADD_DL -ldld"
10235 { echo "$as_me:$LINENO: checking
for _dyld_func_lookup
" >&5
10236 echo $ECHO_N "checking
for _dyld_func_lookup...
$ECHO_C" >&6; }
10237 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
10238 echo $ECHO_N "(cached
) $ECHO_C" >&6
10240 cat >conftest.$ac_ext <<_ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
10247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10248 #define _dyld_func_lookup innocuous__dyld_func_lookup
10250 /* System header to define __stub macros and hopefully few prototypes,
10251 which can conflict with char _dyld_func_lookup (); below.
10252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10253 <limits.h> exists even on freestanding compilers. */
10256 # include <limits.h>
10258 # include <assert.h>
10261 #undef _dyld_func_lookup
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10269 char _dyld_func_lookup ();
10270 /* The GNU C library defines this for functions which it implements
10271 to always fail with ENOSYS. Some functions are actually named
10272 something starting with __ and the normal name is an alias. */
10273 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
10280 return _dyld_func_lookup ();
10285 rm -f conftest.$ac_objext conftest$ac_exeext
10286 if { (ac_try="$ac_link"
10287 case "(($ac_try" in
10288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289 *) ac_try_echo=$ac_try;;
10291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10292 (eval "$ac_link") 2>conftest.er1
10294 grep -v '^ *+' conftest.er1 >conftest.err
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10298 (exit $ac_status); } &&
10299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10300 { (case "(($ac_try" in
10301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10302 *) ac_try_echo=$ac_try;;
10304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10305 (eval "$ac_try") 2>&5
10307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10308 (exit $ac_status); }; } &&
10309 { ac_try='test -s conftest$ac_exeext'
10310 { (case "(($ac_try" in
10311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10312 *) ac_try_echo=$ac_try;;
10314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10315 (eval "$ac_try") 2>&5
10317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10318 (exit $ac_status); }; }; then
10319 ac_cv_func__dyld_func_lookup=yes
10321 echo "$as_me: failed program was
:" >&5
10322 sed 's/^/| /' conftest.$ac_ext >&5
10324 ac_cv_func__dyld_func_lookup=no
10327 rm -f core conftest.err conftest.$ac_objext \
10328 conftest$ac_exeext conftest.$ac_ext
10330 { echo "$as_me:$LINENO: result
: $ac_cv_func__dyld_func_lookup" >&5
10331 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
10332 if test $ac_cv_func__dyld_func_lookup = yes; then
10334 cat >>confdefs.h <<\_ACEOF
10335 #define HAVE_DYLD 1
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10361 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
10363 lt_save_LIBS="$LIBS"
10364 LIBS="$LIBS $LIBADD_DL"
10366 for ac_func in dlerror
10368 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
10369 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
10370 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
10371 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
10372 echo $ECHO_N "(cached
) $ECHO_C" >&6
10374 cat >conftest.$ac_ext <<_ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10382 #define $ac_func innocuous_$ac_func
10384 /* System header to define __stub macros and hopefully few prototypes,
10385 which can conflict with char $ac_func (); below.
10386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10387 <limits.h> exists even on freestanding compilers. */
10390 # include <limits.h>
10392 # include <assert.h>
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10404 /* The GNU C library defines this for functions which it implements
10405 to always fail with ENOSYS. Some functions are actually named
10406 something starting with __ and the normal name is an alias. */
10407 #if defined __stub_$ac_func || defined __stub___$ac_func
10414 return $ac_func ();
10419 rm -f conftest.$ac_objext conftest$ac_exeext
10420 if { (ac_try="$ac_link"
10421 case "(($ac_try" in
10422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10423 *) ac_try_echo=$ac_try;;
10425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10426 (eval "$ac_link") 2>conftest.er1
10428 grep -v '^ *+' conftest.er1 >conftest.err
10430 cat conftest.err >&5
10431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10432 (exit $ac_status); } &&
10433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10434 { (case "(($ac_try" in
10435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10436 *) ac_try_echo=$ac_try;;
10438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10439 (eval "$ac_try") 2>&5
10441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10442 (exit $ac_status); }; } &&
10443 { ac_try='test -s conftest$ac_exeext'
10444 { (case "(($ac_try" in
10445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10446 *) ac_try_echo=$ac_try;;
10448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10449 (eval "$ac_try") 2>&5
10451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10452 (exit $ac_status); }; }; then
10453 eval "$as_ac_var=yes"
10455 echo "$as_me: failed program was
:" >&5
10456 sed 's/^/| /' conftest.$ac_ext >&5
10458 eval "$as_ac_var=no
"
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10464 ac_res=`eval echo '${'$as_ac_var'}'`
10465 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10466 echo "${ECHO_T}$ac_res" >&6; }
10467 if test `eval echo '${'$as_ac_var'}'` = yes; then
10468 cat >>confdefs.h <<_ACEOF
10469 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
10475 LIBS="$lt_save_LIBS"
10478 ac_cpp='$CPP $CPPFLAGS'
10479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10485 { echo "$as_me:$LINENO: checking
for _ prefix
in compiled symbols
" >&5
10486 echo $ECHO_N "checking
for _ prefix
in compiled symbols...
$ECHO_C" >&6; }
10487 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
10488 echo $ECHO_N "(cached
) $ECHO_C" >&6
10490 ac_cv_sys_symbol_underscore=no
10491 cat > conftest.$ac_ext <<EOF
10492 void nm_test_func(){}
10493 int main(){nm_test_func;return 0;}
10495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10496 (eval $ac_compile) 2>&5
10498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10499 (exit $ac_status); }; then
10500 # Now try to grab the symbols.
10501 ac_nlist=conftest.nm
10502 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist\"") >&5
10503 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
10505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10506 (exit $ac_status); } && test -s "$ac_nlist"; then
10507 # See whether the symbols have a leading underscore.
10508 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
10509 ac_cv_sys_symbol_underscore=yes
10511 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
10514 echo "configure
: cannot
find nm_test_func
in $ac_nlist" >&5
10518 echo "configure
: cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10521 echo "configure
: failed program was
:" >&5
10527 { echo "$as_me:$LINENO: result
: $ac_cv_sys_symbol_underscore" >&5
10528 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
10531 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
10532 if test x"$libltdl_cv_func_dlopen" = xyes ||
10533 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
10534 { echo "$as_me:$LINENO: checking whether we have to add an underscore
for dlsym
" >&5
10535 echo $ECHO_N "checking whether we have to add an underscore
for dlsym...
$ECHO_C" >&6; }
10536 if test "${libltdl_cv_need_uscore+set}" = set; then
10537 echo $ECHO_N "(cached
) $ECHO_C" >&6
10539 libltdl_cv_need_uscore=unknown
10541 LIBS="$LIBS $LIBADD_DL"
10542 if test "$cross_compiling" = yes; then :
10543 libltdl_cv_need_uscore=cross
10545 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10546 lt_status=$lt_dlunknown
10547 cat > conftest.$ac_ext <<EOF
10548 #line 10548 "configure
"
10549 #include "confdefs.h
"
10558 # define LT_DLGLOBAL RTLD_GLOBAL
10561 # define LT_DLGLOBAL DL_GLOBAL
10563 # define LT_DLGLOBAL 0
10567 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10568 find out it does not work in some platform. */
10569 #ifndef LT_DLLAZY_OR_NOW
10571 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10574 # define LT_DLLAZY_OR_NOW DL_LAZY
10577 # define LT_DLLAZY_OR_NOW RTLD_NOW
10580 # define LT_DLLAZY_OR_NOW DL_NOW
10582 # define LT_DLLAZY_OR_NOW 0
10590 extern "C
" void exit (int);
10593 void fnord() { int i=42;}
10596 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10597 int status = $lt_dlunknown;
10601 if (dlsym (self,"fnord
")) status = $lt_dlno_uscore;
10602 else if (dlsym( self,"_fnord
")) status = $lt_dlneed_uscore;
10603 /* dlclose (self); */
10611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10612 (eval $ac_link) 2>&5
10614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10615 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10616 (./conftest; exit; ) >&5 2>/dev/null
10618 case x$lt_status in
10619 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
10620 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
10621 x$lt_dlunknown|x*) ;;
10624 # compilation failed
10633 { echo "$as_me:$LINENO: result
: $libltdl_cv_need_uscore" >&5
10634 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
10638 if test x"$libltdl_cv_need_uscore" = xyes; then
10640 cat >>confdefs.h <<\_ACEOF
10641 #define NEED_USCORE 1
10647 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen
" >&5
10648 echo $ECHO_N "checking whether deplibs are loaded by dlopen...
$ECHO_C" >&6; }
10649 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
10650 echo $ECHO_N "(cached
) $ECHO_C" >&6
10652 # PORTME does your system automatically load deplibs for dlopen?
10653 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10654 # For now, we just catch OSes we know something about -- in the
10655 # future, we'll try test this programmatically.
10656 libltdl_cv_sys_dlopen_deplibs=unknown
10658 aix3*|aix4.1.*|aix4.2.*)
10659 # Unknown whether this is true for these versions of AIX, but
10660 # we want this `case' here to explicitly catch those versions.
10661 libltdl_cv_sys_dlopen_deplibs=unknown
10664 libltdl_cv_sys_dlopen_deplibs=yes
10667 # Assuming the user has installed a libdl from somewhere, this is true
10668 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10669 libltdl_cv_sys_dlopen_deplibs=yes
10671 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
10672 # GNU and its variants, using gnu ld.so (Glibc)
10673 libltdl_cv_sys_dlopen_deplibs=yes
10676 libltdl_cv_sys_dlopen_deplibs=yes
10679 libltdl_cv_sys_dlopen_deplibs=yes
10681 irix[12345]*|irix6.[01]*)
10682 # Catch all versions of IRIX before 6.2, and indicate that we don't
10683 # know how it worked for any of those versions.
10684 libltdl_cv_sys_dlopen_deplibs=unknown
10687 # The case above catches anything before 6.2, and it's known that
10688 # at 6.2 and later dlopen does load deplibs.
10689 libltdl_cv_sys_dlopen_deplibs=yes
10692 libltdl_cv_sys_dlopen_deplibs=yes
10695 libltdl_cv_sys_dlopen_deplibs=yes
10698 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10699 # it did *not* use an RPATH in a shared library to find objects the
10700 # library depends on, so we explictly say `no'.
10701 libltdl_cv_sys_dlopen_deplibs=no
10703 osf5.0|osf5.0a|osf5.1)
10704 # dlopen *does* load deplibs and with the right loader patch applied
10705 # it even uses RPATH in a shared library to search for shared objects
10706 # that the library depends on, but there's no easy way to know if that
10707 # patch is installed. Since this is the case, all we can really
10708 # say is unknown -- it depends on the patch being installed. If
10709 # it is, this changes to `yes'. Without it, it would be `no'.
10710 libltdl_cv_sys_dlopen_deplibs=unknown
10713 # the two cases above should catch all versions of osf <= 5.1. Read
10714 # the comments above for what we know about them.
10715 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10716 # is used to find them so we can finally say `yes'.
10717 libltdl_cv_sys_dlopen_deplibs=yes
10720 libltdl_cv_sys_dlopen_deplibs=yes
10722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10723 libltdl_cv_sys_dlopen_deplibs=yes
10728 { echo "$as_me:$LINENO: result
: $libltdl_cv_sys_dlopen_deplibs" >&5
10729 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
10730 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10732 cat >>confdefs.h <<\_ACEOF
10733 #define LTDL_DLOPEN_DEPLIBS 1
10739 for ac_header in argz.h
10741 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10742 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10743 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10744 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10745 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10746 echo $ECHO_N "(cached
) $ECHO_C" >&6
10748 ac_res=`eval echo '${'$as_ac_Header'}'`
10749 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10750 echo "${ECHO_T}$ac_res" >&6; }
10752 # Is the header compilable?
10753 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10754 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
10755 cat >conftest.$ac_ext <<_ACEOF
10758 cat confdefs.h >>conftest.$ac_ext
10759 cat >>conftest.$ac_ext <<_ACEOF
10760 /* end confdefs.h. */
10761 $ac_includes_default
10762 #include <$ac_header>
10764 rm -f conftest.$ac_objext
10765 if { (ac_try="$ac_compile"
10766 case "(($ac_try" in
10767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10768 *) ac_try_echo=$ac_try;;
10770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10771 (eval "$ac_compile") 2>conftest.er1
10773 grep -v '^ *+' conftest.er1 >conftest.err
10775 cat conftest.err >&5
10776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10779 { (case "(($ac_try" in
10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;;
10783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10784 (eval "$ac_try") 2>&5
10786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10787 (exit $ac_status); }; } &&
10788 { ac_try='test -s conftest.$ac_objext'
10789 { (case "(($ac_try" in
10790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10791 *) ac_try_echo=$ac_try;;
10793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10794 (eval "$ac_try") 2>&5
10796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 ac_header_compiler=yes
10800 echo "$as_me: failed program was
:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10803 ac_header_compiler=no
10806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10807 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10808 echo "${ECHO_T}$ac_header_compiler" >&6; }
10810 # Is the header present?
10811 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10812 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
10813 cat >conftest.$ac_ext <<_ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 #include <$ac_header>
10821 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10822 case "(($ac_try" in
10823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10824 *) ac_try_echo=$ac_try;;
10826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10827 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10829 grep -v '^ *+' conftest.er1 >conftest.err
10831 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10833 (exit $ac_status); } >/dev/null; then
10834 if test -s conftest.err; then
10835 ac_cpp_err=$ac_c_preproc_warn_flag
10836 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10843 if test -z "$ac_cpp_err"; then
10844 ac_header_preproc=yes
10846 echo "$as_me: failed program was
:" >&5
10847 sed 's/^/| /' conftest.$ac_ext >&5
10849 ac_header_preproc=no
10852 rm -f conftest.err conftest.$ac_ext
10853 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10854 echo "${ECHO_T}$ac_header_preproc" >&6; }
10856 # So? What about this header?
10857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10859 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10860 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10861 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10863 ac_header_preproc=yes
10866 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10867 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10868 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10869 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10870 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10871 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10872 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10873 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10874 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10876 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10877 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10879 ## ----------------------------------- ##
10880 ## Report this to llvmbugs@cs.uiuc.edu ##
10881 ## ----------------------------------- ##
10883 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
10886 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
10887 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
10888 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10889 echo $ECHO_N "(cached
) $ECHO_C" >&6
10891 eval "$as_ac_Header=\
$ac_header_preproc"
10893 ac_res=`eval echo '${'$as_ac_Header'}'`
10894 { echo "$as_me:$LINENO: result
: $ac_res" >&5
10895 echo "${ECHO_T}$ac_res" >&6; }
10898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10899 cat >>confdefs.h <<_ACEOF
10900 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10908 { echo "$as_me:$LINENO: checking
for error_t
" >&5
10909 echo $ECHO_N "checking
for error_t...
$ECHO_C" >&6; }
10910 if test "${ac_cv_type_error_t+set}" = set; then
10911 echo $ECHO_N "(cached
) $ECHO_C" >&6
10913 cat >conftest.$ac_ext <<_ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10923 typedef error_t ac__type_new_;
10927 if ((ac__type_new_ *) 0)
10929 if (sizeof (ac__type_new_))
10935 rm -f conftest.$ac_objext
10936 if { (ac_try="$ac_compile"
10937 case "(($ac_try" in
10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10939 *) ac_try_echo=$ac_try;;
10941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10942 (eval "$ac_compile") 2>conftest.er1
10944 grep -v '^ *+' conftest.er1 >conftest.err
10946 cat conftest.err >&5
10947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10948 (exit $ac_status); } &&
10949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10950 { (case "(($ac_try" in
10951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10952 *) ac_try_echo=$ac_try;;
10954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10955 (eval "$ac_try") 2>&5
10957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10958 (exit $ac_status); }; } &&
10959 { ac_try='test -s conftest.$ac_objext'
10960 { (case "(($ac_try" in
10961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10962 *) ac_try_echo=$ac_try;;
10964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_try") 2>&5
10967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10968 (exit $ac_status); }; }; then
10969 ac_cv_type_error_t=yes
10971 echo "$as_me: failed program was
:" >&5
10972 sed 's/^/| /' conftest.$ac_ext >&5
10974 ac_cv_type_error_t=no
10977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10979 { echo "$as_me:$LINENO: result
: $ac_cv_type_error_t" >&5
10980 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
10981 if test $ac_cv_type_error_t = yes; then
10983 cat >>confdefs.h <<_ACEOF
10984 #define HAVE_ERROR_T 1
10990 cat >>confdefs.h <<\_ACEOF
10991 #define error_t int
11002 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
11004 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11005 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11006 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11007 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11008 echo $ECHO_N "(cached
) $ECHO_C" >&6
11010 cat >conftest.$ac_ext <<_ACEOF
11013 cat confdefs.h >>conftest.$ac_ext
11014 cat >>conftest.$ac_ext <<_ACEOF
11015 /* end confdefs.h. */
11016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11018 #define $ac_func innocuous_$ac_func
11020 /* System header to define __stub macros and hopefully few prototypes,
11021 which can conflict with char $ac_func (); below.
11022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11023 <limits.h> exists even on freestanding compilers. */
11026 # include <limits.h>
11028 # include <assert.h>
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11040 /* The GNU C library defines this for functions which it implements
11041 to always fail with ENOSYS. Some functions are actually named
11042 something starting with __ and the normal name is an alias. */
11043 #if defined __stub_$ac_func || defined __stub___$ac_func
11050 return $ac_func ();
11055 rm -f conftest.$ac_objext conftest$ac_exeext
11056 if { (ac_try="$ac_link"
11057 case "(($ac_try" in
11058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11059 *) ac_try_echo=$ac_try;;
11061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11062 (eval "$ac_link") 2>conftest.er1
11064 grep -v '^ *+' conftest.er1 >conftest.err
11066 cat conftest.err >&5
11067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11070 { (case "(($ac_try" in
11071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11072 *) ac_try_echo=$ac_try;;
11074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11075 (eval "$ac_try") 2>&5
11077 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11078 (exit $ac_status); }; } &&
11079 { ac_try='test -s conftest$ac_exeext'
11080 { (case "(($ac_try" in
11081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11082 *) ac_try_echo=$ac_try;;
11084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11085 (eval "$ac_try") 2>&5
11087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 eval "$as_ac_var=yes"
11091 echo "$as_me: failed program was
:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11094 eval "$as_ac_var=no
"
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11100 ac_res=`eval echo '${'$as_ac_var'}'`
11101 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11102 echo "${ECHO_T}$ac_res" >&6; }
11103 if test `eval echo '${'$as_ac_var'}'` = yes; then
11104 cat >>confdefs.h <<_ACEOF
11105 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11138 for ac_header in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
11141 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11142 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11143 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11144 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11145 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11146 echo $ECHO_N "(cached
) $ECHO_C" >&6
11148 ac_res=`eval echo '${'$as_ac_Header'}'`
11149 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11150 echo "${ECHO_T}$ac_res" >&6; }
11152 # Is the header compilable?
11153 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11154 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11155 cat >conftest.$ac_ext <<_ACEOF
11158 cat confdefs.h >>conftest.$ac_ext
11159 cat >>conftest.$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11161 $ac_includes_default
11162 #include <$ac_header>
11164 rm -f conftest.$ac_objext
11165 if { (ac_try="$ac_compile"
11166 case "(($ac_try" in
11167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11168 *) ac_try_echo=$ac_try;;
11170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11171 (eval "$ac_compile") 2>conftest.er1
11173 grep -v '^ *+' conftest.er1 >conftest.err
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11177 (exit $ac_status); } &&
11178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11179 { (case "(($ac_try" in
11180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11181 *) ac_try_echo=$ac_try;;
11183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11184 (eval "$ac_try") 2>&5
11186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11187 (exit $ac_status); }; } &&
11188 { ac_try='test -s conftest.$ac_objext'
11189 { (case "(($ac_try" in
11190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11191 *) ac_try_echo=$ac_try;;
11193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11194 (eval "$ac_try") 2>&5
11196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11197 (exit $ac_status); }; }; then
11198 ac_header_compiler=yes
11200 echo "$as_me: failed program was
:" >&5
11201 sed 's/^/| /' conftest.$ac_ext >&5
11203 ac_header_compiler=no
11206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11207 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11208 echo "${ECHO_T}$ac_header_compiler" >&6; }
11210 # Is the header present?
11211 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11212 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11213 cat >conftest.$ac_ext <<_ACEOF
11216 cat confdefs.h >>conftest.$ac_ext
11217 cat >>conftest.$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219 #include <$ac_header>
11221 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11222 case "(($ac_try" in
11223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11224 *) ac_try_echo=$ac_try;;
11226 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11227 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11229 grep -v '^ *+' conftest.er1 >conftest.err
11231 cat conftest.err >&5
11232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11233 (exit $ac_status); } >/dev/null; then
11234 if test -s conftest.err; then
11235 ac_cpp_err=$ac_c_preproc_warn_flag
11236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11243 if test -z "$ac_cpp_err"; then
11244 ac_header_preproc=yes
11246 echo "$as_me: failed program was
:" >&5
11247 sed 's/^/| /' conftest.$ac_ext >&5
11249 ac_header_preproc=no
11252 rm -f conftest.err conftest.$ac_ext
11253 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11254 echo "${ECHO_T}$ac_header_preproc" >&6; }
11256 # So? What about this header?
11257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11259 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11260 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11261 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11263 ac_header_preproc=yes
11266 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11267 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11268 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11269 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11270 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11271 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11272 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11273 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11274 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11276 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11277 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11279 ## ----------------------------------- ##
11280 ## Report this to llvmbugs@cs.uiuc.edu ##
11281 ## ----------------------------------- ##
11283 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11286 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11287 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11288 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11289 echo $ECHO_N "(cached
) $ECHO_C" >&6
11291 eval "$as_ac_Header=\
$ac_header_preproc"
11293 ac_res=`eval echo '${'$as_ac_Header'}'`
11294 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11295 echo "${ECHO_T}$ac_res" >&6; }
11298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11299 cat >>confdefs.h <<_ACEOF
11300 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11311 for ac_header in dl.h sys/dl.h dld.h mach-o/dyld.h
11313 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11314 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11315 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11316 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11317 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11318 echo $ECHO_N "(cached
) $ECHO_C" >&6
11320 ac_res=`eval echo '${'$as_ac_Header'}'`
11321 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11322 echo "${ECHO_T}$ac_res" >&6; }
11324 # Is the header compilable?
11325 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11326 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11327 cat >conftest.$ac_ext <<_ACEOF
11330 cat confdefs.h >>conftest.$ac_ext
11331 cat >>conftest.$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11333 $ac_includes_default
11334 #include <$ac_header>
11336 rm -f conftest.$ac_objext
11337 if { (ac_try="$ac_compile"
11338 case "(($ac_try" in
11339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11340 *) ac_try_echo=$ac_try;;
11342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11343 (eval "$ac_compile") 2>conftest.er1
11345 grep -v '^ *+' conftest.er1 >conftest.err
11347 cat conftest.err >&5
11348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11349 (exit $ac_status); } &&
11350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11351 { (case "(($ac_try" in
11352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11353 *) ac_try_echo=$ac_try;;
11355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_try") 2>&5
11358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11359 (exit $ac_status); }; } &&
11360 { ac_try='test -s conftest.$ac_objext'
11361 { (case "(($ac_try" in
11362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11363 *) ac_try_echo=$ac_try;;
11365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11366 (eval "$ac_try") 2>&5
11368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11369 (exit $ac_status); }; }; then
11370 ac_header_compiler=yes
11372 echo "$as_me: failed program was
:" >&5
11373 sed 's/^/| /' conftest.$ac_ext >&5
11375 ac_header_compiler=no
11378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11379 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11380 echo "${ECHO_T}$ac_header_compiler" >&6; }
11382 # Is the header present?
11383 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11384 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11385 cat >conftest.$ac_ext <<_ACEOF
11388 cat confdefs.h >>conftest.$ac_ext
11389 cat >>conftest.$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 #include <$ac_header>
11393 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11394 case "(($ac_try" in
11395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11396 *) ac_try_echo=$ac_try;;
11398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11399 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11401 grep -v '^ *+' conftest.er1 >conftest.err
11403 cat conftest.err >&5
11404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11405 (exit $ac_status); } >/dev/null; then
11406 if test -s conftest.err; then
11407 ac_cpp_err=$ac_c_preproc_warn_flag
11408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11415 if test -z "$ac_cpp_err"; then
11416 ac_header_preproc=yes
11418 echo "$as_me: failed program was
:" >&5
11419 sed 's/^/| /' conftest.$ac_ext >&5
11421 ac_header_preproc=no
11424 rm -f conftest.err conftest.$ac_ext
11425 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11426 echo "${ECHO_T}$ac_header_preproc" >&6; }
11428 # So? What about this header?
11429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11431 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11432 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11433 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11435 ac_header_preproc=yes
11438 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11439 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11440 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11441 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11442 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11443 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11444 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11445 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11446 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11448 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11449 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11451 ## ----------------------------------- ##
11452 ## Report this to llvmbugs@cs.uiuc.edu ##
11453 ## ----------------------------------- ##
11455 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11458 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11459 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11460 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11461 echo $ECHO_N "(cached
) $ECHO_C" >&6
11463 eval "$as_ac_Header=\
$ac_header_preproc"
11465 ac_res=`eval echo '${'$as_ac_Header'}'`
11466 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11467 echo "${ECHO_T}$ac_res" >&6; }
11470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11471 cat >>confdefs.h <<_ACEOF
11472 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11481 for ac_header in string.h strings.h
11483 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11484 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11485 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11486 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11487 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11488 echo $ECHO_N "(cached
) $ECHO_C" >&6
11490 ac_res=`eval echo '${'$as_ac_Header'}'`
11491 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11492 echo "${ECHO_T}$ac_res" >&6; }
11494 # Is the header compilable?
11495 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11496 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11497 cat >conftest.$ac_ext <<_ACEOF
11500 cat confdefs.h >>conftest.$ac_ext
11501 cat >>conftest.$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11503 $ac_includes_default
11504 #include <$ac_header>
11506 rm -f conftest.$ac_objext
11507 if { (ac_try="$ac_compile"
11508 case "(($ac_try" in
11509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11510 *) ac_try_echo=$ac_try;;
11512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11513 (eval "$ac_compile") 2>conftest.er1
11515 grep -v '^ *+' conftest.er1 >conftest.err
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11519 (exit $ac_status); } &&
11520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11521 { (case "(($ac_try" in
11522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523 *) ac_try_echo=$ac_try;;
11525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11526 (eval "$ac_try") 2>&5
11528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11529 (exit $ac_status); }; } &&
11530 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
11538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11539 (exit $ac_status); }; }; then
11540 ac_header_compiler=yes
11542 echo "$as_me: failed program was
:" >&5
11543 sed 's/^/| /' conftest.$ac_ext >&5
11545 ac_header_compiler=no
11548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11549 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11550 echo "${ECHO_T}$ac_header_compiler" >&6; }
11552 # Is the header present?
11553 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11554 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11555 cat >conftest.$ac_ext <<_ACEOF
11558 cat confdefs.h >>conftest.$ac_ext
11559 cat >>conftest.$ac_ext <<_ACEOF
11560 /* end confdefs.h. */
11561 #include <$ac_header>
11563 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11564 case "(($ac_try" in
11565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11566 *) ac_try_echo=$ac_try;;
11568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11569 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11571 grep -v '^ *+' conftest.er1 >conftest.err
11573 cat conftest.err >&5
11574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11575 (exit $ac_status); } >/dev/null; then
11576 if test -s conftest.err; then
11577 ac_cpp_err=$ac_c_preproc_warn_flag
11578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11585 if test -z "$ac_cpp_err"; then
11586 ac_header_preproc=yes
11588 echo "$as_me: failed program was
:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11591 ac_header_preproc=no
11594 rm -f conftest.err conftest.$ac_ext
11595 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11596 echo "${ECHO_T}$ac_header_preproc" >&6; }
11598 # So? What about this header?
11599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11601 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11602 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11603 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11605 ac_header_preproc=yes
11608 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11609 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11610 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11611 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11612 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11613 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11614 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11615 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11616 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11618 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11619 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11621 ## ----------------------------------- ##
11622 ## Report this to llvmbugs@cs.uiuc.edu ##
11623 ## ----------------------------------- ##
11625 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
11628 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11629 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11630 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11631 echo $ECHO_N "(cached
) $ECHO_C" >&6
11633 eval "$as_ac_Header=\
$ac_header_preproc"
11635 ac_res=`eval echo '${'$as_ac_Header'}'`
11636 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11637 echo "${ECHO_T}$ac_res" >&6; }
11640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11641 cat >>confdefs.h <<_ACEOF
11642 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11652 for ac_func in strchr index
11654 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11655 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11656 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11657 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11658 echo $ECHO_N "(cached
) $ECHO_C" >&6
11660 cat >conftest.$ac_ext <<_ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11668 #define $ac_func innocuous_$ac_func
11670 /* System header to define __stub macros and hopefully few prototypes,
11671 which can conflict with char $ac_func (); below.
11672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11673 <limits.h> exists even on freestanding compilers. */
11676 # include <limits.h>
11678 # include <assert.h>
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11690 /* The GNU C library defines this for functions which it implements
11691 to always fail with ENOSYS. Some functions are actually named
11692 something starting with __ and the normal name is an alias. */
11693 #if defined __stub_$ac_func || defined __stub___$ac_func
11700 return $ac_func ();
11705 rm -f conftest.$ac_objext conftest$ac_exeext
11706 if { (ac_try="$ac_link"
11707 case "(($ac_try" in
11708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11709 *) ac_try_echo=$ac_try;;
11711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11712 (eval "$ac_link") 2>conftest.er1
11714 grep -v '^ *+' conftest.er1 >conftest.err
11716 cat conftest.err >&5
11717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11720 { (case "(($ac_try" in
11721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11722 *) ac_try_echo=$ac_try;;
11724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11725 (eval "$ac_try") 2>&5
11727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11728 (exit $ac_status); }; } &&
11729 { ac_try='test -s conftest$ac_exeext'
11730 { (case "(($ac_try" in
11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 *) ac_try_echo=$ac_try;;
11734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11735 (eval "$ac_try") 2>&5
11737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11738 (exit $ac_status); }; }; then
11739 eval "$as_ac_var=yes"
11741 echo "$as_me: failed program was
:" >&5
11742 sed 's/^/| /' conftest.$ac_ext >&5
11744 eval "$as_ac_var=no
"
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11750 ac_res=`eval echo '${'$as_ac_var'}'`
11751 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11752 echo "${ECHO_T}$ac_res" >&6; }
11753 if test `eval echo '${'$as_ac_var'}'` = yes; then
11754 cat >>confdefs.h <<_ACEOF
11755 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11763 for ac_func in strrchr rindex
11765 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11766 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11767 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11768 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11769 echo $ECHO_N "(cached
) $ECHO_C" >&6
11771 cat >conftest.$ac_ext <<_ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11779 #define $ac_func innocuous_$ac_func
11781 /* System header to define __stub macros and hopefully few prototypes,
11782 which can conflict with char $ac_func (); below.
11783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11784 <limits.h> exists even on freestanding compilers. */
11787 # include <limits.h>
11789 # include <assert.h>
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11801 /* The GNU C library defines this for functions which it implements
11802 to always fail with ENOSYS. Some functions are actually named
11803 something starting with __ and the normal name is an alias. */
11804 #if defined __stub_$ac_func || defined __stub___$ac_func
11811 return $ac_func ();
11816 rm -f conftest.$ac_objext conftest$ac_exeext
11817 if { (ac_try="$ac_link"
11818 case "(($ac_try" in
11819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11820 *) ac_try_echo=$ac_try;;
11822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11823 (eval "$ac_link") 2>conftest.er1
11825 grep -v '^ *+' conftest.er1 >conftest.err
11827 cat conftest.err >&5
11828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11831 { (case "(($ac_try" in
11832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11833 *) ac_try_echo=$ac_try;;
11835 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11836 (eval "$ac_try") 2>&5
11838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11839 (exit $ac_status); }; } &&
11840 { ac_try='test -s conftest$ac_exeext'
11841 { (case "(($ac_try" in
11842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11843 *) ac_try_echo=$ac_try;;
11845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11846 (eval "$ac_try") 2>&5
11848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11849 (exit $ac_status); }; }; then
11850 eval "$as_ac_var=yes"
11852 echo "$as_me: failed program was
:" >&5
11853 sed 's/^/| /' conftest.$ac_ext >&5
11855 eval "$as_ac_var=no
"
11858 rm -f core conftest.err conftest.$ac_objext \
11859 conftest$ac_exeext conftest.$ac_ext
11861 ac_res=`eval echo '${'$as_ac_var'}'`
11862 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11863 echo "${ECHO_T}$ac_res" >&6; }
11864 if test `eval echo '${'$as_ac_var'}'` = yes; then
11865 cat >>confdefs.h <<_ACEOF
11866 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11874 for ac_func in memcpy bcopy
11876 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11877 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11878 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11879 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11880 echo $ECHO_N "(cached
) $ECHO_C" >&6
11882 cat >conftest.$ac_ext <<_ACEOF
11885 cat confdefs.h >>conftest.$ac_ext
11886 cat >>conftest.$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11890 #define $ac_func innocuous_$ac_func
11892 /* System header to define __stub macros and hopefully few prototypes,
11893 which can conflict with char $ac_func (); below.
11894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11895 <limits.h> exists even on freestanding compilers. */
11898 # include <limits.h>
11900 # include <assert.h>
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11912 /* The GNU C library defines this for functions which it implements
11913 to always fail with ENOSYS. Some functions are actually named
11914 something starting with __ and the normal name is an alias. */
11915 #if defined __stub_$ac_func || defined __stub___$ac_func
11922 return $ac_func ();
11927 rm -f conftest.$ac_objext conftest$ac_exeext
11928 if { (ac_try="$ac_link"
11929 case "(($ac_try" in
11930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11931 *) ac_try_echo=$ac_try;;
11933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11934 (eval "$ac_link") 2>conftest.er1
11936 grep -v '^ *+' conftest.er1 >conftest.err
11938 cat conftest.err >&5
11939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11942 { (case "(($ac_try" in
11943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_try") 2>&5
11949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try='test -s conftest$ac_exeext'
11952 { (case "(($ac_try" in
11953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11954 *) ac_try_echo=$ac_try;;
11956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11957 (eval "$ac_try") 2>&5
11959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 eval "$as_ac_var=yes"
11963 echo "$as_me: failed program was
:" >&5
11964 sed 's/^/| /' conftest.$ac_ext >&5
11966 eval "$as_ac_var=no
"
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11972 ac_res=`eval echo '${'$as_ac_var'}'`
11973 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11974 echo "${ECHO_T}$ac_res" >&6; }
11975 if test `eval echo '${'$as_ac_var'}'` = yes; then
11976 cat >>confdefs.h <<_ACEOF
11977 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11985 for ac_func in memmove strcmp
11987 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11988 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11989 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11990 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11991 echo $ECHO_N "(cached
) $ECHO_C" >&6
11993 cat >conftest.$ac_ext <<_ACEOF
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12001 #define $ac_func innocuous_$ac_func
12003 /* System header to define __stub macros and hopefully few prototypes,
12004 which can conflict with char $ac_func (); below.
12005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12006 <limits.h> exists even on freestanding compilers. */
12009 # include <limits.h>
12011 # include <assert.h>
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12023 /* The GNU C library defines this for functions which it implements
12024 to always fail with ENOSYS. Some functions are actually named
12025 something starting with __ and the normal name is an alias. */
12026 #if defined __stub_$ac_func || defined __stub___$ac_func
12033 return $ac_func ();
12038 rm -f conftest.$ac_objext conftest$ac_exeext
12039 if { (ac_try="$ac_link"
12040 case "(($ac_try" in
12041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12042 *) ac_try_echo=$ac_try;;
12044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12045 (eval "$ac_link") 2>conftest.er1
12047 grep -v '^ *+' conftest.er1 >conftest.err
12049 cat conftest.err >&5
12050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12051 (exit $ac_status); } &&
12052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12053 { (case "(($ac_try" in
12054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12055 *) ac_try_echo=$ac_try;;
12057 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12058 (eval "$ac_try") 2>&5
12060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12061 (exit $ac_status); }; } &&
12062 { ac_try='test -s conftest$ac_exeext'
12063 { (case "(($ac_try" in
12064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065 *) ac_try_echo=$ac_try;;
12067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12068 (eval "$ac_try") 2>&5
12070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12071 (exit $ac_status); }; }; then
12072 eval "$as_ac_var=yes"
12074 echo "$as_me: failed program was
:" >&5
12075 sed 's/^/| /' conftest.$ac_ext >&5
12077 eval "$as_ac_var=no
"
12080 rm -f core conftest.err conftest.$ac_objext \
12081 conftest$ac_exeext conftest.$ac_ext
12083 ac_res=`eval echo '${'$as_ac_var'}'`
12084 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12085 echo "${ECHO_T}$ac_res" >&6; }
12086 if test `eval echo '${'$as_ac_var'}'` = yes; then
12087 cat >>confdefs.h <<_ACEOF
12088 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12097 for ac_func in closedir opendir readdir
12099 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12100 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12101 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12102 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12103 echo $ECHO_N "(cached
) $ECHO_C" >&6
12105 cat >conftest.$ac_ext <<_ACEOF
12108 cat confdefs.h >>conftest.$ac_ext
12109 cat >>conftest.$ac_ext <<_ACEOF
12110 /* end confdefs.h. */
12111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12113 #define $ac_func innocuous_$ac_func
12115 /* System header to define __stub macros and hopefully few prototypes,
12116 which can conflict with char $ac_func (); below.
12117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12118 <limits.h> exists even on freestanding compilers. */
12121 # include <limits.h>
12123 # include <assert.h>
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12135 /* The GNU C library defines this for functions which it implements
12136 to always fail with ENOSYS. Some functions are actually named
12137 something starting with __ and the normal name is an alias. */
12138 #if defined __stub_$ac_func || defined __stub___$ac_func
12145 return $ac_func ();
12150 rm -f conftest.$ac_objext conftest$ac_exeext
12151 if { (ac_try="$ac_link"
12152 case "(($ac_try" in
12153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12154 *) ac_try_echo=$ac_try;;
12156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12157 (eval "$ac_link") 2>conftest.er1
12159 grep -v '^ *+' conftest.er1 >conftest.err
12161 cat conftest.err >&5
12162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12163 (exit $ac_status); } &&
12164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12165 { (case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_try") 2>&5
12172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12173 (exit $ac_status); }; } &&
12174 { ac_try='test -s conftest$ac_exeext'
12175 { (case "(($ac_try" in
12176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12177 *) ac_try_echo=$ac_try;;
12179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12180 (eval "$ac_try") 2>&5
12182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12183 (exit $ac_status); }; }; then
12184 eval "$as_ac_var=yes"
12186 echo "$as_me: failed program was
:" >&5
12187 sed 's/^/| /' conftest.$ac_ext >&5
12189 eval "$as_ac_var=no
"
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12195 ac_res=`eval echo '${'$as_ac_var'}'`
12196 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12197 echo "${ECHO_T}$ac_res" >&6; }
12198 if test `eval echo '${'$as_ac_var'}'` = yes; then
12199 cat >>confdefs.h <<_ACEOF
12200 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12207 # Check whether --enable-shared was given.
12208 if test "${enable_shared+set}" = set; then
12209 enableval=$enable_shared; p=${PACKAGE-default}
12211 yes) enable_shared=yes ;;
12212 no) enable_shared=no ;;
12215 # Look at the argument we got. We use all the common list separators.
12216 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12217 for pkg in $enableval; do
12219 if test "X
$pkg" = "X
$p"; then
12231 # Check whether --enable-static was given.
12232 if test "${enable_static+set}" = set; then
12233 enableval=$enable_static; p=${PACKAGE-default}
12235 yes) enable_static=yes ;;
12236 no) enable_static=no ;;
12239 # Look at the argument we got. We use all the common list separators.
12240 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12241 for pkg in $enableval; do
12243 if test "X
$pkg" = "X
$p"; then
12255 # Check whether --enable-fast-install was given.
12256 if test "${enable_fast_install+set}" = set; then
12257 enableval=$enable_fast_install; p=${PACKAGE-default}
12259 yes) enable_fast_install=yes ;;
12260 no) enable_fast_install=no ;;
12262 enable_fast_install=no
12263 # Look at the argument we got. We use all the common list separators.
12264 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12265 for pkg in $enableval; do
12267 if test "X
$pkg" = "X
$p"; then
12268 enable_fast_install=yes
12275 enable_fast_install=yes
12279 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
12280 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
12281 if test "${lt_cv_path_SED+set}" = set; then
12282 echo $ECHO_N "(cached
) $ECHO_C" >&6
12284 # Loop through the user's path and test for sed and gsed.
12285 # Then use that list of sed's as ones to test for truncation.
12286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12287 for as_dir in $PATH
12290 test -z "$as_dir" && as_dir=.
12291 for lt_ac_prog in sed gsed; do
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12294 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12301 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12302 # along with /bin/sed that truncates output.
12303 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12304 test ! -f $lt_ac_sed && continue
12305 cat /dev/null > conftest.in
12307 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12308 # Check for GNU sed and select it if it is found.
12309 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12310 lt_cv_path_SED=$lt_ac_sed
12314 cat conftest.in conftest.in >conftest.tmp
12315 mv conftest.tmp conftest.in
12316 cp conftest.in conftest.nl
12318 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12319 cmp -s conftest.out conftest.nl || break
12320 # 10000 chars as input seems more than enough
12321 test $lt_ac_count -gt 10 && break
12322 lt_ac_count=`expr $lt_ac_count + 1`
12323 if test $lt_ac_count -gt $lt_ac_max; then
12324 lt_ac_max=$lt_ac_count
12325 lt_cv_path_SED=$lt_ac_sed
12332 SED=$lt_cv_path_SED
12333 { echo "$as_me:$LINENO: result
: $SED" >&5
12334 echo "${ECHO_T}$SED" >&6; }
12337 # Check whether --with-gnu-ld was given.
12338 if test "${with_gnu_ld+set}" = set; then
12339 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12345 if test "$GCC" = yes; then
12346 # Check if gcc -print-prog-name=ld gives a path.
12347 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
12348 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
12351 # gcc leaves a trailing carriage return which upsets mingw
12352 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12354 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12357 # Accept absolute paths.
12359 re_direlt='/[^/][^/]*/\.\./'
12360 # Canonicalize the pathname of ld
12361 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12362 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12363 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
12365 test -z "$LD" && LD="$ac_prog"
12368 # If it fails, then pretend we aren't using GCC.
12372 # If it is relative, then search for the first ld in PATH.
12373 with_gnu_ld=unknown
12376 elif test "$with_gnu_ld" = yes; then
12377 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
12378 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
12380 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
12381 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
12383 if test "${lt_cv_path_LD+set}" = set; then
12384 echo $ECHO_N "(cached
) $ECHO_C" >&6
12386 if test -z "$LD"; then
12387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12388 for ac_dir in $PATH; do
12390 test -z "$ac_dir" && ac_dir=.
12391 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12392 lt_cv_path_LD="$ac_dir/$ac_prog"
12393 # Check to see if the program is GNU ld. I'd rather use --version,
12394 # but apparently some variants of GNU ld only accept -v.
12395 # Break only if it was the GNU/non-GNU ld that we prefer.
12396 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12397 *GNU* | *'with BFD'*)
12398 test "$with_gnu_ld" != no && break
12401 test "$with_gnu_ld" != yes && break
12408 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12412 LD="$lt_cv_path_LD"
12413 if test -n "$LD"; then
12414 { echo "$as_me:$LINENO: result
: $LD" >&5
12415 echo "${ECHO_T}$LD" >&6; }
12417 { echo "$as_me:$LINENO: result
: no
" >&5
12418 echo "${ECHO_T}no
" >&6; }
12420 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
12421 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
12422 { (exit 1); exit 1; }; }
12423 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
12424 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
12425 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12426 echo $ECHO_N "(cached
) $ECHO_C" >&6
12428 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12429 case `$LD -v 2>&1 </dev/null` in
12430 *GNU* | *'with BFD'*)
12431 lt_cv_prog_gnu_ld=yes
12434 lt_cv_prog_gnu_ld=no
12438 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
12439 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12440 with_gnu_ld=$lt_cv_prog_gnu_ld
12443 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12444 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
12445 if test "${lt_cv_ld_reload_flag+set}" = set; then
12446 echo $ECHO_N "(cached
) $ECHO_C" >&6
12448 lt_cv_ld_reload_flag='-r'
12450 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12451 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12452 reload_flag=$lt_cv_ld_reload_flag
12453 case $reload_flag in
12455 *) reload_flag=" $reload_flag" ;;
12457 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12460 if test "$GCC" = yes; then
12461 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
12463 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12468 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
12469 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
12470 if test "${lt_cv_deplibs_check_method+set}" = set; then
12471 echo $ECHO_N "(cached
) $ECHO_C" >&6
12473 lt_cv_file_magic_cmd='$MAGIC_CMD'
12474 lt_cv_file_magic_test_file=
12475 lt_cv_deplibs_check_method='unknown'
12476 # Need to set the preceding variable on all platforms that support
12477 # interlibrary dependencies.
12478 # 'none' -- dependencies not supported.
12479 # `unknown' -- same as none, but documents that we really don't know.
12480 # 'pass_all' -- all dependencies passed with no checks.
12481 # 'test_compile' -- check by making test program.
12482 # 'file_magic [[regex]]' -- check by looking for files in library path
12483 # which responds to the $file_magic_cmd with a given extended regex.
12484 # If you have `file' or equivalent on your system and you're not sure
12485 # whether `pass_all' will *always* work, you probably want this one.
12489 lt_cv_deplibs_check_method=pass_all
12493 lt_cv_deplibs_check_method=pass_all
12497 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12498 lt_cv_file_magic_cmd='/usr/bin/file -L'
12499 lt_cv_file_magic_test_file=/shlib/libc.so
12503 # func_win32_libid is a shell function defined in ltmain.sh
12504 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12505 lt_cv_file_magic_cmd='func_win32_libid'
12509 # Base MSYS/MinGW do not provide the 'file' command needed by
12510 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12511 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12512 lt_cv_file_magic_cmd='$OBJDUMP -f'
12515 darwin* | rhapsody*)
12516 lt_cv_deplibs_check_method=pass_all
12519 freebsd* | kfreebsd*-gnu | dragonfly*)
12520 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12523 # Not sure whether the presence of OpenBSD here was a mistake.
12524 # Let's accept both of them until this is cleared up.
12525 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12526 lt_cv_file_magic_cmd=/usr/bin/file
12527 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12531 lt_cv_deplibs_check_method=pass_all
12536 lt_cv_deplibs_check_method=pass_all
12539 hpux10.20* | hpux11*)
12540 lt_cv_file_magic_cmd=/usr/bin/file
12543 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12544 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12547 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]'
12548 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12551 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12552 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12558 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12562 irix5* | irix6* | nonstopux*)
12564 *-32|*"-32 ") libmagic=32-bit;;
12565 *-n32|*"-n32 ") libmagic=N32;;
12566 *-64|*"-64 ") libmagic=64-bit;;
12567 *) libmagic=never-match;;
12569 lt_cv_deplibs_check_method=pass_all
12572 # This must be Linux ELF.
12574 lt_cv_deplibs_check_method=pass_all
12578 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12581 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12587 lt_cv_file_magic_cmd=/usr/bin/file
12588 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12592 lt_cv_deplibs_check_method=unknown
12596 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12603 osf3* | osf4* | osf5*)
12604 lt_cv_deplibs_check_method=pass_all
12608 lt_cv_deplibs_check_method=pass_all
12612 case $host_vendor in
12614 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]'
12615 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12618 lt_cv_deplibs_check_method=pass_all
12621 lt_cv_file_magic_cmd='/bin/file'
12622 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12625 lt_cv_file_magic_cmd='/bin/file'
12626 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12627 lt_cv_file_magic_test_file=/lib/libc.so
12630 lt_cv_deplibs_check_method=pass_all
12633 lt_cv_deplibs_check_method=pass_all
12638 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12639 lt_cv_deplibs_check_method=pass_all
12644 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12645 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12646 file_magic_cmd=$lt_cv_file_magic_cmd
12647 deplibs_check_method=$lt_cv_deplibs_check_method
12648 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12652 # If no C compiler was specified, use CC.
12655 # If no C compiler flags were specified, use CFLAGS.
12656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12658 # Allow CC to be a program name with arguments.
12661 # Check whether --enable-libtool-lock was given.
12662 if test "${enable_libtool_lock+set}" = set; then
12663 enableval=$enable_libtool_lock;
12666 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12668 # Some flags need to be propagated to the compiler or linker for good
12672 # Find out which ABI we are using.
12673 echo 'int i;' > conftest.$ac_ext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12675 (eval $ac_compile) 2>&5
12677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12678 (exit $ac_status); }; then
12679 case `/usr/bin/file conftest.$ac_objext` in
12681 HPUX_IA64_MODE="32"
12684 HPUX_IA64_MODE="64"
12691 # Find out which ABI we are using.
12692 echo '#line 12692 "configure
"' > conftest.$ac_ext
12693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12694 (eval $ac_compile) 2>&5
12696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12697 (exit $ac_status); }; then
12698 if test "$lt_cv_prog_gnu_ld" = yes; then
12699 case `/usr/bin/file conftest.$ac_objext` in
12701 LD="${LD-ld} -melf32bsmip"
12704 LD="${LD-ld} -melf32bmipn32"
12707 LD="${LD-ld} -melf64bmip"
12711 case `/usr/bin/file conftest.$ac_objext` in
12727 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12728 # Find out which ABI we are using.
12729 echo 'int i;' > conftest.$ac_ext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12731 (eval $ac_compile) 2>&5
12733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12734 (exit $ac_status); }; then
12735 case `/usr/bin/file conftest.o` in
12739 LD="${LD-ld} -m elf_i386
"
12741 ppc64-*linux*|powerpc64-*linux*)
12742 LD="${LD-ld} -m elf32ppclinux
"
12745 LD="${LD-ld} -m elf_s390
"
12748 LD="${LD-ld} -m elf32_sparc
"
12755 LD="${LD-ld} -m elf_x86_64
"
12757 ppc*-*linux*|powerpc*-*linux*)
12758 LD="${LD-ld} -m elf64ppc
"
12761 LD="${LD-ld} -m elf64_s390
"
12764 LD="${LD-ld} -m elf64_sparc
"
12774 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12775 SAVE_CFLAGS="$CFLAGS"
12776 CFLAGS="$CFLAGS -belf"
12777 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
12778 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
12779 if test "${lt_cv_cc_needs_belf+set}" = set; then
12780 echo $ECHO_N "(cached
) $ECHO_C" >&6
12783 ac_cpp='$CPP $CPPFLAGS'
12784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12788 cat >conftest.$ac_ext <<_ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12803 rm -f conftest.$ac_objext conftest$ac_exeext
12804 if { (ac_try="$ac_link"
12805 case "(($ac_try" in
12806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12807 *) ac_try_echo=$ac_try;;
12809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12810 (eval "$ac_link") 2>conftest.er1
12812 grep -v '^ *+' conftest.er1 >conftest.err
12814 cat conftest.err >&5
12815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12818 { (case "(($ac_try" in
12819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820 *) ac_try_echo=$ac_try;;
12822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12823 (eval "$ac_try") 2>&5
12825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12826 (exit $ac_status); }; } &&
12827 { ac_try='test -s conftest$ac_exeext'
12828 { (case "(($ac_try" in
12829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12830 *) ac_try_echo=$ac_try;;
12832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12833 (eval "$ac_try") 2>&5
12835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12836 (exit $ac_status); }; }; then
12837 lt_cv_cc_needs_belf=yes
12839 echo "$as_me: failed program was
:" >&5
12840 sed 's/^/| /' conftest.$ac_ext >&5
12842 lt_cv_cc_needs_belf=no
12845 rm -f core conftest.err conftest.$ac_objext \
12846 conftest$ac_exeext conftest.$ac_ext
12848 ac_cpp='$CPP $CPPFLAGS'
12849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12854 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
12855 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12856 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12857 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12858 CFLAGS="$SAVE_CFLAGS"
12862 # Find out which ABI we are using.
12863 echo 'int i;' > conftest.$ac_ext
12864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12865 (eval $ac_compile) 2>&5
12867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12868 (exit $ac_status); }; then
12869 case `/usr/bin/file conftest.o` in
12871 case $lt_cv_prog_gnu_ld in
12872 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
12873 *) LD="${LD-ld} -64" ;;
12884 need_locks="$enable_libtool_lock"
12889 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
12890 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
12891 (test "X
$CXX" != "Xg
++"))) ; then
12893 ac_cpp='$CXXCPP $CPPFLAGS'
12894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12897 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
12898 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
12899 if test -z "$CXXCPP"; then
12900 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12901 echo $ECHO_N "(cached
) $ECHO_C" >&6
12903 # Double quotes because CXXCPP needs to be expanded
12904 for CXXCPP in "$CXX -E" "/lib
/cpp
"
12906 ac_preproc_ok=false
12907 for ac_cxx_preproc_warn_flag in '' yes
12909 # Use a header file that comes with gcc, so configuring glibc
12910 # with a fresh cross-compiler works.
12911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12912 # <limits.h> exists even on freestanding compilers.
12913 # On the NeXT, cc -E runs the code through the compiler's parser,
12914 # not just through cpp. "Syntax error
" is here to catch this case.
12915 cat >conftest.$ac_ext <<_ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12922 # include <limits.h>
12924 # include <assert.h>
12928 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12929 case "(($ac_try" in
12930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12931 *) ac_try_echo=$ac_try;;
12933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12934 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12936 grep -v '^ *+' conftest.er1 >conftest.err
12938 cat conftest.err >&5
12939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12940 (exit $ac_status); } >/dev/null; then
12941 if test -s conftest.err; then
12942 ac_cpp_err=$ac_cxx_preproc_warn_flag
12943 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12950 if test -z "$ac_cpp_err"; then
12953 echo "$as_me: failed program was
:" >&5
12954 sed 's/^/| /' conftest.$ac_ext >&5
12956 # Broken: fails on valid input.
12960 rm -f conftest.err conftest.$ac_ext
12962 # OK, works on sane cases. Now check whether nonexistent headers
12963 # can be detected and how.
12964 cat >conftest.$ac_ext <<_ACEOF
12967 cat confdefs.h >>conftest.$ac_ext
12968 cat >>conftest.$ac_ext <<_ACEOF
12969 /* end confdefs.h. */
12970 #include <ac_nonexistent.h>
12972 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12973 case "(($ac_try" in
12974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12975 *) ac_try_echo=$ac_try;;
12977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12978 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12980 grep -v '^ *+' conftest.er1 >conftest.err
12982 cat conftest.err >&5
12983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12984 (exit $ac_status); } >/dev/null; then
12985 if test -s conftest.err; then
12986 ac_cpp_err=$ac_cxx_preproc_warn_flag
12987 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12994 if test -z "$ac_cpp_err"; then
12995 # Broken: success on invalid input.
12998 echo "$as_me: failed program was
:" >&5
12999 sed 's/^/| /' conftest.$ac_ext >&5
13001 # Passes both tests.
13006 rm -f conftest.err conftest.$ac_ext
13009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13010 rm -f conftest.err conftest.$ac_ext
13011 if $ac_preproc_ok; then
13016 ac_cv_prog_CXXCPP=$CXXCPP
13019 CXXCPP=$ac_cv_prog_CXXCPP
13021 ac_cv_prog_CXXCPP=$CXXCPP
13023 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
13024 echo "${ECHO_T}$CXXCPP" >&6; }
13025 ac_preproc_ok=false
13026 for ac_cxx_preproc_warn_flag in '' yes
13028 # Use a header file that comes with gcc, so configuring glibc
13029 # with a fresh cross-compiler works.
13030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031 # <limits.h> exists even on freestanding compilers.
13032 # On the NeXT, cc -E runs the code through the compiler's parser,
13033 # not just through cpp. "Syntax error
" is here to catch this case.
13034 cat >conftest.$ac_ext <<_ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13041 # include <limits.h>
13043 # include <assert.h>
13047 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13048 case "(($ac_try" in
13049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13052 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13055 grep -v '^ *+' conftest.er1 >conftest.err
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13059 (exit $ac_status); } >/dev/null; then
13060 if test -s conftest.err; then
13061 ac_cpp_err=$ac_cxx_preproc_warn_flag
13062 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13069 if test -z "$ac_cpp_err"; then
13072 echo "$as_me: failed program was
:" >&5
13073 sed 's/^/| /' conftest.$ac_ext >&5
13075 # Broken: fails on valid input.
13079 rm -f conftest.err conftest.$ac_ext
13081 # OK, works on sane cases. Now check whether nonexistent headers
13082 # can be detected and how.
13083 cat >conftest.$ac_ext <<_ACEOF
13086 cat confdefs.h >>conftest.$ac_ext
13087 cat >>conftest.$ac_ext <<_ACEOF
13088 /* end confdefs.h. */
13089 #include <ac_nonexistent.h>
13091 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13092 case "(($ac_try" in
13093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13094 *) ac_try_echo=$ac_try;;
13096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13097 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13099 grep -v '^ *+' conftest.er1 >conftest.err
13101 cat conftest.err >&5
13102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13103 (exit $ac_status); } >/dev/null; then
13104 if test -s conftest.err; then
13105 ac_cpp_err=$ac_cxx_preproc_warn_flag
13106 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13113 if test -z "$ac_cpp_err"; then
13114 # Broken: success on invalid input.
13117 echo "$as_me: failed program was
:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 # Passes both tests.
13125 rm -f conftest.err conftest.$ac_ext
13128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13129 rm -f conftest.err conftest.$ac_ext
13130 if $ac_preproc_ok; then
13133 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
13134 See \
`config.log' for more details." >&5
13135 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13136 See \`config.log
' for more details." >&2;}
13137 { (exit 1); exit 1; }; }
13141 ac_cpp='$CXXCPP $CPPFLAGS'
13142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13143 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13150 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
13151 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13152 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13153 if test -n "$ac_tool_prefix"; then
13154 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
13156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13160 if test "${ac_cv_prog_F77+set}" = set; then
13161 echo $ECHO_N "(cached) $ECHO_C" >&6
13163 if test -n "$F77"; then
13164 ac_cv_prog_F77="$F77" # Let the user override the test.
13166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167 for as_dir in $PATH
13170 test -z "$as_dir" && as_dir=.
13171 for ac_exec_ext in '' $ac_executable_extensions; do
13172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13173 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13183 F77=$ac_cv_prog_F77
13184 if test -n "$F77"; then
13185 { echo "$as_me:$LINENO: result: $F77" >&5
13186 echo "${ECHO_T}$F77" >&6; }
13188 { echo "$as_me:$LINENO: result: no" >&5
13189 echo "${ECHO_T}no" >&6; }
13193 test -n "$F77" && break
13196 if test -z "$F77"; then
13198 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
13200 # Extract the first word of "$ac_prog", so it can be a program name with args.
13201 set dummy $ac_prog; ac_word=$2
13202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13204 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 if test -n "$ac_ct_F77"; then
13208 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13217 ac_cv_prog_ac_ct_F77="$ac_prog"
13218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13227 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13228 if test -n "$ac_ct_F77"; then
13229 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13230 echo "${ECHO_T}$ac_ct_F77" >&6; }
13232 { echo "$as_me:$LINENO: result: no" >&5
13233 echo "${ECHO_T}no" >&6; }
13237 test -n "$ac_ct_F77" && break
13240 if test "x$ac_ct_F77" = x; then
13243 case $cross_compiling:$ac_tool_warned in
13245 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13246 whose name does not start with the host triplet. If you think this
13247 configuration is useful to you, please write to autoconf@gnu.org." >&5
13248 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13249 whose name does not start with the host triplet. If you think this
13250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13251 ac_tool_warned=yes ;;
13258 # Provide some information about the compiler.
13259 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13260 ac_compiler=`set X $ac_compile; echo $2`
13261 { (ac_try="$ac_compiler --version >&5"
13262 case "(($ac_try" in
13263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13264 *) ac_try_echo=$ac_try;;
13266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13267 (eval "$ac_compiler --version >&5") 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }
13271 { (ac_try="$ac_compiler -v >&5"
13272 case "(($ac_try" in
13273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13274 *) ac_try_echo=$ac_try;;
13276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13277 (eval "$ac_compiler -v >&5") 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }
13281 { (ac_try="$ac_compiler -V >&5"
13282 case "(($ac_try" in
13283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13284 *) ac_try_echo=$ac_try;;
13286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13287 (eval "$ac_compiler -V >&5") 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }
13293 # If we don't use
`.F' as extension, the preprocessor is not run on the
13294 # input file. (Note that this only needs to work for GNU compilers.)
13295 ac_save_ext=$ac_ext
13297 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13298 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13299 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 cat >conftest.$ac_ext <<_ACEOF
13310 rm -f conftest.$ac_objext
13311 if { (ac_try="$ac_compile"
13312 case "(($ac_try" in
13313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13314 *) ac_try_echo
=$ac_try;;
13316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_compile") 2>conftest.er1
13319 grep -v '^ *+' conftest.er1
>conftest.err
13321 cat conftest.err
>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13325 { (case "(($ac_try" in
13326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13327 *) ac_try_echo=$ac_try;;
13329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13330 (eval "$ac_try") 2>&5
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try='test -s conftest.$ac_objext'
13335 { (case "(($ac_try" in
13336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13337 *) ac_try_echo
=$ac_try;;
13339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13340 (eval "$ac_try") 2>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }; }; then
13344 ac_compiler_gnu
=yes
13346 echo "$as_me: failed program was:" >&5
13347 sed 's/^/| /' conftest.
$ac_ext >&5
13352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13353 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
13356 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13357 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13358 ac_ext
=$ac_save_ext
13359 ac_test_FFLAGS
=${FFLAGS+set}
13360 ac_save_FFLAGS
=$FFLAGS
13362 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13363 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13364 if test "${ac_cv_prog_f77_g+set}" = set; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 cat >conftest.
$ac_ext <<_ACEOF
13373 rm -f conftest.
$ac_objext
13374 if { (ac_try
="$ac_compile"
13375 case "(($ac_try" in
13376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13377 *) ac_try_echo=$ac_try;;
13379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13380 (eval "$ac_compile") 2>conftest.er1
13382 grep -v '^ *+' conftest.er1 >conftest.err
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
13388 { (case "(($ac_try" in
13389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13390 *) ac_try_echo
=$ac_try;;
13392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13393 (eval "$ac_try") 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; } &&
13397 { ac_try
='test -s conftest.$ac_objext'
13398 { (case "(($ac_try" in
13399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13400 *) ac_try_echo=$ac_try;;
13402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13403 (eval "$ac_try") 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13407 ac_cv_prog_f77_g=yes
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13412 ac_cv_prog_f77_g=no
13415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13418 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13419 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13420 if test "$ac_test_FFLAGS" = set; then
13421 FFLAGS=$ac_save_FFLAGS
13422 elif test $ac_cv_prog_f77_g = yes; then
13423 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13429 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13436 G77=`test $ac_compiler_gnu = yes && echo yes`
13438 ac_cpp='$CPP $CPPFLAGS'
13439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13445 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13447 # find the maximum length of command line arguments
13448 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13449 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13450 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 # On DJGPP, this test can blow up pretty badly due to problems in libc
13459 # (any single argument exceeding 2000 bytes causes a buffer overrun
13460 # during glob expansion). Even if it were fixed, the result of this
13461 # check would be larger than it should be.
13462 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13466 # Under GNU Hurd, this test is not required because there is
13467 # no limit to the length of command line arguments.
13468 # Libtool will interpret -1 as no limit whatsoever
13469 lt_cv_sys_max_cmd_len=-1;
13473 # On Win9x/ME, this test blows up -- it succeeds, but takes
13474 # about 5 minutes as the teststring grows exponentially.
13475 # Worse, since 9x/ME are not pre-emptively multitasking,
13476 # you end up with a "frozen" computer, even though with patience
13477 # the test eventually succeeds (with a max line length of 256k).
13478 # Instead, let's just punt: use the minimum linelength reported by
13479 # all of the supported platforms: 8192 (on NT/2K/XP).
13480 lt_cv_sys_max_cmd_len=8192;
13484 # On AmigaOS with pdksh, this test takes hours, literally.
13485 # So we just punt and use a minimum line length of 8192.
13486 lt_cv_sys_max_cmd_len=8192;
13489 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13490 # This has been around since 386BSD, at least. Likely further.
13491 if test -x /sbin/sysctl; then
13492 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
13493 elif test -x /usr/sbin/sysctl; then
13494 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
13496 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13498 # And add a safety zone
13499 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
13500 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
13504 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13505 lt_cv_sys_max_cmd_len=196608
13509 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13510 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13511 # nice to cause kernel panics so lets avoid the loop below.
13512 # First set a reasonable default.
13513 lt_cv_sys_max_cmd_len=16384
13515 if test -x /sbin/sysconfig; then
13516 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
13517 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13522 lt_cv_sys_max_cmd_len=102400
13524 sysv5* | sco5v6* | sysv4.2uw2*)
13525 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
13526 if test -n "$kargmax"; then
13527 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
13529 lt_cv_sys_max_cmd_len=32768
13533 # If test is not a shell built-in, we'll probably end up computing a
13534 # maximum length that is only half of the actual maximum length, but
13536 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13537 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
13538 = "XX$teststring") >/dev/null 2>&1 &&
13539 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13540 lt_cv_sys_max_cmd_len=$new_result &&
13541 test $i != 17 # 1/2 MB should be enough
13544 teststring=$teststring$teststring
13547 # Add a significant safety factor because C++ compilers can tack on massive
13548 # amounts of additional arguments before passing them to the linker.
13549 # It appears as though 1/2 is a usable value.
13550 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
13556 if test -n $lt_cv_sys_max_cmd_len ; then
13557 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13558 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13560 { echo "$as_me:$LINENO: result: none" >&5
13561 echo "${ECHO_T}none" >&6; }
13567 # Check for command to grab the raw symbol name followed by C symbol from nm.
13568 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13569 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13570 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13574 # These are sane defaults that work on at least a few old systems.
13575 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13577 # Character class describing NM global symbol codes.
13578 symcode='[BCDEGRST]'
13580 # Regexp to match symbols that can be accessed directly from C.
13581 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13583 # Transform an extracted symbol line into a proper C declaration
13584 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13586 # Transform an extracted symbol line into symbol name and symbol address
13587 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'"
13589 # Define system-specific variables.
13594 cygwin* | mingw* | pw32*)
13595 symcode='[ABCDGISTW]'
13597 hpux*) # Its linker distinguishes data from code symbols
13598 if test "$host_cpu" = ia64; then
13599 symcode='[ABCDEGRST]'
13601 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13602 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'"
13605 if test "$host_cpu" = ia64; then
13606 symcode='[ABCDGIRSTW]'
13607 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13608 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'"
13611 irix* | nonstopux*)
13612 symcode='[BCDEGRST]'
13615 symcode='[BCDEGQRST]'
13626 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13634 # Handle CRLF in mingw tool chain
13638 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
13642 # If we're using GNU nm, then use its standard symbol codes.
13643 case `$NM -V 2>&1` in
13644 *GNU* | *'with BFD'*)
13645 symcode='[ABCDGIRSTW]' ;;
13648 # Try without a prefix undercore, then with it.
13649 for ac_symprfx in "" "_"; do
13651 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13652 symxfrm="\\1 $ac_symprfx\\2 \\2"
13654 # Write the raw and C identifiers.
13655 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13657 # Check to see that the pipe works correctly.
13661 cat > conftest.$ac_ext <<EOF
13666 void nm_test_func(){}
13670 int main(){nm_test_var='a';nm_test_func();return(0);}
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; then
13678 # Now try to grab the symbols.
13680 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13681 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && test -s "$nlist"; then
13685 # Try sorting and uniquifying the output.
13686 if sort "$nlist" | uniq > "$nlist"T; then
13687 mv -f "$nlist"T "$nlist"
13692 # Make sure that we snagged all the symbols we need.
13693 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13694 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13695 cat <<EOF > conftest.$ac_ext
13701 # Now generate the symbol file.
13702 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13704 cat <<EOF >> conftest.$ac_ext
13705 #if defined (__STDC__) && __STDC__
13706 # define lt_ptr_t void *
13708 # define lt_ptr_t char *
13712 /* The mapping between symbol names and symbols. */
13717 lt_preloaded_symbols[] =
13720 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13721 cat <<\EOF >> conftest.$ac_ext
13729 # Now try linking the two files.
13730 mv conftest.$ac_objext conftstm.$ac_objext
13731 lt_save_LIBS="$LIBS"
13732 lt_save_CFLAGS="$CFLAGS"
13733 LIBS="conftstm.$ac_objext"
13734 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13736 (eval $ac_link) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13742 LIBS="$lt_save_LIBS"
13743 CFLAGS="$lt_save_CFLAGS"
13745 echo "cannot find nm_test_func in $nlist" >&5
13748 echo "cannot find nm_test_var in $nlist" >&5
13751 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13754 echo "$progname: failed program was:" >&5
13755 cat conftest.$ac_ext >&5
13757 rm -f conftest* conftst*
13759 # Do not use the global_symbol_pipe unless it works.
13760 if test "$pipe_works" = yes; then
13763 lt_cv_sys_global_symbol_pipe=
13769 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13770 lt_cv_sys_global_symbol_to_cdecl=
13772 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13773 { echo "$as_me:$LINENO: result: failed" >&5
13774 echo "${ECHO_T}failed" >&6; }
13776 { echo "$as_me:$LINENO: result: ok" >&5
13777 echo "${ECHO_T}ok" >&6; }
13780 { echo "$as_me:$LINENO: checking for objdir" >&5
13781 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13782 if test "${lt_cv_objdir+set}" = set; then
13783 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 rm -f .libs 2>/dev/null
13786 mkdir .libs 2>/dev/null
13787 if test -d .libs; then
13790 # MS-DOS does not allow filenames that begin with a dot.
13793 rmdir .libs 2>/dev/null
13795 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13796 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13797 objdir=$lt_cv_objdir
13805 # AIX sometimes has problems with the GCC collect2 program. For some
13806 # reason, if we set the COLLECT_NAMES environment variable, the problems
13807 # vanish in a puff of smoke.
13808 if test "X${COLLECT_NAMES+set}" != Xset; then
13810 export COLLECT_NAMES
13815 # Sed substitution that helps us do robust quoting. It backslashifies
13816 # metacharacters that are still active within double-quoted strings.
13817 Xsed='sed -e 1s/^X//'
13818 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
13820 # Same as above, but do not quote variable references.
13821 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
13823 # Sed substitution to delay expansion of an escaped shell variable in a
13824 # double_quote_subst'ed string.
13825 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13827 # Sed substitution to avoid accidental globbing in evaled expressions
13828 no_glob_subst='s/\*/\\\*/g'
13833 # Global variables:
13834 default_ofile=mklib
13835 can_build_shared=yes
13837 # All known linkers require a `.a' archive for static linking (except MSVC,
13838 # which needs '.lib').
13840 ltmain="$ac_aux_dir/ltmain.sh
"
13841 ofile="$default_ofile"
13842 with_gnu_ld="$lt_cv_prog_gnu_ld"
13844 if test -n "$ac_tool_prefix"; then
13845 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13846 set dummy ${ac_tool_prefix}ar; ac_word=$2
13847 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13848 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13849 if test "${ac_cv_prog_AR+set}" = set; then
13850 echo $ECHO_N "(cached
) $ECHO_C" >&6
13852 if test -n "$AR"; then
13853 ac_cv_prog_AR="$AR" # Let the user override the test.
13855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13856 for as_dir in $PATH
13859 test -z "$as_dir" && as_dir=.
13860 for ac_exec_ext in '' $ac_executable_extensions; do
13861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13862 ac_cv_prog_AR="${ac_tool_prefix}ar"
13863 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13873 if test -n "$AR"; then
13874 { echo "$as_me:$LINENO: result
: $AR" >&5
13875 echo "${ECHO_T}$AR" >&6; }
13877 { echo "$as_me:$LINENO: result
: no
" >&5
13878 echo "${ECHO_T}no
" >&6; }
13883 if test -z "$ac_cv_prog_AR"; then
13885 # Extract the first word of "ar", so it can be a program name with args.
13886 set dummy ar; ac_word=$2
13887 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13888 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13889 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13890 echo $ECHO_N "(cached
) $ECHO_C" >&6
13892 if test -n "$ac_ct_AR"; then
13893 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13896 for as_dir in $PATH
13899 test -z "$as_dir" && as_dir=.
13900 for ac_exec_ext in '' $ac_executable_extensions; do
13901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13902 ac_cv_prog_ac_ct_AR="ar"
13903 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13912 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13913 if test -n "$ac_ct_AR"; then
13914 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
13915 echo "${ECHO_T}$ac_ct_AR" >&6; }
13917 { echo "$as_me:$LINENO: result
: no
" >&5
13918 echo "${ECHO_T}no
" >&6; }
13921 if test "x
$ac_ct_AR" = x; then
13924 case $cross_compiling:$ac_tool_warned in
13926 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
13927 whose name does not start with the
host triplet. If you think this
13928 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
13929 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
13930 whose name does not start with the
host triplet. If you think this
13931 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
13932 ac_tool_warned=yes ;;
13937 AR="$ac_cv_prog_AR"
13940 if test -n "$ac_tool_prefix"; then
13941 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
13942 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13943 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13944 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13945 if test "${ac_cv_prog_RANLIB+set}" = set; then
13946 echo $ECHO_N "(cached
) $ECHO_C" >&6
13948 if test -n "$RANLIB"; then
13949 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13952 for as_dir in $PATH
13955 test -z "$as_dir" && as_dir=.
13956 for ac_exec_ext in '' $ac_executable_extensions; do
13957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13958 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
13959 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13968 RANLIB=$ac_cv_prog_RANLIB
13969 if test -n "$RANLIB"; then
13970 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
13971 echo "${ECHO_T}$RANLIB" >&6; }
13973 { echo "$as_me:$LINENO: result
: no
" >&5
13974 echo "${ECHO_T}no
" >&6; }
13979 if test -z "$ac_cv_prog_RANLIB"; then
13980 ac_ct_RANLIB=$RANLIB
13981 # Extract the first word of "ranlib
", so it can be a program name with args.
13982 set dummy ranlib; ac_word=$2
13983 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
13984 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
13985 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13986 echo $ECHO_N "(cached
) $ECHO_C" >&6
13988 if test -n "$ac_ct_RANLIB"; then
13989 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13992 for as_dir in $PATH
13995 test -z "$as_dir" && as_dir=.
13996 for ac_exec_ext in '' $ac_executable_extensions; do
13997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13998 ac_cv_prog_ac_ct_RANLIB="ranlib
"
13999 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14008 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14009 if test -n "$ac_ct_RANLIB"; then
14010 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
14011 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14013 { echo "$as_me:$LINENO: result
: no
" >&5
14014 echo "${ECHO_T}no
" >&6; }
14017 if test "x
$ac_ct_RANLIB" = x; then
14020 case $cross_compiling:$ac_tool_warned in
14022 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14023 whose name does not start with the
host triplet. If you think this
14024 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14025 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14026 whose name does not start with the
host triplet. If you think this
14027 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14028 ac_tool_warned=yes ;;
14030 RANLIB=$ac_ct_RANLIB
14033 RANLIB="$ac_cv_prog_RANLIB"
14036 if test -n "$ac_tool_prefix"; then
14037 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14038 set dummy ${ac_tool_prefix}strip; ac_word=$2
14039 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14040 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14041 if test "${ac_cv_prog_STRIP+set}" = set; then
14042 echo $ECHO_N "(cached
) $ECHO_C" >&6
14044 if test -n "$STRIP"; then
14045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14048 for as_dir in $PATH
14051 test -z "$as_dir" && as_dir=.
14052 for ac_exec_ext in '' $ac_executable_extensions; do
14053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14054 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14055 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14064 STRIP=$ac_cv_prog_STRIP
14065 if test -n "$STRIP"; then
14066 { echo "$as_me:$LINENO: result
: $STRIP" >&5
14067 echo "${ECHO_T}$STRIP" >&6; }
14069 { echo "$as_me:$LINENO: result
: no
" >&5
14070 echo "${ECHO_T}no
" >&6; }
14075 if test -z "$ac_cv_prog_STRIP"; then
14077 # Extract the first word of "strip
", so it can be a program name with args.
14078 set dummy strip; ac_word=$2
14079 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14080 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14082 echo $ECHO_N "(cached
) $ECHO_C" >&6
14084 if test -n "$ac_ct_STRIP"; then
14085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 for as_dir in $PATH
14091 test -z "$as_dir" && as_dir=.
14092 for ac_exec_ext in '' $ac_executable_extensions; do
14093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14094 ac_cv_prog_ac_ct_STRIP="strip
"
14095 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14105 if test -n "$ac_ct_STRIP"; then
14106 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
14107 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14109 { echo "$as_me:$LINENO: result
: no
" >&5
14110 echo "${ECHO_T}no
" >&6; }
14113 if test "x
$ac_ct_STRIP" = x; then
14116 case $cross_compiling:$ac_tool_warned in
14118 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
14119 whose name does not start with the
host triplet. If you think this
14120 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14121 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
14122 whose name does not start with the
host triplet. If you think this
14123 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14124 ac_tool_warned=yes ;;
14129 STRIP="$ac_cv_prog_STRIP"
14134 old_CFLAGS="$CFLAGS"
14136 # Set sane defaults for various variables
14137 test -z "$AR" && AR=ar
14138 test -z "$AR_FLAGS" && AR_FLAGS=cru
14139 test -z "$AS" && AS=as
14140 test -z "$CC" && CC=cc
14141 test -z "$LTCC" && LTCC=$CC
14142 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14143 test -z "$DLLTOOL" && DLLTOOL=dlltool
14144 test -z "$LD" && LD=ld
14145 test -z "$LN_S" && LN_S="ln -s"
14146 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14147 test -z "$NM" && NM=nm
14148 test -z "$SED" && SED=sed
14149 test -z "$OBJDUMP" && OBJDUMP=objdump
14150 test -z "$RANLIB" && RANLIB=:
14151 test -z "$STRIP" && STRIP=:
14152 test -z "$ac_objext" && ac_objext=o
14154 # Determine commands to create old-style static archives.
14155 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
14156 old_postinstall_cmds='chmod 644 $oldlib'
14157 old_postuninstall_cmds=
14159 if test -n "$RANLIB"; then
14162 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
14165 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
14168 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
14171 for cc_temp in $compiler""; do
14173 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14174 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14179 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14182 # Only perform the check for file, if the check method requires it
14183 case $deplibs_check_method in
14185 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14186 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14187 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
14188 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14189 echo $ECHO_N "(cached
) $ECHO_C" >&6
14193 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14196 lt_save_MAGIC_CMD="$MAGIC_CMD"
14197 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14198 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14199 for ac_dir in $ac_dummy; do
14201 test -z "$ac_dir" && ac_dir=.
14202 if test -f $ac_dir/${ac_tool_prefix}file; then
14203 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14204 if test -n "$file_magic_test_file"; then
14205 case $deplibs_check_method in
14207 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14209 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14210 $EGREP "$file_magic_regex" > /dev/null; then
14215 *** Warning: the command libtool uses to detect shared libraries,
14216 *** $file_magic_cmd, produces output that libtool cannot recognize.
14217 *** The result is that libtool may fail to recognize shared libraries
14218 *** as such. This will affect the creation of libtool libraries that
14219 *** depend on shared libraries, but programs linked with such libtool
14220 *** libraries will work regardless of this problem. Nevertheless, you
14221 *** may want to report the problem to your system manager and/or to
14222 *** bug-libtool@gnu.org
14232 MAGIC_CMD="$lt_save_MAGIC_CMD"
14237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14238 if test -n "$MAGIC_CMD"; then
14239 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14240 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14242 { echo "$as_me:$LINENO: result
: no
" >&5
14243 echo "${ECHO_T}no
" >&6; }
14246 if test -z "$lt_cv_path_MAGIC_CMD"; then
14247 if test -n "$ac_tool_prefix"; then
14248 { echo "$as_me:$LINENO: checking
for file" >&5
14249 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
14250 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14251 echo $ECHO_N "(cached
) $ECHO_C" >&6
14255 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14258 lt_save_MAGIC_CMD="$MAGIC_CMD"
14259 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14260 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14261 for ac_dir in $ac_dummy; do
14263 test -z "$ac_dir" && ac_dir=.
14264 if test -f $ac_dir/file; then
14265 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14266 if test -n "$file_magic_test_file"; then
14267 case $deplibs_check_method in
14269 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14270 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14271 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14272 $EGREP "$file_magic_regex" > /dev/null; then
14277 *** Warning: the command libtool uses to detect shared libraries,
14278 *** $file_magic_cmd, produces output that libtool cannot recognize.
14279 *** The result is that libtool may fail to recognize shared libraries
14280 *** as such. This will affect the creation of libtool libraries that
14281 *** depend on shared libraries, but programs linked with such libtool
14282 *** libraries will work regardless of this problem. Nevertheless, you
14283 *** may want to report the problem to your system manager and/or to
14284 *** bug-libtool@gnu.org
14294 MAGIC_CMD="$lt_save_MAGIC_CMD"
14299 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14300 if test -n "$MAGIC_CMD"; then
14301 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14302 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14304 { echo "$as_me:$LINENO: result
: no
" >&5
14305 echo "${ECHO_T}no
" >&6; }
14318 enable_win32_dll=no
14320 # Check whether --enable-libtool-lock was given.
14321 if test "${enable_libtool_lock+set}" = set; then
14322 enableval=$enable_libtool_lock;
14325 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
14328 # Check whether --with-pic was given.
14329 if test "${with_pic+set}" = set; then
14330 withval=$with_pic; pic_mode="$withval"
14335 test -z "$pic_mode" && pic_mode=default
14337 # Use C for the default configuration in the libtool script
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14347 # Source file extension for C test sources.
14350 # Object file extension for compiled C test sources.
14354 # Code to be used in simple compile tests
14355 lt_simple_compile_test_code="int some_variable
= 0;\n"
14357 # Code to be used in simple link tests
14358 lt_simple_link_test_code='int main(){return(0);}\n'
14361 # If no C compiler was specified, use CC.
14364 # If no C compiler flags were specified, use CFLAGS.
14365 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14367 # Allow CC to be a program name with arguments.
14371 # save warnings/boilerplate of simple test code
14372 ac_outfile=conftest.$ac_objext
14373 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14374 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14375 _lt_compiler_boilerplate=`cat conftest.err`
14378 ac_outfile=conftest.$ac_objext
14379 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14380 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14381 _lt_linker_boilerplate=`cat conftest.err`
14386 lt_prog_compiler_no_builtin_flag=
14388 if test "$GCC" = yes; then
14389 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14392 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14393 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
14394 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14395 echo $ECHO_N "(cached
) $ECHO_C" >&6
14397 lt_cv_prog_compiler_rtti_exceptions=no
14398 ac_outfile=conftest.$ac_objext
14399 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14400 lt_compiler_flag="-fno-rtti -fno-exceptions"
14401 # Insert the option either (1) after the last *FLAGS variable, or
14402 # (2) before a word containing "conftest.
", or (3) at the end.
14403 # Note that $ac_compile itself does not contain backslashes and begins
14404 # with a dollar sign (not a hyphen), so the echo should work correctly.
14405 # The option is referenced via a variable to avoid confusing sed.
14406 lt_compile=`echo "$ac_compile" | $SED \
14407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14409 -e 's:$: $lt_compiler_flag:'`
14410 (eval echo "\"\
$as_me:14410: $lt_compile\"" >&5)
14411 (eval "$lt_compile" 2>conftest.err)
14413 cat conftest.err >&5
14414 echo "$as_me:14414: \$?
= $ac_status" >&5
14415 if (exit $ac_status) && test -s "$ac_outfile"; then
14416 # The compiler can only warn and ignore the option if not recognized
14417 # So say no if there are warnings other than the usual output.
14418 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14419 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14420 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14421 lt_cv_prog_compiler_rtti_exceptions=yes
14427 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
14428 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14430 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14431 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14438 lt_prog_compiler_wl=
14439 lt_prog_compiler_pic=
14440 lt_prog_compiler_static=
14442 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
14443 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
14445 if test "$GCC" = yes; then
14446 lt_prog_compiler_wl='-Wl,'
14447 lt_prog_compiler_static='-static'
14451 # All AIX code is PIC.
14452 if test "$host_cpu" = ia64; then
14453 # AIX 5 now supports IA64 processor
14454 lt_prog_compiler_static='-Bstatic'
14459 # FIXME: we need at least 68020 code to build shared libraries, but
14460 # adding the `-m68020' flag to GCC prevents building anything better,
14462 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14465 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14466 # PIC is the default for these OSes.
14469 mingw* | pw32* | os2*)
14470 # This hack is so that the source file can tell whether it is being
14471 # built for inclusion in a dll (and should export symbols for example).
14472 lt_prog_compiler_pic='-DDLL_EXPORT'
14475 darwin* | rhapsody*)
14476 # PIC is the default on this platform
14477 # Common symbols not allowed in MH_DYLIB files
14478 lt_prog_compiler_pic='-fno-common'
14482 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14483 # Instead, we relocate shared libraries at runtime.
14487 # Just because we use GCC doesn't mean we suddenly get shared libraries
14488 # on systems that don't support them.
14489 lt_prog_compiler_can_build_shared=no
14494 if test -d /usr/nec; then
14495 lt_prog_compiler_pic=-Kconform_pic
14500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14501 # not for PA HP-UX.
14507 lt_prog_compiler_pic='-fPIC'
14513 lt_prog_compiler_pic='-fPIC'
14517 # PORTME Check for flag to pass linker flags through the system compiler.
14520 lt_prog_compiler_wl='-Wl,'
14521 if test "$host_cpu" = ia64; then
14522 # AIX 5 now supports IA64 processor
14523 lt_prog_compiler_static='-Bstatic'
14525 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14529 # PIC is the default on this platform
14530 # Common symbols not allowed in MH_DYLIB files
14531 case $cc_basename in
14533 lt_prog_compiler_pic='-qnocommon'
14534 lt_prog_compiler_wl='-Wl,'
14539 mingw* | pw32* | os2*)
14540 # This hack is so that the source file can tell whether it is being
14541 # built for inclusion in a dll (and should export symbols for example).
14542 lt_prog_compiler_pic='-DDLL_EXPORT'
14545 hpux9* | hpux10* | hpux11*)
14546 lt_prog_compiler_wl='-Wl,'
14547 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14548 # not for PA HP-UX.
14554 lt_prog_compiler_pic='+Z'
14557 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14558 lt_prog_compiler_static='${wl}-a ${wl}archive'
14561 irix5* | irix6* | nonstopux*)
14562 lt_prog_compiler_wl='-Wl,'
14563 # PIC (with -KPIC) is the default.
14564 lt_prog_compiler_static='-non_shared'
14568 lt_prog_compiler_pic='-KPIC'
14569 lt_prog_compiler_static='-Bstatic'
14573 case $cc_basename in
14575 lt_prog_compiler_wl='-Wl,'
14576 lt_prog_compiler_pic='-KPIC'
14577 lt_prog_compiler_static='-static'
14579 pgcc* | pgf77* | pgf90* | pgf95*)
14580 # Portland Group compilers (*not* the Pentium gcc compiler,
14581 # which looks to be a dead project)
14582 lt_prog_compiler_wl='-Wl,'
14583 lt_prog_compiler_pic='-fpic'
14584 lt_prog_compiler_static='-Bstatic'
14587 lt_prog_compiler_wl='-Wl,'
14588 # All Alpha code is PIC.
14589 lt_prog_compiler_static='-non_shared'
14594 osf3* | osf4* | osf5*)
14595 lt_prog_compiler_wl='-Wl,'
14596 # All OSF/1 code is PIC.
14597 lt_prog_compiler_static='-non_shared'
14601 lt_prog_compiler_pic='-KPIC'
14602 lt_prog_compiler_static='-Bstatic'
14603 case $cc_basename in
14604 f77* | f90* | f95*)
14605 lt_prog_compiler_wl='-Qoption ld ';;
14607 lt_prog_compiler_wl='-Wl,';;
14612 lt_prog_compiler_wl='-Qoption ld '
14613 lt_prog_compiler_pic='-PIC'
14614 lt_prog_compiler_static='-Bstatic'
14617 sysv4 | sysv4.2uw2* | sysv4.3*)
14618 lt_prog_compiler_wl='-Wl,'
14619 lt_prog_compiler_pic='-KPIC'
14620 lt_prog_compiler_static='-Bstatic'
14624 if test -d /usr/nec ;then
14625 lt_prog_compiler_pic='-Kconform_pic'
14626 lt_prog_compiler_static='-Bstatic'
14630 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14631 lt_prog_compiler_wl='-Wl,'
14632 lt_prog_compiler_pic='-KPIC'
14633 lt_prog_compiler_static='-Bstatic'
14637 lt_prog_compiler_wl='-Wl,'
14638 lt_prog_compiler_can_build_shared=no
14642 lt_prog_compiler_pic='-pic'
14643 lt_prog_compiler_static='-Bstatic'
14647 lt_prog_compiler_can_build_shared=no
14652 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
14653 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
14656 # Check to make sure the PIC flag actually works.
14658 if test -n "$lt_prog_compiler_pic"; then
14660 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
14661 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
14662 if test "${lt_prog_compiler_pic_works+set}" = set; then
14663 echo $ECHO_N "(cached
) $ECHO_C" >&6
14665 lt_prog_compiler_pic_works=no
14666 ac_outfile=conftest.$ac_objext
14667 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14668 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
14669 # Insert the option either (1) after the last *FLAGS variable, or
14670 # (2) before a word containing "conftest.
", or (3) at the end.
14671 # Note that $ac_compile itself does not contain backslashes and begins
14672 # with a dollar sign (not a hyphen), so the echo should work correctly.
14673 # The option is referenced via a variable to avoid confusing sed.
14674 lt_compile=`echo "$ac_compile" | $SED \
14675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14677 -e 's:$: $lt_compiler_flag:'`
14678 (eval echo "\"\
$as_me:14678: $lt_compile\"" >&5)
14679 (eval "$lt_compile" 2>conftest.err)
14681 cat conftest.err >&5
14682 echo "$as_me:14682: \$?
= $ac_status" >&5
14683 if (exit $ac_status) && test -s "$ac_outfile"; then
14684 # The compiler can only warn and ignore the option if not recognized
14685 # So say no if there are warnings other than the usual output.
14686 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14687 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14688 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14689 lt_prog_compiler_pic_works=yes
14695 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
14696 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
14698 if test x"$lt_prog_compiler_pic_works" = xyes; then
14699 case $lt_prog_compiler_pic in
14701 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14704 lt_prog_compiler_pic=
14705 lt_prog_compiler_can_build_shared=no
14710 # For platforms which do not support PIC, -DPIC is meaningless:
14712 lt_prog_compiler_pic=
14715 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14720 # Check to make sure the static flag actually works.
14722 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14723 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
14724 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
14725 if test "${lt_prog_compiler_static_works+set}" = set; then
14726 echo $ECHO_N "(cached
) $ECHO_C" >&6
14728 lt_prog_compiler_static_works=no
14729 save_LDFLAGS="$LDFLAGS"
14730 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14731 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14732 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14733 # The linker can only warn and ignore the option if not recognized
14734 # So say no if there are warnings
14735 if test -s conftest.err; then
14736 # Append any errors to the config.log.
14737 cat conftest.err 1>&5
14738 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14739 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14740 if diff conftest.exp conftest.er2 >/dev/null; then
14741 lt_prog_compiler_static_works=yes
14744 lt_prog_compiler_static_works=yes
14748 LDFLAGS="$save_LDFLAGS"
14751 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
14752 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
14754 if test x"$lt_prog_compiler_static_works" = xyes; then
14757 lt_prog_compiler_static=
14761 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
14762 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
14763 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
14764 echo $ECHO_N "(cached
) $ECHO_C" >&6
14766 lt_cv_prog_compiler_c_o=no
14767 $rm -r conftest 2>/dev/null
14771 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14773 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
14774 # Insert the option either (1) after the last *FLAGS variable, or
14775 # (2) before a word containing "conftest.
", or (3) at the end.
14776 # Note that $ac_compile itself does not contain backslashes and begins
14777 # with a dollar sign (not a hyphen), so the echo should work correctly.
14778 lt_compile=`echo "$ac_compile" | $SED \
14779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14781 -e 's:$: $lt_compiler_flag:'`
14782 (eval echo "\"\
$as_me:14782: $lt_compile\"" >&5)
14783 (eval "$lt_compile" 2>out/conftest.err)
14785 cat out/conftest.err >&5
14786 echo "$as_me:14786: \$?
= $ac_status" >&5
14787 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14789 # The compiler can only warn and ignore the option if not recognized
14790 # So say no if there are warnings
14791 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14792 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14793 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14794 lt_cv_prog_compiler_c_o=yes
14799 # SGI C++ compiler will create directory out/ii_files/ for
14800 # template instantiation
14801 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14802 $rm out/* && rmdir out
14808 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
14809 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
14812 hard_links="nottested
"
14813 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
14814 # do not overwrite the value of need_locks provided by the user
14815 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
14816 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
14819 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14821 ln conftest.a conftest.b 2>&5 || hard_links=no
14822 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14823 { echo "$as_me:$LINENO: result
: $hard_links" >&5
14824 echo "${ECHO_T}$hard_links" >&6; }
14825 if test "$hard_links" = no; then
14826 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
14827 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
14834 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
14835 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
14838 allow_undefined_flag=
14839 enable_shared_with_static_runtimes=no
14841 archive_expsym_cmds=
14842 old_archive_From_new_cmds=
14843 old_archive_from_expsyms_cmds=
14844 export_dynamic_flag_spec=
14845 whole_archive_flag_spec=
14846 thread_safe_flag_spec=
14847 hardcode_libdir_flag_spec=
14848 hardcode_libdir_flag_spec_ld=
14849 hardcode_libdir_separator=
14851 hardcode_minus_L=no
14852 hardcode_shlibpath_var=unsupported
14853 link_all_deplibs=unknown
14854 hardcode_automatic=no
14856 module_expsym_cmds=
14857 always_export_symbols=no
14858 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14859 # include_expsyms should be a list of space-separated symbols to be *always*
14860 # included in the symbol list
14862 # exclude_expsyms can be an extended regexp of symbols to exclude
14863 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14864 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14865 # as well as any symbol that contains `d'.
14866 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
14867 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14868 # platforms (ab)use it in PIC code, but their linkers get confused if
14869 # the symbol is explicitly referenced. Since portable code cannot
14870 # rely on this symbol name, it's probably fine to never include it in
14871 # preloaded symbol tables.
14872 extract_expsyms_cmds=
14873 # Just being paranoid about ensuring that cc_basename is set.
14874 for cc_temp in $compiler""; do
14876 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14877 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14882 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14885 cygwin* | mingw* | pw32*)
14886 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14887 # When not using gcc, we currently assume that we are using
14888 # Microsoft Visual C++.
14889 if test "$GCC" != yes; then
14894 # we just hope/assume this is gcc and not c89 (= MSVC++)
14903 if test "$with_gnu_ld" = yes; then
14904 # If archive_cmds runs LD, not CC, wlarc should be empty
14907 # Set some defaults for GNU ld with shared library support. These
14908 # are reset later if shared libraries are not supported. Putting them
14909 # here allows them to be overridden if necessary.
14910 runpath_var=LD_RUN_PATH
14911 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
14912 export_dynamic_flag_spec='${wl}--export-dynamic'
14913 # ancient GNU ld didn't support --whole-archive et. al.
14914 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14915 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14917 whole_archive_flag_spec=
14919 supports_anon_versioning=no
14920 case `$LD -v 2>/dev/null` in
14921 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14922 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14923 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14924 *\ 2.11.*) ;; # other 2.11 versions
14925 *) supports_anon_versioning=yes ;;
14928 # See if GNU ld supports shared libraries.
14930 aix3* | aix4* | aix5*)
14931 # On AIX/PPC, the GNU linker is very broken
14932 if test "$host_cpu" != ia64; then
14936 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14937 *** to be unable to reliably create shared libraries on AIX.
14938 *** Therefore, libtool is disabling shared libraries support. If you
14939 *** really care for shared libraries, you may want to modify your PATH
14940 *** so that a non-GNU linker is found, and then restart.
14947 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)'
14948 hardcode_libdir_flag_spec
='-L$libdir'
14949 hardcode_minus_L
=yes
14951 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14952 # that the semantics of dynamic libraries on AmigaOS, at least up
14953 # to version 4, is to share data among multiple programs linked
14954 # with the same dynamic library. Since this doesn't match the
14955 # behavior of shared libraries on other platforms, we can't use
14961 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14962 allow_undefined_flag
=unsupported
14963 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14964 # support --undefined. This deserves some investigation. FIXME
14965 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14971 cygwin
* | mingw
* | pw32
*)
14972 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14973 # as there is no search path for DLLs.
14974 hardcode_libdir_flag_spec
='-L$libdir'
14975 allow_undefined_flag
=unsupported
14976 always_export_symbols
=no
14977 enable_shared_with_static_runtimes
=yes
14978 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14980 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14982 # If the export-symbols file already is a .def file (1st line
14983 # is EXPORTS), use it as is; otherwise, prepend...
14984 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14985 cp $export_symbols $output_objdir/$soname.def;
14987 echo EXPORTS > $output_objdir/$soname.def;
14988 cat $export_symbols >> $output_objdir/$soname.def;
14990 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14998 hardcode_shlibpath_var
=no
14999 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15000 export_dynamic_flag_spec
='${wl}-E'
15001 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15002 # Instead, shared libraries are loaded at an image base (0x10000000 by
15003 # default) and relocated if they conflict, which is a slow very memory
15004 # consuming and fragmenting process. To avoid this, we pick a random,
15005 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15006 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15007 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15008 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'
15012 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15014 case $cc_basename,$host_cpu in
15015 pgcc
*) # Portland Group C compiler
15016 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'
15017 tmp_addflag
=' $pic_flag'
15019 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15020 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'
15021 tmp_addflag
=' $pic_flag -Mnomain' ;;
15022 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15023 tmp_addflag
=' -i_dynamic' ;;
15024 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15025 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15026 ifc
* | ifort
*) # Intel Fortran compiler
15027 tmp_addflag
=' -nofor_main' ;;
15029 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15031 if test $supports_anon_versioning = yes; then
15032 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
15033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15034 $echo "local: *; };" >> $output_objdir/$libname.ver~
15035 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15043 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15044 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15048 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15053 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15058 *** create shared libraries on Solaris systems. Therefore, libtool
15059 *** is disabling shared libraries support. We urge you to upgrade GNU
15060 *** binutils to release 2.9.1 or newer. Another option is to modify
15061 *** your PATH or compiler configuration so that the native linker is
15062 *** used, and then restart.
15065 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15066 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15067 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15073 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15074 case `$LD -v 2>&1` in
15075 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15080 *** reliably create shared libraries on SCO systems. Therefore, libtool
15081 *** is disabling shared libraries support. We urge you to upgrade GNU
15082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15083 *** your PATH or compiler configuration so that the native linker is
15084 *** used, and then restart.
15089 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15090 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15091 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15092 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15101 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15103 hardcode_direct
=yes
15104 hardcode_shlibpath_var
=no
15108 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15109 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15110 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15117 if test "$ld_shlibs" = no
; then
15119 hardcode_libdir_flag_spec
=
15120 export_dynamic_flag_spec
=
15121 whole_archive_flag_spec
=
15124 # PORTME fill in a description of your system's linker (not GNU ld)
15127 allow_undefined_flag
=unsupported
15128 always_export_symbols
=yes
15129 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'
15130 # Note: this linker hardcodes the directories in LIBPATH if there
15131 # are no directories specified by -L.
15132 hardcode_minus_L
=yes
15133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15134 # Neither direct hardcoding nor static linking is supported with a
15136 hardcode_direct
=unsupported
15141 if test "$host_cpu" = ia64
; then
15142 # On IA64, the linker does run time linking by default, so we don't
15143 # have to do anything special.
15144 aix_use_runtimelinking
=no
15145 exp_sym_flag
='-Bexport'
15148 # If we're using GNU nm, then we don't want the "-C" option.
15149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15150 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15151 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'
15153 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'
15155 aix_use_runtimelinking
=no
15157 # Test if we are trying to use run time linking or normal
15158 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15159 # need to do runtime linking.
15160 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15161 for ld_flag
in $LDFLAGS; do
15162 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15163 aix_use_runtimelinking
=yes
15170 exp_sym_flag
='-bexport'
15171 no_entry_flag
='-bnoentry'
15174 # When large executables or shared objects are built, AIX ld can
15175 # have problems creating the table of contents. If linking a library
15176 # or program results in "error TOC overflow" add -mminimal-toc to
15177 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15178 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15181 hardcode_direct
=yes
15182 hardcode_libdir_separator
=':'
15183 link_all_deplibs
=yes
15185 if test "$GCC" = yes; then
15186 case $host_os in aix4.
[012]|aix4.
[012].
*)
15187 # We only want to do this on AIX 4.2 and lower, the check
15188 # below for broken collect2 doesn't work under 4.3+
15189 collect2name
=`${CC} -print-prog-name=collect2`
15190 if test -f "$collect2name" && \
15191 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15193 # We have reworked collect2
15194 hardcode_direct
=yes
15196 # We have old collect2
15197 hardcode_direct
=unsupported
15198 # It fails to find uninstalled libraries when the uninstalled
15199 # path is not listed in the libpath. Setting hardcode_minus_L
15200 # to unsupported forces relinking
15201 hardcode_minus_L
=yes
15202 hardcode_libdir_flag_spec
='-L$libdir'
15203 hardcode_libdir_separator
=
15207 shared_flag
='-shared'
15208 if test "$aix_use_runtimelinking" = yes; then
15209 shared_flag
="$shared_flag "'${wl}-G'
15213 if test "$host_cpu" = ia64
; then
15214 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15215 # chokes on -Wl,-G. The following line is correct:
15218 if test "$aix_use_runtimelinking" = yes; then
15219 shared_flag
='${wl}-G'
15221 shared_flag
='${wl}-bM:SRE'
15226 # It seems that -bexpall does not export symbols beginning with
15227 # underscore (_), so it is better to generate a list of symbols to export.
15228 always_export_symbols
=yes
15229 if test "$aix_use_runtimelinking" = yes; then
15230 # Warning - without using the other runtime loading flags (-brtl),
15231 # -berok will link without error, but may produce a broken library.
15232 allow_undefined_flag
='-berok'
15233 # Determine the default libpath from the value encoded in an empty executable.
15234 cat >conftest.
$ac_ext <<_ACEOF
15237 cat confdefs.h
>>conftest.
$ac_ext
15238 cat >>conftest.
$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15249 rm -f conftest.
$ac_objext conftest
$ac_exeext
15250 if { (ac_try
="$ac_link"
15251 case "(($ac_try" in
15252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15253 *) ac_try_echo=$ac_try;;
15255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15256 (eval "$ac_link") 2>conftest.er1
15258 grep -v '^ *+' conftest.er1 >conftest.err
15260 cat conftest.err >&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); } &&
15263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15264 { (case "(($ac_try" in
15265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15266 *) ac_try_echo
=$ac_try;;
15268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15269 (eval "$ac_try") 2>&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try
='test -s conftest$ac_exeext'
15274 { (case "(($ac_try" in
15275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_try") 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; }; then
15284 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15286 # Check for a 64-bit object if we didn't find anything.
15287 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; }
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15296 rm -f core conftest.err conftest.$ac_objext \
15297 conftest$ac_exeext conftest.$ac_ext
15298 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15300 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15301 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"
15303 if test "$host_cpu" = ia64; then
15304 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15305 allow_undefined_flag="-z nodefs"
15306 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"
15308 # Determine the default libpath from the value encoded in an empty executable.
15309 cat >conftest.$ac_ext <<_ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15324 rm -f conftest.$ac_objext conftest$ac_exeext
15325 if { (ac_try="$ac_link"
15326 case "(($ac_try" in
15327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15328 *) ac_try_echo
=$ac_try;;
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_link") 2>conftest.er1
15333 grep -v '^ *+' conftest.er1
>conftest.err
15335 cat conftest.err
>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15339 { (case "(($ac_try" in
15340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_try") 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; } &&
15348 { ac_try='test -s conftest$ac_exeext'
15349 { (case "(($ac_try" in
15350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15351 *) ac_try_echo
=$ac_try;;
15353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15354 (eval "$ac_try") 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15359 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15361 # Check for a 64-bit object if we didn't find anything.
15362 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; }
15365 echo "$as_me: failed program was:" >&5
15366 sed 's/^/| /' conftest.
$ac_ext >&5
15371 rm -f core conftest.err conftest.
$ac_objext \
15372 conftest
$ac_exeext conftest.
$ac_ext
15373 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15375 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
15376 # Warning - without using the other run time loading flags,
15377 # -berok will link without error, but may produce a broken library.
15378 no_undefined_flag
=' ${wl}-bernotok'
15379 allow_undefined_flag
=' ${wl}-berok'
15380 # Exported symbols can be pulled into shared objects from archives
15381 whole_archive_flag_spec
='$convenience'
15382 archive_cmds_need_lc
=yes
15383 # This is similar to how AIX traditionally builds its shared libraries.
15384 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'
15390 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)'
15391 hardcode_libdir_flag_spec
='-L$libdir'
15392 hardcode_minus_L
=yes
15393 # see comment about different semantics on the GNU ld section
15398 export_dynamic_flag_spec
=-rdynamic
15401 cygwin
* | mingw
* | pw32
*)
15402 # When not using gcc, we currently assume that we are using
15403 # Microsoft Visual C++.
15404 # hardcode_libdir_flag_spec is actually meaningless, as there is
15405 # no search path for DLLs.
15406 hardcode_libdir_flag_spec
=' '
15407 allow_undefined_flag
=unsupported
15408 # Tell ltmain to make .lib files, not .a files.
15410 # Tell ltmain to make .dll files, not .so files.
15412 # FIXME: Setting linknames here is a bad hack.
15413 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15414 # The linker will automatically build a .lib file if we build a DLL.
15415 old_archive_From_new_cmds
='true'
15416 # FIXME: Should let the user specify the lib program.
15417 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15418 fix_srcfile_path
='`cygpath -w "$srcfile"`'
15419 enable_shared_with_static_runtimes
=yes
15422 darwin
* | rhapsody
*)
15424 rhapsody
* | darwin1.
[012])
15425 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
15428 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15429 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15431 case ${MACOSX_DEPLOYMENT_TARGET} in
15433 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15436 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
15442 archive_cmds_need_lc
=no
15444 hardcode_automatic
=yes
15445 hardcode_shlibpath_var
=unsupported
15446 whole_archive_flag_spec
=''
15447 link_all_deplibs
=yes
15448 if test "$GCC" = yes ; then
15449 output_verbose_link_cmd
='echo'
15450 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15451 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15452 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15453 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}'
15454 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}'
15456 case $cc_basename in
15458 output_verbose_link_cmd
='echo'
15459 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15460 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15461 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15462 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}'
15463 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}'
15473 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15474 hardcode_libdir_flag_spec
='-L$libdir'
15475 hardcode_shlibpath_var
=no
15482 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15483 # support. Future versions do this automatically, but an explicit c++rt0.o
15484 # does not break anything, and helps significantly (at the cost of a little
15487 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15488 hardcode_libdir_flag_spec
='-R$libdir'
15489 hardcode_direct
=yes
15490 hardcode_shlibpath_var
=no
15493 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15495 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15496 hardcode_direct
=yes
15497 hardcode_minus_L
=yes
15498 hardcode_shlibpath_var
=no
15501 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15502 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15503 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15504 hardcode_libdir_flag_spec
='-R$libdir'
15505 hardcode_direct
=yes
15506 hardcode_shlibpath_var
=no
15510 if test "$GCC" = yes; then
15511 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'
15513 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'
15515 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15516 hardcode_libdir_separator
=:
15517 hardcode_direct
=yes
15519 # hardcode_minus_L: Not really in the search PATH,
15520 # but as the default location of the library.
15521 hardcode_minus_L
=yes
15522 export_dynamic_flag_spec
='${wl}-E'
15526 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15527 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15529 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15531 if test "$with_gnu_ld" = no
; then
15532 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15533 hardcode_libdir_separator
=:
15535 hardcode_direct
=yes
15536 export_dynamic_flag_spec
='${wl}-E'
15538 # hardcode_minus_L: Not really in the search PATH,
15539 # but as the default location of the library.
15540 hardcode_minus_L
=yes
15545 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15548 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15551 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15554 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15560 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15563 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15566 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15570 if test "$with_gnu_ld" = no
; then
15571 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
15572 hardcode_libdir_separator
=:
15576 hardcode_libdir_flag_spec_ld
='+b $libdir'
15578 hardcode_shlibpath_var
=no
15581 hardcode_direct
=yes
15582 export_dynamic_flag_spec
='${wl}-E'
15584 # hardcode_minus_L: Not really in the search PATH,
15585 # but as the default location of the library.
15586 hardcode_minus_L
=yes
15592 irix5
* | irix6
* | nonstopux
*)
15593 if test "$GCC" = yes; then
15594 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'
15596 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'
15597 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15599 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15600 hardcode_libdir_separator
=:
15601 link_all_deplibs
=yes
15605 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15606 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15608 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15610 hardcode_libdir_flag_spec
='-R$libdir'
15611 hardcode_direct
=yes
15612 hardcode_shlibpath_var
=no
15616 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15617 hardcode_direct
=yes
15618 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15619 hardcode_libdir_separator
=:
15620 hardcode_shlibpath_var
=no
15624 hardcode_direct
=yes
15625 hardcode_shlibpath_var
=no
15626 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15627 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15628 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15629 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15630 export_dynamic_flag_spec
='${wl}-E'
15633 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15634 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15635 hardcode_libdir_flag_spec
='-R$libdir'
15638 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15639 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15646 hardcode_libdir_flag_spec
='-L$libdir'
15647 hardcode_minus_L
=yes
15648 allow_undefined_flag
=unsupported
15649 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'
15650 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15654 if test "$GCC" = yes; then
15655 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15656 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'
15658 allow_undefined_flag
=' -expect_unresolved \*'
15659 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'
15661 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15662 hardcode_libdir_separator
=:
15665 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15666 if test "$GCC" = yes; then
15667 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
15668 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'
15669 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15671 allow_undefined_flag
=' -expect_unresolved \*'
15672 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'
15673 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15674 $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'
15676 # Both c and cxx compiler support -rpath directly
15677 hardcode_libdir_flag_spec
='-rpath $libdir'
15679 hardcode_libdir_separator
=:
15683 no_undefined_flag
=' -z text'
15684 if test "$GCC" = yes; then
15686 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15687 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15688 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15691 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15692 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15693 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15695 hardcode_libdir_flag_spec
='-R$libdir'
15696 hardcode_shlibpath_var
=no
15698 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15700 # The compiler driver will combine linker options so we
15701 # cannot just pass the convience library names through
15702 # without $wl, iff we do not link with $LD.
15703 # Luckily, gcc supports the same syntax we need for Sun Studio.
15704 # Supported since Solaris 2.6 (maybe 2.5.1?)
15707 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
15709 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' ;;
15712 link_all_deplibs
=yes
15716 if test "x$host_vendor" = xsequent
; then
15717 # Use $CC to link under sequent, because it throws in some extra .o
15718 # files that make .init and .fini sections work.
15719 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15721 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15723 hardcode_libdir_flag_spec
='-L$libdir'
15724 hardcode_direct
=yes
15725 hardcode_minus_L
=yes
15726 hardcode_shlibpath_var
=no
15730 case $host_vendor in
15732 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15733 hardcode_direct
=yes # is this really true???
15736 ## LD is ld it makes a PLAMLIB
15737 ## CC just makes a GrossModule.
15738 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15739 reload_cmds
='$CC -r -o $output$reload_objs'
15743 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15744 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
15747 runpath_var
='LD_RUN_PATH'
15748 hardcode_shlibpath_var
=no
15752 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15753 hardcode_shlibpath_var
=no
15754 export_dynamic_flag_spec
='-Bexport'
15758 if test -d /usr
/nec
; then
15759 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15760 hardcode_shlibpath_var
=no
15761 runpath_var
=LD_RUN_PATH
15762 hardcode_runpath_var
=yes
15767 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15768 no_undefined_flag
='${wl}-z,text'
15769 archive_cmds_need_lc
=no
15770 hardcode_shlibpath_var
=no
15771 runpath_var
='LD_RUN_PATH'
15773 if test "$GCC" = yes; then
15774 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15775 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15777 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15778 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15782 sysv5
* | sco3.2v5
* | sco5v6
*)
15783 # Note: We can NOT use -z defs as we might desire, because we do not
15784 # link with -lc, and that would cause any symbols used from libc to
15785 # always be unresolved, which means just about no library would
15786 # ever link correctly. If we're not using GNU ld we use -z text
15787 # though, which does catch some bad symbols but isn't as heavy-handed
15789 no_undefined_flag
='${wl}-z,text'
15790 allow_undefined_flag
='${wl}-z,nodefs'
15791 archive_cmds_need_lc
=no
15792 hardcode_shlibpath_var
=no
15793 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15794 hardcode_libdir_separator
=':'
15795 link_all_deplibs
=yes
15796 export_dynamic_flag_spec
='${wl}-Bexport'
15797 runpath_var
='LD_RUN_PATH'
15799 if test "$GCC" = yes; then
15800 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15801 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15803 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15804 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15809 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15810 hardcode_libdir_flag_spec
='-L$libdir'
15811 hardcode_shlibpath_var
=no
15820 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
15821 echo "${ECHO_T}$ld_shlibs" >&6; }
15822 test "$ld_shlibs" = no
&& can_build_shared
=no
15825 # Do we need to explicitly link libc?
15827 case "x$archive_cmds_need_lc" in
15829 # Assume -lc should be added
15830 archive_cmds_need_lc
=yes
15832 if test "$enable_shared" = yes && test "$GCC" = yes; then
15833 case $archive_cmds in
15835 # FIXME: we may have to deal with multi-command sequences.
15838 # Test whether the compiler implicitly links with -lc since on some
15839 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15840 # to ld, don't add -lc before -lgcc.
15841 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15842 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15844 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15847 (eval $ac_compile) 2>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } 2>conftest.err
; then
15853 libobjs
=conftest.
$ac_objext
15855 wl
=$lt_prog_compiler_wl
15856 pic_flag
=$lt_prog_compiler_pic
15862 lt_save_allow_undefined_flag
=$allow_undefined_flag
15863 allow_undefined_flag
=
15864 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15865 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }
15870 archive_cmds_need_lc
=no
15872 archive_cmds_need_lc
=yes
15874 allow_undefined_flag
=$lt_save_allow_undefined_flag
15876 cat conftest.err
1>&5
15879 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
15880 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
15887 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15888 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15889 library_names_spec
=
15890 libname_spec
='lib$name'
15894 postuninstall_cmds
=
15898 shlibpath_overrides_runpath
=unknown
15900 dynamic_linker
="$host_os ld.so"
15901 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15902 if test "$GCC" = yes; then
15903 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15904 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15905 # if the path contains ";" then we assume it to be the separator
15906 # otherwise default to the standard path separator (i.e. ":") - it is
15907 # assumed that no part of a normal pathname contains ";" but that should
15908 # okay in the real world where ";" in dirpaths is itself problematic.
15909 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15911 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15914 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15916 need_lib_prefix
=unknown
15917 hardcode_into_libs
=no
15919 # when you set need_version to no, make sure it does not cause -set_version
15920 # flags to be left without arguments
15921 need_version
=unknown
15926 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15927 shlibpath_var
=LIBPATH
15929 # AIX 3 has no versioning support, so we append a major version to the name.
15930 soname_spec
='${libname}${release}${shared_ext}$major'
15937 hardcode_into_libs
=yes
15938 if test "$host_cpu" = ia64
; then
15939 # AIX 5 supports IA64
15940 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15941 shlibpath_var
=LD_LIBRARY_PATH
15943 # With GCC up to 2.95.x, collect2 would create an import file
15944 # for dependence libraries. The import file would start with
15945 # the line `#! .'. This would cause the generated library to
15946 # depend on `.', always an invalid library. This was fixed in
15947 # development snapshots of GCC prior to 3.0.
15949 aix4 | aix4.
[01] | aix4.
[01].
*)
15950 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15952 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15955 can_build_shared
=no
15959 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15960 # soname into executable. Probably we can add versioning support to
15961 # collect2, so additional links can be useful in future.
15962 if test "$aix_use_runtimelinking" = yes; then
15963 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15964 # instead of lib<name>.a to let people know that these are not
15965 # typical AIX shared libraries.
15966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15968 # We preserve .a as extension for shared libraries through AIX4.2
15969 # and later when we are not doing run time linking.
15970 library_names_spec
='${libname}${release}.a $libname.a'
15971 soname_spec
='${libname}${release}${shared_ext}$major'
15973 shlibpath_var
=LIBPATH
15978 library_names_spec
='$libname.ixlibrary $libname.a'
15979 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15980 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'
15984 library_names_spec
='${libname}${shared_ext}'
15985 dynamic_linker
="$host_os ld.so"
15986 shlibpath_var
=LIBRARY_PATH
15992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15993 soname_spec
='${libname}${release}${shared_ext}$major'
15994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15995 shlibpath_var
=LD_LIBRARY_PATH
15996 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15997 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15998 # the default ld.so.conf also contains /usr/contrib/lib and
15999 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16000 # libtool to hard-code these into programs
16003 cygwin
* | mingw
* | pw32
*)
16004 version_type
=windows
16009 case $GCC,$host_os in
16010 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16011 library_names_spec
='$libname.dll.a'
16012 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16013 postinstall_cmds
='base_file=`basename \${file}`~
16014 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16015 dldir=$destdir/`dirname \$dlpath`~
16016 test -d \$dldir || mkdir -p \$dldir~
16017 $install_prog $dir/$dlname \$dldir/$dlname~
16018 chmod a+x \$dldir/$dlname'
16019 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16020 dlpath=$dir/\$dldll~
16022 shlibpath_overrides_runpath
=yes
16026 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16027 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16028 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16031 # MinGW DLLs use traditional 'lib' prefix
16032 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16033 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16034 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16035 # It is most probably a Windows format PATH printed by
16036 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16037 # path with ; separators, and with drive letters. We can handle the
16038 # drive letters (cygwin fileutils understands them), so leave them,
16039 # especially as we might pass files found there to a mingw objdump,
16040 # which wouldn't understand a cygwinified path. Ahh.
16041 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16043 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16047 # pw32 DLLs use 'pw' prefix rather than 'lib'
16048 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16054 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16057 dynamic_linker
='Win32 ld.exe'
16058 # FIXME: first we should search . and the directory the executable is in
16062 darwin
* | rhapsody
*)
16063 dynamic_linker
="$host_os dyld"
16064 version_type
=darwin
16067 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16068 soname_spec
='${libname}${release}${major}$shared_ext'
16069 shlibpath_overrides_runpath
=yes
16070 shlibpath_var
=DYLD_LIBRARY_PATH
16071 shrext_cmds
='.dylib'
16072 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16073 if test "$GCC" = yes; then
16074 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"`
16076 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16078 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16086 soname_spec
='${libname}${release}${shared_ext}$major'
16087 shlibpath_var
=LD_LIBRARY_PATH
16098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16099 soname_spec
='${libname}${release}${shared_ext}$major'
16100 shlibpath_var
=LD_LIBRARY_PATH
16101 shlibpath_overrides_runpath
=no
16102 hardcode_into_libs
=yes
16103 dynamic_linker
='GNU ld.so'
16106 freebsd
* | dragonfly
*)
16107 # DragonFly does not have aout. When/if they implement a new
16108 # versioning mechanism, adjust this.
16109 if test -x /usr
/bin
/objformat
; then
16110 objformat
=`/usr/bin/objformat`
16113 freebsd
[123]*) objformat
=aout
;;
16114 *) objformat
=elf
;;
16117 version_type
=freebsd-
$objformat
16118 case $version_type in
16120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16125 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16129 shlibpath_var
=LD_LIBRARY_PATH
16132 shlibpath_overrides_runpath
=yes
16134 freebsd3.
[01]* | freebsdelf3.
[01]*)
16135 shlibpath_overrides_runpath
=yes
16136 hardcode_into_libs
=yes
16138 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16139 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16140 shlibpath_overrides_runpath
=no
16141 hardcode_into_libs
=yes
16143 freebsd
*) # from 4.6 on
16144 shlibpath_overrides_runpath
=yes
16145 hardcode_into_libs
=yes
16154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16155 soname_spec
='${libname}${release}${shared_ext}$major'
16156 shlibpath_var
=LD_LIBRARY_PATH
16157 hardcode_into_libs
=yes
16160 hpux9
* | hpux10
* | hpux11
*)
16161 # Give a soname corresponding to the major version so that dld.sl refuses to
16162 # link against other versions.
16169 hardcode_into_libs
=yes
16170 dynamic_linker
="$host_os dld.so"
16171 shlibpath_var
=LD_LIBRARY_PATH
16172 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16174 soname_spec
='${libname}${release}${shared_ext}$major'
16175 if test "X$HPUX_IA64_MODE" = X32
; then
16176 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16178 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16180 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16184 hardcode_into_libs
=yes
16185 dynamic_linker
="$host_os dld.sl"
16186 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16187 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16189 soname_spec
='${libname}${release}${shared_ext}$major'
16190 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16191 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16195 dynamic_linker
="$host_os dld.sl"
16196 shlibpath_var
=SHLIB_PATH
16197 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16199 soname_spec
='${libname}${release}${shared_ext}$major'
16202 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16203 postinstall_cmds
='chmod 555 $lib'
16210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16211 soname_spec
='${libname}${release}${shared_ext}$major'
16212 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16213 shlibpath_var
=LD_LIBRARY_PATH
16214 shlibpath_overrides_runpath
=no
16215 hardcode_into_libs
=yes
16218 irix5
* | irix6
* | nonstopux
*)
16220 nonstopux
*) version_type
=nonstopux
;;
16222 if test "$lt_cv_prog_gnu_ld" = yes; then
16230 soname_spec
='${libname}${release}${shared_ext}$major'
16231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16233 irix5
* | nonstopux
*)
16234 libsuff
= shlibsuff
=
16237 case $LD in # libtool.m4 will add one of these switches to LD
16238 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16239 libsuff
= shlibsuff
= libmagic
=32-bit;;
16240 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16241 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16242 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16243 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16244 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16248 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16249 shlibpath_overrides_runpath
=no
16250 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16251 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16252 hardcode_into_libs
=yes
16255 # No shared lib support for Linux oldld, aout, or coff.
16256 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16260 # This must be Linux ELF.
16265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16266 soname_spec
='${libname}${release}${shared_ext}$major'
16267 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16268 shlibpath_var
=LD_LIBRARY_PATH
16269 shlibpath_overrides_runpath
=no
16270 # This implies no fast_install, which is unacceptable.
16271 # Some rework will be needed to allow for fast_install
16272 # before this can be enabled.
16273 hardcode_into_libs
=yes
16275 # Append ld.so.conf contents to the search path
16276 if test -f /etc
/ld.so.conf
; then
16277 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' ' '`
16278 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16281 # We used to test for /lib/ld.so.1 and disable shared libraries on
16282 # powerpc, because MkLinux only supported shared libraries with the
16283 # GNU dynamic linker. Since this was broken with cross compilers,
16284 # most powerpc-linux boxes support dynamic linking these days and
16285 # people can always --disable-shared, the test was removed, and we
16286 # assume the GNU/Linux dynamic linker is in use.
16287 dynamic_linker
='GNU/Linux ld.so'
16294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16295 soname_spec
='${libname}${release}${shared_ext}$major'
16296 shlibpath_var
=LD_LIBRARY_PATH
16297 shlibpath_overrides_runpath
=no
16298 hardcode_into_libs
=yes
16299 dynamic_linker
='GNU ld.so'
16306 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16308 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16309 dynamic_linker
='NetBSD (a.out) ld.so'
16311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16312 soname_spec
='${libname}${release}${shared_ext}$major'
16313 dynamic_linker
='NetBSD ld.elf_so'
16315 shlibpath_var
=LD_LIBRARY_PATH
16316 shlibpath_overrides_runpath
=yes
16317 hardcode_into_libs
=yes
16322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16323 shlibpath_var
=LD_LIBRARY_PATH
16324 shlibpath_overrides_runpath
=yes
16331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16332 soname_spec
='${libname}${release}${shared_ext}$major'
16333 shlibpath_var
=LD_LIBRARY_PATH
16334 shlibpath_overrides_runpath
=yes
16339 sys_lib_dlsearch_path_spec
="/usr/lib"
16341 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16343 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16344 *) need_version
=no
;;
16346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16347 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16348 shlibpath_var
=LD_LIBRARY_PATH
16349 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16351 openbsd2.
[89] | openbsd2.
[89].
*)
16352 shlibpath_overrides_runpath
=no
16355 shlibpath_overrides_runpath
=yes
16359 shlibpath_overrides_runpath
=yes
16364 libname_spec
='$name'
16367 library_names_spec
='$libname${shared_ext} $libname.a'
16368 dynamic_linker
='OS/2 ld.exe'
16369 shlibpath_var
=LIBPATH
16372 osf3
* | osf4
* | osf5
*)
16376 soname_spec
='${libname}${release}${shared_ext}$major'
16377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16378 shlibpath_var
=LD_LIBRARY_PATH
16379 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16380 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16388 soname_spec
='${libname}${release}${shared_ext}$major'
16389 shlibpath_var
=LD_LIBRARY_PATH
16390 shlibpath_overrides_runpath
=yes
16391 hardcode_into_libs
=yes
16392 # ldd complains unless libraries are executable
16393 postinstall_cmds
='chmod +x $lib'
16398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16399 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16400 shlibpath_var
=LD_LIBRARY_PATH
16401 shlibpath_overrides_runpath
=yes
16402 if test "$with_gnu_ld" = yes; then
16410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16411 soname_spec
='${libname}${release}${shared_ext}$major'
16412 shlibpath_var
=LD_LIBRARY_PATH
16413 case $host_vendor in
16415 shlibpath_overrides_runpath
=no
16417 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16418 runpath_var
=LD_RUN_PATH
16426 shlibpath_overrides_runpath
=no
16427 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16433 if test -d /usr
/nec
;then
16435 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16436 soname_spec
='$libname${shared_ext}.$major'
16437 shlibpath_var
=LD_LIBRARY_PATH
16441 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16442 version_type
=freebsd-elf
16445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16446 soname_spec
='${libname}${release}${shared_ext}$major'
16447 shlibpath_var
=LD_LIBRARY_PATH
16448 hardcode_into_libs
=yes
16449 if test "$with_gnu_ld" = yes; then
16450 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16451 shlibpath_overrides_runpath
=no
16453 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16454 shlibpath_overrides_runpath
=yes
16457 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16461 sys_lib_dlsearch_path_spec
='/usr/lib'
16466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16467 soname_spec
='${libname}${release}${shared_ext}$major'
16468 shlibpath_var
=LD_LIBRARY_PATH
16475 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16476 echo "${ECHO_T}$dynamic_linker" >&6; }
16477 test "$dynamic_linker" = no
&& can_build_shared
=no
16479 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16480 if test "$GCC" = yes; then
16481 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16484 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16485 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16487 if test -n "$hardcode_libdir_flag_spec" || \
16488 test -n "$runpath_var" || \
16489 test "X$hardcode_automatic" = "Xyes" ; then
16491 # We can hardcode non-existant directories.
16492 if test "$hardcode_direct" != no
&&
16493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16494 # have to relink, otherwise we might link with an installed library
16495 # when we should be linking with a yet-to-be-installed one
16496 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16497 test "$hardcode_minus_L" != no
; then
16498 # Linking always hardcodes the temporary library directory.
16499 hardcode_action
=relink
16501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16502 hardcode_action
=immediate
16505 # We cannot hardcode anything, or else we can only hardcode existing
16507 hardcode_action
=unsupported
16509 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16510 echo "${ECHO_T}$hardcode_action" >&6; }
16512 if test "$hardcode_action" = relink
; then
16513 # Fast installation is not supported
16514 enable_fast_install
=no
16515 elif test "$shlibpath_overrides_runpath" = yes ||
16516 test "$enable_shared" = no
; then
16517 # Fast installation is not necessary
16518 enable_fast_install
=needless
16523 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16524 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16525 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16526 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16527 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16528 { echo "$as_me:$LINENO: result: yes" >&5
16529 echo "${ECHO_T}yes" >&6; }
16531 # FIXME - insert some real tests, host_os isn't really good enough
16534 if test -n "$STRIP" ; then
16535 striplib
="$STRIP -x"
16536 { echo "$as_me:$LINENO: result: yes" >&5
16537 echo "${ECHO_T}yes" >&6; }
16539 { echo "$as_me:$LINENO: result: no" >&5
16540 echo "${ECHO_T}no" >&6; }
16544 { echo "$as_me:$LINENO: result: no" >&5
16545 echo "${ECHO_T}no" >&6; }
16550 if test "x$enable_dlopen" != xyes
; then
16551 enable_dlopen
=unknown
16552 enable_dlopen_self
=unknown
16553 enable_dlopen_self_static
=unknown
16560 lt_cv_dlopen
="load_add_on"
16562 lt_cv_dlopen_self
=yes
16566 lt_cv_dlopen
="LoadLibrary"
16571 lt_cv_dlopen
="dlopen"
16576 # if libdl is installed we need to link against it
16577 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16578 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16579 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16580 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 ac_check_lib_save_LIBS
=$LIBS
16584 cat >conftest.
$ac_ext <<_ACEOF
16587 cat confdefs.h
>>conftest.
$ac_ext
16588 cat >>conftest.
$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16591 /* Override any GCC internal prototype to avoid an error.
16592 Use char because int might match the return type of a GCC
16593 builtin and then its argument prototype would still apply. */
16606 rm -f conftest.
$ac_objext conftest
$ac_exeext
16607 if { (ac_try
="$ac_link"
16608 case "(($ac_try" in
16609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16610 *) ac_try_echo=$ac_try;;
16612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16613 (eval "$ac_link") 2>conftest.er1
16615 grep -v '^ *+' conftest.er1 >conftest.err
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16621 { (case "(($ac_try" in
16622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16623 *) ac_try_echo
=$ac_try;;
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_try") 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try
='test -s conftest$ac_exeext'
16631 { (case "(($ac_try" in
16632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_try") 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16640 ac_cv_lib_dl_dlopen=yes
16642 echo "$as_me: failed program was:" >&5
16643 sed 's/^/| /' conftest.$ac_ext >&5
16645 ac_cv_lib_dl_dlopen=no
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16650 LIBS=$ac_check_lib_save_LIBS
16652 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16653 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16654 if test $ac_cv_lib_dl_dlopen = yes; then
16655 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16658 lt_cv_dlopen="dyld"
16660 lt_cv_dlopen_self=yes
16667 { echo "$as_me:$LINENO: checking for shl_load" >&5
16668 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
16669 if test "${ac_cv_func_shl_load+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 cat >conftest.$ac_ext <<_ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
16679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16680 #define shl_load innocuous_shl_load
16682 /* System header to define __stub macros and hopefully few prototypes,
16683 which can conflict with char shl_load (); below.
16684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16685 <limits.h> exists even on freestanding compilers. */
16688 # include <limits.h>
16690 # include <assert.h>
16695 /* Override any GCC internal prototype to avoid an error.
16696 Use char because int might match the return type of a GCC
16697 builtin and then its argument prototype would still apply. */
16702 /* The GNU C library defines this for functions which it implements
16703 to always fail with ENOSYS. Some functions are actually named
16704 something starting with __ and the normal name is an alias. */
16705 #if defined __stub_shl_load || defined __stub___shl_load
16712 return shl_load ();
16717 rm -f conftest.$ac_objext conftest$ac_exeext
16718 if { (ac_try="$ac_link"
16719 case "(($ac_try" in
16720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16721 *) ac_try_echo
=$ac_try;;
16723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16724 (eval "$ac_link") 2>conftest.er1
16726 grep -v '^ *+' conftest.er1
>conftest.err
16728 cat conftest.err
>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } &&
16731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16732 { (case "(($ac_try" in
16733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16734 *) ac_try_echo=$ac_try;;
16736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16737 (eval "$ac_try") 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; } &&
16741 { ac_try='test -s conftest$ac_exeext'
16742 { (case "(($ac_try" in
16743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16744 *) ac_try_echo
=$ac_try;;
16746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16747 (eval "$ac_try") 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16751 ac_cv_func_shl_load
=yes
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.
$ac_ext >&5
16756 ac_cv_func_shl_load
=no
16759 rm -f core conftest.err conftest.
$ac_objext \
16760 conftest
$ac_exeext conftest.
$ac_ext
16762 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16763 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
16764 if test $ac_cv_func_shl_load = yes; then
16765 lt_cv_dlopen
="shl_load"
16767 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16768 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
16769 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16770 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 ac_check_lib_save_LIBS
=$LIBS
16774 cat >conftest.
$ac_ext <<_ACEOF
16777 cat confdefs.h
>>conftest.
$ac_ext
16778 cat >>conftest.
$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16781 /* Override any GCC internal prototype to avoid an error.
16782 Use char because int might match the return type of a GCC
16783 builtin and then its argument prototype would still apply. */
16791 return shl_load ();
16796 rm -f conftest.
$ac_objext conftest
$ac_exeext
16797 if { (ac_try
="$ac_link"
16798 case "(($ac_try" in
16799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16800 *) ac_try_echo=$ac_try;;
16802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16803 (eval "$ac_link") 2>conftest.er1
16805 grep -v '^ *+' conftest.er1 >conftest.err
16807 cat conftest.err >&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16811 { (case "(($ac_try" in
16812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16813 *) ac_try_echo
=$ac_try;;
16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16816 (eval "$ac_try") 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try
='test -s conftest$ac_exeext'
16821 { (case "(($ac_try" in
16822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16823 *) ac_try_echo=$ac_try;;
16825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16826 (eval "$ac_try") 2>&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); }; }; then
16830 ac_cv_lib_dld_shl_load=yes
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16835 ac_cv_lib_dld_shl_load=no
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16840 LIBS=$ac_check_lib_save_LIBS
16842 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
16843 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
16844 if test $ac_cv_lib_dld_shl_load = yes; then
16845 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
16847 { echo "$as_me:$LINENO: checking for dlopen" >&5
16848 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
16849 if test "${ac_cv_func_dlopen+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 cat >conftest.$ac_ext <<_ACEOF
16855 cat confdefs.h >>conftest.$ac_ext
16856 cat >>conftest.$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16858 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
16859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16860 #define dlopen innocuous_dlopen
16862 /* System header to define __stub macros and hopefully few prototypes,
16863 which can conflict with char dlopen (); below.
16864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16865 <limits.h> exists even on freestanding compilers. */
16868 # include <limits.h>
16870 # include <assert.h>
16875 /* Override any GCC internal prototype to avoid an error.
16876 Use char because int might match the return type of a GCC
16877 builtin and then its argument prototype would still apply. */
16882 /* The GNU C library defines this for functions which it implements
16883 to always fail with ENOSYS. Some functions are actually named
16884 something starting with __ and the normal name is an alias. */
16885 #if defined __stub_dlopen || defined __stub___dlopen
16897 rm -f conftest.$ac_objext conftest$ac_exeext
16898 if { (ac_try="$ac_link"
16899 case "(($ac_try" in
16900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16901 *) ac_try_echo
=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_link") 2>conftest.er1
16906 grep -v '^ *+' conftest.er1
>conftest.err
16908 cat conftest.err
>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16912 { (case "(($ac_try" in
16913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16914 *) ac_try_echo=$ac_try;;
16916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16917 (eval "$ac_try") 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try='test -s conftest$ac_exeext'
16922 { (case "(($ac_try" in
16923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16924 *) ac_try_echo
=$ac_try;;
16926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_try") 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_func_dlopen
=yes
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.
$ac_ext >&5
16936 ac_cv_func_dlopen
=no
16939 rm -f core conftest.err conftest.
$ac_objext \
16940 conftest
$ac_exeext conftest.
$ac_ext
16942 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16943 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
16944 if test $ac_cv_func_dlopen = yes; then
16945 lt_cv_dlopen
="dlopen"
16947 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16948 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16949 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16950 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 ac_check_lib_save_LIBS
=$LIBS
16954 cat >conftest.
$ac_ext <<_ACEOF
16957 cat confdefs.h
>>conftest.
$ac_ext
16958 cat >>conftest.
$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16961 /* Override any GCC internal prototype to avoid an error.
16962 Use char because int might match the return type of a GCC
16963 builtin and then its argument prototype would still apply. */
16976 rm -f conftest.
$ac_objext conftest
$ac_exeext
16977 if { (ac_try
="$ac_link"
16978 case "(($ac_try" in
16979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16980 *) ac_try_echo=$ac_try;;
16982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16983 (eval "$ac_link") 2>conftest.er1
16985 grep -v '^ *+' conftest.er1 >conftest.err
16987 cat conftest.err >&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); } &&
16990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16991 { (case "(($ac_try" in
16992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16993 *) ac_try_echo
=$ac_try;;
16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16996 (eval "$ac_try") 2>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; } &&
17000 { ac_try
='test -s conftest$ac_exeext'
17001 { (case "(($ac_try" in
17002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_try") 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_cv_lib_dl_dlopen=yes
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17015 ac_cv_lib_dl_dlopen=no
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17020 LIBS=$ac_check_lib_save_LIBS
17022 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17023 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17024 if test $ac_cv_lib_dl_dlopen = yes; then
17025 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17027 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17028 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17029 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 ac_check_lib_save_LIBS=$LIBS
17033 LIBS="-lsvld $LIBS"
17034 cat >conftest.$ac_ext <<_ACEOF
17037 cat confdefs.h >>conftest.$ac_ext
17038 cat >>conftest.$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17041 /* Override any GCC internal prototype to avoid an error.
17042 Use char because int might match the return type of a GCC
17043 builtin and then its argument prototype would still apply. */
17056 rm -f conftest.$ac_objext conftest$ac_exeext
17057 if { (ac_try="$ac_link"
17058 case "(($ac_try" in
17059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17060 *) ac_try_echo
=$ac_try;;
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_link") 2>conftest.er1
17065 grep -v '^ *+' conftest.er1
>conftest.err
17067 cat conftest.err
>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } &&
17070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17071 { (case "(($ac_try" in
17072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17073 *) ac_try_echo=$ac_try;;
17075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17076 (eval "$ac_try") 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); }; } &&
17080 { ac_try='test -s conftest$ac_exeext'
17081 { (case "(($ac_try" in
17082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17083 *) ac_try_echo
=$ac_try;;
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17086 (eval "$ac_try") 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; }; then
17090 ac_cv_lib_svld_dlopen
=yes
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.
$ac_ext >&5
17095 ac_cv_lib_svld_dlopen
=no
17098 rm -f core conftest.err conftest.
$ac_objext \
17099 conftest
$ac_exeext conftest.
$ac_ext
17100 LIBS
=$ac_check_lib_save_LIBS
17102 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17103 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17104 if test $ac_cv_lib_svld_dlopen = yes; then
17105 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
17107 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17108 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17109 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17112 ac_check_lib_save_LIBS
=$LIBS
17114 cat >conftest.
$ac_ext <<_ACEOF
17117 cat confdefs.h
>>conftest.
$ac_ext
17118 cat >>conftest.
$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17121 /* Override any GCC internal prototype to avoid an error.
17122 Use char because int might match the return type of a GCC
17123 builtin and then its argument prototype would still apply. */
17131 return dld_link ();
17136 rm -f conftest.
$ac_objext conftest
$ac_exeext
17137 if { (ac_try
="$ac_link"
17138 case "(($ac_try" in
17139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17140 *) ac_try_echo=$ac_try;;
17142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17143 (eval "$ac_link") 2>conftest.er1
17145 grep -v '^ *+' conftest.er1 >conftest.err
17147 cat conftest.err >&5
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); } &&
17150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17151 { (case "(($ac_try" in
17152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17153 *) ac_try_echo
=$ac_try;;
17155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17156 (eval "$ac_try") 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; } &&
17160 { ac_try
='test -s conftest$ac_exeext'
17161 { (case "(($ac_try" in
17162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17163 *) ac_try_echo=$ac_try;;
17165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17166 (eval "$ac_try") 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_lib_dld_dld_link=yes
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 ac_cv_lib_dld_dld_link=no
17178 rm -f core conftest.err conftest.$ac_objext \
17179 conftest$ac_exeext conftest.$ac_ext
17180 LIBS=$ac_check_lib_save_LIBS
17182 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17183 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17184 if test $ac_cv_lib_dld_dld_link = yes; then
17185 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17206 if test "x$lt_cv_dlopen" != xno; then
17212 case $lt_cv_dlopen in
17214 save_CPPFLAGS="$CPPFLAGS"
17215 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17217 save_LDFLAGS="$LDFLAGS"
17218 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17221 LIBS="$lt_cv_dlopen_libs $LIBS"
17223 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17224 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17225 if test "${lt_cv_dlopen_self+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 if test "$cross_compiling" = yes; then :
17229 lt_cv_dlopen_self=cross
17231 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17232 lt_status=$lt_dlunknown
17233 cat > conftest.$ac_ext <<EOF
17234 #line 17234 "configure"
17235 #include "confdefs.h"
17244 # define LT_DLGLOBAL RTLD_GLOBAL
17247 # define LT_DLGLOBAL DL_GLOBAL
17249 # define LT_DLGLOBAL 0
17253 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17254 find out it does not work in some platform. */
17255 #ifndef LT_DLLAZY_OR_NOW
17257 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17260 # define LT_DLLAZY_OR_NOW DL_LAZY
17263 # define LT_DLLAZY_OR_NOW RTLD_NOW
17266 # define LT_DLLAZY_OR_NOW DL_NOW
17268 # define LT_DLLAZY_OR_NOW 0
17276 extern "C" void exit (int);
17279 void fnord() { int i=42;}
17282 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17283 int status = $lt_dlunknown;
17287 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17288 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17289 /* dlclose (self); */
17297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17298 (eval $ac_link) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17302 (./conftest; exit; ) >&5 2>/dev/null
17304 case x$lt_status in
17305 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17306 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17307 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17310 # compilation failed
17311 lt_cv_dlopen_self=no
17318 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17319 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17321 if test "x$lt_cv_dlopen_self" = xyes; then
17322 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17323 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17324 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17325 if test "${lt_cv_dlopen_self_static+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 if test "$cross_compiling" = yes; then :
17329 lt_cv_dlopen_self_static=cross
17331 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17332 lt_status=$lt_dlunknown
17333 cat > conftest.$ac_ext <<EOF
17334 #line 17334 "configure"
17335 #include "confdefs.h"
17344 # define LT_DLGLOBAL RTLD_GLOBAL
17347 # define LT_DLGLOBAL DL_GLOBAL
17349 # define LT_DLGLOBAL 0
17353 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17354 find out it does not work in some platform. */
17355 #ifndef LT_DLLAZY_OR_NOW
17357 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17360 # define LT_DLLAZY_OR_NOW DL_LAZY
17363 # define LT_DLLAZY_OR_NOW RTLD_NOW
17366 # define LT_DLLAZY_OR_NOW DL_NOW
17368 # define LT_DLLAZY_OR_NOW 0
17376 extern "C" void exit (int);
17379 void fnord() { int i=42;}
17382 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17383 int status = $lt_dlunknown;
17387 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17388 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17389 /* dlclose (self); */
17397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17398 (eval $ac_link) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17402 (./conftest; exit; ) >&5 2>/dev/null
17404 case x$lt_status in
17405 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17406 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17407 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17410 # compilation failed
17411 lt_cv_dlopen_self_static=no
17418 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17419 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17422 CPPFLAGS="$save_CPPFLAGS"
17423 LDFLAGS="$save_LDFLAGS"
17428 case $lt_cv_dlopen_self in
17429 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17430 *) enable_dlopen_self=unknown ;;
17433 case $lt_cv_dlopen_self_static in
17434 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17435 *) enable_dlopen_self_static=unknown ;;
17440 # Report which library types will actually be built
17441 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17442 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17443 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17444 echo "${ECHO_T}$can_build_shared" >&6; }
17446 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17447 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17448 test "$can_build_shared" = "no" && enable_shared=no
17450 # On AIX, shared libraries and static libraries use the same namespace, and
17451 # are all built from PIC.
17454 test "$enable_shared" = yes && enable_static=no
17455 if test -n "$RANLIB"; then
17456 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17457 postinstall_cmds='$RANLIB $lib'
17462 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17463 test "$enable_shared" = yes && enable_static=no
17467 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17468 echo "${ECHO_T}$enable_shared" >&6; }
17470 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17471 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17472 # Make sure either enable_shared or enable_static is yes.
17473 test "$enable_shared" = yes || enable_static=yes
17474 { echo "$as_me:$LINENO: result: $enable_static" >&5
17475 echo "${ECHO_T}$enable_static" >&6; }
17477 # The else clause should only fire when bootstrapping the
17478 # libtool distribution, otherwise you forgot to ship ltmain.sh
17479 # with your package, and you will get complaints that there are
17480 # no rules to generate ltmain.sh.
17481 if test -f "$ltmain"; then
17482 # See if we are running on zsh, and set the options which allow our commands through
17483 # without removal of \ escapes.
17484 if test -n "${ZSH_VERSION+set}" ; then
17485 setopt NO_GLOB_SUBST
17487 # Now quote all the things that may contain metacharacters while being
17488 # careful not to overquote the AC_SUBSTed values. We take copies of the
17489 # variables and quote the copies for generation of the libtool script.
17490 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17492 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17493 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17494 deplibs_check_method reload_flag reload_cmds need_locks \
17495 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17496 lt_cv_sys_global_symbol_to_c_name_address \
17497 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17498 old_postinstall_cmds old_postuninstall_cmds \
17502 lt_prog_compiler_wl \
17503 lt_prog_compiler_pic \
17504 lt_prog_compiler_static \
17505 lt_prog_compiler_no_builtin_flag \
17506 export_dynamic_flag_spec \
17507 thread_safe_flag_spec \
17508 whole_archive_flag_spec \
17509 enable_shared_with_static_runtimes \
17511 old_archive_from_new_cmds \
17516 compiler_lib_search_path \
17518 archive_expsym_cmds \
17520 postuninstall_cmds \
17521 old_archive_from_expsyms_cmds \
17522 allow_undefined_flag \
17523 no_undefined_flag \
17524 export_symbols_cmds \
17525 hardcode_libdir_flag_spec \
17526 hardcode_libdir_flag_spec_ld \
17527 hardcode_libdir_separator \
17528 hardcode_automatic \
17530 module_expsym_cmds \
17531 lt_cv_prog_compiler_c_o \
17533 include_expsyms; do
17536 old_archive_cmds | \
17537 old_archive_from_new_cmds | \
17539 archive_expsym_cmds | \
17541 module_expsym_cmds | \
17542 old_archive_from_expsyms_cmds | \
17543 export_symbols_cmds | \
17544 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17545 postinstall_cmds | postuninstall_cmds | \
17546 old_postinstall_cmds | old_postuninstall_cmds | \
17547 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17548 # Double-quote double-evaled strings.
17549 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
17552 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
17558 *'\$0 --fallback-echo"')
17559 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17563 cfgfile="${ofile}T"
17564 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17566 { echo "$as_me:$LINENO: creating $ofile" >&5
17567 echo "$as_me: creating $ofile" >&6;}
17569 cat <<__EOF__ >> "$cfgfile"
17572 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
17573 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17574 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17576 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17577 # Free Software Foundation, Inc.
17579 # This file is part of GNU Libtool:
17580 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17582 # This program is free software; you can redistribute it and/or modify
17583 # it under the terms of the GNU General Public License as published by
17584 # the Free Software Foundation; either version 2 of the License, or
17585 # (at your option) any later version.
17587 # This program is distributed in the hope that it will be useful, but
17588 # WITHOUT ANY WARRANTY; without even the implied warranty of
17589 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17590 # General Public License for more details.
17592 # You should have received a copy of the GNU General Public License
17593 # along with this program; if not, write to the Free Software
17594 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17596 # As a special exception to the GNU General Public License, if you
17597 # distribute this file as part of a program that contains a
17598 # configuration script generated by Autoconf, you may include it under
17599 # the same distribution terms that you use for the rest of that program.
17601 # A sed program that does not truncate output.
17604 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17605 Xsed="$SED -e 1s/^X//"
17607 # The HP-UX ksh and POSIX shell print the target directory to stdout
17608 # if CDPATH is set.
17609 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17611 # The names of the tagged configurations supported by this script.
17614 # ### BEGIN LIBTOOL CONFIG
17616 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
17618 # Shell to use when invoking shell scripts.
17621 # Whether or not to build shared libraries.
17622 build_libtool_libs=$enable_shared
17624 # Whether or not to build static libraries.
17625 build_old_libs=$enable_static
17627 # Whether or not to add -lc for building shared libraries.
17628 build_libtool_need_lc=$archive_cmds_need_lc
17630 # Whether or not to disallow shared libs when runtime libs are static
17631 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17633 # Whether or not to optimize for fast installation.
17634 fast_install=$enable_fast_install
17637 host_alias=$host_alias
17641 # The build system.
17642 build_alias=$build_alias
17646 # An echo program that does not interpret backslashes.
17651 AR_FLAGS=$lt_AR_FLAGS
17656 # LTCC compiler flags.
17657 LTCFLAGS=$lt_LTCFLAGS
17659 # A language-specific compiler.
17662 # Is the compiler the GNU C compiler?
17668 # The linker used to build libraries.
17671 # Whether we need hard or soft links.
17674 # A BSD-compatible nm program.
17677 # A symbol stripping program
17680 # Used to examine libraries when file_magic_cmd begins "file"
17681 MAGIC_CMD=$MAGIC_CMD
17683 # Used on cygwin: DLL creation program.
17686 # Used on cygwin: object dumper.
17689 # Used on cygwin: assembler.
17692 # The name of the directory that contains temporary libtool files.
17695 # How to create reloadable object files.
17696 reload_flag=$lt_reload_flag
17697 reload_cmds=$lt_reload_cmds
17699 # How to pass a linker flag through the compiler.
17700 wl=$lt_lt_prog_compiler_wl
17702 # Object file suffix (normally "o").
17703 objext="$ac_objext"
17705 # Old archive suffix (normally "a").
17708 # Shared library suffix (normally ".so").
17709 shrext_cmds='$shrext_cmds'
17711 # Executable file suffix (normally "").
17714 # Additional compiler flags for building library objects.
17715 pic_flag=$lt_lt_prog_compiler_pic
17718 # What is the maximum length of a command?
17719 max_cmd_len=$lt_cv_sys_max_cmd_len
17721 # Does compiler simultaneously support -c and -o options?
17722 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17724 # Must we lock files when doing compilation?
17725 need_locks=$lt_need_locks
17727 # Do we need the lib prefix for modules?
17728 need_lib_prefix=$need_lib_prefix
17730 # Do we need a version for libraries?
17731 need_version=$need_version
17733 # Whether dlopen is supported.
17734 dlopen_support=$enable_dlopen
17736 # Whether dlopen of programs is supported.
17737 dlopen_self=$enable_dlopen_self
17739 # Whether dlopen of statically linked programs is supported.
17740 dlopen_self_static=$enable_dlopen_self_static
17742 # Compiler flag to prevent dynamic linking.
17743 link_static_flag=$lt_lt_prog_compiler_static
17745 # Compiler flag to turn off builtin functions.
17746 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17748 # Compiler flag to allow reflexive dlopens.
17749 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17751 # Compiler flag to generate shared objects directly from archives.
17752 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17754 # Compiler flag to generate thread-safe objects.
17755 thread_safe_flag_spec=$lt_thread_safe_flag_spec
17757 # Library versioning type.
17758 version_type=$version_type
17760 # Format of library name prefix.
17761 libname_spec=$lt_libname_spec
17763 # List of archive names. First name is the real one, the rest are links.
17764 # The last name is the one that the linker finds with -lNAME.
17765 library_names_spec=$lt_library_names_spec
17767 # The coded name of the library, if different from the real name.
17768 soname_spec=$lt_soname_spec
17770 # Commands used to build and install an old-style archive.
17772 old_archive_cmds=$lt_old_archive_cmds
17773 old_postinstall_cmds=$lt_old_postinstall_cmds
17774 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17776 # Create an old-style archive from a shared archive.
17777 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17779 # Create a temporary old-style archive to link instead of a shared archive.
17780 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17782 # Commands used to build and install a shared archive.
17783 archive_cmds=$lt_archive_cmds
17784 archive_expsym_cmds=$lt_archive_expsym_cmds
17785 postinstall_cmds=$lt_postinstall_cmds
17786 postuninstall_cmds=$lt_postuninstall_cmds
17788 # Commands used to build a loadable module (assumed same as above if empty)
17789 module_cmds=$lt_module_cmds
17790 module_expsym_cmds=$lt_module_expsym_cmds
17792 # Commands to strip libraries.
17793 old_striplib=$lt_old_striplib
17794 striplib=$lt_striplib
17796 # Dependencies to place before the objects being linked to create a
17798 predep_objects=$lt_predep_objects
17800 # Dependencies to place after the objects being linked to create a
17802 postdep_objects=$lt_postdep_objects
17804 # Dependencies to place before the objects being linked to create a
17806 predeps=$lt_predeps
17808 # Dependencies to place after the objects being linked to create a
17810 postdeps=$lt_postdeps
17812 # The library search path used internally by the compiler when linking
17813 # a shared library.
17814 compiler_lib_search_path=$lt_compiler_lib_search_path
17816 # Method to check whether dependent libraries are shared objects.
17817 deplibs_check_method=$lt_deplibs_check_method
17819 # Command to use when deplibs_check_method == file_magic.
17820 file_magic_cmd=$lt_file_magic_cmd
17822 # Flag that allows shared libraries with undefined symbols to be built.
17823 allow_undefined_flag=$lt_allow_undefined_flag
17825 # Flag that forces no undefined symbols.
17826 no_undefined_flag=$lt_no_undefined_flag
17828 # Commands used to finish a libtool library installation in a directory.
17829 finish_cmds=$lt_finish_cmds
17831 # Same as above, but a single script fragment to be evaled but not shown.
17832 finish_eval=$lt_finish_eval
17834 # Take the output of nm and produce a listing of raw symbols and C names.
17835 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17837 # Transform the output of nm in a proper C declaration
17838 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17840 # Transform the output of nm in a C name address pair
17841 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17843 # This is the shared library runtime path variable.
17844 runpath_var=$runpath_var
17846 # This is the shared library path variable.
17847 shlibpath_var=$shlibpath_var
17849 # Is shlibpath searched before the hard-coded library search path?
17850 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17852 # How to hardcode a shared library path into an executable.
17853 hardcode_action=$hardcode_action
17855 # Whether we should hardcode library paths into libraries.
17856 hardcode_into_libs=$hardcode_into_libs
17858 # Flag to hardcode \$libdir into a binary during linking.
17859 # This must work even if \$libdir does not exist.
17860 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17862 # If ld is used when linking, flag to hardcode \$libdir into
17863 # a binary during linking. This must work even if \$libdir does
17865 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17867 # Whether we need a single -rpath flag with a separated argument.
17868 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17870 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17871 # resulting binary.
17872 hardcode_direct=$hardcode_direct
17874 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17875 # resulting binary.
17876 hardcode_minus_L=$hardcode_minus_L
17878 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17879 # the resulting binary.
17880 hardcode_shlibpath_var=$hardcode_shlibpath_var
17882 # Set to yes if building a shared library automatically hardcodes DIR into the library
17883 # and all subsequent libraries and executables linked against it.
17884 hardcode_automatic=$hardcode_automatic
17886 # Variables whose values should be saved in libtool wrapper scripts and
17887 # restored at relink time.
17888 variables_saved_for_relink="$variables_saved_for_relink"
17890 # Whether libtool must link a program against all its dependency libraries.
17891 link_all_deplibs=$link_all_deplibs
17893 # Compile-time system search path for libraries
17894 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17896 # Run-time system search path for libraries
17897 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17899 # Fix the shell variable \$srcfile for the compiler.
17900 fix_srcfile_path="$fix_srcfile_path"
17902 # Set to yes if exported symbols are required.
17903 always_export_symbols=$always_export_symbols
17905 # The commands to list exported symbols.
17906 export_symbols_cmds=$lt_export_symbols_cmds
17908 # The commands to extract the exported symbol list from a shared archive.
17909 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17911 # Symbols that should not be listed in the preloaded symbols.
17912 exclude_expsyms=$lt_exclude_expsyms
17914 # Symbols that must always be exported.
17915 include_expsyms=$lt_include_expsyms
17917 # ### END LIBTOOL CONFIG
17924 cat <<\EOF >> "$cfgfile"
17926 # AIX sometimes has problems with the GCC collect2 program. For some
17927 # reason, if we set the COLLECT_NAMES environment variable, the problems
17928 # vanish in a puff of smoke.
17929 if test "X${COLLECT_NAMES+set}" != Xset; then
17931 export COLLECT_NAMES
17937 # We use sed instead of cat because bash on DJGPP gets confused if
17938 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17939 # text mode, it properly converts lines to CR/LF. This bash problem
17940 # is reportedly fixed, but why not run on old versions too?
17941 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
17943 mv -f "$cfgfile" "$ofile" || \
17944 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17948 # If there is no Makefile yet, we rely on a make rule to execute
17949 # `config.status
--recheck' to rerun these tests and create the
17950 # libtool script then.
17951 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
17952 if test -f "$ltmain_in"; then
17953 test -f Makefile && make "$ltmain"
17959 ac_cpp='$CPP $CPPFLAGS'
17960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17961 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17967 # Check whether --with-tags was given.
17968 if test "${with_tags+set}" = set; then
17969 withval=$with_tags; tagnames="$withval"
17973 if test -f "$ltmain" && test -n "$tagnames"; then
17974 if test ! -f "${ofile}"; then
17975 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
17976 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
17979 if test -z "$LTCC"; then
17980 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
17981 if test -z "$LTCC"; then
17982 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
17983 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
17985 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
17986 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
17989 if test -z "$LTCFLAGS"; then
17990 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
17993 # Extract list of available tagged configurations in $ofile.
17994 # Note that this assumes the entire list is on one line.
17995 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
17997 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
17998 for tagname in $tagnames; do
18000 # Check whether tagname contains only valid characters
18001 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18003 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18004 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18005 { (exit 1); exit 1; }; }
18009 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18011 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18012 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18013 { (exit 1); exit 1; }; }
18016 # Update the list of available tags.
18017 if test -n "$tagname"; then
18018 echo appending configuration tag \"$tagname\" to $ofile
18022 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18023 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
18024 (test "X$CXX" != "Xg++"))) ; then
18026 ac_cpp='$CXXCPP $CPPFLAGS'
18027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18034 archive_cmds_need_lc_CXX=no
18035 allow_undefined_flag_CXX=
18036 always_export_symbols_CXX=no
18037 archive_expsym_cmds_CXX=
18038 export_dynamic_flag_spec_CXX=
18039 hardcode_direct_CXX=no
18040 hardcode_libdir_flag_spec_CXX=
18041 hardcode_libdir_flag_spec_ld_CXX=
18042 hardcode_libdir_separator_CXX=
18043 hardcode_minus_L_CXX=no
18044 hardcode_shlibpath_var_CXX=unsupported
18045 hardcode_automatic_CXX=no
18047 module_expsym_cmds_CXX=
18048 link_all_deplibs_CXX=unknown
18049 old_archive_cmds_CXX=$old_archive_cmds
18050 no_undefined_flag_CXX=
18051 whole_archive_flag_spec_CXX=
18052 enable_shared_with_static_runtimes_CXX=no
18054 # Dependencies to place before and after the object being linked:
18055 predep_objects_CXX=
18056 postdep_objects_CXX=
18059 compiler_lib_search_path_CXX=
18061 # Source file extension for C++ test sources.
18064 # Object file extension for compiled C++ test sources.
18068 # Code to be used in simple compile tests
18069 lt_simple_compile_test_code="int some_variable = 0;\n"
18071 # Code to be used in simple link tests
18072 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
18074 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18076 # If no C compiler was specified, use CC.
18079 # If no C compiler flags were specified, use CFLAGS.
18080 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18082 # Allow CC to be a program name with arguments.
18086 # save warnings/boilerplate of simple test code
18087 ac_outfile=conftest.$ac_objext
18088 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18089 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18090 _lt_compiler_boilerplate=`cat conftest.err
`
18093 ac_outfile=conftest.$ac_objext
18094 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18095 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18096 _lt_linker_boilerplate=`cat conftest.err
`
18100 # Allow CC to be a program name with arguments.
18105 lt_save_with_gnu_ld=$with_gnu_ld
18106 lt_save_path_LD=$lt_cv_path_LD
18107 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18108 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18110 $as_unset lt_cv_prog_gnu_ld
18112 if test -n "${lt_cv_path_LDCXX+set}"; then
18113 lt_cv_path_LD=$lt_cv_path_LDCXX
18115 $as_unset lt_cv_path_LD
18117 test -z "${LDCXX+set}" || LD=$LDCXX
18121 for cc_temp in $compiler""; do
18123 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18124 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18129 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18132 # We don't want -fno-exception wen compiling C++ code, so set the
18133 # no_builtin_flag separately
18134 if test "$GXX" = yes; then
18135 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18137 lt_prog_compiler_no_builtin_flag_CXX=
18140 if test "$GXX" = yes; then
18141 # Set up default GNU C++ configuration
18144 # Check whether --with-gnu-ld was given.
18145 if test "${with_gnu_ld+set}" = set; then
18146 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18152 if test "$GCC" = yes; then
18153 # Check if gcc -print-prog-name=ld gives a path.
18154 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18155 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18158 # gcc leaves a trailing carriage return which upsets mingw
18159 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
18161 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
18164 # Accept absolute paths.
18166 re_direlt='/[^/][^/]*/\.\./'
18167 # Canonicalize the pathname of ld
18168 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
18169 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18170 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
18172 test -z "$LD" && LD="$ac_prog"
18175 # If it fails, then pretend we aren't using GCC.
18179 # If it is relative, then search for the first ld in PATH.
18180 with_gnu_ld=unknown
18183 elif test "$with_gnu_ld" = yes; then
18184 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18185 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18187 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18188 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18190 if test "${lt_cv_path_LD+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 if test -z "$LD"; then
18194 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18195 for ac_dir in $PATH; do
18197 test -z "$ac_dir" && ac_dir=.
18198 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18199 lt_cv_path_LD="$ac_dir/$ac_prog"
18200 # Check to see if the program is GNU ld. I'd rather use --version,
18201 # but apparently some variants of GNU ld only accept -v.
18202 # Break only if it was the GNU/non-GNU ld that we prefer.
18203 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
18204 *GNU* | *'with BFD'*)
18205 test "$with_gnu_ld" != no && break
18208 test "$with_gnu_ld" != yes && break
18215 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18219 LD="$lt_cv_path_LD"
18220 if test -n "$LD"; then
18221 { echo "$as_me:$LINENO: result: $LD" >&5
18222 echo "${ECHO_T}$LD" >&6; }
18224 { echo "$as_me:$LINENO: result: no" >&5
18225 echo "${ECHO_T}no" >&6; }
18227 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18228 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18229 { (exit 1); exit 1; }; }
18230 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18231 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18232 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18236 case `$LD -v 2>&1 </dev
/null
` in
18237 *GNU* | *'with BFD'*)
18238 lt_cv_prog_gnu_ld=yes
18241 lt_cv_prog_gnu_ld=no
18245 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18246 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18247 with_gnu_ld=$lt_cv_prog_gnu_ld
18251 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18252 # archiving commands below assume that GNU ld is being used.
18253 if test "$with_gnu_ld" = yes; then
18254 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18255 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'
18257 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18258 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18260 # If archive_cmds runs LD, not CC, wlarc should be empty
18261 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18262 # investigate it a little bit more. (MM)
18265 # ancient GNU ld didn't support --whole-archive et. al.
18266 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
18267 grep 'no-whole-archive' > /dev/null; then
18268 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18270 whole_archive_flag_spec_CXX=
18276 # A generic and very simple default shared library creation
18277 # command for GNU C++ for the case where it uses the native
18278 # linker, instead of GNU ld. If possible, this setting should
18279 # overridden to take advantage of the native linker features on
18280 # the platform it is being used on.
18281 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18284 # Commands to make compiler produce verbose output that lists
18285 # what "hidden" libraries, object files and flags are used when
18286 # linking a shared library.
18287 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18295 # PORTME: fill in a description of your system's C++ link characteristics
18296 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18297 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18301 # FIXME: insert proper C++ library support
18305 if test "$host_cpu" = ia64; then
18306 # On IA64, the linker does run time linking by default, so we don't
18307 # have to do anything special.
18308 aix_use_runtimelinking=no
18309 exp_sym_flag='-Bexport'
18312 aix_use_runtimelinking=no
18314 # Test if we are trying to use run time linking or normal
18315 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18316 # need to do runtime linking.
18317 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18318 for ld_flag in $LDFLAGS; do
18321 aix_use_runtimelinking=yes
18329 exp_sym_flag='-bexport'
18330 no_entry_flag='-bnoentry'
18333 # When large executables or shared objects are built, AIX ld can
18334 # have problems creating the table of contents. If linking a library
18335 # or program results in "error TOC overflow" add -mminimal-toc to
18336 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18337 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18339 archive_cmds_CXX=''
18340 hardcode_direct_CXX=yes
18341 hardcode_libdir_separator_CXX=':'
18342 link_all_deplibs_CXX=yes
18344 if test "$GXX" = yes; then
18345 case $host_os in aix4.[012]|aix4.[012].*)
18346 # We only want to do this on AIX 4.2 and lower, the check
18347 # below for broken collect2 doesn't work under 4.3+
18348 collect2name=`${CC} -print-prog-name=collect2
`
18349 if test -f "$collect2name" && \
18350 strings "$collect2name" | grep resolve_lib_name >/dev/null
18352 # We have reworked collect2
18353 hardcode_direct_CXX=yes
18355 # We have old collect2
18356 hardcode_direct_CXX=unsupported
18357 # It fails to find uninstalled libraries when the uninstalled
18358 # path is not listed in the libpath. Setting hardcode_minus_L
18359 # to unsupported forces relinking
18360 hardcode_minus_L_CXX=yes
18361 hardcode_libdir_flag_spec_CXX='-L$libdir'
18362 hardcode_libdir_separator_CXX=
18366 shared_flag='-shared'
18367 if test "$aix_use_runtimelinking" = yes; then
18368 shared_flag="$shared_flag "'${wl}-G'
18372 if test "$host_cpu" = ia64; then
18373 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18374 # chokes on -Wl,-G. The following line is correct:
18377 if test "$aix_use_runtimelinking" = yes; then
18378 shared_flag='${wl}-G'
18380 shared_flag='${wl}-bM:SRE'
18385 # It seems that -bexpall does not export symbols beginning with
18386 # underscore (_), so it is better to generate a list of symbols to export.
18387 always_export_symbols_CXX=yes
18388 if test "$aix_use_runtimelinking" = yes; then
18389 # Warning - without using the other runtime loading flags (-brtl),
18390 # -berok will link without error, but may produce a broken library.
18391 allow_undefined_flag_CXX='-berok'
18392 # Determine the default libpath from the value encoded in an empty executable.
18393 cat >conftest.$ac_ext <<_ACEOF
18396 cat confdefs.h >>conftest.$ac_ext
18397 cat >>conftest.$ac_ext <<_ACEOF
18398 /* end confdefs.h. */
18408 rm -f conftest.$ac_objext conftest$ac_exeext
18409 if { (ac_try="$ac_link"
18410 case "(($ac_try" in
18411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18412 *) ac_try_echo
=$ac_try;;
18414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18415 (eval "$ac_link") 2>conftest.er1
18417 grep -v '^ *+' conftest.er1
>conftest.err
18419 cat conftest.err
>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18423 { (case "(($ac_try" in
18424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18425 *) ac_try_echo=$ac_try;;
18427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18428 (eval "$ac_try") 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try='test -s conftest$ac_exeext'
18433 { (case "(($ac_try" in
18434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18435 *) ac_try_echo
=$ac_try;;
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_try") 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18443 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18445 # Check for a 64-bit object if we didn't find anything.
18446 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; }
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.
$ac_ext >&5
18455 rm -f core conftest.err conftest.
$ac_objext \
18456 conftest
$ac_exeext conftest.
$ac_ext
18457 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18459 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
18461 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"
18463 if test "$host_cpu" = ia64
; then
18464 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
18465 allow_undefined_flag_CXX
="-z nodefs"
18466 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"
18468 # Determine the default libpath from the value encoded in an empty executable.
18469 cat >conftest.
$ac_ext <<_ACEOF
18472 cat confdefs.h
>>conftest.
$ac_ext
18473 cat >>conftest.
$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18484 rm -f conftest.
$ac_objext conftest
$ac_exeext
18485 if { (ac_try
="$ac_link"
18486 case "(($ac_try" in
18487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18488 *) ac_try_echo=$ac_try;;
18490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18491 (eval "$ac_link") 2>conftest.er1
18493 grep -v '^ *+' conftest.er1 >conftest.err
18495 cat conftest.err >&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); } &&
18498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18499 { (case "(($ac_try" in
18500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18501 *) ac_try_echo
=$ac_try;;
18503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18504 (eval "$ac_try") 2>&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); }; } &&
18508 { ac_try
='test -s conftest$ac_exeext'
18509 { (case "(($ac_try" in
18510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_try") 2>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18519 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18521 # Check for a 64-bit object if we didn't find anything.
18522 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; }
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18531 rm -f core conftest.err conftest.$ac_objext \
18532 conftest$ac_exeext conftest.$ac_ext
18533 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18535 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18536 # Warning - without using the other run time loading flags,
18537 # -berok will link without error, but may produce a broken library.
18538 no_undefined_flag_CXX=' ${wl}-bernotok'
18539 allow_undefined_flag_CXX=' ${wl}-berok'
18540 # Exported symbols can be pulled into shared objects from archives
18541 whole_archive_flag_spec_CXX='$convenience'
18542 archive_cmds_need_lc_CXX=yes
18543 # This is similar to how AIX traditionally builds its shared libraries.
18544 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'
18550 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18551 allow_undefined_flag_CXX=unsupported
18552 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18553 # support --undefined. This deserves some investigation. FIXME
18554 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18561 case $cc_basename in
18563 # FIXME: insert proper C++ library support
18569 cygwin* | mingw* | pw32*)
18570 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18571 # as there is no search path for DLLs.
18572 hardcode_libdir_flag_spec_CXX='-L$libdir'
18573 allow_undefined_flag_CXX=unsupported
18574 always_export_symbols_CXX=no
18575 enable_shared_with_static_runtimes_CXX=yes
18577 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18578 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'
18579 # If the export-symbols file already is a .def file (1st line
18580 # is EXPORTS), use it as is; otherwise, prepend...
18581 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
18582 cp $export_symbols $output_objdir/$soname.def;
18584 echo EXPORTS > $output_objdir/$soname.def;
18585 cat $export_symbols >> $output_objdir/$soname.def;
18587 $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'
18592 darwin* | rhapsody*)
18594 rhapsody* | darwin1.[012])
18595 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
18598 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18599 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18601 case ${MACOSX_DEPLOYMENT_TARGET} in
18603 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18606 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
18612 archive_cmds_need_lc_CXX=no
18613 hardcode_direct_CXX=no
18614 hardcode_automatic_CXX=yes
18615 hardcode_shlibpath_var_CXX=unsupported
18616 whole_archive_flag_spec_CXX=''
18617 link_all_deplibs_CXX=yes
18619 if test "$GXX" = yes ; then
18620 lt_int_apple_cc_single_mod=no
18621 output_verbose_link_cmd='echo'
18622 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
18623 lt_int_apple_cc_single_mod=yes
18625 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18626 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18628 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'
18630 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18631 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18632 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18633 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}'
18635 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}'
18637 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}'
18639 case $cc_basename in
18641 output_verbose_link_cmd='echo'
18642 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'
18643 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18644 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18645 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}'
18646 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}'
18656 case $cc_basename in
18658 # FIXME: insert proper C++ library support
18662 # Green Hills C++ Compiler
18663 # FIXME: insert proper C++ library support
18667 # FIXME: insert proper C++ library support
18673 # C++ shared libraries reported to be fairly broken before switch to ELF
18677 archive_cmds_need_lc_CXX=no
18679 freebsd* | kfreebsd*-gnu | dragonfly*)
18680 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18687 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18688 hardcode_libdir_separator_CXX=:
18689 export_dynamic_flag_spec_CXX='${wl}-E'
18690 hardcode_direct_CXX=yes
18691 hardcode_minus_L_CXX=yes # Not in the search PATH,
18692 # but as the default
18693 # location of the library.
18695 case $cc_basename in
18697 # FIXME: insert proper C++ library support
18701 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'
18702 # Commands to make compiler produce verbose output that lists
18703 # what "hidden" libraries, object files and flags are used when
18704 # linking a shared library.
18706 # There doesn't appear to be a way to prevent this compiler from
18707 # explicitly linking system object files so we need to strip them
18708 # from the output so that they don't get included in the library
18710 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'
18713 if test "$GXX" = yes; then
18714 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'
18716 # FIXME: insert proper C++ library support
18723 if test $with_gnu_ld = no; then
18724 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18725 hardcode_libdir_separator_CXX=:
18729 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
18732 export_dynamic_flag_spec_CXX='${wl}-E'
18738 hardcode_direct_CXX=no
18739 hardcode_shlibpath_var_CXX=no
18742 hardcode_direct_CXX=yes
18743 hardcode_minus_L_CXX=yes # Not in the search PATH,
18744 # but as the default
18745 # location of the library.
18749 case $cc_basename in
18751 # FIXME: insert proper C++ library support
18757 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18760 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18763 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18766 # Commands to make compiler produce verbose output that lists
18767 # what "hidden" libraries, object files and flags are used when
18768 # linking a shared library.
18770 # There doesn't appear to be a way to prevent this compiler from
18771 # explicitly linking system object files so we need to strip them
18772 # from the output so that they don't get included in the library
18774 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'
18777 if test "$GXX" = yes; then
18778 if test $with_gnu_ld = no; then
18781 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18784 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18787 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'
18792 # FIXME: insert proper C++ library support
18799 hardcode_direct_CXX=no
18800 hardcode_shlibpath_var_CXX=no
18801 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18802 export_dynamic_flag_spec_CXX='${wl}-E'
18803 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18804 # Instead, shared libraries are loaded at an image base (0x10000000 by
18805 # default) and relocated if they conflict, which is a slow very memory
18806 # consuming and fragmenting process. To avoid this, we pick a random,
18807 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18808 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18809 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'
18810 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'
18813 case $cc_basename in
18816 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'
18818 # Archives containing C++ object files must be created using
18819 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18820 # necessary to make sure instantiated templates are included
18822 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18825 if test "$GXX" = yes; then
18826 if test "$with_gnu_ld" = no; then
18827 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18829 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'
18832 link_all_deplibs_CXX=yes
18835 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18836 hardcode_libdir_separator_CXX=:
18839 case $cc_basename in
18841 # Kuck and Associates, Inc. (KAI) C++ Compiler
18843 # KCC will only create a shared library if the output file
18844 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18845 # to its proper name (with version) after linking.
18846 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'
18847 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'
18848 # Commands to make compiler produce verbose output that lists
18849 # what "hidden" libraries, object files and flags are used when
18850 # linking a shared library.
18852 # There doesn't appear to be a way to prevent this compiler from
18853 # explicitly linking system object files so we need to strip them
18854 # from the output so that they don't get included in the library
18856 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'
18858 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
18859 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18861 # Archives containing C++ object files must be created using
18862 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18863 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18868 # version 8.0 and above of icpc choke on multiply defined symbols
18869 # if we add $predep_objects and $postdep_objects, however 7.1 and
18870 # earlier do not add the objects themselves.
18871 case `$CC -V 2>&1` in
18873 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18874 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'
18876 *) # Version 8.0 or newer
18879 ia64
*) tmp_idyn
=' -i_dynamic';;
18881 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18882 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'
18885 archive_cmds_need_lc_CXX
=no
18886 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18887 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18888 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18891 # Portland Group C++ compiler
18892 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18893 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'
18895 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
18896 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18897 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'
18901 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18902 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'
18904 runpath_var
=LD_RUN_PATH
18905 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
18906 hardcode_libdir_separator_CXX
=:
18908 # Commands to make compiler produce verbose output that lists
18909 # what "hidden" libraries, object files and flags are used when
18910 # linking a shared library.
18912 # There doesn't appear to be a way to prevent this compiler from
18913 # explicitly linking system object files so we need to strip them
18914 # from the output so that they don't get included in the library
18916 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'
18921 # FIXME: insert proper C++ library support
18925 # FIXME: insert proper C++ library support
18929 case $cc_basename in
18931 # FIXME: insert proper C++ library support
18935 # FIXME: insert proper C++ library support
18941 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18942 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18944 hardcode_libdir_flag_spec_CXX
='-R$libdir'
18945 hardcode_direct_CXX
=yes
18946 hardcode_shlibpath_var_CXX
=no
18948 # Workaround some broken pre-1.5 toolchains
18949 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18952 # C++ shared libraries are fairly broken
18956 hardcode_direct_CXX
=yes
18957 hardcode_shlibpath_var_CXX
=no
18958 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18959 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18960 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18961 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18962 export_dynamic_flag_spec_CXX
='${wl}-E'
18963 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18965 output_verbose_link_cmd
='echo'
18968 case $cc_basename in
18970 # Kuck and Associates, Inc. (KAI) C++ Compiler
18972 # KCC will only create a shared library if the output file
18973 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18974 # to its proper name (with version) after linking.
18975 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'
18977 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
18978 hardcode_libdir_separator_CXX
=:
18980 # Archives containing C++ object files must be created using
18981 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18982 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
18986 # Rational C++ 2.4.1
18987 # FIXME: insert proper C++ library support
18991 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
18992 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'
18994 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18995 hardcode_libdir_separator_CXX
=:
18997 # Commands to make compiler produce verbose output that lists
18998 # what "hidden" libraries, object files and flags are used when
18999 # linking a shared library.
19001 # There doesn't appear to be a way to prevent this compiler from
19002 # explicitly linking system object files so we need to strip them
19003 # from the output so that they don't get included in the library
19005 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'
19008 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19009 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19010 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'
19012 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19013 hardcode_libdir_separator_CXX
=:
19015 # Commands to make compiler produce verbose output that lists
19016 # what "hidden" libraries, object files and flags are used when
19017 # linking a shared library.
19018 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19021 # FIXME: insert proper C++ library support
19028 case $cc_basename in
19030 # Kuck and Associates, Inc. (KAI) C++ Compiler
19032 # KCC will only create a shared library if the output file
19033 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19034 # to its proper name (with version) after linking.
19035 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'
19037 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19038 hardcode_libdir_separator_CXX
=:
19040 # Archives containing C++ object files must be created using
19041 # the KAI C++ compiler.
19042 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
19045 # Rational C++ 2.4.1
19046 # FIXME: insert proper C++ library support
19050 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19051 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'
19052 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19053 echo "-hidden">> $lib.exp~
19054 $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~
19057 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19058 hardcode_libdir_separator_CXX
=:
19060 # Commands to make compiler produce verbose output that lists
19061 # what "hidden" libraries, object files and flags are used when
19062 # linking a shared library.
19064 # There doesn't appear to be a way to prevent this compiler from
19065 # explicitly linking system object files so we need to strip them
19066 # from the output so that they don't get included in the library
19068 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'
19071 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19072 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19073 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'
19075 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19076 hardcode_libdir_separator_CXX
=:
19078 # Commands to make compiler produce verbose output that lists
19079 # what "hidden" libraries, object files and flags are used when
19080 # linking a shared library.
19081 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19084 # FIXME: insert proper C++ library support
19091 # FIXME: insert proper C++ library support
19095 case $cc_basename in
19098 # FIXME: insert proper C++ library support
19103 # FIXME: insert proper C++ library support
19107 # FIXME: insert proper C++ library support
19113 case $cc_basename in
19115 # Sun C++ 4.2, 5.x and Centerline C++
19116 archive_cmds_need_lc_CXX
=yes
19117 no_undefined_flag_CXX
=' -zdefs'
19118 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19119 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19120 $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'
19122 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19123 hardcode_shlibpath_var_CXX
=no
19125 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19127 # The C++ compiler is used as linker so we must use $wl
19128 # flag to pass the commands to the underlying system
19129 # linker. We must also pass each convience library through
19130 # to the system linker between allextract/defaultextract.
19131 # The C++ compiler will combine linker options so we
19132 # cannot just pass the convience library names through
19134 # Supported since Solaris 2.6 (maybe 2.5.1?)
19135 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'
19138 link_all_deplibs_CXX
=yes
19140 output_verbose_link_cmd
='echo'
19142 # Archives containing C++ object files must be created using
19143 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19144 # necessary to make sure instantiated templates are included
19146 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19149 # Green Hills C++ Compiler
19150 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19152 # The C++ compiler must be used to create the archive.
19153 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19156 # GNU C++ compiler with Solaris linker
19157 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19158 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19159 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
19160 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19161 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19162 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19164 # Commands to make compiler produce verbose output that lists
19165 # what "hidden" libraries, object files and flags are used when
19166 # linking a shared library.
19167 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19169 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19171 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19172 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19173 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19175 # Commands to make compiler produce verbose output that lists
19176 # what "hidden" libraries, object files and flags are used when
19177 # linking a shared library.
19178 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19181 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19186 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19187 no_undefined_flag_CXX
='${wl}-z,text'
19188 archive_cmds_need_lc_CXX
=no
19189 hardcode_shlibpath_var_CXX
=no
19190 runpath_var
='LD_RUN_PATH'
19192 case $cc_basename in
19194 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19195 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19198 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19199 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19203 sysv5
* | sco3.2v5
* | sco5v6
*)
19204 # Note: We can NOT use -z defs as we might desire, because we do not
19205 # link with -lc, and that would cause any symbols used from libc to
19206 # always be unresolved, which means just about no library would
19207 # ever link correctly. If we're not using GNU ld we use -z text
19208 # though, which does catch some bad symbols but isn't as heavy-handed
19210 # For security reasons, it is highly recommended that you always
19211 # use absolute paths for naming shared libraries, and exclude the
19212 # DT_RUNPATH tag from executables and libraries. But doing so
19213 # requires that you compile everything twice, which is a pain.
19214 # So that behaviour is only enabled if SCOABSPATH is set to a
19215 # non-empty value in the environment. Most likely only useful for
19216 # creating official distributions of packages.
19217 # This is a hack until libtool officially supports absolute path
19218 # names for shared libraries.
19219 no_undefined_flag_CXX
='${wl}-z,text'
19220 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19221 archive_cmds_need_lc_CXX
=no
19222 hardcode_shlibpath_var_CXX
=no
19223 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19224 hardcode_libdir_separator_CXX
=':'
19225 link_all_deplibs_CXX
=yes
19226 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19227 runpath_var
='LD_RUN_PATH'
19229 case $cc_basename in
19231 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19232 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19235 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19236 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19241 case $cc_basename in
19243 # NonStop-UX NCC 3.20
19244 # FIXME: insert proper C++ library support
19248 # FIXME: insert proper C++ library support
19254 # FIXME: insert proper C++ library support
19258 # FIXME: insert proper C++ library support
19262 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19263 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19264 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19270 cat > conftest.
$ac_ext <<EOF
19274 Foo (void) { a = 0; }
19280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19281 (eval $ac_compile) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; then
19285 # Parse the compiler output and extract the necessary
19286 # objects, libraries and library flags.
19288 # Sentinel used to keep track of whether or not we are before
19289 # the conftest object file.
19290 pre_test_object_deps_done
=no
19292 # The `*' in the case matches for architectures that use `case' in
19293 # $output_verbose_cmd can trigger glob expansion during the loop
19294 # eval without this substitution.
19295 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19297 for p
in `eval $output_verbose_link_cmd`; do
19301 # Some compilers place space between "-{L,R}" and the path.
19302 # Remove the space.
19303 if test $p = "-L" \
19304 ||
test $p = "-R"; then
19311 if test "$pre_test_object_deps_done" = no
; then
19314 # Internal compiler library paths should come after those
19315 # provided the user. The postdeps already come after the
19316 # user supplied libs so there is no need to process them.
19317 if test -z "$compiler_lib_search_path_CXX"; then
19318 compiler_lib_search_path_CXX
="${prev}${p}"
19320 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19323 # The "-l" case would never come before the object being
19324 # linked, so don't bother handling this case.
19327 if test -z "$postdeps_CXX"; then
19328 postdeps_CXX
="${prev}${p}"
19330 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19336 # This assumes that the test object file only shows up
19337 # once in the compiler output.
19338 if test "$p" = "conftest.$objext"; then
19339 pre_test_object_deps_done
=yes
19343 if test "$pre_test_object_deps_done" = no
; then
19344 if test -z "$predep_objects_CXX"; then
19345 predep_objects_CXX
="$p"
19347 predep_objects_CXX
="$predep_objects_CXX $p"
19350 if test -z "$postdep_objects_CXX"; then
19351 postdep_objects_CXX
="$p"
19353 postdep_objects_CXX
="$postdep_objects_CXX $p"
19358 *) ;; # Ignore the rest.
19366 echo "libtool.m4: error: problem compiling CXX test program"
19369 $rm -f confest.
$objext
19371 # PORTME: override above test on systems where it is broken
19374 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19375 # hack all around it, let's just trust "g++" to DTRT.
19376 predep_objects_CXX
=
19377 postdep_objects_CXX
=
19382 case $cc_basename in
19384 # Adding this requires a known-good setup of shared libraries for
19385 # Sun compiler versions before 5.6, else PIC objects from an old
19386 # archive will be linked into the output, leading to subtle bugs.
19387 postdeps_CXX
='-lCstd -lCrun'
19394 case " $postdeps_CXX " in
19395 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19398 lt_prog_compiler_wl_CXX
=
19399 lt_prog_compiler_pic_CXX
=
19400 lt_prog_compiler_static_CXX
=
19402 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19403 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19405 # C++ specific cases for pic, static, wl, etc.
19406 if test "$GXX" = yes; then
19407 lt_prog_compiler_wl_CXX
='-Wl,'
19408 lt_prog_compiler_static_CXX
='-static'
19412 # All AIX code is PIC.
19413 if test "$host_cpu" = ia64
; then
19414 # AIX 5 now supports IA64 processor
19415 lt_prog_compiler_static_CXX
='-Bstatic'
19419 # FIXME: we need at least 68020 code to build shared libraries, but
19420 # adding the `-m68020' flag to GCC prevents building anything better,
19422 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
19424 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
19425 # PIC is the default for these OSes.
19427 mingw
* | os2
* | pw32
*)
19428 # This hack is so that the source file can tell whether it is being
19429 # built for inclusion in a dll (and should export symbols for example).
19430 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
19432 darwin
* | rhapsody
*)
19433 # PIC is the default on this platform
19434 # Common symbols not allowed in MH_DYLIB files
19435 lt_prog_compiler_pic_CXX
='-fno-common'
19438 # DJGPP does not support shared libraries at all
19439 lt_prog_compiler_pic_CXX
=
19442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19443 # Instead, we relocate shared libraries at runtime.
19446 if test -d /usr
/nec
; then
19447 lt_prog_compiler_pic_CXX
=-Kconform_pic
19451 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19452 # not for PA HP-UX.
19457 lt_prog_compiler_pic_CXX
='-fPIC'
19462 lt_prog_compiler_pic_CXX
='-fPIC'
19468 # All AIX code is PIC.
19469 if test "$host_cpu" = ia64
; then
19470 # AIX 5 now supports IA64 processor
19471 lt_prog_compiler_static_CXX
='-Bstatic'
19473 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
19477 case $cc_basename in
19479 # Green Hills C++ Compiler
19480 # _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"
19485 # PIC is the default on this platform
19486 # Common symbols not allowed in MH_DYLIB files
19487 case $cc_basename in
19489 lt_prog_compiler_pic_CXX
='-qnocommon'
19490 lt_prog_compiler_wl_CXX
='-Wl,'
19495 case $cc_basename in
19497 lt_prog_compiler_pic_CXX
='-KPIC'
19500 # Green Hills C++ Compiler
19501 lt_prog_compiler_pic_CXX
='-pic'
19507 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19508 # FreeBSD uses GNU C++
19510 hpux9
* | hpux10
* | hpux11
*)
19511 case $cc_basename in
19513 lt_prog_compiler_wl_CXX
='-Wl,'
19514 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19515 if test "$host_cpu" != ia64
; then
19516 lt_prog_compiler_pic_CXX
='+Z'
19520 lt_prog_compiler_wl_CXX
='-Wl,'
19521 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
19527 lt_prog_compiler_pic_CXX
='+Z'
19536 # This is c89, which is MS Visual C++ (no shared libs)
19537 # Anyone wants to do a port?
19539 irix5
* | irix6
* | nonstopux
*)
19540 case $cc_basename in
19542 lt_prog_compiler_wl_CXX
='-Wl,'
19543 lt_prog_compiler_static_CXX
='-non_shared'
19544 # CC pic flag -KPIC is the default.
19551 case $cc_basename in
19554 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19555 lt_prog_compiler_pic_CXX
='-fPIC'
19559 lt_prog_compiler_wl_CXX
='-Wl,'
19560 lt_prog_compiler_pic_CXX
='-KPIC'
19561 lt_prog_compiler_static_CXX
='-static'
19564 # Portland Group C++ compiler.
19565 lt_prog_compiler_wl_CXX
='-Wl,'
19566 lt_prog_compiler_pic_CXX
='-fpic'
19567 lt_prog_compiler_static_CXX
='-Bstatic'
19571 # Make sure the PIC flag is empty. It appears that all Alpha
19572 # Linux and Compaq Tru64 Unix objects are PIC.
19573 lt_prog_compiler_pic_CXX
=
19574 lt_prog_compiler_static_CXX
='-non_shared'
19585 case $cc_basename in
19587 lt_prog_compiler_pic_CXX
='-W c,exportall'
19595 osf3
* | osf4
* | osf5
*)
19596 case $cc_basename in
19598 lt_prog_compiler_wl_CXX
='--backend -Wl,'
19601 # Rational C++ 2.4.1
19602 lt_prog_compiler_pic_CXX
='-pic'
19605 # Digital/Compaq C++
19606 lt_prog_compiler_wl_CXX
='-Wl,'
19607 # Make sure the PIC flag is empty. It appears that all Alpha
19608 # Linux and Compaq Tru64 Unix objects are PIC.
19609 lt_prog_compiler_pic_CXX
=
19610 lt_prog_compiler_static_CXX
='-non_shared'
19619 case $cc_basename in
19621 # Sun C++ 4.2, 5.x and Centerline C++
19622 lt_prog_compiler_pic_CXX
='-KPIC'
19623 lt_prog_compiler_static_CXX
='-Bstatic'
19624 lt_prog_compiler_wl_CXX
='-Qoption ld '
19627 # Green Hills C++ Compiler
19628 lt_prog_compiler_pic_CXX
='-PIC'
19635 case $cc_basename in
19638 lt_prog_compiler_pic_CXX
='-pic'
19639 lt_prog_compiler_static_CXX
='-Bstatic'
19643 lt_prog_compiler_pic_CXX
='-pic'
19650 case $cc_basename in
19652 # NonStop-UX NCC 3.20
19653 lt_prog_compiler_pic_CXX
='-KPIC'
19659 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
19660 case $cc_basename in
19662 lt_prog_compiler_wl_CXX
='-Wl,'
19663 lt_prog_compiler_pic_CXX
='-KPIC'
19664 lt_prog_compiler_static_CXX
='-Bstatic'
19671 lt_prog_compiler_can_build_shared_CXX
=no
19676 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
19677 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
19680 # Check to make sure the PIC flag actually works.
19682 if test -n "$lt_prog_compiler_pic_CXX"; then
19684 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19685 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
19686 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 lt_prog_compiler_pic_works_CXX
=no
19690 ac_outfile
=conftest.
$ac_objext
19691 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19692 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
19693 # Insert the option either (1) after the last *FLAGS variable, or
19694 # (2) before a word containing "conftest.", or (3) at the end.
19695 # Note that $ac_compile itself does not contain backslashes and begins
19696 # with a dollar sign (not a hyphen), so the echo should work correctly.
19697 # The option is referenced via a variable to avoid confusing sed.
19698 lt_compile
=`echo "$ac_compile" | $SED \
19699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19701 -e 's:$: $lt_compiler_flag:'`
19702 (eval echo "\"\$as_me:19702: $lt_compile\"" >&5)
19703 (eval "$lt_compile" 2>conftest.err
)
19705 cat conftest.err
>&5
19706 echo "$as_me:19706: \$? = $ac_status" >&5
19707 if (exit $ac_status) && test -s "$ac_outfile"; then
19708 # The compiler can only warn and ignore the option if not recognized
19709 # So say no if there are warnings other than the usual output.
19710 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
19711 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19712 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
19713 lt_prog_compiler_pic_works_CXX
=yes
19719 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
19720 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
19722 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
19723 case $lt_prog_compiler_pic_CXX in
19725 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
19728 lt_prog_compiler_pic_CXX
=
19729 lt_prog_compiler_can_build_shared_CXX
=no
19734 # For platforms which do not support PIC, -DPIC is meaningless:
19736 lt_prog_compiler_pic_CXX
=
19739 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
19744 # Check to make sure the static flag actually works.
19746 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
19747 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19748 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19749 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 lt_prog_compiler_static_works_CXX
=no
19753 save_LDFLAGS
="$LDFLAGS"
19754 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
19755 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
19756 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
19757 # The linker can only warn and ignore the option if not recognized
19758 # So say no if there are warnings
19759 if test -s conftest.err
; then
19760 # Append any errors to the config.log.
19761 cat conftest.err
1>&5
19762 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
19763 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
19764 if diff conftest.exp conftest.er2
>/dev
/null
; then
19765 lt_prog_compiler_static_works_CXX
=yes
19768 lt_prog_compiler_static_works_CXX
=yes
19772 LDFLAGS
="$save_LDFLAGS"
19775 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
19776 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
19778 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
19781 lt_prog_compiler_static_CXX
=
19785 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19786 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19787 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 lt_cv_prog_compiler_c_o_CXX
=no
19791 $rm -r conftest
2>/dev
/null
19795 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19797 lt_compiler_flag
="-o out/conftest2.$ac_objext"
19798 # Insert the option either (1) after the last *FLAGS variable, or
19799 # (2) before a word containing "conftest.", or (3) at the end.
19800 # Note that $ac_compile itself does not contain backslashes and begins
19801 # with a dollar sign (not a hyphen), so the echo should work correctly.
19802 lt_compile
=`echo "$ac_compile" | $SED \
19803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19805 -e 's:$: $lt_compiler_flag:'`
19806 (eval echo "\"\$as_me:19806: $lt_compile\"" >&5)
19807 (eval "$lt_compile" 2>out
/conftest.err
)
19809 cat out
/conftest.err
>&5
19810 echo "$as_me:19810: \$? = $ac_status" >&5
19811 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
19813 # The compiler can only warn and ignore the option if not recognized
19814 # So say no if there are warnings
19815 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
19816 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
19817 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
19818 lt_cv_prog_compiler_c_o_CXX
=yes
19823 # SGI C++ compiler will create directory out/ii_files/ for
19824 # template instantiation
19825 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
19826 $rm out
/* && rmdir out
19832 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19833 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
19836 hard_links
="nottested"
19837 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
19838 # do not overwrite the value of need_locks provided by the user
19839 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19840 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19843 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19845 ln conftest.a conftest.b
2>&5 || hard_links
=no
19846 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
19847 { echo "$as_me:$LINENO: result: $hard_links" >&5
19848 echo "${ECHO_T}$hard_links" >&6; }
19849 if test "$hard_links" = no
; then
19850 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19851 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19858 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19859 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19861 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19864 # If we're using GNU nm, then we don't want the "-C" option.
19865 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19866 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
19867 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'
19869 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'
19873 export_symbols_cmds_CXX
="$ltdll_cmds"
19876 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'
19879 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19883 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19884 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19885 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19888 # Do we need to explicitly link libc?
19890 case "x$archive_cmds_need_lc_CXX" in
19892 # Assume -lc should be added
19893 archive_cmds_need_lc_CXX
=yes
19895 if test "$enable_shared" = yes && test "$GCC" = yes; then
19896 case $archive_cmds_CXX in
19898 # FIXME: we may have to deal with multi-command sequences.
19901 # Test whether the compiler implicitly links with -lc since on some
19902 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19903 # to ld, don't add -lc before -lgcc.
19904 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19907 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } 2>conftest.err
; then
19916 libobjs
=conftest.
$ac_objext
19918 wl
=$lt_prog_compiler_wl_CXX
19919 pic_flag
=$lt_prog_compiler_pic_CXX
19925 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
19926 allow_undefined_flag_CXX
=
19927 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19928 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }
19933 archive_cmds_need_lc_CXX
=no
19935 archive_cmds_need_lc_CXX
=yes
19937 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
19939 cat conftest.err
1>&5
19942 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
19943 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
19950 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19951 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19952 library_names_spec
=
19953 libname_spec
='lib$name'
19957 postuninstall_cmds
=
19961 shlibpath_overrides_runpath
=unknown
19963 dynamic_linker
="$host_os ld.so"
19964 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19965 if test "$GCC" = yes; then
19966 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19967 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19968 # if the path contains ";" then we assume it to be the separator
19969 # otherwise default to the standard path separator (i.e. ":") - it is
19970 # assumed that no part of a normal pathname contains ";" but that should
19971 # okay in the real world where ";" in dirpaths is itself problematic.
19972 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19974 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19977 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19979 need_lib_prefix
=unknown
19980 hardcode_into_libs
=no
19982 # when you set need_version to no, make sure it does not cause -set_version
19983 # flags to be left without arguments
19984 need_version
=unknown
19989 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19990 shlibpath_var
=LIBPATH
19992 # AIX 3 has no versioning support, so we append a major version to the name.
19993 soname_spec
='${libname}${release}${shared_ext}$major'
20000 hardcode_into_libs
=yes
20001 if test "$host_cpu" = ia64
; then
20002 # AIX 5 supports IA64
20003 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20004 shlibpath_var
=LD_LIBRARY_PATH
20006 # With GCC up to 2.95.x, collect2 would create an import file
20007 # for dependence libraries. The import file would start with
20008 # the line `#! .'. This would cause the generated library to
20009 # depend on `.', always an invalid library. This was fixed in
20010 # development snapshots of GCC prior to 3.0.
20012 aix4 | aix4.
[01] | aix4.
[01].
*)
20013 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20015 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
20018 can_build_shared
=no
20022 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20023 # soname into executable. Probably we can add versioning support to
20024 # collect2, so additional links can be useful in future.
20025 if test "$aix_use_runtimelinking" = yes; then
20026 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20027 # instead of lib<name>.a to let people know that these are not
20028 # typical AIX shared libraries.
20029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20031 # We preserve .a as extension for shared libraries through AIX4.2
20032 # and later when we are not doing run time linking.
20033 library_names_spec
='${libname}${release}.a $libname.a'
20034 soname_spec
='${libname}${release}${shared_ext}$major'
20036 shlibpath_var
=LIBPATH
20041 library_names_spec
='$libname.ixlibrary $libname.a'
20042 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20043 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'
20047 library_names_spec
='${libname}${shared_ext}'
20048 dynamic_linker
="$host_os ld.so"
20049 shlibpath_var
=LIBRARY_PATH
20055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20056 soname_spec
='${libname}${release}${shared_ext}$major'
20057 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20058 shlibpath_var
=LD_LIBRARY_PATH
20059 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20060 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20061 # the default ld.so.conf also contains /usr/contrib/lib and
20062 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20063 # libtool to hard-code these into programs
20066 cygwin
* | mingw
* | pw32
*)
20067 version_type
=windows
20072 case $GCC,$host_os in
20073 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20074 library_names_spec
='$libname.dll.a'
20075 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20076 postinstall_cmds
='base_file=`basename \${file}`~
20077 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20078 dldir=$destdir/`dirname \$dlpath`~
20079 test -d \$dldir || mkdir -p \$dldir~
20080 $install_prog $dir/$dlname \$dldir/$dlname~
20081 chmod a+x \$dldir/$dlname'
20082 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20083 dlpath=$dir/\$dldll~
20085 shlibpath_overrides_runpath
=yes
20089 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20090 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20091 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20094 # MinGW DLLs use traditional 'lib' prefix
20095 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20096 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20097 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
20098 # It is most probably a Windows format PATH printed by
20099 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20100 # path with ; separators, and with drive letters. We can handle the
20101 # drive letters (cygwin fileutils understands them), so leave them,
20102 # especially as we might pass files found there to a mingw objdump,
20103 # which wouldn't understand a cygwinified path. Ahh.
20104 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20106 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20110 # pw32 DLLs use 'pw' prefix rather than 'lib'
20111 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20117 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20120 dynamic_linker
='Win32 ld.exe'
20121 # FIXME: first we should search . and the directory the executable is in
20125 darwin
* | rhapsody
*)
20126 dynamic_linker
="$host_os dyld"
20127 version_type
=darwin
20130 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20131 soname_spec
='${libname}${release}${major}$shared_ext'
20132 shlibpath_overrides_runpath
=yes
20133 shlibpath_var
=DYLD_LIBRARY_PATH
20134 shrext_cmds
='.dylib'
20135 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20136 if test "$GCC" = yes; then
20137 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"`
20139 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
20141 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20149 soname_spec
='${libname}${release}${shared_ext}$major'
20150 shlibpath_var
=LD_LIBRARY_PATH
20161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20162 soname_spec
='${libname}${release}${shared_ext}$major'
20163 shlibpath_var
=LD_LIBRARY_PATH
20164 shlibpath_overrides_runpath
=no
20165 hardcode_into_libs
=yes
20166 dynamic_linker
='GNU ld.so'
20169 freebsd
* | dragonfly
*)
20170 # DragonFly does not have aout. When/if they implement a new
20171 # versioning mechanism, adjust this.
20172 if test -x /usr
/bin
/objformat
; then
20173 objformat
=`/usr/bin/objformat`
20176 freebsd
[123]*) objformat
=aout
;;
20177 *) objformat
=elf
;;
20180 version_type
=freebsd-
$objformat
20181 case $version_type in
20183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20188 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20192 shlibpath_var
=LD_LIBRARY_PATH
20195 shlibpath_overrides_runpath
=yes
20197 freebsd3.
[01]* | freebsdelf3.
[01]*)
20198 shlibpath_overrides_runpath
=yes
20199 hardcode_into_libs
=yes
20201 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20202 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20203 shlibpath_overrides_runpath
=no
20204 hardcode_into_libs
=yes
20206 freebsd
*) # from 4.6 on
20207 shlibpath_overrides_runpath
=yes
20208 hardcode_into_libs
=yes
20217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20218 soname_spec
='${libname}${release}${shared_ext}$major'
20219 shlibpath_var
=LD_LIBRARY_PATH
20220 hardcode_into_libs
=yes
20223 hpux9
* | hpux10
* | hpux11
*)
20224 # Give a soname corresponding to the major version so that dld.sl refuses to
20225 # link against other versions.
20232 hardcode_into_libs
=yes
20233 dynamic_linker
="$host_os dld.so"
20234 shlibpath_var
=LD_LIBRARY_PATH
20235 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20237 soname_spec
='${libname}${release}${shared_ext}$major'
20238 if test "X$HPUX_IA64_MODE" = X32
; then
20239 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20241 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20243 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20247 hardcode_into_libs
=yes
20248 dynamic_linker
="$host_os dld.sl"
20249 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
20250 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20252 soname_spec
='${libname}${release}${shared_ext}$major'
20253 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20254 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20258 dynamic_linker
="$host_os dld.sl"
20259 shlibpath_var
=SHLIB_PATH
20260 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
20261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20262 soname_spec
='${libname}${release}${shared_ext}$major'
20265 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20266 postinstall_cmds
='chmod 555 $lib'
20273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20274 soname_spec
='${libname}${release}${shared_ext}$major'
20275 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
20276 shlibpath_var
=LD_LIBRARY_PATH
20277 shlibpath_overrides_runpath
=no
20278 hardcode_into_libs
=yes
20281 irix5
* | irix6
* | nonstopux
*)
20283 nonstopux
*) version_type
=nonstopux
;;
20285 if test "$lt_cv_prog_gnu_ld" = yes; then
20293 soname_spec
='${libname}${release}${shared_ext}$major'
20294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20296 irix5
* | nonstopux
*)
20297 libsuff
= shlibsuff
=
20300 case $LD in # libtool.m4 will add one of these switches to LD
20301 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20302 libsuff
= shlibsuff
= libmagic
=32-bit;;
20303 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20304 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20305 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20306 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20307 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20311 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20312 shlibpath_overrides_runpath
=no
20313 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20314 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20315 hardcode_into_libs
=yes
20318 # No shared lib support for Linux oldld, aout, or coff.
20319 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20323 # This must be Linux ELF.
20328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20329 soname_spec
='${libname}${release}${shared_ext}$major'
20330 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20331 shlibpath_var
=LD_LIBRARY_PATH
20332 shlibpath_overrides_runpath
=no
20333 # This implies no fast_install, which is unacceptable.
20334 # Some rework will be needed to allow for fast_install
20335 # before this can be enabled.
20336 hardcode_into_libs
=yes
20338 # Append ld.so.conf contents to the search path
20339 if test -f /etc
/ld.so.conf
; then
20340 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' ' '`
20341 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20344 # We used to test for /lib/ld.so.1 and disable shared libraries on
20345 # powerpc, because MkLinux only supported shared libraries with the
20346 # GNU dynamic linker. Since this was broken with cross compilers,
20347 # most powerpc-linux boxes support dynamic linking these days and
20348 # people can always --disable-shared, the test was removed, and we
20349 # assume the GNU/Linux dynamic linker is in use.
20350 dynamic_linker
='GNU/Linux ld.so'
20357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20358 soname_spec
='${libname}${release}${shared_ext}$major'
20359 shlibpath_var
=LD_LIBRARY_PATH
20360 shlibpath_overrides_runpath
=no
20361 hardcode_into_libs
=yes
20362 dynamic_linker
='GNU ld.so'
20369 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20371 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20372 dynamic_linker
='NetBSD (a.out) ld.so'
20374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20375 soname_spec
='${libname}${release}${shared_ext}$major'
20376 dynamic_linker
='NetBSD ld.elf_so'
20378 shlibpath_var
=LD_LIBRARY_PATH
20379 shlibpath_overrides_runpath
=yes
20380 hardcode_into_libs
=yes
20385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20386 shlibpath_var
=LD_LIBRARY_PATH
20387 shlibpath_overrides_runpath
=yes
20394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20395 soname_spec
='${libname}${release}${shared_ext}$major'
20396 shlibpath_var
=LD_LIBRARY_PATH
20397 shlibpath_overrides_runpath
=yes
20402 sys_lib_dlsearch_path_spec
="/usr/lib"
20404 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20406 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20407 *) need_version
=no
;;
20409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20410 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20411 shlibpath_var
=LD_LIBRARY_PATH
20412 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20414 openbsd2.
[89] | openbsd2.
[89].
*)
20415 shlibpath_overrides_runpath
=no
20418 shlibpath_overrides_runpath
=yes
20422 shlibpath_overrides_runpath
=yes
20427 libname_spec
='$name'
20430 library_names_spec
='$libname${shared_ext} $libname.a'
20431 dynamic_linker
='OS/2 ld.exe'
20432 shlibpath_var
=LIBPATH
20435 osf3
* | osf4
* | osf5
*)
20439 soname_spec
='${libname}${release}${shared_ext}$major'
20440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20441 shlibpath_var
=LD_LIBRARY_PATH
20442 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20443 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20451 soname_spec
='${libname}${release}${shared_ext}$major'
20452 shlibpath_var
=LD_LIBRARY_PATH
20453 shlibpath_overrides_runpath
=yes
20454 hardcode_into_libs
=yes
20455 # ldd complains unless libraries are executable
20456 postinstall_cmds
='chmod +x $lib'
20461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20462 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20463 shlibpath_var
=LD_LIBRARY_PATH
20464 shlibpath_overrides_runpath
=yes
20465 if test "$with_gnu_ld" = yes; then
20473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20474 soname_spec
='${libname}${release}${shared_ext}$major'
20475 shlibpath_var
=LD_LIBRARY_PATH
20476 case $host_vendor in
20478 shlibpath_overrides_runpath
=no
20480 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20481 runpath_var
=LD_RUN_PATH
20489 shlibpath_overrides_runpath
=no
20490 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20496 if test -d /usr
/nec
;then
20498 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20499 soname_spec
='$libname${shared_ext}.$major'
20500 shlibpath_var
=LD_LIBRARY_PATH
20504 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20505 version_type
=freebsd-elf
20508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20509 soname_spec
='${libname}${release}${shared_ext}$major'
20510 shlibpath_var
=LD_LIBRARY_PATH
20511 hardcode_into_libs
=yes
20512 if test "$with_gnu_ld" = yes; then
20513 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20514 shlibpath_overrides_runpath
=no
20516 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20517 shlibpath_overrides_runpath
=yes
20520 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20524 sys_lib_dlsearch_path_spec
='/usr/lib'
20529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20530 soname_spec
='${libname}${release}${shared_ext}$major'
20531 shlibpath_var
=LD_LIBRARY_PATH
20538 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20539 echo "${ECHO_T}$dynamic_linker" >&6; }
20540 test "$dynamic_linker" = no
&& can_build_shared
=no
20542 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20543 if test "$GCC" = yes; then
20544 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20547 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20548 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20549 hardcode_action_CXX
=
20550 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20551 test -n "$runpath_var_CXX" || \
20552 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20554 # We can hardcode non-existant directories.
20555 if test "$hardcode_direct_CXX" != no
&&
20556 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20557 # have to relink, otherwise we might link with an installed library
20558 # when we should be linking with a yet-to-be-installed one
20559 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20560 test "$hardcode_minus_L_CXX" != no
; then
20561 # Linking always hardcodes the temporary library directory.
20562 hardcode_action_CXX
=relink
20564 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20565 hardcode_action_CXX
=immediate
20568 # We cannot hardcode anything, or else we can only hardcode existing
20570 hardcode_action_CXX
=unsupported
20572 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20573 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20575 if test "$hardcode_action_CXX" = relink
; then
20576 # Fast installation is not supported
20577 enable_fast_install
=no
20578 elif test "$shlibpath_overrides_runpath" = yes ||
20579 test "$enable_shared" = no
; then
20580 # Fast installation is not necessary
20581 enable_fast_install
=needless
20585 # The else clause should only fire when bootstrapping the
20586 # libtool distribution, otherwise you forgot to ship ltmain.sh
20587 # with your package, and you will get complaints that there are
20588 # no rules to generate ltmain.sh.
20589 if test -f "$ltmain"; then
20590 # See if we are running on zsh, and set the options which allow our commands through
20591 # without removal of \ escapes.
20592 if test -n "${ZSH_VERSION+set}" ; then
20593 setopt NO_GLOB_SUBST
20595 # Now quote all the things that may contain metacharacters while being
20596 # careful not to overquote the AC_SUBSTed values. We take copies of the
20597 # variables and quote the copies for generation of the libtool script.
20598 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20600 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20601 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20602 deplibs_check_method reload_flag reload_cmds need_locks \
20603 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20604 lt_cv_sys_global_symbol_to_c_name_address \
20605 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20606 old_postinstall_cmds old_postuninstall_cmds \
20610 lt_prog_compiler_wl_CXX \
20611 lt_prog_compiler_pic_CXX \
20612 lt_prog_compiler_static_CXX \
20613 lt_prog_compiler_no_builtin_flag_CXX \
20614 export_dynamic_flag_spec_CXX \
20615 thread_safe_flag_spec_CXX \
20616 whole_archive_flag_spec_CXX \
20617 enable_shared_with_static_runtimes_CXX \
20618 old_archive_cmds_CXX \
20619 old_archive_from_new_cmds_CXX \
20620 predep_objects_CXX \
20621 postdep_objects_CXX \
20624 compiler_lib_search_path_CXX \
20626 archive_expsym_cmds_CXX \
20627 postinstall_cmds_CXX \
20628 postuninstall_cmds_CXX \
20629 old_archive_from_expsyms_cmds_CXX \
20630 allow_undefined_flag_CXX \
20631 no_undefined_flag_CXX \
20632 export_symbols_cmds_CXX \
20633 hardcode_libdir_flag_spec_CXX \
20634 hardcode_libdir_flag_spec_ld_CXX \
20635 hardcode_libdir_separator_CXX \
20636 hardcode_automatic_CXX \
20638 module_expsym_cmds_CXX \
20639 lt_cv_prog_compiler_c_o_CXX \
20640 exclude_expsyms_CXX \
20641 include_expsyms_CXX
; do
20644 old_archive_cmds_CXX | \
20645 old_archive_from_new_cmds_CXX | \
20646 archive_cmds_CXX | \
20647 archive_expsym_cmds_CXX | \
20648 module_cmds_CXX | \
20649 module_expsym_cmds_CXX | \
20650 old_archive_from_expsyms_cmds_CXX | \
20651 export_symbols_cmds_CXX | \
20652 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20653 postinstall_cmds | postuninstall_cmds | \
20654 old_postinstall_cmds | old_postuninstall_cmds | \
20655 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20656 # Double-quote double-evaled strings.
20657 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20660 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20666 *'\$0 --fallback-echo"')
20667 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20673 cat <<__EOF__ >> "$cfgfile"
20674 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20676 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20678 # Shell to use when invoking shell scripts.
20681 # Whether or not to build shared libraries.
20682 build_libtool_libs=$enable_shared
20684 # Whether or not to build static libraries.
20685 build_old_libs=$enable_static
20687 # Whether or not to add -lc for building shared libraries.
20688 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20690 # Whether or not to disallow shared libs when runtime libs are static
20691 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20693 # Whether or not to optimize for fast installation.
20694 fast_install=$enable_fast_install
20697 host_alias=$host_alias
20701 # The build system.
20702 build_alias=$build_alias
20706 # An echo program that does not interpret backslashes.
20711 AR_FLAGS=$lt_AR_FLAGS
20716 # LTCC compiler flags.
20717 LTCFLAGS=$lt_LTCFLAGS
20719 # A language-specific compiler.
20720 CC=$lt_compiler_CXX
20722 # Is the compiler the GNU C compiler?
20728 # The linker used to build libraries.
20731 # Whether we need hard or soft links.
20734 # A BSD-compatible nm program.
20737 # A symbol stripping program
20740 # Used to examine libraries when file_magic_cmd begins "file"
20741 MAGIC_CMD=$MAGIC_CMD
20743 # Used on cygwin: DLL creation program.
20746 # Used on cygwin: object dumper.
20749 # Used on cygwin: assembler.
20752 # The name of the directory that contains temporary libtool files.
20755 # How to create reloadable object files.
20756 reload_flag=$lt_reload_flag
20757 reload_cmds=$lt_reload_cmds
20759 # How to pass a linker flag through the compiler.
20760 wl=$lt_lt_prog_compiler_wl_CXX
20762 # Object file suffix (normally "o").
20763 objext="$ac_objext"
20765 # Old archive suffix (normally "a").
20768 # Shared library suffix (normally ".so").
20769 shrext_cmds='$shrext_cmds'
20771 # Executable file suffix (normally "").
20774 # Additional compiler flags for building library objects.
20775 pic_flag=$lt_lt_prog_compiler_pic_CXX
20778 # What is the maximum length of a command?
20779 max_cmd_len=$lt_cv_sys_max_cmd_len
20781 # Does compiler simultaneously support -c and -o options?
20782 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20784 # Must we lock files when doing compilation?
20785 need_locks=$lt_need_locks
20787 # Do we need the lib prefix for modules?
20788 need_lib_prefix=$need_lib_prefix
20790 # Do we need a version for libraries?
20791 need_version=$need_version
20793 # Whether dlopen is supported.
20794 dlopen_support=$enable_dlopen
20796 # Whether dlopen of programs is supported.
20797 dlopen_self=$enable_dlopen_self
20799 # Whether dlopen of statically linked programs is supported.
20800 dlopen_self_static=$enable_dlopen_self_static
20802 # Compiler flag to prevent dynamic linking.
20803 link_static_flag=$lt_lt_prog_compiler_static_CXX
20805 # Compiler flag to turn off builtin functions.
20806 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20808 # Compiler flag to allow reflexive dlopens.
20809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20811 # Compiler flag to generate shared objects directly from archives.
20812 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20814 # Compiler flag to generate thread-safe objects.
20815 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
20817 # Library versioning type.
20818 version_type=$version_type
20820 # Format of library name prefix.
20821 libname_spec=$lt_libname_spec
20823 # List of archive names. First name is the real one, the rest are links.
20824 # The last name is the one that the linker finds with -lNAME.
20825 library_names_spec=$lt_library_names_spec
20827 # The coded name of the library, if different from the real name.
20828 soname_spec=$lt_soname_spec
20830 # Commands used to build and install an old-style archive.
20832 old_archive_cmds=$lt_old_archive_cmds_CXX
20833 old_postinstall_cmds=$lt_old_postinstall_cmds
20834 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20836 # Create an old-style archive from a shared archive.
20837 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20839 # Create a temporary old-style archive to link instead of a shared archive.
20840 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20842 # Commands used to build and install a shared archive.
20843 archive_cmds=$lt_archive_cmds_CXX
20844 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20845 postinstall_cmds=$lt_postinstall_cmds
20846 postuninstall_cmds=$lt_postuninstall_cmds
20848 # Commands used to build a loadable module (assumed same as above if empty)
20849 module_cmds=$lt_module_cmds_CXX
20850 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20852 # Commands to strip libraries.
20853 old_striplib=$lt_old_striplib
20854 striplib=$lt_striplib
20856 # Dependencies to place before the objects being linked to create a
20858 predep_objects=$lt_predep_objects_CXX
20860 # Dependencies to place after the objects being linked to create a
20862 postdep_objects=$lt_postdep_objects_CXX
20864 # Dependencies to place before the objects being linked to create a
20866 predeps=$lt_predeps_CXX
20868 # Dependencies to place after the objects being linked to create a
20870 postdeps=$lt_postdeps_CXX
20872 # The library search path used internally by the compiler when linking
20873 # a shared library.
20874 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20876 # Method to check whether dependent libraries are shared objects.
20877 deplibs_check_method=$lt_deplibs_check_method
20879 # Command to use when deplibs_check_method == file_magic.
20880 file_magic_cmd=$lt_file_magic_cmd
20882 # Flag that allows shared libraries with undefined symbols to be built.
20883 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20885 # Flag that forces no undefined symbols.
20886 no_undefined_flag=$lt_no_undefined_flag_CXX
20888 # Commands used to finish a libtool library installation in a directory.
20889 finish_cmds=$lt_finish_cmds
20891 # Same as above, but a single script fragment to be evaled but not shown.
20892 finish_eval=$lt_finish_eval
20894 # Take the output of nm and produce a listing of raw symbols and C names.
20895 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20897 # Transform the output of nm in a proper C declaration
20898 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20900 # Transform the output of nm in a C name address pair
20901 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20903 # This is the shared library runtime path variable.
20904 runpath_var=$runpath_var
20906 # This is the shared library path variable.
20907 shlibpath_var=$shlibpath_var
20909 # Is shlibpath searched before the hard-coded library search path?
20910 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20912 # How to hardcode a shared library path into an executable.
20913 hardcode_action=$hardcode_action_CXX
20915 # Whether we should hardcode library paths into libraries.
20916 hardcode_into_libs=$hardcode_into_libs
20918 # Flag to hardcode \$libdir into a binary during linking.
20919 # This must work even if \$libdir does not exist.
20920 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20922 # If ld is used when linking, flag to hardcode \$libdir into
20923 # a binary during linking. This must work even if \$libdir does
20925 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20927 # Whether we need a single -rpath flag with a separated argument.
20928 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20930 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20931 # resulting binary.
20932 hardcode_direct=$hardcode_direct_CXX
20934 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20935 # resulting binary.
20936 hardcode_minus_L=$hardcode_minus_L_CXX
20938 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20939 # the resulting binary.
20940 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20942 # Set to yes if building a shared library automatically hardcodes DIR into the library
20943 # and all subsequent libraries and executables linked against it.
20944 hardcode_automatic=$hardcode_automatic_CXX
20946 # Variables whose values should be saved in libtool wrapper scripts and
20947 # restored at relink time.
20948 variables_saved_for_relink="$variables_saved_for_relink"
20950 # Whether libtool must link a program against all its dependency libraries.
20951 link_all_deplibs=$link_all_deplibs_CXX
20953 # Compile-time system search path for libraries
20954 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20956 # Run-time system search path for libraries
20957 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20959 # Fix the shell variable \$srcfile for the compiler.
20960 fix_srcfile_path="$fix_srcfile_path_CXX"
20962 # Set to yes if exported symbols are required.
20963 always_export_symbols=$always_export_symbols_CXX
20965 # The commands to list exported symbols.
20966 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20968 # The commands to extract the exported symbol list from a shared archive.
20969 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20971 # Symbols that should not be listed in the preloaded symbols.
20972 exclude_expsyms=$lt_exclude_expsyms_CXX
20974 # Symbols that must always be exported.
20975 include_expsyms=$lt_include_expsyms_CXX
20977 # ### END LIBTOOL TAG CONFIG: $tagname
20983 # If there is no Makefile yet, we rely on a make rule to execute
20984 # `config.status --recheck' to rerun these tests and create the
20985 # libtool script then.
20986 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20987 if test -f "$ltmain_in"; then
20988 test -f Makefile
&& make "$ltmain"
20994 ac_cpp
='$CPP $CPPFLAGS'
20995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21003 with_gnu_ldcxx
=$with_gnu_ld
21004 with_gnu_ld
=$lt_save_with_gnu_ld
21005 lt_cv_path_LDCXX
=$lt_cv_path_LD
21006 lt_cv_path_LD
=$lt_save_path_LD
21007 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
21008 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
21016 if test -n "$F77" && test "X$F77" != "Xno"; then
21019 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21020 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
21024 archive_cmds_need_lc_F77
=no
21025 allow_undefined_flag_F77
=
21026 always_export_symbols_F77
=no
21027 archive_expsym_cmds_F77
=
21028 export_dynamic_flag_spec_F77
=
21029 hardcode_direct_F77
=no
21030 hardcode_libdir_flag_spec_F77
=
21031 hardcode_libdir_flag_spec_ld_F77
=
21032 hardcode_libdir_separator_F77
=
21033 hardcode_minus_L_F77
=no
21034 hardcode_automatic_F77
=no
21036 module_expsym_cmds_F77
=
21037 link_all_deplibs_F77
=unknown
21038 old_archive_cmds_F77
=$old_archive_cmds
21039 no_undefined_flag_F77
=
21040 whole_archive_flag_spec_F77
=
21041 enable_shared_with_static_runtimes_F77
=no
21043 # Source file extension for f77 test sources.
21046 # Object file extension for compiled f77 test sources.
21050 # Code to be used in simple compile tests
21051 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
21053 # Code to be used in simple link tests
21054 lt_simple_link_test_code
=" program t\n end\n"
21056 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21058 # If no C compiler was specified, use CC.
21061 # If no C compiler flags were specified, use CFLAGS.
21062 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
21064 # Allow CC to be a program name with arguments.
21068 # save warnings/boilerplate of simple test code
21069 ac_outfile
=conftest.
$ac_objext
21070 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
21071 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21072 _lt_compiler_boilerplate
=`cat conftest.err`
21075 ac_outfile
=conftest.
$ac_objext
21076 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
21077 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
21078 _lt_linker_boilerplate
=`cat conftest.err`
21082 # Allow CC to be a program name with arguments.
21087 for cc_temp
in $compiler""; do
21089 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21090 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21095 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21098 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21099 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21100 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21101 echo "${ECHO_T}$can_build_shared" >&6; }
21103 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21104 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21105 test "$can_build_shared" = "no" && enable_shared
=no
21107 # On AIX, shared libraries and static libraries use the same namespace, and
21108 # are all built from PIC.
21111 test "$enable_shared" = yes && enable_static
=no
21112 if test -n "$RANLIB"; then
21113 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
21114 postinstall_cmds
='$RANLIB $lib'
21118 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
21119 test "$enable_shared" = yes && enable_static
=no
21123 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21124 echo "${ECHO_T}$enable_shared" >&6; }
21126 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21127 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21128 # Make sure either enable_shared or enable_static is yes.
21129 test "$enable_shared" = yes || enable_static
=yes
21130 { echo "$as_me:$LINENO: result: $enable_static" >&5
21131 echo "${ECHO_T}$enable_static" >&6; }
21136 lt_prog_compiler_wl_F77
=
21137 lt_prog_compiler_pic_F77
=
21138 lt_prog_compiler_static_F77
=
21140 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21141 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21143 if test "$GCC" = yes; then
21144 lt_prog_compiler_wl_F77
='-Wl,'
21145 lt_prog_compiler_static_F77
='-static'
21149 # All AIX code is PIC.
21150 if test "$host_cpu" = ia64
; then
21151 # AIX 5 now supports IA64 processor
21152 lt_prog_compiler_static_F77
='-Bstatic'
21157 # FIXME: we need at least 68020 code to build shared libraries, but
21158 # adding the `-m68020' flag to GCC prevents building anything better,
21160 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21163 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21164 # PIC is the default for these OSes.
21167 mingw
* | pw32
* | os2
*)
21168 # This hack is so that the source file can tell whether it is being
21169 # built for inclusion in a dll (and should export symbols for example).
21170 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21173 darwin
* | rhapsody
*)
21174 # PIC is the default on this platform
21175 # Common symbols not allowed in MH_DYLIB files
21176 lt_prog_compiler_pic_F77
='-fno-common'
21180 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21181 # Instead, we relocate shared libraries at runtime.
21185 # Just because we use GCC doesn't mean we suddenly get shared libraries
21186 # on systems that don't support them.
21187 lt_prog_compiler_can_build_shared_F77
=no
21192 if test -d /usr
/nec
; then
21193 lt_prog_compiler_pic_F77
=-Kconform_pic
21198 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21199 # not for PA HP-UX.
21205 lt_prog_compiler_pic_F77
='-fPIC'
21211 lt_prog_compiler_pic_F77
='-fPIC'
21215 # PORTME Check for flag to pass linker flags through the system compiler.
21218 lt_prog_compiler_wl_F77
='-Wl,'
21219 if test "$host_cpu" = ia64
; then
21220 # AIX 5 now supports IA64 processor
21221 lt_prog_compiler_static_F77
='-Bstatic'
21223 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21227 # PIC is the default on this platform
21228 # Common symbols not allowed in MH_DYLIB files
21229 case $cc_basename in
21231 lt_prog_compiler_pic_F77
='-qnocommon'
21232 lt_prog_compiler_wl_F77
='-Wl,'
21237 mingw
* | pw32
* | os2
*)
21238 # This hack is so that the source file can tell whether it is being
21239 # built for inclusion in a dll (and should export symbols for example).
21240 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21243 hpux9
* | hpux10
* | hpux11
*)
21244 lt_prog_compiler_wl_F77
='-Wl,'
21245 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21246 # not for PA HP-UX.
21252 lt_prog_compiler_pic_F77
='+Z'
21255 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21256 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21259 irix5
* | irix6
* | nonstopux
*)
21260 lt_prog_compiler_wl_F77
='-Wl,'
21261 # PIC (with -KPIC) is the default.
21262 lt_prog_compiler_static_F77
='-non_shared'
21266 lt_prog_compiler_pic_F77
='-KPIC'
21267 lt_prog_compiler_static_F77
='-Bstatic'
21271 case $cc_basename in
21273 lt_prog_compiler_wl_F77
='-Wl,'
21274 lt_prog_compiler_pic_F77
='-KPIC'
21275 lt_prog_compiler_static_F77
='-static'
21277 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21278 # Portland Group compilers (*not* the Pentium gcc compiler,
21279 # which looks to be a dead project)
21280 lt_prog_compiler_wl_F77
='-Wl,'
21281 lt_prog_compiler_pic_F77
='-fpic'
21282 lt_prog_compiler_static_F77
='-Bstatic'
21285 lt_prog_compiler_wl_F77
='-Wl,'
21286 # All Alpha code is PIC.
21287 lt_prog_compiler_static_F77
='-non_shared'
21292 osf3
* | osf4
* | osf5
*)
21293 lt_prog_compiler_wl_F77
='-Wl,'
21294 # All OSF/1 code is PIC.
21295 lt_prog_compiler_static_F77
='-non_shared'
21299 lt_prog_compiler_pic_F77
='-KPIC'
21300 lt_prog_compiler_static_F77
='-Bstatic'
21301 case $cc_basename in
21302 f77
* | f90
* | f95
*)
21303 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21305 lt_prog_compiler_wl_F77
='-Wl,';;
21310 lt_prog_compiler_wl_F77
='-Qoption ld '
21311 lt_prog_compiler_pic_F77
='-PIC'
21312 lt_prog_compiler_static_F77
='-Bstatic'
21315 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21316 lt_prog_compiler_wl_F77
='-Wl,'
21317 lt_prog_compiler_pic_F77
='-KPIC'
21318 lt_prog_compiler_static_F77
='-Bstatic'
21322 if test -d /usr
/nec
;then
21323 lt_prog_compiler_pic_F77
='-Kconform_pic'
21324 lt_prog_compiler_static_F77
='-Bstatic'
21328 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21329 lt_prog_compiler_wl_F77
='-Wl,'
21330 lt_prog_compiler_pic_F77
='-KPIC'
21331 lt_prog_compiler_static_F77
='-Bstatic'
21335 lt_prog_compiler_wl_F77
='-Wl,'
21336 lt_prog_compiler_can_build_shared_F77
=no
21340 lt_prog_compiler_pic_F77
='-pic'
21341 lt_prog_compiler_static_F77
='-Bstatic'
21345 lt_prog_compiler_can_build_shared_F77
=no
21350 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21351 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21354 # Check to make sure the PIC flag actually works.
21356 if test -n "$lt_prog_compiler_pic_F77"; then
21358 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21359 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21360 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
21361 echo $ECHO_N "(cached) $ECHO_C" >&6
21363 lt_prog_compiler_pic_works_F77
=no
21364 ac_outfile
=conftest.
$ac_objext
21365 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21366 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21367 # Insert the option either (1) after the last *FLAGS variable, or
21368 # (2) before a word containing "conftest.", or (3) at the end.
21369 # Note that $ac_compile itself does not contain backslashes and begins
21370 # with a dollar sign (not a hyphen), so the echo should work correctly.
21371 # The option is referenced via a variable to avoid confusing sed.
21372 lt_compile
=`echo "$ac_compile" | $SED \
21373 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21375 -e 's:$: $lt_compiler_flag:'`
21376 (eval echo "\"\$as_me:21376: $lt_compile\"" >&5)
21377 (eval "$lt_compile" 2>conftest.err
)
21379 cat conftest.err
>&5
21380 echo "$as_me:21380: \$? = $ac_status" >&5
21381 if (exit $ac_status) && test -s "$ac_outfile"; then
21382 # The compiler can only warn and ignore the option if not recognized
21383 # So say no if there are warnings other than the usual output.
21384 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21385 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21386 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21387 lt_prog_compiler_pic_works_F77
=yes
21393 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
21394 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
21396 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
21397 case $lt_prog_compiler_pic_F77 in
21399 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21402 lt_prog_compiler_pic_F77
=
21403 lt_prog_compiler_can_build_shared_F77
=no
21408 # For platforms which do not support PIC, -DPIC is meaningless:
21410 lt_prog_compiler_pic_F77
=
21413 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21418 # Check to make sure the static flag actually works.
21420 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21421 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21422 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21423 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
21424 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 lt_prog_compiler_static_works_F77
=no
21427 save_LDFLAGS
="$LDFLAGS"
21428 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21429 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
21430 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21431 # The linker can only warn and ignore the option if not recognized
21432 # So say no if there are warnings
21433 if test -s conftest.err
; then
21434 # Append any errors to the config.log.
21435 cat conftest.err
1>&5
21436 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21437 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21438 if diff conftest.exp conftest.er2
>/dev
/null
; then
21439 lt_prog_compiler_static_works_F77
=yes
21442 lt_prog_compiler_static_works_F77
=yes
21446 LDFLAGS
="$save_LDFLAGS"
21449 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
21450 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
21452 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
21455 lt_prog_compiler_static_F77
=
21459 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21460 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21461 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 lt_cv_prog_compiler_c_o_F77
=no
21465 $rm -r conftest
2>/dev
/null
21469 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
21471 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21472 # Insert the option either (1) after the last *FLAGS variable, or
21473 # (2) before a word containing "conftest.", or (3) at the end.
21474 # Note that $ac_compile itself does not contain backslashes and begins
21475 # with a dollar sign (not a hyphen), so the echo should work correctly.
21476 lt_compile
=`echo "$ac_compile" | $SED \
21477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21479 -e 's:$: $lt_compiler_flag:'`
21480 (eval echo "\"\$as_me:21480: $lt_compile\"" >&5)
21481 (eval "$lt_compile" 2>out
/conftest.err
)
21483 cat out
/conftest.err
>&5
21484 echo "$as_me:21484: \$? = $ac_status" >&5
21485 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21487 # The compiler can only warn and ignore the option if not recognized
21488 # So say no if there are warnings
21489 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21490 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
21491 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
21492 lt_cv_prog_compiler_c_o_F77
=yes
21497 # SGI C++ compiler will create directory out/ii_files/ for
21498 # template instantiation
21499 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
21500 $rm out
/* && rmdir out
21506 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21507 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21510 hard_links
="nottested"
21511 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
21512 # do not overwrite the value of need_locks provided by the user
21513 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21514 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21517 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21519 ln conftest.a conftest.b
2>&5 || hard_links
=no
21520 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
21521 { echo "$as_me:$LINENO: result: $hard_links" >&5
21522 echo "${ECHO_T}$hard_links" >&6; }
21523 if test "$hard_links" = no
; then
21524 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21525 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21532 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21533 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21536 allow_undefined_flag_F77
=
21537 enable_shared_with_static_runtimes_F77
=no
21539 archive_expsym_cmds_F77
=
21540 old_archive_From_new_cmds_F77
=
21541 old_archive_from_expsyms_cmds_F77
=
21542 export_dynamic_flag_spec_F77
=
21543 whole_archive_flag_spec_F77
=
21544 thread_safe_flag_spec_F77
=
21545 hardcode_libdir_flag_spec_F77
=
21546 hardcode_libdir_flag_spec_ld_F77
=
21547 hardcode_libdir_separator_F77
=
21548 hardcode_direct_F77
=no
21549 hardcode_minus_L_F77
=no
21550 hardcode_shlibpath_var_F77
=unsupported
21551 link_all_deplibs_F77
=unknown
21552 hardcode_automatic_F77
=no
21554 module_expsym_cmds_F77
=
21555 always_export_symbols_F77
=no
21556 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21557 # include_expsyms should be a list of space-separated symbols to be *always*
21558 # included in the symbol list
21559 include_expsyms_F77
=
21560 # exclude_expsyms can be an extended regexp of symbols to exclude
21561 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21562 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21563 # as well as any symbol that contains `d'.
21564 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
21565 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21566 # platforms (ab)use it in PIC code, but their linkers get confused if
21567 # the symbol is explicitly referenced. Since portable code cannot
21568 # rely on this symbol name, it's probably fine to never include it in
21569 # preloaded symbol tables.
21570 extract_expsyms_cmds
=
21571 # Just being paranoid about ensuring that cc_basename is set.
21572 for cc_temp
in $compiler""; do
21574 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
21575 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
21580 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21583 cygwin
* | mingw
* | pw32
*)
21584 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21585 # When not using gcc, we currently assume that we are using
21586 # Microsoft Visual C++.
21587 if test "$GCC" != yes; then
21592 # we just hope/assume this is gcc and not c89 (= MSVC++)
21601 if test "$with_gnu_ld" = yes; then
21602 # If archive_cmds runs LD, not CC, wlarc should be empty
21605 # Set some defaults for GNU ld with shared library support. These
21606 # are reset later if shared libraries are not supported. Putting them
21607 # here allows them to be overridden if necessary.
21608 runpath_var
=LD_RUN_PATH
21609 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
21610 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
21611 # ancient GNU ld didn't support --whole-archive et. al.
21612 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
21613 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21615 whole_archive_flag_spec_F77
=
21617 supports_anon_versioning
=no
21618 case `$LD -v 2>/dev/null` in
21619 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
21620 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
21621 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
21622 *\
2.11.
*) ;; # other 2.11 versions
21623 *) supports_anon_versioning
=yes ;;
21626 # See if GNU ld supports shared libraries.
21628 aix3
* | aix4
* | aix5
*)
21629 # On AIX/PPC, the GNU linker is very broken
21630 if test "$host_cpu" != ia64
; then
21634 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
21635 *** to be unable to reliably create shared libraries on AIX.
21636 *** Therefore, libtool is disabling shared libraries support. If you
21637 *** really care for shared libraries, you may want to modify your PATH
21638 *** so that a non-GNU linker is found, and then restart.
21645 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)'
21646 hardcode_libdir_flag_spec_F77
='-L$libdir'
21647 hardcode_minus_L_F77
=yes
21649 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21650 # that the semantics of dynamic libraries on AmigaOS, at least up
21651 # to version 4, is to share data among multiple programs linked
21652 # with the same dynamic library. Since this doesn't match the
21653 # behavior of shared libraries on other platforms, we can't use
21659 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21660 allow_undefined_flag_F77
=unsupported
21661 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21662 # support --undefined. This deserves some investigation. FIXME
21663 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21669 cygwin
* | mingw
* | pw32
*)
21670 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
21671 # as there is no search path for DLLs.
21672 hardcode_libdir_flag_spec_F77
='-L$libdir'
21673 allow_undefined_flag_F77
=unsupported
21674 always_export_symbols_F77
=no
21675 enable_shared_with_static_runtimes_F77
=yes
21676 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
21678 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
21679 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21680 # If the export-symbols file already is a .def file (1st line
21681 # is EXPORTS), use it as is; otherwise, prepend...
21682 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21683 cp $export_symbols $output_objdir/$soname.def;
21685 echo EXPORTS > $output_objdir/$soname.def;
21686 cat $export_symbols >> $output_objdir/$soname.def;
21688 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21695 hardcode_direct_F77
=no
21696 hardcode_shlibpath_var_F77
=no
21697 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
21698 export_dynamic_flag_spec_F77
='${wl}-E'
21699 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21700 # Instead, shared libraries are loaded at an image base (0x10000000 by
21701 # default) and relocated if they conflict, which is a slow very memory
21702 # consuming and fragmenting process. To avoid this, we pick a random,
21703 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21704 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
21705 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'
21706 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'
21710 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21712 case $cc_basename,$host_cpu in
21713 pgcc
*) # Portland Group C compiler
21714 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'
21715 tmp_addflag
=' $pic_flag'
21717 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
21718 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'
21719 tmp_addflag
=' $pic_flag -Mnomain' ;;
21720 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
21721 tmp_addflag
=' -i_dynamic' ;;
21722 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
21723 tmp_addflag
=' -i_dynamic -nofor_main' ;;
21724 ifc
* | ifort
*) # Intel Fortran compiler
21725 tmp_addflag
=' -nofor_main' ;;
21727 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21729 if test $supports_anon_versioning = yes; then
21730 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
21731 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21732 $echo "local: *; };" >> $output_objdir/$libname.ver~
21733 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21741 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
21742 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21745 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21746 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21751 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
21755 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21756 *** create shared libraries on Solaris systems. Therefore, libtool
21757 *** is disabling shared libraries support. We urge you to upgrade GNU
21758 *** binutils to release 2.9.1 or newer. Another option is to modify
21759 *** your PATH or compiler configuration so that the native linker is
21760 *** used, and then restart.
21763 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21764 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21765 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21771 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
21772 case `$LD -v 2>&1` in
21773 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
21777 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21778 *** reliably create shared libraries on SCO systems. Therefore, libtool
21779 *** is disabling shared libraries support. We urge you to upgrade GNU
21780 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21781 *** your PATH or compiler configuration so that the native linker is
21782 *** used, and then restart.
21787 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21788 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21789 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21790 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21799 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21801 hardcode_direct_F77
=yes
21802 hardcode_shlibpath_var_F77
=no
21806 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
21807 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21808 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21815 if test "$ld_shlibs_F77" = no
; then
21817 hardcode_libdir_flag_spec_F77
=
21818 export_dynamic_flag_spec_F77
=
21819 whole_archive_flag_spec_F77
=
21822 # PORTME fill in a description of your system's linker (not GNU ld)
21825 allow_undefined_flag_F77
=unsupported
21826 always_export_symbols_F77
=yes
21827 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'
21828 # Note: this linker hardcodes the directories in LIBPATH if there
21829 # are no directories specified by -L.
21830 hardcode_minus_L_F77
=yes
21831 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21832 # Neither direct hardcoding nor static linking is supported with a
21834 hardcode_direct_F77
=unsupported
21839 if test "$host_cpu" = ia64
; then
21840 # On IA64, the linker does run time linking by default, so we don't
21841 # have to do anything special.
21842 aix_use_runtimelinking
=no
21843 exp_sym_flag
='-Bexport'
21846 # If we're using GNU nm, then we don't want the "-C" option.
21847 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21848 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
21849 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'
21851 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'
21853 aix_use_runtimelinking
=no
21855 # Test if we are trying to use run time linking or normal
21856 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21857 # need to do runtime linking.
21858 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
21859 for ld_flag
in $LDFLAGS; do
21860 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
21861 aix_use_runtimelinking
=yes
21868 exp_sym_flag
='-bexport'
21869 no_entry_flag
='-bnoentry'
21872 # When large executables or shared objects are built, AIX ld can
21873 # have problems creating the table of contents. If linking a library
21874 # or program results in "error TOC overflow" add -mminimal-toc to
21875 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21876 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21878 archive_cmds_F77
=''
21879 hardcode_direct_F77
=yes
21880 hardcode_libdir_separator_F77
=':'
21881 link_all_deplibs_F77
=yes
21883 if test "$GCC" = yes; then
21884 case $host_os in aix4.
[012]|aix4.
[012].
*)
21885 # We only want to do this on AIX 4.2 and lower, the check
21886 # below for broken collect2 doesn't work under 4.3+
21887 collect2name
=`${CC} -print-prog-name=collect2`
21888 if test -f "$collect2name" && \
21889 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
21891 # We have reworked collect2
21892 hardcode_direct_F77
=yes
21894 # We have old collect2
21895 hardcode_direct_F77
=unsupported
21896 # It fails to find uninstalled libraries when the uninstalled
21897 # path is not listed in the libpath. Setting hardcode_minus_L
21898 # to unsupported forces relinking
21899 hardcode_minus_L_F77
=yes
21900 hardcode_libdir_flag_spec_F77
='-L$libdir'
21901 hardcode_libdir_separator_F77
=
21905 shared_flag
='-shared'
21906 if test "$aix_use_runtimelinking" = yes; then
21907 shared_flag
="$shared_flag "'${wl}-G'
21911 if test "$host_cpu" = ia64
; then
21912 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21913 # chokes on -Wl,-G. The following line is correct:
21916 if test "$aix_use_runtimelinking" = yes; then
21917 shared_flag
='${wl}-G'
21919 shared_flag
='${wl}-bM:SRE'
21924 # It seems that -bexpall does not export symbols beginning with
21925 # underscore (_), so it is better to generate a list of symbols to export.
21926 always_export_symbols_F77
=yes
21927 if test "$aix_use_runtimelinking" = yes; then
21928 # Warning - without using the other runtime loading flags (-brtl),
21929 # -berok will link without error, but may produce a broken library.
21930 allow_undefined_flag_F77
='-berok'
21931 # Determine the default libpath from the value encoded in an empty executable.
21932 cat >conftest.
$ac_ext <<_ACEOF
21937 rm -f conftest.
$ac_objext conftest
$ac_exeext
21938 if { (ac_try
="$ac_link"
21939 case "(($ac_try" in
21940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21941 *) ac_try_echo=$ac_try;;
21943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21944 (eval "$ac_link") 2>conftest.er1
21946 grep -v '^ *+' conftest.er1 >conftest.err
21948 cat conftest.err >&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); } &&
21951 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
21952 { (case "(($ac_try" in
21953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21954 *) ac_try_echo
=$ac_try;;
21956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_try") 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; } &&
21961 { ac_try
='test -s conftest$ac_exeext'
21962 { (case "(($ac_try" in
21963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_try") 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21972 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
21974 # Check for a 64-bit object if we didn't find anything.
21975 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; }
21978 echo "$as_me: failed program was:" >&5
21979 sed 's/^/| /' conftest.$ac_ext >&5
21984 rm -f core conftest.err conftest.$ac_objext \
21985 conftest$ac_exeext conftest.$ac_ext
21986 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21988 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
21989 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"
21991 if test "$host_cpu" = ia64; then
21992 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
21993 allow_undefined_flag_F77="-z nodefs"
21994 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"
21996 # Determine the default libpath from the value encoded in an empty executable.
21997 cat >conftest.$ac_ext <<_ACEOF
22002 rm -f conftest.$ac_objext conftest$ac_exeext
22003 if { (ac_try="$ac_link"
22004 case "(($ac_try" in
22005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22006 *) ac_try_echo
=$ac_try;;
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_link") 2>conftest.er1
22011 grep -v '^ *+' conftest.er1
>conftest.err
22013 cat conftest.err
>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } &&
22016 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22017 { (case "(($ac_try" in
22018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22019 *) ac_try_echo=$ac_try;;
22021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22022 (eval "$ac_try") 2>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; } &&
22026 { ac_try='test -s conftest$ac_exeext'
22027 { (case "(($ac_try" in
22028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22029 *) ac_try_echo
=$ac_try;;
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_try") 2>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22037 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22039 # Check for a 64-bit object if we didn't find anything.
22040 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; }
22043 echo "$as_me: failed program was:" >&5
22044 sed 's/^/| /' conftest.
$ac_ext >&5
22049 rm -f core conftest.err conftest.
$ac_objext \
22050 conftest
$ac_exeext conftest.
$ac_ext
22051 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22053 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22054 # Warning - without using the other run time loading flags,
22055 # -berok will link without error, but may produce a broken library.
22056 no_undefined_flag_F77
=' ${wl}-bernotok'
22057 allow_undefined_flag_F77
=' ${wl}-berok'
22058 # Exported symbols can be pulled into shared objects from archives
22059 whole_archive_flag_spec_F77
='$convenience'
22060 archive_cmds_need_lc_F77
=yes
22061 # This is similar to how AIX traditionally builds its shared libraries.
22062 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'
22068 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)'
22069 hardcode_libdir_flag_spec_F77
='-L$libdir'
22070 hardcode_minus_L_F77
=yes
22071 # see comment about different semantics on the GNU ld section
22076 export_dynamic_flag_spec_F77
=-rdynamic
22079 cygwin
* | mingw
* | pw32
*)
22080 # When not using gcc, we currently assume that we are using
22081 # Microsoft Visual C++.
22082 # hardcode_libdir_flag_spec is actually meaningless, as there is
22083 # no search path for DLLs.
22084 hardcode_libdir_flag_spec_F77
=' '
22085 allow_undefined_flag_F77
=unsupported
22086 # Tell ltmain to make .lib files, not .a files.
22088 # Tell ltmain to make .dll files, not .so files.
22090 # FIXME: Setting linknames here is a bad hack.
22091 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22092 # The linker will automatically build a .lib file if we build a DLL.
22093 old_archive_From_new_cmds_F77
='true'
22094 # FIXME: Should let the user specify the lib program.
22095 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
22096 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22097 enable_shared_with_static_runtimes_F77
=yes
22100 darwin
* | rhapsody
*)
22102 rhapsody
* | darwin1.
[012])
22103 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
22106 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22107 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22109 case ${MACOSX_DEPLOYMENT_TARGET} in
22111 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22114 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
22120 archive_cmds_need_lc_F77
=no
22121 hardcode_direct_F77
=no
22122 hardcode_automatic_F77
=yes
22123 hardcode_shlibpath_var_F77
=unsupported
22124 whole_archive_flag_spec_F77
=''
22125 link_all_deplibs_F77
=yes
22126 if test "$GCC" = yes ; then
22127 output_verbose_link_cmd
='echo'
22128 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
22129 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22130 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22131 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}'
22132 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}'
22134 case $cc_basename in
22136 output_verbose_link_cmd
='echo'
22137 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
22138 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22139 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22140 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}'
22141 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}'
22151 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22152 hardcode_libdir_flag_spec_F77
='-L$libdir'
22153 hardcode_shlibpath_var_F77
=no
22160 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22161 # support. Future versions do this automatically, but an explicit c++rt0.o
22162 # does not break anything, and helps significantly (at the cost of a little
22165 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22166 hardcode_libdir_flag_spec_F77
='-R$libdir'
22167 hardcode_direct_F77
=yes
22168 hardcode_shlibpath_var_F77
=no
22171 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22173 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22174 hardcode_direct_F77
=yes
22175 hardcode_minus_L_F77
=yes
22176 hardcode_shlibpath_var_F77
=no
22179 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22180 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
22181 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22182 hardcode_libdir_flag_spec_F77
='-R$libdir'
22183 hardcode_direct_F77
=yes
22184 hardcode_shlibpath_var_F77
=no
22188 if test "$GCC" = yes; then
22189 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'
22191 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'
22193 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22194 hardcode_libdir_separator_F77
=:
22195 hardcode_direct_F77
=yes
22197 # hardcode_minus_L: Not really in the search PATH,
22198 # but as the default location of the library.
22199 hardcode_minus_L_F77
=yes
22200 export_dynamic_flag_spec_F77
='${wl}-E'
22204 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22205 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22207 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22209 if test "$with_gnu_ld" = no
; then
22210 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22211 hardcode_libdir_separator_F77
=:
22213 hardcode_direct_F77
=yes
22214 export_dynamic_flag_spec_F77
='${wl}-E'
22216 # hardcode_minus_L: Not really in the search PATH,
22217 # but as the default location of the library.
22218 hardcode_minus_L_F77
=yes
22223 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22226 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22229 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22232 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22238 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22241 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22244 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22248 if test "$with_gnu_ld" = no
; then
22249 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22250 hardcode_libdir_separator_F77
=:
22254 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22255 hardcode_direct_F77
=no
22256 hardcode_shlibpath_var_F77
=no
22259 hardcode_direct_F77
=yes
22260 export_dynamic_flag_spec_F77
='${wl}-E'
22262 # hardcode_minus_L: Not really in the search PATH,
22263 # but as the default location of the library.
22264 hardcode_minus_L_F77
=yes
22270 irix5
* | irix6
* | nonstopux
*)
22271 if test "$GCC" = yes; then
22272 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'
22274 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'
22275 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22277 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22278 hardcode_libdir_separator_F77
=:
22279 link_all_deplibs_F77
=yes
22283 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22284 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22286 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22288 hardcode_libdir_flag_spec_F77
='-R$libdir'
22289 hardcode_direct_F77
=yes
22290 hardcode_shlibpath_var_F77
=no
22294 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22295 hardcode_direct_F77
=yes
22296 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22297 hardcode_libdir_separator_F77
=:
22298 hardcode_shlibpath_var_F77
=no
22302 hardcode_direct_F77
=yes
22303 hardcode_shlibpath_var_F77
=no
22304 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22305 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22306 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22307 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22308 export_dynamic_flag_spec_F77
='${wl}-E'
22311 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
22312 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22313 hardcode_libdir_flag_spec_F77
='-R$libdir'
22316 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22317 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22324 hardcode_libdir_flag_spec_F77
='-L$libdir'
22325 hardcode_minus_L_F77
=yes
22326 allow_undefined_flag_F77
=unsupported
22327 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'
22328 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22332 if test "$GCC" = yes; then
22333 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22334 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'
22336 allow_undefined_flag_F77
=' -expect_unresolved \*'
22337 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'
22339 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22340 hardcode_libdir_separator_F77
=:
22343 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
22344 if test "$GCC" = yes; then
22345 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
22346 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'
22347 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22349 allow_undefined_flag_F77
=' -expect_unresolved \*'
22350 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'
22351 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~
22352 $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'
22354 # Both c and cxx compiler support -rpath directly
22355 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
22357 hardcode_libdir_separator_F77
=:
22361 no_undefined_flag_F77
=' -z text'
22362 if test "$GCC" = yes; then
22364 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22365 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22366 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22369 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22370 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22371 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22373 hardcode_libdir_flag_spec_F77
='-R$libdir'
22374 hardcode_shlibpath_var_F77
=no
22376 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
22378 # The compiler driver will combine linker options so we
22379 # cannot just pass the convience library names through
22380 # without $wl, iff we do not link with $LD.
22381 # Luckily, gcc supports the same syntax we need for Sun Studio.
22382 # Supported since Solaris 2.6 (maybe 2.5.1?)
22385 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
22387 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' ;;
22390 link_all_deplibs_F77
=yes
22394 if test "x$host_vendor" = xsequent
; then
22395 # Use $CC to link under sequent, because it throws in some extra .o
22396 # files that make .init and .fini sections work.
22397 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22399 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22401 hardcode_libdir_flag_spec_F77
='-L$libdir'
22402 hardcode_direct_F77
=yes
22403 hardcode_minus_L_F77
=yes
22404 hardcode_shlibpath_var_F77
=no
22408 case $host_vendor in
22410 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22411 hardcode_direct_F77
=yes # is this really true???
22414 ## LD is ld it makes a PLAMLIB
22415 ## CC just makes a GrossModule.
22416 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22417 reload_cmds_F77
='$CC -r -o $output$reload_objs'
22418 hardcode_direct_F77
=no
22421 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22422 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
22425 runpath_var
='LD_RUN_PATH'
22426 hardcode_shlibpath_var_F77
=no
22430 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22431 hardcode_shlibpath_var_F77
=no
22432 export_dynamic_flag_spec_F77
='-Bexport'
22436 if test -d /usr
/nec
; then
22437 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22438 hardcode_shlibpath_var_F77
=no
22439 runpath_var
=LD_RUN_PATH
22440 hardcode_runpath_var
=yes
22445 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
22446 no_undefined_flag_F77
='${wl}-z,text'
22447 archive_cmds_need_lc_F77
=no
22448 hardcode_shlibpath_var_F77
=no
22449 runpath_var
='LD_RUN_PATH'
22451 if test "$GCC" = yes; then
22452 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22453 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22455 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22456 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22460 sysv5
* | sco3.2v5
* | sco5v6
*)
22461 # Note: We can NOT use -z defs as we might desire, because we do not
22462 # link with -lc, and that would cause any symbols used from libc to
22463 # always be unresolved, which means just about no library would
22464 # ever link correctly. If we're not using GNU ld we use -z text
22465 # though, which does catch some bad symbols but isn't as heavy-handed
22467 no_undefined_flag_F77
='${wl}-z,text'
22468 allow_undefined_flag_F77
='${wl}-z,nodefs'
22469 archive_cmds_need_lc_F77
=no
22470 hardcode_shlibpath_var_F77
=no
22471 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22472 hardcode_libdir_separator_F77
=':'
22473 link_all_deplibs_F77
=yes
22474 export_dynamic_flag_spec_F77
='${wl}-Bexport'
22475 runpath_var
='LD_RUN_PATH'
22477 if test "$GCC" = yes; then
22478 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22479 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22481 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22482 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22487 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22488 hardcode_libdir_flag_spec_F77
='-L$libdir'
22489 hardcode_shlibpath_var_F77
=no
22498 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22499 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22500 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
22503 # Do we need to explicitly link libc?
22505 case "x$archive_cmds_need_lc_F77" in
22507 # Assume -lc should be added
22508 archive_cmds_need_lc_F77
=yes
22510 if test "$enable_shared" = yes && test "$GCC" = yes; then
22511 case $archive_cmds_F77 in
22513 # FIXME: we may have to deal with multi-command sequences.
22516 # Test whether the compiler implicitly links with -lc since on some
22517 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22518 # to ld, don't add -lc before -lgcc.
22519 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22520 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22522 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22525 (eval $ac_compile) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } 2>conftest.err
; then
22531 libobjs
=conftest.
$ac_objext
22533 wl
=$lt_prog_compiler_wl_F77
22534 pic_flag
=$lt_prog_compiler_pic_F77
22540 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
22541 allow_undefined_flag_F77
=
22542 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22543 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }
22548 archive_cmds_need_lc_F77
=no
22550 archive_cmds_need_lc_F77
=yes
22552 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
22554 cat conftest.err
1>&5
22557 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22558 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22565 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22566 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22567 library_names_spec
=
22568 libname_spec
='lib$name'
22572 postuninstall_cmds
=
22576 shlibpath_overrides_runpath
=unknown
22578 dynamic_linker
="$host_os ld.so"
22579 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
22580 if test "$GCC" = yes; then
22581 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22582 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
22583 # if the path contains ";" then we assume it to be the separator
22584 # otherwise default to the standard path separator (i.e. ":") - it is
22585 # assumed that no part of a normal pathname contains ";" but that should
22586 # okay in the real world where ";" in dirpaths is itself problematic.
22587 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22592 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
22594 need_lib_prefix
=unknown
22595 hardcode_into_libs
=no
22597 # when you set need_version to no, make sure it does not cause -set_version
22598 # flags to be left without arguments
22599 need_version
=unknown
22604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
22605 shlibpath_var
=LIBPATH
22607 # AIX 3 has no versioning support, so we append a major version to the name.
22608 soname_spec
='${libname}${release}${shared_ext}$major'
22615 hardcode_into_libs
=yes
22616 if test "$host_cpu" = ia64
; then
22617 # AIX 5 supports IA64
22618 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22619 shlibpath_var
=LD_LIBRARY_PATH
22621 # With GCC up to 2.95.x, collect2 would create an import file
22622 # for dependence libraries. The import file would start with
22623 # the line `#! .'. This would cause the generated library to
22624 # depend on `.', always an invalid library. This was fixed in
22625 # development snapshots of GCC prior to 3.0.
22627 aix4 | aix4.
[01] | aix4.
[01].
*)
22628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22630 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
22633 can_build_shared
=no
22637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22638 # soname into executable. Probably we can add versioning support to
22639 # collect2, so additional links can be useful in future.
22640 if test "$aix_use_runtimelinking" = yes; then
22641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22642 # instead of lib<name>.a to let people know that these are not
22643 # typical AIX shared libraries.
22644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22646 # We preserve .a as extension for shared libraries through AIX4.2
22647 # and later when we are not doing run time linking.
22648 library_names_spec
='${libname}${release}.a $libname.a'
22649 soname_spec
='${libname}${release}${shared_ext}$major'
22651 shlibpath_var
=LIBPATH
22656 library_names_spec
='$libname.ixlibrary $libname.a'
22657 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22658 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'
22662 library_names_spec
='${libname}${shared_ext}'
22663 dynamic_linker
="$host_os ld.so"
22664 shlibpath_var
=LIBRARY_PATH
22670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22671 soname_spec
='${libname}${release}${shared_ext}$major'
22672 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
22673 shlibpath_var
=LD_LIBRARY_PATH
22674 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22675 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
22676 # the default ld.so.conf also contains /usr/contrib/lib and
22677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22678 # libtool to hard-code these into programs
22681 cygwin
* | mingw
* | pw32
*)
22682 version_type
=windows
22687 case $GCC,$host_os in
22688 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
22689 library_names_spec
='$libname.dll.a'
22690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22691 postinstall_cmds
='base_file=`basename \${file}`~
22692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22693 dldir=$destdir/`dirname \$dlpath`~
22694 test -d \$dldir || mkdir -p \$dldir~
22695 $install_prog $dir/$dlname \$dldir/$dlname~
22696 chmod a+x \$dldir/$dlname'
22697 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22698 dlpath=$dir/\$dldll~
22700 shlibpath_overrides_runpath
=yes
22704 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22705 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22706 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
22709 # MinGW DLLs use traditional 'lib' prefix
22710 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22711 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22712 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
22713 # It is most probably a Windows format PATH printed by
22714 # mingw gcc, but we are running on Cygwin. Gcc prints its search
22715 # path with ; separators, and with drive letters. We can handle the
22716 # drive letters (cygwin fileutils understands them), so leave them,
22717 # especially as we might pass files found there to a mingw objdump,
22718 # which wouldn't understand a cygwinified path. Ahh.
22719 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22721 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22725 # pw32 DLLs use 'pw' prefix rather than 'lib'
22726 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22732 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22735 dynamic_linker
='Win32 ld.exe'
22736 # FIXME: first we should search . and the directory the executable is in
22740 darwin
* | rhapsody
*)
22741 dynamic_linker
="$host_os dyld"
22742 version_type
=darwin
22745 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22746 soname_spec
='${libname}${release}${major}$shared_ext'
22747 shlibpath_overrides_runpath
=yes
22748 shlibpath_var
=DYLD_LIBRARY_PATH
22749 shrext_cmds
='.dylib'
22750 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
22751 if test "$GCC" = yes; then
22752 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"`
22754 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
22756 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
22763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22764 soname_spec
='${libname}${release}${shared_ext}$major'
22765 shlibpath_var
=LD_LIBRARY_PATH
22776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22777 soname_spec
='${libname}${release}${shared_ext}$major'
22778 shlibpath_var
=LD_LIBRARY_PATH
22779 shlibpath_overrides_runpath
=no
22780 hardcode_into_libs
=yes
22781 dynamic_linker
='GNU ld.so'
22784 freebsd
* | dragonfly
*)
22785 # DragonFly does not have aout. When/if they implement a new
22786 # versioning mechanism, adjust this.
22787 if test -x /usr
/bin
/objformat
; then
22788 objformat
=`/usr/bin/objformat`
22791 freebsd
[123]*) objformat
=aout
;;
22792 *) objformat
=elf
;;
22795 version_type
=freebsd-
$objformat
22796 case $version_type in
22798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22803 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22807 shlibpath_var
=LD_LIBRARY_PATH
22810 shlibpath_overrides_runpath
=yes
22812 freebsd3.
[01]* | freebsdelf3.
[01]*)
22813 shlibpath_overrides_runpath
=yes
22814 hardcode_into_libs
=yes
22816 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
22817 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
22818 shlibpath_overrides_runpath
=no
22819 hardcode_into_libs
=yes
22821 freebsd
*) # from 4.6 on
22822 shlibpath_overrides_runpath
=yes
22823 hardcode_into_libs
=yes
22832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22833 soname_spec
='${libname}${release}${shared_ext}$major'
22834 shlibpath_var
=LD_LIBRARY_PATH
22835 hardcode_into_libs
=yes
22838 hpux9
* | hpux10
* | hpux11
*)
22839 # Give a soname corresponding to the major version so that dld.sl refuses to
22840 # link against other versions.
22847 hardcode_into_libs
=yes
22848 dynamic_linker
="$host_os dld.so"
22849 shlibpath_var
=LD_LIBRARY_PATH
22850 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22852 soname_spec
='${libname}${release}${shared_ext}$major'
22853 if test "X$HPUX_IA64_MODE" = X32
; then
22854 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22856 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
22858 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22862 hardcode_into_libs
=yes
22863 dynamic_linker
="$host_os dld.sl"
22864 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
22865 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
22866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22867 soname_spec
='${libname}${release}${shared_ext}$major'
22868 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22869 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
22873 dynamic_linker
="$host_os dld.sl"
22874 shlibpath_var
=SHLIB_PATH
22875 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
22876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22877 soname_spec
='${libname}${release}${shared_ext}$major'
22880 # HP-UX runs *really* slowly unless shared libraries are mode 555.
22881 postinstall_cmds
='chmod 555 $lib'
22888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22889 soname_spec
='${libname}${release}${shared_ext}$major'
22890 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
22891 shlibpath_var
=LD_LIBRARY_PATH
22892 shlibpath_overrides_runpath
=no
22893 hardcode_into_libs
=yes
22896 irix5
* | irix6
* | nonstopux
*)
22898 nonstopux
*) version_type
=nonstopux
;;
22900 if test "$lt_cv_prog_gnu_ld" = yes; then
22908 soname_spec
='${libname}${release}${shared_ext}$major'
22909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22911 irix5
* | nonstopux
*)
22912 libsuff
= shlibsuff
=
22915 case $LD in # libtool.m4 will add one of these switches to LD
22916 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
22917 libsuff
= shlibsuff
= libmagic
=32-bit;;
22918 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
22919 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
22920 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
22921 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
22922 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
22926 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
22927 shlibpath_overrides_runpath
=no
22928 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22929 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
22930 hardcode_into_libs
=yes
22933 # No shared lib support for Linux oldld, aout, or coff.
22934 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
22938 # This must be Linux ELF.
22943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22944 soname_spec
='${libname}${release}${shared_ext}$major'
22945 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22946 shlibpath_var
=LD_LIBRARY_PATH
22947 shlibpath_overrides_runpath
=no
22948 # This implies no fast_install, which is unacceptable.
22949 # Some rework will be needed to allow for fast_install
22950 # before this can be enabled.
22951 hardcode_into_libs
=yes
22953 # Append ld.so.conf contents to the search path
22954 if test -f /etc
/ld.so.conf
; then
22955 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' ' '`
22956 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
22959 # We used to test for /lib/ld.so.1 and disable shared libraries on
22960 # powerpc, because MkLinux only supported shared libraries with the
22961 # GNU dynamic linker. Since this was broken with cross compilers,
22962 # most powerpc-linux boxes support dynamic linking these days and
22963 # people can always --disable-shared, the test was removed, and we
22964 # assume the GNU/Linux dynamic linker is in use.
22965 dynamic_linker
='GNU/Linux ld.so'
22972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22973 soname_spec
='${libname}${release}${shared_ext}$major'
22974 shlibpath_var
=LD_LIBRARY_PATH
22975 shlibpath_overrides_runpath
=no
22976 hardcode_into_libs
=yes
22977 dynamic_linker
='GNU ld.so'
22984 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
22985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22987 dynamic_linker
='NetBSD (a.out) ld.so'
22989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22990 soname_spec
='${libname}${release}${shared_ext}$major'
22991 dynamic_linker
='NetBSD ld.elf_so'
22993 shlibpath_var
=LD_LIBRARY_PATH
22994 shlibpath_overrides_runpath
=yes
22995 hardcode_into_libs
=yes
23000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23001 shlibpath_var
=LD_LIBRARY_PATH
23002 shlibpath_overrides_runpath
=yes
23009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23010 soname_spec
='${libname}${release}${shared_ext}$major'
23011 shlibpath_var
=LD_LIBRARY_PATH
23012 shlibpath_overrides_runpath
=yes
23017 sys_lib_dlsearch_path_spec
="/usr/lib"
23019 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23021 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
23022 *) need_version
=no
;;
23024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23025 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23026 shlibpath_var
=LD_LIBRARY_PATH
23027 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23029 openbsd2.
[89] | openbsd2.
[89].
*)
23030 shlibpath_overrides_runpath
=no
23033 shlibpath_overrides_runpath
=yes
23037 shlibpath_overrides_runpath
=yes
23042 libname_spec
='$name'
23045 library_names_spec
='$libname${shared_ext} $libname.a'
23046 dynamic_linker
='OS/2 ld.exe'
23047 shlibpath_var
=LIBPATH
23050 osf3
* | osf4
* | osf5
*)
23054 soname_spec
='${libname}${release}${shared_ext}$major'
23055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23056 shlibpath_var
=LD_LIBRARY_PATH
23057 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23058 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
23065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23066 soname_spec
='${libname}${release}${shared_ext}$major'
23067 shlibpath_var
=LD_LIBRARY_PATH
23068 shlibpath_overrides_runpath
=yes
23069 hardcode_into_libs
=yes
23070 # ldd complains unless libraries are executable
23071 postinstall_cmds
='chmod +x $lib'
23076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23077 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23078 shlibpath_var
=LD_LIBRARY_PATH
23079 shlibpath_overrides_runpath
=yes
23080 if test "$with_gnu_ld" = yes; then
23088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23089 soname_spec
='${libname}${release}${shared_ext}$major'
23090 shlibpath_var
=LD_LIBRARY_PATH
23091 case $host_vendor in
23093 shlibpath_overrides_runpath
=no
23095 export_dynamic_flag_spec
='${wl}-Blargedynsym'
23096 runpath_var
=LD_RUN_PATH
23104 shlibpath_overrides_runpath
=no
23105 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
23111 if test -d /usr
/nec
;then
23113 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23114 soname_spec
='$libname${shared_ext}.$major'
23115 shlibpath_var
=LD_LIBRARY_PATH
23119 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
23120 version_type
=freebsd-elf
23123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23124 soname_spec
='${libname}${release}${shared_ext}$major'
23125 shlibpath_var
=LD_LIBRARY_PATH
23126 hardcode_into_libs
=yes
23127 if test "$with_gnu_ld" = yes; then
23128 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23129 shlibpath_overrides_runpath
=no
23131 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
23132 shlibpath_overrides_runpath
=yes
23135 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
23139 sys_lib_dlsearch_path_spec
='/usr/lib'
23144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23145 soname_spec
='${libname}${release}${shared_ext}$major'
23146 shlibpath_var
=LD_LIBRARY_PATH
23153 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23154 echo "${ECHO_T}$dynamic_linker" >&6; }
23155 test "$dynamic_linker" = no
&& can_build_shared
=no
23157 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
23158 if test "$GCC" = yes; then
23159 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23162 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23163 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23164 hardcode_action_F77
=
23165 if test -n "$hardcode_libdir_flag_spec_F77" || \
23166 test -n "$runpath_var_F77" || \
23167 test "X$hardcode_automatic_F77" = "Xyes" ; then
23169 # We can hardcode non-existant directories.
23170 if test "$hardcode_direct_F77" != no
&&
23171 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23172 # have to relink, otherwise we might link with an installed library
23173 # when we should be linking with a yet-to-be-installed one
23174 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23175 test "$hardcode_minus_L_F77" != no
; then
23176 # Linking always hardcodes the temporary library directory.
23177 hardcode_action_F77
=relink
23179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23180 hardcode_action_F77
=immediate
23183 # We cannot hardcode anything, or else we can only hardcode existing
23185 hardcode_action_F77
=unsupported
23187 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23188 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23190 if test "$hardcode_action_F77" = relink
; then
23191 # Fast installation is not supported
23192 enable_fast_install
=no
23193 elif test "$shlibpath_overrides_runpath" = yes ||
23194 test "$enable_shared" = no
; then
23195 # Fast installation is not necessary
23196 enable_fast_install
=needless
23200 # The else clause should only fire when bootstrapping the
23201 # libtool distribution, otherwise you forgot to ship ltmain.sh
23202 # with your package, and you will get complaints that there are
23203 # no rules to generate ltmain.sh.
23204 if test -f "$ltmain"; then
23205 # See if we are running on zsh, and set the options which allow our commands through
23206 # without removal of \ escapes.
23207 if test -n "${ZSH_VERSION+set}" ; then
23208 setopt NO_GLOB_SUBST
23210 # Now quote all the things that may contain metacharacters while being
23211 # careful not to overquote the AC_SUBSTed values. We take copies of the
23212 # variables and quote the copies for generation of the libtool script.
23213 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23215 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23216 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23217 deplibs_check_method reload_flag reload_cmds need_locks \
23218 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23219 lt_cv_sys_global_symbol_to_c_name_address \
23220 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23221 old_postinstall_cmds old_postuninstall_cmds \
23225 lt_prog_compiler_wl_F77 \
23226 lt_prog_compiler_pic_F77 \
23227 lt_prog_compiler_static_F77 \
23228 lt_prog_compiler_no_builtin_flag_F77 \
23229 export_dynamic_flag_spec_F77 \
23230 thread_safe_flag_spec_F77 \
23231 whole_archive_flag_spec_F77 \
23232 enable_shared_with_static_runtimes_F77 \
23233 old_archive_cmds_F77 \
23234 old_archive_from_new_cmds_F77 \
23235 predep_objects_F77 \
23236 postdep_objects_F77 \
23239 compiler_lib_search_path_F77 \
23241 archive_expsym_cmds_F77 \
23242 postinstall_cmds_F77 \
23243 postuninstall_cmds_F77 \
23244 old_archive_from_expsyms_cmds_F77 \
23245 allow_undefined_flag_F77 \
23246 no_undefined_flag_F77 \
23247 export_symbols_cmds_F77 \
23248 hardcode_libdir_flag_spec_F77 \
23249 hardcode_libdir_flag_spec_ld_F77 \
23250 hardcode_libdir_separator_F77 \
23251 hardcode_automatic_F77 \
23253 module_expsym_cmds_F77 \
23254 lt_cv_prog_compiler_c_o_F77 \
23255 exclude_expsyms_F77 \
23256 include_expsyms_F77
; do
23259 old_archive_cmds_F77 | \
23260 old_archive_from_new_cmds_F77 | \
23261 archive_cmds_F77 | \
23262 archive_expsym_cmds_F77 | \
23263 module_cmds_F77 | \
23264 module_expsym_cmds_F77 | \
23265 old_archive_from_expsyms_cmds_F77 | \
23266 export_symbols_cmds_F77 | \
23267 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23268 postinstall_cmds | postuninstall_cmds | \
23269 old_postinstall_cmds | old_postuninstall_cmds | \
23270 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
23271 # Double-quote double-evaled strings.
23272 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23275 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23281 *'\$0 --fallback-echo"')
23282 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23288 cat <<__EOF__ >> "$cfgfile"
23289 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23291 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23293 # Shell to use when invoking shell scripts.
23296 # Whether or not to build shared libraries.
23297 build_libtool_libs=$enable_shared
23299 # Whether or not to build static libraries.
23300 build_old_libs=$enable_static
23302 # Whether or not to add -lc for building shared libraries.
23303 build_libtool_need_lc=$archive_cmds_need_lc_F77
23305 # Whether or not to disallow shared libs when runtime libs are static
23306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23308 # Whether or not to optimize for fast installation.
23309 fast_install=$enable_fast_install
23312 host_alias=$host_alias
23316 # The build system.
23317 build_alias=$build_alias
23321 # An echo program that does not interpret backslashes.
23326 AR_FLAGS=$lt_AR_FLAGS
23331 # LTCC compiler flags.
23332 LTCFLAGS=$lt_LTCFLAGS
23334 # A language-specific compiler.
23335 CC=$lt_compiler_F77
23337 # Is the compiler the GNU C compiler?
23343 # The linker used to build libraries.
23346 # Whether we need hard or soft links.
23349 # A BSD-compatible nm program.
23352 # A symbol stripping program
23355 # Used to examine libraries when file_magic_cmd begins "file"
23356 MAGIC_CMD=$MAGIC_CMD
23358 # Used on cygwin: DLL creation program.
23361 # Used on cygwin: object dumper.
23364 # Used on cygwin: assembler.
23367 # The name of the directory that contains temporary libtool files.
23370 # How to create reloadable object files.
23371 reload_flag=$lt_reload_flag
23372 reload_cmds=$lt_reload_cmds
23374 # How to pass a linker flag through the compiler.
23375 wl=$lt_lt_prog_compiler_wl_F77
23377 # Object file suffix (normally "o").
23378 objext="$ac_objext"
23380 # Old archive suffix (normally "a").
23383 # Shared library suffix (normally ".so").
23384 shrext_cmds='$shrext_cmds'
23386 # Executable file suffix (normally "").
23389 # Additional compiler flags for building library objects.
23390 pic_flag=$lt_lt_prog_compiler_pic_F77
23393 # What is the maximum length of a command?
23394 max_cmd_len=$lt_cv_sys_max_cmd_len
23396 # Does compiler simultaneously support -c and -o options?
23397 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23399 # Must we lock files when doing compilation?
23400 need_locks=$lt_need_locks
23402 # Do we need the lib prefix for modules?
23403 need_lib_prefix=$need_lib_prefix
23405 # Do we need a version for libraries?
23406 need_version=$need_version
23408 # Whether dlopen is supported.
23409 dlopen_support=$enable_dlopen
23411 # Whether dlopen of programs is supported.
23412 dlopen_self=$enable_dlopen_self
23414 # Whether dlopen of statically linked programs is supported.
23415 dlopen_self_static=$enable_dlopen_self_static
23417 # Compiler flag to prevent dynamic linking.
23418 link_static_flag=$lt_lt_prog_compiler_static_F77
23420 # Compiler flag to turn off builtin functions.
23421 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23423 # Compiler flag to allow reflexive dlopens.
23424 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23426 # Compiler flag to generate shared objects directly from archives.
23427 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23429 # Compiler flag to generate thread-safe objects.
23430 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23432 # Library versioning type.
23433 version_type=$version_type
23435 # Format of library name prefix.
23436 libname_spec=$lt_libname_spec
23438 # List of archive names. First name is the real one, the rest are links.
23439 # The last name is the one that the linker finds with -lNAME.
23440 library_names_spec=$lt_library_names_spec
23442 # The coded name of the library, if different from the real name.
23443 soname_spec=$lt_soname_spec
23445 # Commands used to build and install an old-style archive.
23447 old_archive_cmds=$lt_old_archive_cmds_F77
23448 old_postinstall_cmds=$lt_old_postinstall_cmds
23449 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23451 # Create an old-style archive from a shared archive.
23452 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23454 # Create a temporary old-style archive to link instead of a shared archive.
23455 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23457 # Commands used to build and install a shared archive.
23458 archive_cmds=$lt_archive_cmds_F77
23459 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23460 postinstall_cmds=$lt_postinstall_cmds
23461 postuninstall_cmds=$lt_postuninstall_cmds
23463 # Commands used to build a loadable module (assumed same as above if empty)
23464 module_cmds=$lt_module_cmds_F77
23465 module_expsym_cmds=$lt_module_expsym_cmds_F77
23467 # Commands to strip libraries.
23468 old_striplib=$lt_old_striplib
23469 striplib=$lt_striplib
23471 # Dependencies to place before the objects being linked to create a
23473 predep_objects=$lt_predep_objects_F77
23475 # Dependencies to place after the objects being linked to create a
23477 postdep_objects=$lt_postdep_objects_F77
23479 # Dependencies to place before the objects being linked to create a
23481 predeps=$lt_predeps_F77
23483 # Dependencies to place after the objects being linked to create a
23485 postdeps=$lt_postdeps_F77
23487 # The library search path used internally by the compiler when linking
23488 # a shared library.
23489 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23491 # Method to check whether dependent libraries are shared objects.
23492 deplibs_check_method=$lt_deplibs_check_method
23494 # Command to use when deplibs_check_method == file_magic.
23495 file_magic_cmd=$lt_file_magic_cmd
23497 # Flag that allows shared libraries with undefined symbols to be built.
23498 allow_undefined_flag=$lt_allow_undefined_flag_F77
23500 # Flag that forces no undefined symbols.
23501 no_undefined_flag=$lt_no_undefined_flag_F77
23503 # Commands used to finish a libtool library installation in a directory.
23504 finish_cmds=$lt_finish_cmds
23506 # Same as above, but a single script fragment to be evaled but not shown.
23507 finish_eval=$lt_finish_eval
23509 # Take the output of nm and produce a listing of raw symbols and C names.
23510 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23512 # Transform the output of nm in a proper C declaration
23513 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23515 # Transform the output of nm in a C name address pair
23516 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23518 # This is the shared library runtime path variable.
23519 runpath_var=$runpath_var
23521 # This is the shared library path variable.
23522 shlibpath_var=$shlibpath_var
23524 # Is shlibpath searched before the hard-coded library search path?
23525 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23527 # How to hardcode a shared library path into an executable.
23528 hardcode_action=$hardcode_action_F77
23530 # Whether we should hardcode library paths into libraries.
23531 hardcode_into_libs=$hardcode_into_libs
23533 # Flag to hardcode \$libdir into a binary during linking.
23534 # This must work even if \$libdir does not exist.
23535 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23537 # If ld is used when linking, flag to hardcode \$libdir into
23538 # a binary during linking. This must work even if \$libdir does
23540 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23542 # Whether we need a single -rpath flag with a separated argument.
23543 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23545 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23546 # resulting binary.
23547 hardcode_direct=$hardcode_direct_F77
23549 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23550 # resulting binary.
23551 hardcode_minus_L=$hardcode_minus_L_F77
23553 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23554 # the resulting binary.
23555 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23557 # Set to yes if building a shared library automatically hardcodes DIR into the library
23558 # and all subsequent libraries and executables linked against it.
23559 hardcode_automatic=$hardcode_automatic_F77
23561 # Variables whose values should be saved in libtool wrapper scripts and
23562 # restored at relink time.
23563 variables_saved_for_relink="$variables_saved_for_relink"
23565 # Whether libtool must link a program against all its dependency libraries.
23566 link_all_deplibs=$link_all_deplibs_F77
23568 # Compile-time system search path for libraries
23569 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23571 # Run-time system search path for libraries
23572 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23574 # Fix the shell variable \$srcfile for the compiler.
23575 fix_srcfile_path="$fix_srcfile_path_F77"
23577 # Set to yes if exported symbols are required.
23578 always_export_symbols=$always_export_symbols_F77
23580 # The commands to list exported symbols.
23581 export_symbols_cmds=$lt_export_symbols_cmds_F77
23583 # The commands to extract the exported symbol list from a shared archive.
23584 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23586 # Symbols that should not be listed in the preloaded symbols.
23587 exclude_expsyms=$lt_exclude_expsyms_F77
23589 # Symbols that must always be exported.
23590 include_expsyms=$lt_include_expsyms_F77
23592 # ### END LIBTOOL TAG CONFIG: $tagname
23598 # If there is no Makefile yet, we rely on a make rule to execute
23599 # `config.status --recheck' to rerun these tests and create the
23600 # libtool script then.
23601 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23602 if test -f "$ltmain_in"; then
23603 test -f Makefile
&& make "$ltmain"
23609 ac_cpp
='$CPP $CPPFLAGS'
23610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23622 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23624 ac_cpp
='$CPP $CPPFLAGS'
23625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23630 # Source file extension for Java test sources.
23633 # Object file extension for compiled Java test sources.
23637 # Code to be used in simple compile tests
23638 lt_simple_compile_test_code
="class foo {}\n"
23640 # Code to be used in simple link tests
23641 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
23643 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23645 # If no C compiler was specified, use CC.
23648 # If no C compiler flags were specified, use CFLAGS.
23649 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
23651 # Allow CC to be a program name with arguments.
23655 # save warnings/boilerplate of simple test code
23656 ac_outfile
=conftest.
$ac_objext
23657 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
23658 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23659 _lt_compiler_boilerplate
=`cat conftest.err`
23662 ac_outfile
=conftest.
$ac_objext
23663 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
23664 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
23665 _lt_linker_boilerplate
=`cat conftest.err`
23669 # Allow CC to be a program name with arguments.
23674 for cc_temp
in $compiler""; do
23676 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
23677 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
23682 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23685 # GCJ did not exist at the time GCC didn't implicitly link libc in.
23686 archive_cmds_need_lc_GCJ
=no
23688 old_archive_cmds_GCJ
=$old_archive_cmds
23691 lt_prog_compiler_no_builtin_flag_GCJ
=
23693 if test "$GCC" = yes; then
23694 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
23697 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23698 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
23699 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 lt_cv_prog_compiler_rtti_exceptions
=no
23703 ac_outfile
=conftest.
$ac_objext
23704 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23705 lt_compiler_flag
="-fno-rtti -fno-exceptions"
23706 # Insert the option either (1) after the last *FLAGS variable, or
23707 # (2) before a word containing "conftest.", or (3) at the end.
23708 # Note that $ac_compile itself does not contain backslashes and begins
23709 # with a dollar sign (not a hyphen), so the echo should work correctly.
23710 # The option is referenced via a variable to avoid confusing sed.
23711 lt_compile
=`echo "$ac_compile" | $SED \
23712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23714 -e 's:$: $lt_compiler_flag:'`
23715 (eval echo "\"\$as_me:23715: $lt_compile\"" >&5)
23716 (eval "$lt_compile" 2>conftest.err
)
23718 cat conftest.err
>&5
23719 echo "$as_me:23719: \$? = $ac_status" >&5
23720 if (exit $ac_status) && test -s "$ac_outfile"; then
23721 # The compiler can only warn and ignore the option if not recognized
23722 # So say no if there are warnings other than the usual output.
23723 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23724 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23725 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23726 lt_cv_prog_compiler_rtti_exceptions
=yes
23732 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
23733 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
23735 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
23736 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
23743 lt_prog_compiler_wl_GCJ
=
23744 lt_prog_compiler_pic_GCJ
=
23745 lt_prog_compiler_static_GCJ
=
23747 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
23748 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
23750 if test "$GCC" = yes; then
23751 lt_prog_compiler_wl_GCJ
='-Wl,'
23752 lt_prog_compiler_static_GCJ
='-static'
23756 # All AIX code is PIC.
23757 if test "$host_cpu" = ia64
; then
23758 # AIX 5 now supports IA64 processor
23759 lt_prog_compiler_static_GCJ
='-Bstatic'
23764 # FIXME: we need at least 68020 code to build shared libraries, but
23765 # adding the `-m68020' flag to GCC prevents building anything better,
23767 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
23770 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
23771 # PIC is the default for these OSes.
23774 mingw
* | pw32
* | os2
*)
23775 # This hack is so that the source file can tell whether it is being
23776 # built for inclusion in a dll (and should export symbols for example).
23777 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23780 darwin
* | rhapsody
*)
23781 # PIC is the default on this platform
23782 # Common symbols not allowed in MH_DYLIB files
23783 lt_prog_compiler_pic_GCJ
='-fno-common'
23787 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23788 # Instead, we relocate shared libraries at runtime.
23792 # Just because we use GCC doesn't mean we suddenly get shared libraries
23793 # on systems that don't support them.
23794 lt_prog_compiler_can_build_shared_GCJ
=no
23799 if test -d /usr
/nec
; then
23800 lt_prog_compiler_pic_GCJ
=-Kconform_pic
23805 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23806 # not for PA HP-UX.
23812 lt_prog_compiler_pic_GCJ
='-fPIC'
23818 lt_prog_compiler_pic_GCJ
='-fPIC'
23822 # PORTME Check for flag to pass linker flags through the system compiler.
23825 lt_prog_compiler_wl_GCJ
='-Wl,'
23826 if test "$host_cpu" = ia64
; then
23827 # AIX 5 now supports IA64 processor
23828 lt_prog_compiler_static_GCJ
='-Bstatic'
23830 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
23834 # PIC is the default on this platform
23835 # Common symbols not allowed in MH_DYLIB files
23836 case $cc_basename in
23838 lt_prog_compiler_pic_GCJ
='-qnocommon'
23839 lt_prog_compiler_wl_GCJ
='-Wl,'
23844 mingw
* | pw32
* | os2
*)
23845 # This hack is so that the source file can tell whether it is being
23846 # built for inclusion in a dll (and should export symbols for example).
23847 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
23850 hpux9
* | hpux10
* | hpux11
*)
23851 lt_prog_compiler_wl_GCJ
='-Wl,'
23852 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23853 # not for PA HP-UX.
23859 lt_prog_compiler_pic_GCJ
='+Z'
23862 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23863 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
23866 irix5
* | irix6
* | nonstopux
*)
23867 lt_prog_compiler_wl_GCJ
='-Wl,'
23868 # PIC (with -KPIC) is the default.
23869 lt_prog_compiler_static_GCJ
='-non_shared'
23873 lt_prog_compiler_pic_GCJ
='-KPIC'
23874 lt_prog_compiler_static_GCJ
='-Bstatic'
23878 case $cc_basename in
23880 lt_prog_compiler_wl_GCJ
='-Wl,'
23881 lt_prog_compiler_pic_GCJ
='-KPIC'
23882 lt_prog_compiler_static_GCJ
='-static'
23884 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
23885 # Portland Group compilers (*not* the Pentium gcc compiler,
23886 # which looks to be a dead project)
23887 lt_prog_compiler_wl_GCJ
='-Wl,'
23888 lt_prog_compiler_pic_GCJ
='-fpic'
23889 lt_prog_compiler_static_GCJ
='-Bstatic'
23892 lt_prog_compiler_wl_GCJ
='-Wl,'
23893 # All Alpha code is PIC.
23894 lt_prog_compiler_static_GCJ
='-non_shared'
23899 osf3
* | osf4
* | osf5
*)
23900 lt_prog_compiler_wl_GCJ
='-Wl,'
23901 # All OSF/1 code is PIC.
23902 lt_prog_compiler_static_GCJ
='-non_shared'
23906 lt_prog_compiler_pic_GCJ
='-KPIC'
23907 lt_prog_compiler_static_GCJ
='-Bstatic'
23908 case $cc_basename in
23909 f77
* | f90
* | f95
*)
23910 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
23912 lt_prog_compiler_wl_GCJ
='-Wl,';;
23917 lt_prog_compiler_wl_GCJ
='-Qoption ld '
23918 lt_prog_compiler_pic_GCJ
='-PIC'
23919 lt_prog_compiler_static_GCJ
='-Bstatic'
23922 sysv4 | sysv4.2uw2
* | sysv4.3
*)
23923 lt_prog_compiler_wl_GCJ
='-Wl,'
23924 lt_prog_compiler_pic_GCJ
='-KPIC'
23925 lt_prog_compiler_static_GCJ
='-Bstatic'
23929 if test -d /usr
/nec
;then
23930 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
23931 lt_prog_compiler_static_GCJ
='-Bstatic'
23935 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
23936 lt_prog_compiler_wl_GCJ
='-Wl,'
23937 lt_prog_compiler_pic_GCJ
='-KPIC'
23938 lt_prog_compiler_static_GCJ
='-Bstatic'
23942 lt_prog_compiler_wl_GCJ
='-Wl,'
23943 lt_prog_compiler_can_build_shared_GCJ
=no
23947 lt_prog_compiler_pic_GCJ
='-pic'
23948 lt_prog_compiler_static_GCJ
='-Bstatic'
23952 lt_prog_compiler_can_build_shared_GCJ
=no
23957 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
23958 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
23961 # Check to make sure the PIC flag actually works.
23963 if test -n "$lt_prog_compiler_pic_GCJ"; then
23965 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
23966 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
23967 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
23968 echo $ECHO_N "(cached) $ECHO_C" >&6
23970 lt_prog_compiler_pic_works_GCJ
=no
23971 ac_outfile
=conftest.
$ac_objext
23972 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
23973 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
23974 # Insert the option either (1) after the last *FLAGS variable, or
23975 # (2) before a word containing "conftest.", or (3) at the end.
23976 # Note that $ac_compile itself does not contain backslashes and begins
23977 # with a dollar sign (not a hyphen), so the echo should work correctly.
23978 # The option is referenced via a variable to avoid confusing sed.
23979 lt_compile
=`echo "$ac_compile" | $SED \
23980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23982 -e 's:$: $lt_compiler_flag:'`
23983 (eval echo "\"\$as_me:23983: $lt_compile\"" >&5)
23984 (eval "$lt_compile" 2>conftest.err
)
23986 cat conftest.err
>&5
23987 echo "$as_me:23987: \$? = $ac_status" >&5
23988 if (exit $ac_status) && test -s "$ac_outfile"; then
23989 # The compiler can only warn and ignore the option if not recognized
23990 # So say no if there are warnings other than the usual output.
23991 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
23992 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
23993 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
23994 lt_prog_compiler_pic_works_GCJ
=yes
24000 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24001 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
24003 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
24004 case $lt_prog_compiler_pic_GCJ in
24006 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
24009 lt_prog_compiler_pic_GCJ
=
24010 lt_prog_compiler_can_build_shared_GCJ
=no
24015 # For platforms which do not support PIC, -DPIC is meaningless:
24017 lt_prog_compiler_pic_GCJ
=
24020 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
24025 # Check to make sure the static flag actually works.
24027 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
24028 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24029 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24030 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24031 echo $ECHO_N "(cached) $ECHO_C" >&6
24033 lt_prog_compiler_static_works_GCJ
=no
24034 save_LDFLAGS
="$LDFLAGS"
24035 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
24036 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
24037 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
24038 # The linker can only warn and ignore the option if not recognized
24039 # So say no if there are warnings
24040 if test -s conftest.err
; then
24041 # Append any errors to the config.log.
24042 cat conftest.err
1>&5
24043 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
24044 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
24045 if diff conftest.exp conftest.er2
>/dev
/null
; then
24046 lt_prog_compiler_static_works_GCJ
=yes
24049 lt_prog_compiler_static_works_GCJ
=yes
24053 LDFLAGS
="$save_LDFLAGS"
24056 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
24057 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
24059 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
24062 lt_prog_compiler_static_GCJ
=
24066 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24067 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24068 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24071 lt_cv_prog_compiler_c_o_GCJ
=no
24072 $rm -r conftest
2>/dev
/null
24076 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
24078 lt_compiler_flag
="-o out/conftest2.$ac_objext"
24079 # Insert the option either (1) after the last *FLAGS variable, or
24080 # (2) before a word containing "conftest.", or (3) at the end.
24081 # Note that $ac_compile itself does not contain backslashes and begins
24082 # with a dollar sign (not a hyphen), so the echo should work correctly.
24083 lt_compile
=`echo "$ac_compile" | $SED \
24084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24086 -e 's:$: $lt_compiler_flag:'`
24087 (eval echo "\"\$as_me:24087: $lt_compile\"" >&5)
24088 (eval "$lt_compile" 2>out
/conftest.err
)
24090 cat out
/conftest.err
>&5
24091 echo "$as_me:24091: \$? = $ac_status" >&5
24092 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
24094 # The compiler can only warn and ignore the option if not recognized
24095 # So say no if there are warnings
24096 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
24097 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
24098 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
24099 lt_cv_prog_compiler_c_o_GCJ
=yes
24104 # SGI C++ compiler will create directory out/ii_files/ for
24105 # template instantiation
24106 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
24107 $rm out
/* && rmdir out
24113 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24114 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24117 hard_links
="nottested"
24118 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
24119 # do not overwrite the value of need_locks provided by the user
24120 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24121 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24124 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24126 ln conftest.a conftest.b
2>&5 || hard_links
=no
24127 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
24128 { echo "$as_me:$LINENO: result: $hard_links" >&5
24129 echo "${ECHO_T}$hard_links" >&6; }
24130 if test "$hard_links" = no
; then
24131 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24132 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24139 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24140 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24143 allow_undefined_flag_GCJ
=
24144 enable_shared_with_static_runtimes_GCJ
=no
24146 archive_expsym_cmds_GCJ
=
24147 old_archive_From_new_cmds_GCJ
=
24148 old_archive_from_expsyms_cmds_GCJ
=
24149 export_dynamic_flag_spec_GCJ
=
24150 whole_archive_flag_spec_GCJ
=
24151 thread_safe_flag_spec_GCJ
=
24152 hardcode_libdir_flag_spec_GCJ
=
24153 hardcode_libdir_flag_spec_ld_GCJ
=
24154 hardcode_libdir_separator_GCJ
=
24155 hardcode_direct_GCJ
=no
24156 hardcode_minus_L_GCJ
=no
24157 hardcode_shlibpath_var_GCJ
=unsupported
24158 link_all_deplibs_GCJ
=unknown
24159 hardcode_automatic_GCJ
=no
24161 module_expsym_cmds_GCJ
=
24162 always_export_symbols_GCJ
=no
24163 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24164 # include_expsyms should be a list of space-separated symbols to be *always*
24165 # included in the symbol list
24166 include_expsyms_GCJ
=
24167 # exclude_expsyms can be an extended regexp of symbols to exclude
24168 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24169 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24170 # as well as any symbol that contains `d'.
24171 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
24172 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24173 # platforms (ab)use it in PIC code, but their linkers get confused if
24174 # the symbol is explicitly referenced. Since portable code cannot
24175 # rely on this symbol name, it's probably fine to never include it in
24176 # preloaded symbol tables.
24177 extract_expsyms_cmds
=
24178 # Just being paranoid about ensuring that cc_basename is set.
24179 for cc_temp
in $compiler""; do
24181 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
24182 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
24187 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24190 cygwin
* | mingw
* | pw32
*)
24191 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24192 # When not using gcc, we currently assume that we are using
24193 # Microsoft Visual C++.
24194 if test "$GCC" != yes; then
24199 # we just hope/assume this is gcc and not c89 (= MSVC++)
24208 if test "$with_gnu_ld" = yes; then
24209 # If archive_cmds runs LD, not CC, wlarc should be empty
24212 # Set some defaults for GNU ld with shared library support. These
24213 # are reset later if shared libraries are not supported. Putting them
24214 # here allows them to be overridden if necessary.
24215 runpath_var
=LD_RUN_PATH
24216 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
24217 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
24218 # ancient GNU ld didn't support --whole-archive et. al.
24219 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
24220 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24222 whole_archive_flag_spec_GCJ
=
24224 supports_anon_versioning
=no
24225 case `$LD -v 2>/dev/null` in
24226 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
24227 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
24228 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
24229 *\
2.11.
*) ;; # other 2.11 versions
24230 *) supports_anon_versioning
=yes ;;
24233 # See if GNU ld supports shared libraries.
24235 aix3
* | aix4
* | aix5
*)
24236 # On AIX/PPC, the GNU linker is very broken
24237 if test "$host_cpu" != ia64
; then
24241 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24242 *** to be unable to reliably create shared libraries on AIX.
24243 *** Therefore, libtool is disabling shared libraries support. If you
24244 *** really care for shared libraries, you may want to modify your PATH
24245 *** so that a non-GNU linker is found, and then restart.
24252 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)'
24253 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24254 hardcode_minus_L_GCJ
=yes
24256 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24257 # that the semantics of dynamic libraries on AmigaOS, at least up
24258 # to version 4, is to share data among multiple programs linked
24259 # with the same dynamic library. Since this doesn't match the
24260 # behavior of shared libraries on other platforms, we can't use
24266 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24267 allow_undefined_flag_GCJ
=unsupported
24268 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24269 # support --undefined. This deserves some investigation. FIXME
24270 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24276 cygwin
* | mingw
* | pw32
*)
24277 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24278 # as there is no search path for DLLs.
24279 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24280 allow_undefined_flag_GCJ
=unsupported
24281 always_export_symbols_GCJ
=no
24282 enable_shared_with_static_runtimes_GCJ
=yes
24283 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
24285 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
24286 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24287 # If the export-symbols file already is a .def file (1st line
24288 # is EXPORTS), use it as is; otherwise, prepend...
24289 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24290 cp $export_symbols $output_objdir/$soname.def;
24292 echo EXPORTS > $output_objdir/$soname.def;
24293 cat $export_symbols >> $output_objdir/$soname.def;
24295 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24302 hardcode_direct_GCJ
=no
24303 hardcode_shlibpath_var_GCJ
=no
24304 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24305 export_dynamic_flag_spec_GCJ
='${wl}-E'
24306 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24307 # Instead, shared libraries are loaded at an image base (0x10000000 by
24308 # default) and relocated if they conflict, which is a slow very memory
24309 # consuming and fragmenting process. To avoid this, we pick a random,
24310 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24311 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24312 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'
24313 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'
24317 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24319 case $cc_basename,$host_cpu in
24320 pgcc
*) # Portland Group C compiler
24321 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'
24322 tmp_addflag
=' $pic_flag'
24324 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
24325 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'
24326 tmp_addflag
=' $pic_flag -Mnomain' ;;
24327 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
24328 tmp_addflag
=' -i_dynamic' ;;
24329 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
24330 tmp_addflag
=' -i_dynamic -nofor_main' ;;
24331 ifc
* | ifort
*) # Intel Fortran compiler
24332 tmp_addflag
=' -nofor_main' ;;
24334 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24336 if test $supports_anon_versioning = yes; then
24337 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
24338 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24339 $echo "local: *; };" >> $output_objdir/$libname.ver~
24340 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24348 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24349 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24352 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24353 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24358 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
24362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24363 *** create shared libraries on Solaris systems. Therefore, libtool
24364 *** is disabling shared libraries support. We urge you to upgrade GNU
24365 *** binutils to release 2.9.1 or newer. Another option is to modify
24366 *** your PATH or compiler configuration so that the native linker is
24367 *** used, and then restart.
24370 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24371 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24372 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24378 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
24379 case `$LD -v 2>&1` in
24380 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
24384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24385 *** reliably create shared libraries on SCO systems. Therefore, libtool
24386 *** is disabling shared libraries support. We urge you to upgrade GNU
24387 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24388 *** your PATH or compiler configuration so that the native linker is
24389 *** used, and then restart.
24394 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24395 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24396 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24397 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24406 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24408 hardcode_direct_GCJ
=yes
24409 hardcode_shlibpath_var_GCJ
=no
24413 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
24414 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24415 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24422 if test "$ld_shlibs_GCJ" = no
; then
24424 hardcode_libdir_flag_spec_GCJ
=
24425 export_dynamic_flag_spec_GCJ
=
24426 whole_archive_flag_spec_GCJ
=
24429 # PORTME fill in a description of your system's linker (not GNU ld)
24432 allow_undefined_flag_GCJ
=unsupported
24433 always_export_symbols_GCJ
=yes
24434 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'
24435 # Note: this linker hardcodes the directories in LIBPATH if there
24436 # are no directories specified by -L.
24437 hardcode_minus_L_GCJ
=yes
24438 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24439 # Neither direct hardcoding nor static linking is supported with a
24441 hardcode_direct_GCJ
=unsupported
24446 if test "$host_cpu" = ia64
; then
24447 # On IA64, the linker does run time linking by default, so we don't
24448 # have to do anything special.
24449 aix_use_runtimelinking
=no
24450 exp_sym_flag
='-Bexport'
24453 # If we're using GNU nm, then we don't want the "-C" option.
24454 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24455 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
24456 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'
24458 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'
24460 aix_use_runtimelinking
=no
24462 # Test if we are trying to use run time linking or normal
24463 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24464 # need to do runtime linking.
24465 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
24466 for ld_flag
in $LDFLAGS; do
24467 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
24468 aix_use_runtimelinking
=yes
24475 exp_sym_flag
='-bexport'
24476 no_entry_flag
='-bnoentry'
24479 # When large executables or shared objects are built, AIX ld can
24480 # have problems creating the table of contents. If linking a library
24481 # or program results in "error TOC overflow" add -mminimal-toc to
24482 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24483 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24485 archive_cmds_GCJ
=''
24486 hardcode_direct_GCJ
=yes
24487 hardcode_libdir_separator_GCJ
=':'
24488 link_all_deplibs_GCJ
=yes
24490 if test "$GCC" = yes; then
24491 case $host_os in aix4.
[012]|aix4.
[012].
*)
24492 # We only want to do this on AIX 4.2 and lower, the check
24493 # below for broken collect2 doesn't work under 4.3+
24494 collect2name
=`${CC} -print-prog-name=collect2`
24495 if test -f "$collect2name" && \
24496 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
24498 # We have reworked collect2
24499 hardcode_direct_GCJ
=yes
24501 # We have old collect2
24502 hardcode_direct_GCJ
=unsupported
24503 # It fails to find uninstalled libraries when the uninstalled
24504 # path is not listed in the libpath. Setting hardcode_minus_L
24505 # to unsupported forces relinking
24506 hardcode_minus_L_GCJ
=yes
24507 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24508 hardcode_libdir_separator_GCJ
=
24512 shared_flag
='-shared'
24513 if test "$aix_use_runtimelinking" = yes; then
24514 shared_flag
="$shared_flag "'${wl}-G'
24518 if test "$host_cpu" = ia64
; then
24519 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24520 # chokes on -Wl,-G. The following line is correct:
24523 if test "$aix_use_runtimelinking" = yes; then
24524 shared_flag
='${wl}-G'
24526 shared_flag
='${wl}-bM:SRE'
24531 # It seems that -bexpall does not export symbols beginning with
24532 # underscore (_), so it is better to generate a list of symbols to export.
24533 always_export_symbols_GCJ
=yes
24534 if test "$aix_use_runtimelinking" = yes; then
24535 # Warning - without using the other runtime loading flags (-brtl),
24536 # -berok will link without error, but may produce a broken library.
24537 allow_undefined_flag_GCJ
='-berok'
24538 # Determine the default libpath from the value encoded in an empty executable.
24539 cat >conftest.
$ac_ext <<_ACEOF
24542 cat confdefs.h
>>conftest.
$ac_ext
24543 cat >>conftest.
$ac_ext <<_ACEOF
24544 /* end confdefs.h. */
24554 rm -f conftest.
$ac_objext conftest
$ac_exeext
24555 if { (ac_try
="$ac_link"
24556 case "(($ac_try" in
24557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24558 *) ac_try_echo=$ac_try;;
24560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24561 (eval "$ac_link") 2>conftest.er1
24563 grep -v '^ *+' conftest.er1 >conftest.err
24565 cat conftest.err >&5
24566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567 (exit $ac_status); } &&
24568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24569 { (case "(($ac_try" in
24570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24571 *) ac_try_echo
=$ac_try;;
24573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24574 (eval "$ac_try") 2>&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; } &&
24578 { ac_try
='test -s conftest$ac_exeext'
24579 { (case "(($ac_try" in
24580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24581 *) ac_try_echo=$ac_try;;
24583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24584 (eval "$ac_try") 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); }; }; then
24589 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24591 # Check for a 64-bit object if we didn't find anything.
24592 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; }
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24601 rm -f core conftest.err conftest.$ac_objext \
24602 conftest$ac_exeext conftest.$ac_ext
24603 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24605 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24606 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"
24608 if test "$host_cpu" = ia64; then
24609 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24610 allow_undefined_flag_GCJ="-z nodefs"
24611 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"
24613 # Determine the default libpath from the value encoded in an empty executable.
24614 cat >conftest.$ac_ext <<_ACEOF
24617 cat confdefs.h >>conftest.$ac_ext
24618 cat >>conftest.$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24629 rm -f conftest.$ac_objext conftest$ac_exeext
24630 if { (ac_try="$ac_link"
24631 case "(($ac_try" in
24632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24633 *) ac_try_echo
=$ac_try;;
24635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24636 (eval "$ac_link") 2>conftest.er1
24638 grep -v '^ *+' conftest.er1
>conftest.err
24640 cat conftest.err
>&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); } &&
24643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24644 { (case "(($ac_try" in
24645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24646 *) ac_try_echo=$ac_try;;
24648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24649 (eval "$ac_try") 2>&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; } &&
24653 { ac_try='test -s conftest$ac_exeext'
24654 { (case "(($ac_try" in
24655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24656 *) ac_try_echo
=$ac_try;;
24658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24659 (eval "$ac_try") 2>&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); }; }; then
24664 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
24666 # Check for a 64-bit object if we didn't find anything.
24667 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; }
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.
$ac_ext >&5
24676 rm -f core conftest.err conftest.
$ac_objext \
24677 conftest
$ac_exeext conftest.
$ac_ext
24678 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
24680 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
24681 # Warning - without using the other run time loading flags,
24682 # -berok will link without error, but may produce a broken library.
24683 no_undefined_flag_GCJ
=' ${wl}-bernotok'
24684 allow_undefined_flag_GCJ
=' ${wl}-berok'
24685 # Exported symbols can be pulled into shared objects from archives
24686 whole_archive_flag_spec_GCJ
='$convenience'
24687 archive_cmds_need_lc_GCJ
=yes
24688 # This is similar to how AIX traditionally builds its shared libraries.
24689 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'
24695 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)'
24696 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24697 hardcode_minus_L_GCJ
=yes
24698 # see comment about different semantics on the GNU ld section
24703 export_dynamic_flag_spec_GCJ
=-rdynamic
24706 cygwin
* | mingw
* | pw32
*)
24707 # When not using gcc, we currently assume that we are using
24708 # Microsoft Visual C++.
24709 # hardcode_libdir_flag_spec is actually meaningless, as there is
24710 # no search path for DLLs.
24711 hardcode_libdir_flag_spec_GCJ
=' '
24712 allow_undefined_flag_GCJ
=unsupported
24713 # Tell ltmain to make .lib files, not .a files.
24715 # Tell ltmain to make .dll files, not .so files.
24717 # FIXME: Setting linknames here is a bad hack.
24718 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
24719 # The linker will automatically build a .lib file if we build a DLL.
24720 old_archive_From_new_cmds_GCJ
='true'
24721 # FIXME: Should let the user specify the lib program.
24722 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
24723 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
24724 enable_shared_with_static_runtimes_GCJ
=yes
24727 darwin
* | rhapsody
*)
24729 rhapsody
* | darwin1.
[012])
24730 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
24733 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
24734 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24736 case ${MACOSX_DEPLOYMENT_TARGET} in
24738 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
24741 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
24747 archive_cmds_need_lc_GCJ
=no
24748 hardcode_direct_GCJ
=no
24749 hardcode_automatic_GCJ
=yes
24750 hardcode_shlibpath_var_GCJ
=unsupported
24751 whole_archive_flag_spec_GCJ
=''
24752 link_all_deplibs_GCJ
=yes
24753 if test "$GCC" = yes ; then
24754 output_verbose_link_cmd
='echo'
24755 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
24756 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24757 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24758 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}'
24759 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}'
24761 case $cc_basename in
24763 output_verbose_link_cmd
='echo'
24764 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
24765 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
24766 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
24767 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}'
24768 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}'
24778 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24779 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24780 hardcode_shlibpath_var_GCJ
=no
24787 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24788 # support. Future versions do this automatically, but an explicit c++rt0.o
24789 # does not break anything, and helps significantly (at the cost of a little
24792 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24793 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24794 hardcode_direct_GCJ
=yes
24795 hardcode_shlibpath_var_GCJ
=no
24798 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24800 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24801 hardcode_direct_GCJ
=yes
24802 hardcode_minus_L_GCJ
=yes
24803 hardcode_shlibpath_var_GCJ
=no
24806 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24807 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
24808 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
24809 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24810 hardcode_direct_GCJ
=yes
24811 hardcode_shlibpath_var_GCJ
=no
24815 if test "$GCC" = yes; then
24816 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'
24818 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'
24820 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24821 hardcode_libdir_separator_GCJ
=:
24822 hardcode_direct_GCJ
=yes
24824 # hardcode_minus_L: Not really in the search PATH,
24825 # but as the default location of the library.
24826 hardcode_minus_L_GCJ
=yes
24827 export_dynamic_flag_spec_GCJ
='${wl}-E'
24831 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24832 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24834 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24836 if test "$with_gnu_ld" = no
; then
24837 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24838 hardcode_libdir_separator_GCJ
=:
24840 hardcode_direct_GCJ
=yes
24841 export_dynamic_flag_spec_GCJ
='${wl}-E'
24843 # hardcode_minus_L: Not really in the search PATH,
24844 # but as the default location of the library.
24845 hardcode_minus_L_GCJ
=yes
24850 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
24853 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24856 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24859 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24865 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24868 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24871 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24875 if test "$with_gnu_ld" = no
; then
24876 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
24877 hardcode_libdir_separator_GCJ
=:
24881 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
24882 hardcode_direct_GCJ
=no
24883 hardcode_shlibpath_var_GCJ
=no
24886 hardcode_direct_GCJ
=yes
24887 export_dynamic_flag_spec_GCJ
='${wl}-E'
24889 # hardcode_minus_L: Not really in the search PATH,
24890 # but as the default location of the library.
24891 hardcode_minus_L_GCJ
=yes
24897 irix5
* | irix6
* | nonstopux
*)
24898 if test "$GCC" = yes; then
24899 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'
24901 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'
24902 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
24904 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24905 hardcode_libdir_separator_GCJ
=:
24906 link_all_deplibs_GCJ
=yes
24910 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
24911 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24913 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24915 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24916 hardcode_direct_GCJ
=yes
24917 hardcode_shlibpath_var_GCJ
=no
24921 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24922 hardcode_direct_GCJ
=yes
24923 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24924 hardcode_libdir_separator_GCJ
=:
24925 hardcode_shlibpath_var_GCJ
=no
24929 hardcode_direct_GCJ
=yes
24930 hardcode_shlibpath_var_GCJ
=no
24931 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24932 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24933 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24934 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24935 export_dynamic_flag_spec_GCJ
='${wl}-E'
24938 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
24939 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24940 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
24943 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24944 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
24951 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
24952 hardcode_minus_L_GCJ
=yes
24953 allow_undefined_flag_GCJ
=unsupported
24954 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'
24955 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24959 if test "$GCC" = yes; then
24960 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24961 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'
24963 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24964 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'
24966 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24967 hardcode_libdir_separator_GCJ
=:
24970 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
24971 if test "$GCC" = yes; then
24972 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
24973 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'
24974 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
24976 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
24977 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'
24978 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~
24979 $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'
24981 # Both c and cxx compiler support -rpath directly
24982 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
24984 hardcode_libdir_separator_GCJ
=:
24988 no_undefined_flag_GCJ
=' -z text'
24989 if test "$GCC" = yes; then
24991 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24992 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24993 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
24996 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24997 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24998 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25000 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
25001 hardcode_shlibpath_var_GCJ
=no
25003 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
25005 # The compiler driver will combine linker options so we
25006 # cannot just pass the convience library names through
25007 # without $wl, iff we do not link with $LD.
25008 # Luckily, gcc supports the same syntax we need for Sun Studio.
25009 # Supported since Solaris 2.6 (maybe 2.5.1?)
25012 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
25014 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' ;;
25017 link_all_deplibs_GCJ
=yes
25021 if test "x$host_vendor" = xsequent
; then
25022 # Use $CC to link under sequent, because it throws in some extra .o
25023 # files that make .init and .fini sections work.
25024 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25026 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25028 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25029 hardcode_direct_GCJ
=yes
25030 hardcode_minus_L_GCJ
=yes
25031 hardcode_shlibpath_var_GCJ
=no
25035 case $host_vendor in
25037 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25038 hardcode_direct_GCJ
=yes # is this really true???
25041 ## LD is ld it makes a PLAMLIB
25042 ## CC just makes a GrossModule.
25043 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25044 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
25045 hardcode_direct_GCJ
=no
25048 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25049 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
25052 runpath_var
='LD_RUN_PATH'
25053 hardcode_shlibpath_var_GCJ
=no
25057 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25058 hardcode_shlibpath_var_GCJ
=no
25059 export_dynamic_flag_spec_GCJ
='-Bexport'
25063 if test -d /usr
/nec
; then
25064 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25065 hardcode_shlibpath_var_GCJ
=no
25066 runpath_var
=LD_RUN_PATH
25067 hardcode_runpath_var
=yes
25072 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
25073 no_undefined_flag_GCJ
='${wl}-z,text'
25074 archive_cmds_need_lc_GCJ
=no
25075 hardcode_shlibpath_var_GCJ
=no
25076 runpath_var
='LD_RUN_PATH'
25078 if test "$GCC" = yes; then
25079 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25080 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25082 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25083 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25087 sysv5
* | sco3.2v5
* | sco5v6
*)
25088 # Note: We can NOT use -z defs as we might desire, because we do not
25089 # link with -lc, and that would cause any symbols used from libc to
25090 # always be unresolved, which means just about no library would
25091 # ever link correctly. If we're not using GNU ld we use -z text
25092 # though, which does catch some bad symbols but isn't as heavy-handed
25094 no_undefined_flag_GCJ
='${wl}-z,text'
25095 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
25096 archive_cmds_need_lc_GCJ
=no
25097 hardcode_shlibpath_var_GCJ
=no
25098 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25099 hardcode_libdir_separator_GCJ
=':'
25100 link_all_deplibs_GCJ
=yes
25101 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
25102 runpath_var
='LD_RUN_PATH'
25104 if test "$GCC" = yes; then
25105 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25106 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25108 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25109 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25114 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25115 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
25116 hardcode_shlibpath_var_GCJ
=no
25125 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25126 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25127 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
25130 # Do we need to explicitly link libc?
25132 case "x$archive_cmds_need_lc_GCJ" in
25134 # Assume -lc should be added
25135 archive_cmds_need_lc_GCJ
=yes
25137 if test "$enable_shared" = yes && test "$GCC" = yes; then
25138 case $archive_cmds_GCJ in
25140 # FIXME: we may have to deal with multi-command sequences.
25143 # Test whether the compiler implicitly links with -lc since on some
25144 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25145 # to ld, don't add -lc before -lgcc.
25146 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25147 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25149 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
25151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25152 (eval $ac_compile) 2>&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); } 2>conftest.err
; then
25158 libobjs
=conftest.
$ac_objext
25160 wl
=$lt_prog_compiler_wl_GCJ
25161 pic_flag
=$lt_prog_compiler_pic_GCJ
25167 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
25168 allow_undefined_flag_GCJ
=
25169 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25170 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }
25175 archive_cmds_need_lc_GCJ
=no
25177 archive_cmds_need_lc_GCJ
=yes
25179 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
25181 cat conftest.err
1>&5
25184 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25185 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25192 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25193 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25194 library_names_spec
=
25195 libname_spec
='lib$name'
25199 postuninstall_cmds
=
25203 shlibpath_overrides_runpath
=unknown
25205 dynamic_linker
="$host_os ld.so"
25206 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
25207 if test "$GCC" = yes; then
25208 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25209 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
25210 # if the path contains ";" then we assume it to be the separator
25211 # otherwise default to the standard path separator (i.e. ":") - it is
25212 # assumed that no part of a normal pathname contains ";" but that should
25213 # okay in the real world where ";" in dirpaths is itself problematic.
25214 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25216 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25219 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
25221 need_lib_prefix
=unknown
25222 hardcode_into_libs
=no
25224 # when you set need_version to no, make sure it does not cause -set_version
25225 # flags to be left without arguments
25226 need_version
=unknown
25231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
25232 shlibpath_var
=LIBPATH
25234 # AIX 3 has no versioning support, so we append a major version to the name.
25235 soname_spec
='${libname}${release}${shared_ext}$major'
25242 hardcode_into_libs
=yes
25243 if test "$host_cpu" = ia64
; then
25244 # AIX 5 supports IA64
25245 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25246 shlibpath_var
=LD_LIBRARY_PATH
25248 # With GCC up to 2.95.x, collect2 would create an import file
25249 # for dependence libraries. The import file would start with
25250 # the line `#! .'. This would cause the generated library to
25251 # depend on `.', always an invalid library. This was fixed in
25252 # development snapshots of GCC prior to 3.0.
25254 aix4 | aix4.
[01] | aix4.
[01].
*)
25255 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25257 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
25260 can_build_shared
=no
25264 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25265 # soname into executable. Probably we can add versioning support to
25266 # collect2, so additional links can be useful in future.
25267 if test "$aix_use_runtimelinking" = yes; then
25268 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25269 # instead of lib<name>.a to let people know that these are not
25270 # typical AIX shared libraries.
25271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25273 # We preserve .a as extension for shared libraries through AIX4.2
25274 # and later when we are not doing run time linking.
25275 library_names_spec
='${libname}${release}.a $libname.a'
25276 soname_spec
='${libname}${release}${shared_ext}$major'
25278 shlibpath_var
=LIBPATH
25283 library_names_spec
='$libname.ixlibrary $libname.a'
25284 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25285 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'
25289 library_names_spec
='${libname}${shared_ext}'
25290 dynamic_linker
="$host_os ld.so"
25291 shlibpath_var
=LIBRARY_PATH
25297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25298 soname_spec
='${libname}${release}${shared_ext}$major'
25299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
25300 shlibpath_var
=LD_LIBRARY_PATH
25301 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25302 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
25303 # the default ld.so.conf also contains /usr/contrib/lib and
25304 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25305 # libtool to hard-code these into programs
25308 cygwin
* | mingw
* | pw32
*)
25309 version_type
=windows
25314 case $GCC,$host_os in
25315 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
25316 library_names_spec
='$libname.dll.a'
25317 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25318 postinstall_cmds
='base_file=`basename \${file}`~
25319 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25320 dldir=$destdir/`dirname \$dlpath`~
25321 test -d \$dldir || mkdir -p \$dldir~
25322 $install_prog $dir/$dlname \$dldir/$dlname~
25323 chmod a+x \$dldir/$dlname'
25324 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25325 dlpath=$dir/\$dldll~
25327 shlibpath_overrides_runpath
=yes
25331 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25332 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25333 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
25336 # MinGW DLLs use traditional 'lib' prefix
25337 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25338 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25339 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
25340 # It is most probably a Windows format PATH printed by
25341 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25342 # path with ; separators, and with drive letters. We can handle the
25343 # drive letters (cygwin fileutils understands them), so leave them,
25344 # especially as we might pass files found there to a mingw objdump,
25345 # which wouldn't understand a cygwinified path. Ahh.
25346 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25348 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25352 # pw32 DLLs use 'pw' prefix rather than 'lib'
25353 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25359 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25362 dynamic_linker
='Win32 ld.exe'
25363 # FIXME: first we should search . and the directory the executable is in
25367 darwin
* | rhapsody
*)
25368 dynamic_linker
="$host_os dyld"
25369 version_type
=darwin
25372 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25373 soname_spec
='${libname}${release}${major}$shared_ext'
25374 shlibpath_overrides_runpath
=yes
25375 shlibpath_var
=DYLD_LIBRARY_PATH
25376 shrext_cmds
='.dylib'
25377 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
25378 if test "$GCC" = yes; then
25379 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"`
25381 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
25383 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
25390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25391 soname_spec
='${libname}${release}${shared_ext}$major'
25392 shlibpath_var
=LD_LIBRARY_PATH
25403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25404 soname_spec
='${libname}${release}${shared_ext}$major'
25405 shlibpath_var
=LD_LIBRARY_PATH
25406 shlibpath_overrides_runpath
=no
25407 hardcode_into_libs
=yes
25408 dynamic_linker
='GNU ld.so'
25411 freebsd
* | dragonfly
*)
25412 # DragonFly does not have aout. When/if they implement a new
25413 # versioning mechanism, adjust this.
25414 if test -x /usr
/bin
/objformat
; then
25415 objformat
=`/usr/bin/objformat`
25418 freebsd
[123]*) objformat
=aout
;;
25419 *) objformat
=elf
;;
25422 version_type
=freebsd-
$objformat
25423 case $version_type in
25425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25430 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25434 shlibpath_var
=LD_LIBRARY_PATH
25437 shlibpath_overrides_runpath
=yes
25439 freebsd3.
[01]* | freebsdelf3.
[01]*)
25440 shlibpath_overrides_runpath
=yes
25441 hardcode_into_libs
=yes
25443 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
25444 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
25445 shlibpath_overrides_runpath
=no
25446 hardcode_into_libs
=yes
25448 freebsd
*) # from 4.6 on
25449 shlibpath_overrides_runpath
=yes
25450 hardcode_into_libs
=yes
25459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25460 soname_spec
='${libname}${release}${shared_ext}$major'
25461 shlibpath_var
=LD_LIBRARY_PATH
25462 hardcode_into_libs
=yes
25465 hpux9
* | hpux10
* | hpux11
*)
25466 # Give a soname corresponding to the major version so that dld.sl refuses to
25467 # link against other versions.
25474 hardcode_into_libs
=yes
25475 dynamic_linker
="$host_os dld.so"
25476 shlibpath_var
=LD_LIBRARY_PATH
25477 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25479 soname_spec
='${libname}${release}${shared_ext}$major'
25480 if test "X$HPUX_IA64_MODE" = X32
; then
25481 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25483 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
25485 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25489 hardcode_into_libs
=yes
25490 dynamic_linker
="$host_os dld.sl"
25491 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
25492 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
25493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25494 soname_spec
='${libname}${release}${shared_ext}$major'
25495 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25496 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
25500 dynamic_linker
="$host_os dld.sl"
25501 shlibpath_var
=SHLIB_PATH
25502 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
25503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25504 soname_spec
='${libname}${release}${shared_ext}$major'
25507 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25508 postinstall_cmds
='chmod 555 $lib'
25515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25516 soname_spec
='${libname}${release}${shared_ext}$major'
25517 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
25518 shlibpath_var
=LD_LIBRARY_PATH
25519 shlibpath_overrides_runpath
=no
25520 hardcode_into_libs
=yes
25523 irix5
* | irix6
* | nonstopux
*)
25525 nonstopux
*) version_type
=nonstopux
;;
25527 if test "$lt_cv_prog_gnu_ld" = yes; then
25535 soname_spec
='${libname}${release}${shared_ext}$major'
25536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25538 irix5
* | nonstopux
*)
25539 libsuff
= shlibsuff
=
25542 case $LD in # libtool.m4 will add one of these switches to LD
25543 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
25544 libsuff
= shlibsuff
= libmagic
=32-bit;;
25545 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
25546 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
25547 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
25548 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
25549 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
25553 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
25554 shlibpath_overrides_runpath
=no
25555 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25556 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
25557 hardcode_into_libs
=yes
25560 # No shared lib support for Linux oldld, aout, or coff.
25561 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
25565 # This must be Linux ELF.
25570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25571 soname_spec
='${libname}${release}${shared_ext}$major'
25572 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25573 shlibpath_var
=LD_LIBRARY_PATH
25574 shlibpath_overrides_runpath
=no
25575 # This implies no fast_install, which is unacceptable.
25576 # Some rework will be needed to allow for fast_install
25577 # before this can be enabled.
25578 hardcode_into_libs
=yes
25580 # Append ld.so.conf contents to the search path
25581 if test -f /etc
/ld.so.conf
; then
25582 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' ' '`
25583 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
25586 # We used to test for /lib/ld.so.1 and disable shared libraries on
25587 # powerpc, because MkLinux only supported shared libraries with the
25588 # GNU dynamic linker. Since this was broken with cross compilers,
25589 # most powerpc-linux boxes support dynamic linking these days and
25590 # people can always --disable-shared, the test was removed, and we
25591 # assume the GNU/Linux dynamic linker is in use.
25592 dynamic_linker
='GNU/Linux ld.so'
25599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25600 soname_spec
='${libname}${release}${shared_ext}$major'
25601 shlibpath_var
=LD_LIBRARY_PATH
25602 shlibpath_overrides_runpath
=no
25603 hardcode_into_libs
=yes
25604 dynamic_linker
='GNU ld.so'
25611 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
25612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25613 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25614 dynamic_linker
='NetBSD (a.out) ld.so'
25616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25617 soname_spec
='${libname}${release}${shared_ext}$major'
25618 dynamic_linker
='NetBSD ld.elf_so'
25620 shlibpath_var
=LD_LIBRARY_PATH
25621 shlibpath_overrides_runpath
=yes
25622 hardcode_into_libs
=yes
25627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25628 shlibpath_var
=LD_LIBRARY_PATH
25629 shlibpath_overrides_runpath
=yes
25636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25637 soname_spec
='${libname}${release}${shared_ext}$major'
25638 shlibpath_var
=LD_LIBRARY_PATH
25639 shlibpath_overrides_runpath
=yes
25644 sys_lib_dlsearch_path_spec
="/usr/lib"
25646 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25648 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
25649 *) need_version
=no
;;
25651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25652 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25653 shlibpath_var
=LD_LIBRARY_PATH
25654 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25656 openbsd2.
[89] | openbsd2.
[89].
*)
25657 shlibpath_overrides_runpath
=no
25660 shlibpath_overrides_runpath
=yes
25664 shlibpath_overrides_runpath
=yes
25669 libname_spec
='$name'
25672 library_names_spec
='$libname${shared_ext} $libname.a'
25673 dynamic_linker
='OS/2 ld.exe'
25674 shlibpath_var
=LIBPATH
25677 osf3
* | osf4
* | osf5
*)
25681 soname_spec
='${libname}${release}${shared_ext}$major'
25682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25683 shlibpath_var
=LD_LIBRARY_PATH
25684 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
25685 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
25692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25693 soname_spec
='${libname}${release}${shared_ext}$major'
25694 shlibpath_var
=LD_LIBRARY_PATH
25695 shlibpath_overrides_runpath
=yes
25696 hardcode_into_libs
=yes
25697 # ldd complains unless libraries are executable
25698 postinstall_cmds
='chmod +x $lib'
25703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25704 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
25705 shlibpath_var
=LD_LIBRARY_PATH
25706 shlibpath_overrides_runpath
=yes
25707 if test "$with_gnu_ld" = yes; then
25715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25716 soname_spec
='${libname}${release}${shared_ext}$major'
25717 shlibpath_var
=LD_LIBRARY_PATH
25718 case $host_vendor in
25720 shlibpath_overrides_runpath
=no
25722 export_dynamic_flag_spec
='${wl}-Blargedynsym'
25723 runpath_var
=LD_RUN_PATH
25731 shlibpath_overrides_runpath
=no
25732 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
25738 if test -d /usr
/nec
;then
25740 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
25741 soname_spec
='$libname${shared_ext}.$major'
25742 shlibpath_var
=LD_LIBRARY_PATH
25746 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
25747 version_type
=freebsd-elf
25750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25751 soname_spec
='${libname}${release}${shared_ext}$major'
25752 shlibpath_var
=LD_LIBRARY_PATH
25753 hardcode_into_libs
=yes
25754 if test "$with_gnu_ld" = yes; then
25755 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
25756 shlibpath_overrides_runpath
=no
25758 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
25759 shlibpath_overrides_runpath
=yes
25762 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
25766 sys_lib_dlsearch_path_spec
='/usr/lib'
25771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25772 soname_spec
='${libname}${release}${shared_ext}$major'
25773 shlibpath_var
=LD_LIBRARY_PATH
25780 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
25781 echo "${ECHO_T}$dynamic_linker" >&6; }
25782 test "$dynamic_linker" = no
&& can_build_shared
=no
25784 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
25785 if test "$GCC" = yes; then
25786 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25789 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
25790 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
25791 hardcode_action_GCJ
=
25792 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
25793 test -n "$runpath_var_GCJ" || \
25794 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
25796 # We can hardcode non-existant directories.
25797 if test "$hardcode_direct_GCJ" != no
&&
25798 # If the only mechanism to avoid hardcoding is shlibpath_var, we
25799 # have to relink, otherwise we might link with an installed library
25800 # when we should be linking with a yet-to-be-installed one
25801 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
25802 test "$hardcode_minus_L_GCJ" != no
; then
25803 # Linking always hardcodes the temporary library directory.
25804 hardcode_action_GCJ
=relink
25806 # We can link without hardcoding, and we can hardcode nonexisting dirs.
25807 hardcode_action_GCJ
=immediate
25810 # We cannot hardcode anything, or else we can only hardcode existing
25812 hardcode_action_GCJ
=unsupported
25814 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
25815 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
25817 if test "$hardcode_action_GCJ" = relink
; then
25818 # Fast installation is not supported
25819 enable_fast_install
=no
25820 elif test "$shlibpath_overrides_runpath" = yes ||
25821 test "$enable_shared" = no
; then
25822 # Fast installation is not necessary
25823 enable_fast_install
=needless
25827 # The else clause should only fire when bootstrapping the
25828 # libtool distribution, otherwise you forgot to ship ltmain.sh
25829 # with your package, and you will get complaints that there are
25830 # no rules to generate ltmain.sh.
25831 if test -f "$ltmain"; then
25832 # See if we are running on zsh, and set the options which allow our commands through
25833 # without removal of \ escapes.
25834 if test -n "${ZSH_VERSION+set}" ; then
25835 setopt NO_GLOB_SUBST
25837 # Now quote all the things that may contain metacharacters while being
25838 # careful not to overquote the AC_SUBSTed values. We take copies of the
25839 # variables and quote the copies for generation of the libtool script.
25840 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
25842 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25843 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25844 deplibs_check_method reload_flag reload_cmds need_locks \
25845 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25846 lt_cv_sys_global_symbol_to_c_name_address \
25847 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25848 old_postinstall_cmds old_postuninstall_cmds \
25852 lt_prog_compiler_wl_GCJ \
25853 lt_prog_compiler_pic_GCJ \
25854 lt_prog_compiler_static_GCJ \
25855 lt_prog_compiler_no_builtin_flag_GCJ \
25856 export_dynamic_flag_spec_GCJ \
25857 thread_safe_flag_spec_GCJ \
25858 whole_archive_flag_spec_GCJ \
25859 enable_shared_with_static_runtimes_GCJ \
25860 old_archive_cmds_GCJ \
25861 old_archive_from_new_cmds_GCJ \
25862 predep_objects_GCJ \
25863 postdep_objects_GCJ \
25866 compiler_lib_search_path_GCJ \
25868 archive_expsym_cmds_GCJ \
25869 postinstall_cmds_GCJ \
25870 postuninstall_cmds_GCJ \
25871 old_archive_from_expsyms_cmds_GCJ \
25872 allow_undefined_flag_GCJ \
25873 no_undefined_flag_GCJ \
25874 export_symbols_cmds_GCJ \
25875 hardcode_libdir_flag_spec_GCJ \
25876 hardcode_libdir_flag_spec_ld_GCJ \
25877 hardcode_libdir_separator_GCJ \
25878 hardcode_automatic_GCJ \
25880 module_expsym_cmds_GCJ \
25881 lt_cv_prog_compiler_c_o_GCJ \
25882 exclude_expsyms_GCJ \
25883 include_expsyms_GCJ
; do
25886 old_archive_cmds_GCJ | \
25887 old_archive_from_new_cmds_GCJ | \
25888 archive_cmds_GCJ | \
25889 archive_expsym_cmds_GCJ | \
25890 module_cmds_GCJ | \
25891 module_expsym_cmds_GCJ | \
25892 old_archive_from_expsyms_cmds_GCJ | \
25893 export_symbols_cmds_GCJ | \
25894 extract_expsyms_cmds | reload_cmds | finish_cmds | \
25895 postinstall_cmds | postuninstall_cmds | \
25896 old_postinstall_cmds | old_postuninstall_cmds | \
25897 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
25898 # Double-quote double-evaled strings.
25899 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25902 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25908 *'\$0 --fallback-echo"')
25909 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25915 cat <<__EOF__ >> "$cfgfile"
25916 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
25918 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25920 # Shell to use when invoking shell scripts.
25923 # Whether or not to build shared libraries.
25924 build_libtool_libs=$enable_shared
25926 # Whether or not to build static libraries.
25927 build_old_libs=$enable_static
25929 # Whether or not to add -lc for building shared libraries.
25930 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25932 # Whether or not to disallow shared libs when runtime libs are static
25933 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25935 # Whether or not to optimize for fast installation.
25936 fast_install=$enable_fast_install
25939 host_alias=$host_alias
25943 # The build system.
25944 build_alias=$build_alias
25948 # An echo program that does not interpret backslashes.
25953 AR_FLAGS=$lt_AR_FLAGS
25958 # LTCC compiler flags.
25959 LTCFLAGS=$lt_LTCFLAGS
25961 # A language-specific compiler.
25962 CC=$lt_compiler_GCJ
25964 # Is the compiler the GNU C compiler?
25970 # The linker used to build libraries.
25973 # Whether we need hard or soft links.
25976 # A BSD-compatible nm program.
25979 # A symbol stripping program
25982 # Used to examine libraries when file_magic_cmd begins "file"
25983 MAGIC_CMD=$MAGIC_CMD
25985 # Used on cygwin: DLL creation program.
25988 # Used on cygwin: object dumper.
25991 # Used on cygwin: assembler.
25994 # The name of the directory that contains temporary libtool files.
25997 # How to create reloadable object files.
25998 reload_flag=$lt_reload_flag
25999 reload_cmds=$lt_reload_cmds
26001 # How to pass a linker flag through the compiler.
26002 wl=$lt_lt_prog_compiler_wl_GCJ
26004 # Object file suffix (normally "o").
26005 objext="$ac_objext"
26007 # Old archive suffix (normally "a").
26010 # Shared library suffix (normally ".so").
26011 shrext_cmds='$shrext_cmds'
26013 # Executable file suffix (normally "").
26016 # Additional compiler flags for building library objects.
26017 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26020 # What is the maximum length of a command?
26021 max_cmd_len=$lt_cv_sys_max_cmd_len
26023 # Does compiler simultaneously support -c and -o options?
26024 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26026 # Must we lock files when doing compilation?
26027 need_locks=$lt_need_locks
26029 # Do we need the lib prefix for modules?
26030 need_lib_prefix=$need_lib_prefix
26032 # Do we need a version for libraries?
26033 need_version=$need_version
26035 # Whether dlopen is supported.
26036 dlopen_support=$enable_dlopen
26038 # Whether dlopen of programs is supported.
26039 dlopen_self=$enable_dlopen_self
26041 # Whether dlopen of statically linked programs is supported.
26042 dlopen_self_static=$enable_dlopen_self_static
26044 # Compiler flag to prevent dynamic linking.
26045 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26047 # Compiler flag to turn off builtin functions.
26048 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26050 # Compiler flag to allow reflexive dlopens.
26051 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26053 # Compiler flag to generate shared objects directly from archives.
26054 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26056 # Compiler flag to generate thread-safe objects.
26057 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26059 # Library versioning type.
26060 version_type=$version_type
26062 # Format of library name prefix.
26063 libname_spec=$lt_libname_spec
26065 # List of archive names. First name is the real one, the rest are links.
26066 # The last name is the one that the linker finds with -lNAME.
26067 library_names_spec=$lt_library_names_spec
26069 # The coded name of the library, if different from the real name.
26070 soname_spec=$lt_soname_spec
26072 # Commands used to build and install an old-style archive.
26074 old_archive_cmds=$lt_old_archive_cmds_GCJ
26075 old_postinstall_cmds=$lt_old_postinstall_cmds
26076 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26078 # Create an old-style archive from a shared archive.
26079 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26081 # Create a temporary old-style archive to link instead of a shared archive.
26082 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26084 # Commands used to build and install a shared archive.
26085 archive_cmds=$lt_archive_cmds_GCJ
26086 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26087 postinstall_cmds=$lt_postinstall_cmds
26088 postuninstall_cmds=$lt_postuninstall_cmds
26090 # Commands used to build a loadable module (assumed same as above if empty)
26091 module_cmds=$lt_module_cmds_GCJ
26092 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26094 # Commands to strip libraries.
26095 old_striplib=$lt_old_striplib
26096 striplib=$lt_striplib
26098 # Dependencies to place before the objects being linked to create a
26100 predep_objects=$lt_predep_objects_GCJ
26102 # Dependencies to place after the objects being linked to create a
26104 postdep_objects=$lt_postdep_objects_GCJ
26106 # Dependencies to place before the objects being linked to create a
26108 predeps=$lt_predeps_GCJ
26110 # Dependencies to place after the objects being linked to create a
26112 postdeps=$lt_postdeps_GCJ
26114 # The library search path used internally by the compiler when linking
26115 # a shared library.
26116 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26118 # Method to check whether dependent libraries are shared objects.
26119 deplibs_check_method=$lt_deplibs_check_method
26121 # Command to use when deplibs_check_method == file_magic.
26122 file_magic_cmd=$lt_file_magic_cmd
26124 # Flag that allows shared libraries with undefined symbols to be built.
26125 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26127 # Flag that forces no undefined symbols.
26128 no_undefined_flag=$lt_no_undefined_flag_GCJ
26130 # Commands used to finish a libtool library installation in a directory.
26131 finish_cmds=$lt_finish_cmds
26133 # Same as above, but a single script fragment to be evaled but not shown.
26134 finish_eval=$lt_finish_eval
26136 # Take the output of nm and produce a listing of raw symbols and C names.
26137 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26139 # Transform the output of nm in a proper C declaration
26140 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26142 # Transform the output of nm in a C name address pair
26143 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26145 # This is the shared library runtime path variable.
26146 runpath_var=$runpath_var
26148 # This is the shared library path variable.
26149 shlibpath_var=$shlibpath_var
26151 # Is shlibpath searched before the hard-coded library search path?
26152 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26154 # How to hardcode a shared library path into an executable.
26155 hardcode_action=$hardcode_action_GCJ
26157 # Whether we should hardcode library paths into libraries.
26158 hardcode_into_libs=$hardcode_into_libs
26160 # Flag to hardcode \$libdir into a binary during linking.
26161 # This must work even if \$libdir does not exist.
26162 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26164 # If ld is used when linking, flag to hardcode \$libdir into
26165 # a binary during linking. This must work even if \$libdir does
26167 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26169 # Whether we need a single -rpath flag with a separated argument.
26170 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26172 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26173 # resulting binary.
26174 hardcode_direct=$hardcode_direct_GCJ
26176 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26177 # resulting binary.
26178 hardcode_minus_L=$hardcode_minus_L_GCJ
26180 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26181 # the resulting binary.
26182 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26184 # Set to yes if building a shared library automatically hardcodes DIR into the library
26185 # and all subsequent libraries and executables linked against it.
26186 hardcode_automatic=$hardcode_automatic_GCJ
26188 # Variables whose values should be saved in libtool wrapper scripts and
26189 # restored at relink time.
26190 variables_saved_for_relink="$variables_saved_for_relink"
26192 # Whether libtool must link a program against all its dependency libraries.
26193 link_all_deplibs=$link_all_deplibs_GCJ
26195 # Compile-time system search path for libraries
26196 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26198 # Run-time system search path for libraries
26199 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26201 # Fix the shell variable \$srcfile for the compiler.
26202 fix_srcfile_path="$fix_srcfile_path_GCJ"
26204 # Set to yes if exported symbols are required.
26205 always_export_symbols=$always_export_symbols_GCJ
26207 # The commands to list exported symbols.
26208 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26210 # The commands to extract the exported symbol list from a shared archive.
26211 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26213 # Symbols that should not be listed in the preloaded symbols.
26214 exclude_expsyms=$lt_exclude_expsyms_GCJ
26216 # Symbols that must always be exported.
26217 include_expsyms=$lt_include_expsyms_GCJ
26219 # ### END LIBTOOL TAG CONFIG: $tagname
26225 # If there is no Makefile yet, we rely on a make rule to execute
26226 # `config.status --recheck' to rerun these tests and create the
26227 # libtool script then.
26228 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26229 if test -f "$ltmain_in"; then
26230 test -f Makefile
&& make "$ltmain"
26236 ac_cpp
='$CPP $CPPFLAGS'
26237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26250 ac_cpp
='$CPP $CPPFLAGS'
26251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26256 # Source file extension for RC test sources.
26259 # Object file extension for compiled RC test sources.
26263 # Code to be used in simple compile tests
26264 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
26266 # Code to be used in simple link tests
26267 lt_simple_link_test_code
="$lt_simple_compile_test_code"
26269 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26271 # If no C compiler was specified, use CC.
26274 # If no C compiler flags were specified, use CFLAGS.
26275 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
26277 # Allow CC to be a program name with arguments.
26281 # save warnings/boilerplate of simple test code
26282 ac_outfile
=conftest.
$ac_objext
26283 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
26284 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26285 _lt_compiler_boilerplate
=`cat conftest.err`
26288 ac_outfile
=conftest.
$ac_objext
26289 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
26290 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
26291 _lt_linker_boilerplate
=`cat conftest.err`
26295 # Allow CC to be a program name with arguments.
26300 for cc_temp
in $compiler""; do
26302 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
26303 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
26308 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26310 lt_cv_prog_compiler_c_o_RC
=yes
26312 # The else clause should only fire when bootstrapping the
26313 # libtool distribution, otherwise you forgot to ship ltmain.sh
26314 # with your package, and you will get complaints that there are
26315 # no rules to generate ltmain.sh.
26316 if test -f "$ltmain"; then
26317 # See if we are running on zsh, and set the options which allow our commands through
26318 # without removal of \ escapes.
26319 if test -n "${ZSH_VERSION+set}" ; then
26320 setopt NO_GLOB_SUBST
26322 # Now quote all the things that may contain metacharacters while being
26323 # careful not to overquote the AC_SUBSTed values. We take copies of the
26324 # variables and quote the copies for generation of the libtool script.
26325 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26327 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26328 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26329 deplibs_check_method reload_flag reload_cmds need_locks \
26330 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26331 lt_cv_sys_global_symbol_to_c_name_address \
26332 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26333 old_postinstall_cmds old_postuninstall_cmds \
26337 lt_prog_compiler_wl_RC \
26338 lt_prog_compiler_pic_RC \
26339 lt_prog_compiler_static_RC \
26340 lt_prog_compiler_no_builtin_flag_RC \
26341 export_dynamic_flag_spec_RC \
26342 thread_safe_flag_spec_RC \
26343 whole_archive_flag_spec_RC \
26344 enable_shared_with_static_runtimes_RC \
26345 old_archive_cmds_RC \
26346 old_archive_from_new_cmds_RC \
26347 predep_objects_RC \
26348 postdep_objects_RC \
26351 compiler_lib_search_path_RC \
26353 archive_expsym_cmds_RC \
26354 postinstall_cmds_RC \
26355 postuninstall_cmds_RC \
26356 old_archive_from_expsyms_cmds_RC \
26357 allow_undefined_flag_RC \
26358 no_undefined_flag_RC \
26359 export_symbols_cmds_RC \
26360 hardcode_libdir_flag_spec_RC \
26361 hardcode_libdir_flag_spec_ld_RC \
26362 hardcode_libdir_separator_RC \
26363 hardcode_automatic_RC \
26365 module_expsym_cmds_RC \
26366 lt_cv_prog_compiler_c_o_RC \
26367 exclude_expsyms_RC \
26368 include_expsyms_RC
; do
26371 old_archive_cmds_RC | \
26372 old_archive_from_new_cmds_RC | \
26373 archive_cmds_RC | \
26374 archive_expsym_cmds_RC | \
26376 module_expsym_cmds_RC | \
26377 old_archive_from_expsyms_cmds_RC | \
26378 export_symbols_cmds_RC | \
26379 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26380 postinstall_cmds | postuninstall_cmds | \
26381 old_postinstall_cmds | old_postuninstall_cmds | \
26382 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
26383 # Double-quote double-evaled strings.
26384 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26387 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26393 *'\$0 --fallback-echo"')
26394 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26400 cat <<__EOF__ >> "$cfgfile"
26401 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26403 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26405 # Shell to use when invoking shell scripts.
26408 # Whether or not to build shared libraries.
26409 build_libtool_libs=$enable_shared
26411 # Whether or not to build static libraries.
26412 build_old_libs=$enable_static
26414 # Whether or not to add -lc for building shared libraries.
26415 build_libtool_need_lc=$archive_cmds_need_lc_RC
26417 # Whether or not to disallow shared libs when runtime libs are static
26418 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26420 # Whether or not to optimize for fast installation.
26421 fast_install=$enable_fast_install
26424 host_alias=$host_alias
26428 # The build system.
26429 build_alias=$build_alias
26433 # An echo program that does not interpret backslashes.
26438 AR_FLAGS=$lt_AR_FLAGS
26443 # LTCC compiler flags.
26444 LTCFLAGS=$lt_LTCFLAGS
26446 # A language-specific compiler.
26449 # Is the compiler the GNU C compiler?
26455 # The linker used to build libraries.
26458 # Whether we need hard or soft links.
26461 # A BSD-compatible nm program.
26464 # A symbol stripping program
26467 # Used to examine libraries when file_magic_cmd begins "file"
26468 MAGIC_CMD=$MAGIC_CMD
26470 # Used on cygwin: DLL creation program.
26473 # Used on cygwin: object dumper.
26476 # Used on cygwin: assembler.
26479 # The name of the directory that contains temporary libtool files.
26482 # How to create reloadable object files.
26483 reload_flag=$lt_reload_flag
26484 reload_cmds=$lt_reload_cmds
26486 # How to pass a linker flag through the compiler.
26487 wl=$lt_lt_prog_compiler_wl_RC
26489 # Object file suffix (normally "o").
26490 objext="$ac_objext"
26492 # Old archive suffix (normally "a").
26495 # Shared library suffix (normally ".so").
26496 shrext_cmds='$shrext_cmds'
26498 # Executable file suffix (normally "").
26501 # Additional compiler flags for building library objects.
26502 pic_flag=$lt_lt_prog_compiler_pic_RC
26505 # What is the maximum length of a command?
26506 max_cmd_len=$lt_cv_sys_max_cmd_len
26508 # Does compiler simultaneously support -c and -o options?
26509 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26511 # Must we lock files when doing compilation?
26512 need_locks=$lt_need_locks
26514 # Do we need the lib prefix for modules?
26515 need_lib_prefix=$need_lib_prefix
26517 # Do we need a version for libraries?
26518 need_version=$need_version
26520 # Whether dlopen is supported.
26521 dlopen_support=$enable_dlopen
26523 # Whether dlopen of programs is supported.
26524 dlopen_self=$enable_dlopen_self
26526 # Whether dlopen of statically linked programs is supported.
26527 dlopen_self_static=$enable_dlopen_self_static
26529 # Compiler flag to prevent dynamic linking.
26530 link_static_flag=$lt_lt_prog_compiler_static_RC
26532 # Compiler flag to turn off builtin functions.
26533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26535 # Compiler flag to allow reflexive dlopens.
26536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26538 # Compiler flag to generate shared objects directly from archives.
26539 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26541 # Compiler flag to generate thread-safe objects.
26542 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26544 # Library versioning type.
26545 version_type=$version_type
26547 # Format of library name prefix.
26548 libname_spec=$lt_libname_spec
26550 # List of archive names. First name is the real one, the rest are links.
26551 # The last name is the one that the linker finds with -lNAME.
26552 library_names_spec=$lt_library_names_spec
26554 # The coded name of the library, if different from the real name.
26555 soname_spec=$lt_soname_spec
26557 # Commands used to build and install an old-style archive.
26559 old_archive_cmds=$lt_old_archive_cmds_RC
26560 old_postinstall_cmds=$lt_old_postinstall_cmds
26561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26563 # Create an old-style archive from a shared archive.
26564 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26566 # Create a temporary old-style archive to link instead of a shared archive.
26567 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26569 # Commands used to build and install a shared archive.
26570 archive_cmds=$lt_archive_cmds_RC
26571 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26572 postinstall_cmds=$lt_postinstall_cmds
26573 postuninstall_cmds=$lt_postuninstall_cmds
26575 # Commands used to build a loadable module (assumed same as above if empty)
26576 module_cmds=$lt_module_cmds_RC
26577 module_expsym_cmds=$lt_module_expsym_cmds_RC
26579 # Commands to strip libraries.
26580 old_striplib=$lt_old_striplib
26581 striplib=$lt_striplib
26583 # Dependencies to place before the objects being linked to create a
26585 predep_objects=$lt_predep_objects_RC
26587 # Dependencies to place after the objects being linked to create a
26589 postdep_objects=$lt_postdep_objects_RC
26591 # Dependencies to place before the objects being linked to create a
26593 predeps=$lt_predeps_RC
26595 # Dependencies to place after the objects being linked to create a
26597 postdeps=$lt_postdeps_RC
26599 # The library search path used internally by the compiler when linking
26600 # a shared library.
26601 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26603 # Method to check whether dependent libraries are shared objects.
26604 deplibs_check_method=$lt_deplibs_check_method
26606 # Command to use when deplibs_check_method == file_magic.
26607 file_magic_cmd=$lt_file_magic_cmd
26609 # Flag that allows shared libraries with undefined symbols to be built.
26610 allow_undefined_flag=$lt_allow_undefined_flag_RC
26612 # Flag that forces no undefined symbols.
26613 no_undefined_flag=$lt_no_undefined_flag_RC
26615 # Commands used to finish a libtool library installation in a directory.
26616 finish_cmds=$lt_finish_cmds
26618 # Same as above, but a single script fragment to be evaled but not shown.
26619 finish_eval=$lt_finish_eval
26621 # Take the output of nm and produce a listing of raw symbols and C names.
26622 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26624 # Transform the output of nm in a proper C declaration
26625 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26627 # Transform the output of nm in a C name address pair
26628 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26630 # This is the shared library runtime path variable.
26631 runpath_var=$runpath_var
26633 # This is the shared library path variable.
26634 shlibpath_var=$shlibpath_var
26636 # Is shlibpath searched before the hard-coded library search path?
26637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26639 # How to hardcode a shared library path into an executable.
26640 hardcode_action=$hardcode_action_RC
26642 # Whether we should hardcode library paths into libraries.
26643 hardcode_into_libs=$hardcode_into_libs
26645 # Flag to hardcode \$libdir into a binary during linking.
26646 # This must work even if \$libdir does not exist.
26647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26649 # If ld is used when linking, flag to hardcode \$libdir into
26650 # a binary during linking. This must work even if \$libdir does
26652 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26654 # Whether we need a single -rpath flag with a separated argument.
26655 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26657 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26658 # resulting binary.
26659 hardcode_direct=$hardcode_direct_RC
26661 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26662 # resulting binary.
26663 hardcode_minus_L=$hardcode_minus_L_RC
26665 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26666 # the resulting binary.
26667 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26669 # Set to yes if building a shared library automatically hardcodes DIR into the library
26670 # and all subsequent libraries and executables linked against it.
26671 hardcode_automatic=$hardcode_automatic_RC
26673 # Variables whose values should be saved in libtool wrapper scripts and
26674 # restored at relink time.
26675 variables_saved_for_relink="$variables_saved_for_relink"
26677 # Whether libtool must link a program against all its dependency libraries.
26678 link_all_deplibs=$link_all_deplibs_RC
26680 # Compile-time system search path for libraries
26681 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26683 # Run-time system search path for libraries
26684 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26686 # Fix the shell variable \$srcfile for the compiler.
26687 fix_srcfile_path="$fix_srcfile_path_RC"
26689 # Set to yes if exported symbols are required.
26690 always_export_symbols=$always_export_symbols_RC
26692 # The commands to list exported symbols.
26693 export_symbols_cmds=$lt_export_symbols_cmds_RC
26695 # The commands to extract the exported symbol list from a shared archive.
26696 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26698 # Symbols that should not be listed in the preloaded symbols.
26699 exclude_expsyms=$lt_exclude_expsyms_RC
26701 # Symbols that must always be exported.
26702 include_expsyms=$lt_include_expsyms_RC
26704 # ### END LIBTOOL TAG CONFIG: $tagname
26710 # If there is no Makefile yet, we rely on a make rule to execute
26711 # `config.status --recheck' to rerun these tests and create the
26712 # libtool script then.
26713 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26714 if test -f "$ltmain_in"; then
26715 test -f Makefile
&& make "$ltmain"
26721 ac_cpp
='$CPP $CPPFLAGS'
26722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26731 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26732 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26733 { (exit 1); exit 1; }; }
26737 # Append the new tag name to the list of available tags.
26738 if test -n "$tagname" ; then
26739 available_tags
="$available_tags $tagname"
26745 # Now substitute the updated list of available tags.
26746 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26747 mv "${ofile}T" "$ofile"
26751 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26752 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26753 { (exit 1); exit 1; }; }
26759 # This can be used to rebuild libtool when needed
26760 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
26762 # Always use our own libtool.
26763 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
26765 # Prevent multiple expansion
26787 if test "$lt_cv_dlopen_self" = "yes" ; then
26789 cat >>confdefs.h
<<\_ACEOF
26790 #define CAN_DLOPEN_SELF 1
26795 if test "$WITH_LLVMGCCDIR" = "default" ; then
26796 LLVMGCC
="llvm-gcc${EXEEXT}"
26797 LLVMGXX
="llvm-g++${EXEEXT}"
26798 # Extract the first word of "$LLVMGCC", so it can be a program name with args.
26799 set dummy
$LLVMGCC; ac_word
=$2
26800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26802 if test "${ac_cv_path_LLVMGCC+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 ac_cv_path_LLVMGCC
="$LLVMGCC" # Let the user override the test with a path.
26810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26811 for as_dir
in $PATH
26814 test -z "$as_dir" && as_dir
=.
26815 for ac_exec_ext
in '' $ac_executable_extensions; do
26816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26817 ac_cv_path_LLVMGCC
="$as_dir/$ac_word$ac_exec_ext"
26818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26828 LLVMGCC
=$ac_cv_path_LLVMGCC
26829 if test -n "$LLVMGCC"; then
26830 { echo "$as_me:$LINENO: result: $LLVMGCC" >&5
26831 echo "${ECHO_T}$LLVMGCC" >&6; }
26833 { echo "$as_me:$LINENO: result: no" >&5
26834 echo "${ECHO_T}no" >&6; }
26838 # Extract the first word of "$LLVMGXX", so it can be a program name with args.
26839 set dummy
$LLVMGXX; ac_word
=$2
26840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26842 if test "${ac_cv_path_LLVMGXX+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26847 ac_cv_path_LLVMGXX
="$LLVMGXX" # Let the user override the test with a path.
26850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26851 for as_dir
in $PATH
26854 test -z "$as_dir" && as_dir
=.
26855 for ac_exec_ext
in '' $ac_executable_extensions; do
26856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26857 ac_cv_path_LLVMGXX
="$as_dir/$ac_word$ac_exec_ext"
26858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26868 LLVMGXX
=$ac_cv_path_LLVMGXX
26869 if test -n "$LLVMGXX"; then
26870 { echo "$as_me:$LINENO: result: $LLVMGXX" >&5
26871 echo "${ECHO_T}$LLVMGXX" >&6; }
26873 { echo "$as_me:$LINENO: result: no" >&5
26874 echo "${ECHO_T}no" >&6; }
26879 LLVMGCC
="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
26880 LLVMGXX
="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
26887 { echo "$as_me:$LINENO: checking tool compatibility" >&5
26888 echo $ECHO_N "checking tool compatibility... $ECHO_C" >&6; }
26901 if test "$GCC" != "yes" && test "$ICC" != "yes"
26903 { { echo "$as_me:$LINENO: error: gcc|icc required but not found" >&5
26904 echo "$as_me: error: gcc|icc required but not found" >&2;}
26905 { (exit 1); exit 1; }; }
26908 if test "$GXX" != "yes" && test "$IXX" != "yes"
26910 { { echo "$as_me:$LINENO: error: g++|icc required but not found" >&5
26911 echo "$as_me: error: g++|icc required but not found" >&2;}
26912 { (exit 1); exit 1; }; }
26915 if test "$GCC" = "yes"
26917 gccmajor
=`$CC --version | head -n 1 | sed 's/[^0-9]*\([0-9.]\).*/\1/'`
26918 if test "$gccmajor" -lt "3"
26920 { { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5
26921 echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;}
26922 { (exit 1); exit 1; }; }
26926 if test -z "$llvm_cv_gnu_make_command"
26928 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
26929 echo "$as_me: error: GNU Make required but not found" >&2;}
26930 { (exit 1); exit 1; }; }
26933 { echo "$as_me:$LINENO: result: ok" >&5
26934 echo "${ECHO_T}ok" >&6; }
26938 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
26939 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
26940 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26943 ac_check_lib_save_LIBS
=$LIBS
26945 cat >conftest.
$ac_ext <<_ACEOF
26948 cat confdefs.h
>>conftest.
$ac_ext
26949 cat >>conftest.
$ac_ext <<_ACEOF
26950 /* end confdefs.h. */
26952 /* Override any GCC internal prototype to avoid an error.
26953 Use char because int might match the return type of a GCC
26954 builtin and then its argument prototype would still apply. */
26962 return elf_begin ();
26967 rm -f conftest.
$ac_objext conftest
$ac_exeext
26968 if { (ac_try
="$ac_link"
26969 case "(($ac_try" in
26970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26971 *) ac_try_echo=$ac_try;;
26973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26974 (eval "$ac_link") 2>conftest.er1
26976 grep -v '^ *+' conftest.er1 >conftest.err
26978 cat conftest.err >&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26982 { (case "(($ac_try" in
26983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26984 *) ac_try_echo
=$ac_try;;
26986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26987 (eval "$ac_try") 2>&5
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; } &&
26991 { ac_try
='test -s conftest$ac_exeext'
26992 { (case "(($ac_try" in
26993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26994 *) ac_try_echo=$ac_try;;
26996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26997 (eval "$ac_try") 2>&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; }; then
27001 ac_cv_lib_elf_elf_begin=yes
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27006 ac_cv_lib_elf_elf_begin=no
27009 rm -f core conftest.err conftest.$ac_objext \
27010 conftest$ac_exeext conftest.$ac_ext
27011 LIBS=$ac_check_lib_save_LIBS
27013 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
27014 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
27015 if test $ac_cv_lib_elf_elf_begin = yes; then
27016 cat >>confdefs.h <<_ACEOF
27017 #define HAVE_LIBELF 1
27025 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27026 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27027 if test "${ac_cv_lib_m_sin+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 ac_check_lib_save_LIBS=$LIBS
27032 cat >conftest.$ac_ext <<_ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27039 /* Override any GCC internal prototype to avoid an error.
27040 Use char because int might match the return type of a GCC
27041 builtin and then its argument prototype would still apply. */
27054 rm -f conftest.$ac_objext conftest$ac_exeext
27055 if { (ac_try="$ac_link"
27056 case "(($ac_try" in
27057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27058 *) ac_try_echo
=$ac_try;;
27060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27061 (eval "$ac_link") 2>conftest.er1
27063 grep -v '^ *+' conftest.er1
>conftest.err
27065 cat conftest.err
>&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27069 { (case "(($ac_try" in
27070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_try") 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; } &&
27078 { ac_try='test -s conftest$ac_exeext'
27079 { (case "(($ac_try" in
27080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27081 *) ac_try_echo
=$ac_try;;
27083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27084 (eval "$ac_try") 2>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; }; then
27088 ac_cv_lib_m_sin
=yes
27090 echo "$as_me: failed program was:" >&5
27091 sed 's/^/| /' conftest.
$ac_ext >&5
27096 rm -f core conftest.err conftest.
$ac_objext \
27097 conftest
$ac_exeext conftest.
$ac_ext
27098 LIBS
=$ac_check_lib_save_LIBS
27100 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27101 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27102 if test $ac_cv_lib_m_sin = yes; then
27103 cat >>confdefs.h
<<_ACEOF
27104 #define HAVE_LIBM 1
27111 if test "$llvm_cv_os_type" = "MingW" ; then
27113 { echo "$as_me:$LINENO: checking for main in -limagehlp" >&5
27114 echo $ECHO_N "checking for main in -limagehlp... $ECHO_C" >&6; }
27115 if test "${ac_cv_lib_imagehlp_main+set}" = set; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 ac_check_lib_save_LIBS
=$LIBS
27119 LIBS
="-limagehlp $LIBS"
27120 cat >conftest.
$ac_ext <<_ACEOF
27123 cat confdefs.h
>>conftest.
$ac_ext
27124 cat >>conftest.
$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27136 rm -f conftest.
$ac_objext conftest
$ac_exeext
27137 if { (ac_try
="$ac_link"
27138 case "(($ac_try" in
27139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27140 *) ac_try_echo=$ac_try;;
27142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27143 (eval "$ac_link") 2>conftest.er1
27145 grep -v '^ *+' conftest.er1 >conftest.err
27147 cat conftest.err >&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27151 { (case "(($ac_try" in
27152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27153 *) ac_try_echo
=$ac_try;;
27155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27156 (eval "$ac_try") 2>&5
27158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 (exit $ac_status); }; } &&
27160 { ac_try
='test -s conftest$ac_exeext'
27161 { (case "(($ac_try" in
27162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27163 *) ac_try_echo=$ac_try;;
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_try") 2>&5
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; }; then
27170 ac_cv_lib_imagehlp_main=yes
27172 echo "$as_me: failed program was:" >&5
27173 sed 's/^/| /' conftest.$ac_ext >&5
27175 ac_cv_lib_imagehlp_main=no
27178 rm -f core conftest.err conftest.$ac_objext \
27179 conftest$ac_exeext conftest.$ac_ext
27180 LIBS=$ac_check_lib_save_LIBS
27182 { echo "$as_me:$LINENO: result: $ac_cv_lib_imagehlp_main" >&5
27183 echo "${ECHO_T}$ac_cv_lib_imagehlp_main" >&6; }
27184 if test $ac_cv_lib_imagehlp_main = yes; then
27185 cat >>confdefs.h <<_ACEOF
27186 #define HAVE_LIBIMAGEHLP 1
27189 LIBS="-limagehlp $LIBS"
27194 { echo "$as_me:$LINENO: checking for main in -lpsapi" >&5
27195 echo $ECHO_N "checking for main in -lpsapi... $ECHO_C" >&6; }
27196 if test "${ac_cv_lib_psapi_main+set}" = set; then
27197 echo $ECHO_N "(cached) $ECHO_C" >&6
27199 ac_check_lib_save_LIBS=$LIBS
27200 LIBS="-lpsapi $LIBS"
27201 cat >conftest.$ac_ext <<_ACEOF
27204 cat confdefs.h >>conftest.$ac_ext
27205 cat >>conftest.$ac_ext <<_ACEOF
27206 /* end confdefs.h. */
27217 rm -f conftest.$ac_objext conftest$ac_exeext
27218 if { (ac_try="$ac_link"
27219 case "(($ac_try" in
27220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27221 *) ac_try_echo
=$ac_try;;
27223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27224 (eval "$ac_link") 2>conftest.er1
27226 grep -v '^ *+' conftest.er1
>conftest.err
27228 cat conftest.err
>&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } &&
27231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27232 { (case "(($ac_try" in
27233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27234 *) ac_try_echo=$ac_try;;
27236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27237 (eval "$ac_try") 2>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; } &&
27241 { ac_try='test -s conftest$ac_exeext'
27242 { (case "(($ac_try" in
27243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27244 *) ac_try_echo
=$ac_try;;
27246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_try") 2>&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); }; }; then
27251 ac_cv_lib_psapi_main
=yes
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.
$ac_ext >&5
27256 ac_cv_lib_psapi_main
=no
27259 rm -f core conftest.err conftest.
$ac_objext \
27260 conftest
$ac_exeext conftest.
$ac_ext
27261 LIBS
=$ac_check_lib_save_LIBS
27263 { echo "$as_me:$LINENO: result: $ac_cv_lib_psapi_main" >&5
27264 echo "${ECHO_T}$ac_cv_lib_psapi_main" >&6; }
27265 if test $ac_cv_lib_psapi_main = yes; then
27266 cat >>confdefs.h
<<_ACEOF
27267 #define HAVE_LIBPSAPI 1
27270 LIBS
="-lpsapi $LIBS"
27276 { echo "$as_me:$LINENO: checking for library containing lt_dlopen" >&5
27277 echo $ECHO_N "checking for library containing lt_dlopen... $ECHO_C" >&6; }
27278 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27279 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 ac_func_search_save_LIBS
=$LIBS
27282 cat >conftest.
$ac_ext <<_ACEOF
27285 cat confdefs.h
>>conftest.
$ac_ext
27286 cat >>conftest.
$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27289 /* Override any GCC internal prototype to avoid an error.
27290 Use char because int might match the return type of a GCC
27291 builtin and then its argument prototype would still apply. */
27299 return lt_dlopen ();
27304 for ac_lib
in '' ltdl
; do
27305 if test -z "$ac_lib"; then
27306 ac_res
="none required"
27309 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27311 rm -f conftest.
$ac_objext conftest
$ac_exeext
27312 if { (ac_try
="$ac_link"
27313 case "(($ac_try" in
27314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27315 *) ac_try_echo=$ac_try;;
27317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27318 (eval "$ac_link") 2>conftest.er1
27320 grep -v '^ *+' conftest.er1 >conftest.err
27322 cat conftest.err >&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27326 { (case "(($ac_try" in
27327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27328 *) ac_try_echo
=$ac_try;;
27330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27331 (eval "$ac_try") 2>&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); }; } &&
27335 { ac_try
='test -s conftest$ac_exeext'
27336 { (case "(($ac_try" in
27337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27338 *) ac_try_echo=$ac_try;;
27340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27341 (eval "$ac_try") 2>&5
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); }; }; then
27345 ac_cv_search_lt_dlopen=$ac_res
27347 echo "$as_me: failed program was:" >&5
27348 sed 's/^/| /' conftest.$ac_ext >&5
27353 rm -f core conftest.err conftest.$ac_objext \
27355 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27359 if test "${ac_cv_search_lt_dlopen+set}" = set; then
27362 ac_cv_search_lt_dlopen=no
27364 rm conftest.$ac_ext
27365 LIBS=$ac_func_search_save_LIBS
27367 { echo "$as_me:$LINENO: result: $ac_cv_search_lt_dlopen" >&5
27368 echo "${ECHO_T}$ac_cv_search_lt_dlopen" >&6; }
27369 ac_res=$ac_cv_search_lt_dlopen
27370 if test "$ac_res" != no; then
27371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27373 cat >>confdefs.h <<\_ACEOF
27374 #define HAVE_LT_DLOPEN 1
27378 { echo "$as_me:$LINENO: WARNING: lt_dlopen() not found - plugin support might
27379 not be available" >&5
27380 echo "$as_me: WARNING: lt_dlopen() not found - plugin support might
27381 not be available" >&2;}
27385 { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
27386 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
27387 if test "${ac_cv_search_dlopen+set}" = set; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 ac_func_search_save_LIBS=$LIBS
27391 cat >conftest.$ac_ext <<_ACEOF
27394 cat confdefs.h >>conftest.$ac_ext
27395 cat >>conftest.$ac_ext <<_ACEOF
27396 /* end confdefs.h. */
27398 /* Override any GCC internal prototype to avoid an error.
27399 Use char because int might match the return type of a GCC
27400 builtin and then its argument prototype would still apply. */
27413 for ac_lib in '' dl; do
27414 if test -z "$ac_lib"; then
27415 ac_res="none required"
27418 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27420 rm -f conftest.$ac_objext conftest$ac_exeext
27421 if { (ac_try="$ac_link"
27422 case "(($ac_try" in
27423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27424 *) ac_try_echo
=$ac_try;;
27426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27427 (eval "$ac_link") 2>conftest.er1
27429 grep -v '^ *+' conftest.er1
>conftest.err
27431 cat conftest.err
>&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); } &&
27434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27435 { (case "(($ac_try" in
27436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27437 *) ac_try_echo=$ac_try;;
27439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27440 (eval "$ac_try") 2>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; } &&
27444 { ac_try='test -s conftest$ac_exeext'
27445 { (case "(($ac_try" in
27446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27447 *) ac_try_echo
=$ac_try;;
27449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27450 (eval "$ac_try") 2>&5
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); }; }; then
27454 ac_cv_search_dlopen
=$ac_res
27456 echo "$as_me: failed program was:" >&5
27457 sed 's/^/| /' conftest.
$ac_ext >&5
27462 rm -f core conftest.err conftest.
$ac_objext \
27464 if test "${ac_cv_search_dlopen+set}" = set; then
27468 if test "${ac_cv_search_dlopen+set}" = set; then
27471 ac_cv_search_dlopen
=no
27473 rm conftest.
$ac_ext
27474 LIBS
=$ac_func_search_save_LIBS
27476 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
27477 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
27478 ac_res
=$ac_cv_search_dlopen
27479 if test "$ac_res" != no
; then
27480 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
27482 cat >>confdefs.h
<<\_ACEOF
27483 #define HAVE_DLOPEN 1
27487 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
27488 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
27492 { echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
27493 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6; }
27494 if test "${ac_cv_search_mallinfo+set}" = set; then
27495 echo $ECHO_N "(cached) $ECHO_C" >&6
27497 ac_func_search_save_LIBS
=$LIBS
27498 cat >conftest.
$ac_ext <<_ACEOF
27501 cat confdefs.h
>>conftest.
$ac_ext
27502 cat >>conftest.
$ac_ext <<_ACEOF
27503 /* end confdefs.h. */
27505 /* Override any GCC internal prototype to avoid an error.
27506 Use char because int might match the return type of a GCC
27507 builtin and then its argument prototype would still apply. */
27515 return mallinfo ();
27520 for ac_lib
in '' malloc
; do
27521 if test -z "$ac_lib"; then
27522 ac_res
="none required"
27525 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27527 rm -f conftest.
$ac_objext conftest
$ac_exeext
27528 if { (ac_try
="$ac_link"
27529 case "(($ac_try" in
27530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27531 *) ac_try_echo=$ac_try;;
27533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27534 (eval "$ac_link") 2>conftest.er1
27536 grep -v '^ *+' conftest.er1 >conftest.err
27538 cat conftest.err >&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); } &&
27541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27542 { (case "(($ac_try" in
27543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27544 *) ac_try_echo
=$ac_try;;
27546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27547 (eval "$ac_try") 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try
='test -s conftest$ac_exeext'
27552 { (case "(($ac_try" in
27553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27554 *) ac_try_echo=$ac_try;;
27556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27557 (eval "$ac_try") 2>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 ac_cv_search_mallinfo=$ac_res
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27569 rm -f core conftest.err conftest.$ac_objext \
27571 if test "${ac_cv_search_mallinfo+set}" = set; then
27575 if test "${ac_cv_search_mallinfo+set}" = set; then
27578 ac_cv_search_mallinfo=no
27580 rm conftest.$ac_ext
27581 LIBS=$ac_func_search_save_LIBS
27583 { echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
27584 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6; }
27585 ac_res=$ac_cv_search_mallinfo
27586 if test "$ac_res" != no; then
27587 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE_MALLINFO 1
27596 if test "$ENABLE_THREADS" -eq 1 ; then
27598 { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
27599 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
27600 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
27601 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 ac_check_lib_save_LIBS=$LIBS
27604 LIBS="-lpthread $LIBS"
27605 cat >conftest.$ac_ext <<_ACEOF
27608 cat confdefs.h >>conftest.$ac_ext
27609 cat >>conftest.$ac_ext <<_ACEOF
27610 /* end confdefs.h. */
27612 /* Override any GCC internal prototype to avoid an error.
27613 Use char because int might match the return type of a GCC
27614 builtin and then its argument prototype would still apply. */
27618 char pthread_mutex_init ();
27622 return pthread_mutex_init ();
27627 rm -f conftest.$ac_objext conftest$ac_exeext
27628 if { (ac_try="$ac_link"
27629 case "(($ac_try" in
27630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27631 *) ac_try_echo
=$ac_try;;
27633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27634 (eval "$ac_link") 2>conftest.er1
27636 grep -v '^ *+' conftest.er1
>conftest.err
27638 cat conftest.err
>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } &&
27641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27642 { (case "(($ac_try" in
27643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27644 *) ac_try_echo=$ac_try;;
27646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27647 (eval "$ac_try") 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; } &&
27651 { ac_try='test -s conftest$ac_exeext'
27652 { (case "(($ac_try" in
27653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27654 *) ac_try_echo
=$ac_try;;
27656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_try") 2>&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27661 ac_cv_lib_pthread_pthread_mutex_init
=yes
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.
$ac_ext >&5
27666 ac_cv_lib_pthread_pthread_mutex_init
=no
27669 rm -f core conftest.err conftest.
$ac_objext \
27670 conftest
$ac_exeext conftest.
$ac_ext
27671 LIBS
=$ac_check_lib_save_LIBS
27673 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
27674 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
27675 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
27676 cat >>confdefs.h
<<_ACEOF
27677 #define HAVE_LIBPTHREAD 1
27680 LIBS
="-lpthread $LIBS"
27684 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
27685 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
27686 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 ac_func_search_save_LIBS
=$LIBS
27690 cat >conftest.
$ac_ext <<_ACEOF
27693 cat confdefs.h
>>conftest.
$ac_ext
27694 cat >>conftest.
$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27697 /* Override any GCC internal prototype to avoid an error.
27698 Use char because int might match the return type of a GCC
27699 builtin and then its argument prototype would still apply. */
27703 char pthread_mutex_lock ();
27707 return pthread_mutex_lock ();
27712 for ac_lib
in '' pthread
; do
27713 if test -z "$ac_lib"; then
27714 ac_res
="none required"
27717 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27719 rm -f conftest.
$ac_objext conftest
$ac_exeext
27720 if { (ac_try
="$ac_link"
27721 case "(($ac_try" in
27722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27723 *) ac_try_echo=$ac_try;;
27725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27726 (eval "$ac_link") 2>conftest.er1
27728 grep -v '^ *+' conftest.er1 >conftest.err
27730 cat conftest.err >&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); } &&
27733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27734 { (case "(($ac_try" in
27735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27736 *) ac_try_echo
=$ac_try;;
27738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27739 (eval "$ac_try") 2>&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); }; } &&
27743 { ac_try
='test -s conftest$ac_exeext'
27744 { (case "(($ac_try" in
27745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27746 *) ac_try_echo=$ac_try;;
27748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27749 (eval "$ac_try") 2>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); }; }; then
27753 ac_cv_search_pthread_mutex_lock=$ac_res
27755 echo "$as_me: failed program was:" >&5
27756 sed 's/^/| /' conftest.$ac_ext >&5
27761 rm -f core conftest.err conftest.$ac_objext \
27763 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27767 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
27770 ac_cv_search_pthread_mutex_lock=no
27772 rm conftest.$ac_ext
27773 LIBS=$ac_func_search_save_LIBS
27775 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
27776 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
27777 ac_res=$ac_cv_search_pthread_mutex_lock
27778 if test "$ac_res" != no; then
27779 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27781 cat >>confdefs.h <<\_ACEOF
27782 #define HAVE_PTHREAD_MUTEX_LOCK 1
27790 # Check whether --with-udis86 was given.
27791 if test "${with_udis86+set}" = set; then
27792 withval=$with_udis86;
27797 *) LDFLAGS="$LDFLAGS -L${withval}" ;;
27800 { echo "$as_me:$LINENO: checking for ud_init in -ludis86" >&5
27801 echo $ECHO_N "checking for ud_init in -ludis86... $ECHO_C" >&6; }
27802 if test "${ac_cv_lib_udis86_ud_init+set}" = set; then
27803 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 ac_check_lib_save_LIBS=$LIBS
27806 LIBS="-ludis86 $LIBS"
27807 cat >conftest.$ac_ext <<_ACEOF
27810 cat confdefs.h >>conftest.$ac_ext
27811 cat >>conftest.$ac_ext <<_ACEOF
27812 /* end confdefs.h. */
27814 /* Override any GCC internal prototype to avoid an error.
27815 Use char because int might match the return type of a GCC
27816 builtin and then its argument prototype would still apply. */
27829 rm -f conftest.$ac_objext conftest$ac_exeext
27830 if { (ac_try="$ac_link"
27831 case "(($ac_try" in
27832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27833 *) ac_try_echo
=$ac_try;;
27835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27836 (eval "$ac_link") 2>conftest.er1
27838 grep -v '^ *+' conftest.er1
>conftest.err
27840 cat conftest.err
>&5
27841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27842 (exit $ac_status); } &&
27843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27844 { (case "(($ac_try" in
27845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27846 *) ac_try_echo=$ac_try;;
27848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27849 (eval "$ac_try") 2>&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); }; } &&
27853 { ac_try='test -s conftest$ac_exeext'
27854 { (case "(($ac_try" in
27855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27856 *) ac_try_echo
=$ac_try;;
27858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27859 (eval "$ac_try") 2>&5
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); }; }; then
27863 ac_cv_lib_udis86_ud_init
=yes
27865 echo "$as_me: failed program was:" >&5
27866 sed 's/^/| /' conftest.
$ac_ext >&5
27868 ac_cv_lib_udis86_ud_init
=no
27871 rm -f core conftest.err conftest.
$ac_objext \
27872 conftest
$ac_exeext conftest.
$ac_ext
27873 LIBS
=$ac_check_lib_save_LIBS
27875 { echo "$as_me:$LINENO: result: $ac_cv_lib_udis86_ud_init" >&5
27876 echo "${ECHO_T}$ac_cv_lib_udis86_ud_init" >&6; }
27877 if test $ac_cv_lib_udis86_ud_init = yes; then
27878 cat >>confdefs.h
<<_ACEOF
27879 #define HAVE_LIBUDIS86 1
27882 LIBS
="-ludis86 $LIBS"
27886 echo "Error! You need to have libudis86 around."
27898 cat >>confdefs.h
<<_ACEOF
27899 #define USE_UDIS86 $USE_UDIS86
27909 ac_header_dirent
=no
27910 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
27911 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
27912 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
27913 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
27914 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27915 echo $ECHO_N "(cached) $ECHO_C" >&6
27917 cat >conftest.
$ac_ext <<_ACEOF
27920 cat confdefs.h
>>conftest.
$ac_ext
27921 cat >>conftest.
$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27923 #include <sys/types.h>
27935 rm -f conftest.
$ac_objext
27936 if { (ac_try
="$ac_compile"
27937 case "(($ac_try" in
27938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27939 *) ac_try_echo=$ac_try;;
27941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27942 (eval "$ac_compile") 2>conftest.er1
27944 grep -v '^ *+' conftest.er1 >conftest.err
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27950 { (case "(($ac_try" in
27951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27952 *) ac_try_echo
=$ac_try;;
27954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27955 (eval "$ac_try") 2>&5
27957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27958 (exit $ac_status); }; } &&
27959 { ac_try
='test -s conftest.$ac_objext'
27960 { (case "(($ac_try" in
27961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_try") 2>&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; }; then
27969 eval "$as_ac_Header=yes"
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27974 eval "$as_ac_Header=no"
27977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27979 ac_res=`eval echo '${'$as_ac_Header'}'`
27980 { echo "$as_me:$LINENO: result: $ac_res" >&5
27981 echo "${ECHO_T}$ac_res" >&6; }
27982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27983 cat >>confdefs.h <<_ACEOF
27984 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
27987 ac_header_dirent=$ac_hdr; break
27991 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
27992 if test $ac_header_dirent = dirent.h; then
27993 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
27994 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
27995 if test "${ac_cv_search_opendir+set}" = set; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 ac_func_search_save_LIBS=$LIBS
27999 cat >conftest.$ac_ext <<_ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28006 /* Override any GCC internal prototype to avoid an error.
28007 Use char because int might match the return type of a GCC
28008 builtin and then its argument prototype would still apply. */
28021 for ac_lib in '' dir; do
28022 if test -z "$ac_lib"; then
28023 ac_res="none required"
28026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28028 rm -f conftest.$ac_objext conftest$ac_exeext
28029 if { (ac_try="$ac_link"
28030 case "(($ac_try" in
28031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28032 *) ac_try_echo
=$ac_try;;
28034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28035 (eval "$ac_link") 2>conftest.er1
28037 grep -v '^ *+' conftest.er1
>conftest.err
28039 cat conftest.err
>&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } &&
28042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28043 { (case "(($ac_try" in
28044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28045 *) ac_try_echo=$ac_try;;
28047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28048 (eval "$ac_try") 2>&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; } &&
28052 { ac_try='test -s conftest$ac_exeext'
28053 { (case "(($ac_try" in
28054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28055 *) ac_try_echo
=$ac_try;;
28057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28058 (eval "$ac_try") 2>&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; }; then
28062 ac_cv_search_opendir
=$ac_res
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.
$ac_ext >&5
28070 rm -f core conftest.err conftest.
$ac_objext \
28072 if test "${ac_cv_search_opendir+set}" = set; then
28076 if test "${ac_cv_search_opendir+set}" = set; then
28079 ac_cv_search_opendir
=no
28081 rm conftest.
$ac_ext
28082 LIBS
=$ac_func_search_save_LIBS
28084 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28085 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28086 ac_res
=$ac_cv_search_opendir
28087 if test "$ac_res" != no
; then
28088 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
28093 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
28094 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
28095 if test "${ac_cv_search_opendir+set}" = set; then
28096 echo $ECHO_N "(cached) $ECHO_C" >&6
28098 ac_func_search_save_LIBS
=$LIBS
28099 cat >conftest.
$ac_ext <<_ACEOF
28102 cat confdefs.h
>>conftest.
$ac_ext
28103 cat >>conftest.
$ac_ext <<_ACEOF
28104 /* end confdefs.h. */
28106 /* Override any GCC internal prototype to avoid an error.
28107 Use char because int might match the return type of a GCC
28108 builtin and then its argument prototype would still apply. */
28121 for ac_lib
in '' x
; do
28122 if test -z "$ac_lib"; then
28123 ac_res
="none required"
28126 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
28128 rm -f conftest.
$ac_objext conftest
$ac_exeext
28129 if { (ac_try
="$ac_link"
28130 case "(($ac_try" in
28131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28132 *) ac_try_echo=$ac_try;;
28134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28135 (eval "$ac_link") 2>conftest.er1
28137 grep -v '^ *+' conftest.er1 >conftest.err
28139 cat conftest.err >&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); } &&
28142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28143 { (case "(($ac_try" in
28144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28145 *) ac_try_echo
=$ac_try;;
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_try") 2>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; } &&
28152 { ac_try
='test -s conftest$ac_exeext'
28153 { (case "(($ac_try" in
28154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28155 *) ac_try_echo=$ac_try;;
28157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28158 (eval "$ac_try") 2>&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; }; then
28162 ac_cv_search_opendir=$ac_res
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.$ac_ext >&5
28170 rm -f core conftest.err conftest.$ac_objext \
28172 if test "${ac_cv_search_opendir+set}" = set; then
28176 if test "${ac_cv_search_opendir+set}" = set; then
28179 ac_cv_search_opendir=no
28181 rm conftest.$ac_ext
28182 LIBS=$ac_func_search_save_LIBS
28184 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
28185 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
28186 ac_res=$ac_cv_search_opendir
28187 if test "$ac_res" != no; then
28188 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28194 { echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
28195 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6; }
28196 if test "${ac_cv_header_mmap_anon+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 ac_cpp='$CPP $CPPFLAGS'
28201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205 cat >conftest.$ac_ext <<_ACEOF
28208 cat confdefs.h >>conftest.$ac_ext
28209 cat >>conftest.$ac_ext <<_ACEOF
28210 /* end confdefs.h. */
28211 #include <sys/mman.h>
28212 #include <unistd.h>
28217 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
28222 rm -f conftest.$ac_objext
28223 if { (ac_try="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28226 *) ac_try_echo
=$ac_try;;
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28231 grep -v '^ *+' conftest.er1
>conftest.err
28233 cat conftest.err
>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28237 { (case "(($ac_try" in
28238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28239 *) ac_try_echo=$ac_try;;
28241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28242 (eval "$ac_try") 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); }; } &&
28246 { ac_try='test -s conftest.$ac_objext'
28247 { (case "(($ac_try" in
28248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28249 *) ac_try_echo
=$ac_try;;
28251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28252 (eval "$ac_try") 2>&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; }; then
28256 ac_cv_header_mmap_anon
=yes
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.
$ac_ext >&5
28261 ac_cv_header_mmap_anon
=no
28264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28266 ac_cpp
='$CPP $CPPFLAGS'
28267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28273 { echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
28274 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6; }
28275 if test "$ac_cv_header_mmap_anon" = yes; then
28277 cat >>confdefs.h
<<\_ACEOF
28278 #define HAVE_MMAP_ANONYMOUS 1
28283 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28284 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
28285 if test "${ac_cv_header_stat_broken+set}" = set; then
28286 echo $ECHO_N "(cached) $ECHO_C" >&6
28288 cat >conftest.
$ac_ext <<_ACEOF
28291 cat confdefs.h
>>conftest.
$ac_ext
28292 cat >>conftest.
$ac_ext <<_ACEOF
28293 /* end confdefs.h. */
28294 #include <sys/types.h>
28295 #include <sys/stat.h>
28297 #if defined S_ISBLK && defined S_IFDIR
28298 # if S_ISBLK (S_IFDIR)
28303 #if defined S_ISBLK && defined S_IFCHR
28304 # if S_ISBLK (S_IFCHR)
28309 #if defined S_ISLNK && defined S_IFREG
28310 # if S_ISLNK (S_IFREG)
28315 #if defined S_ISSOCK && defined S_IFREG
28316 # if S_ISSOCK (S_IFREG)
28322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28323 $EGREP "You lose" >/dev
/null
2>&1; then
28324 ac_cv_header_stat_broken
=yes
28326 ac_cv_header_stat_broken
=no
28331 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28332 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
28333 if test $ac_cv_header_stat_broken = yes; then
28335 cat >>confdefs.h
<<\_ACEOF
28336 #define STAT_MACROS_BROKEN 1
28341 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
28342 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
28343 if test "${ac_cv_header_stdc+set}" = set; then
28344 echo $ECHO_N "(cached) $ECHO_C" >&6
28346 cat >conftest.
$ac_ext <<_ACEOF
28349 cat confdefs.h
>>conftest.
$ac_ext
28350 cat >>conftest.
$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352 #include <stdlib.h>
28353 #include <stdarg.h>
28354 #include <string.h>
28365 rm -f conftest.
$ac_objext
28366 if { (ac_try
="$ac_compile"
28367 case "(($ac_try" in
28368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28369 *) ac_try_echo=$ac_try;;
28371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28372 (eval "$ac_compile") 2>conftest.er1
28374 grep -v '^ *+' conftest.er1 >conftest.err
28376 cat conftest.err >&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); } &&
28379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28380 { (case "(($ac_try" in
28381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28382 *) ac_try_echo
=$ac_try;;
28384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28385 (eval "$ac_try") 2>&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); }; } &&
28389 { ac_try
='test -s conftest.$ac_objext'
28390 { (case "(($ac_try" in
28391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28392 *) ac_try_echo=$ac_try;;
28394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28395 (eval "$ac_try") 2>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; }; then
28399 ac_cv_header_stdc=yes
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.$ac_ext >&5
28404 ac_cv_header_stdc=no
28407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28409 if test $ac_cv_header_stdc = yes; then
28410 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
28411 cat >conftest.$ac_ext <<_ACEOF
28414 cat confdefs.h >>conftest.$ac_ext
28415 cat >>conftest.$ac_ext <<_ACEOF
28416 /* end confdefs.h. */
28417 #include <string.h>
28420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28421 $EGREP "memchr" >/dev/null 2>&1; then
28424 ac_cv_header_stdc=no
28430 if test $ac_cv_header_stdc = yes; then
28431 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
28432 cat >conftest.$ac_ext <<_ACEOF
28435 cat confdefs.h >>conftest.$ac_ext
28436 cat >>conftest.$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438 #include <stdlib.h>
28441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28442 $EGREP "free" >/dev/null 2>&1; then
28445 ac_cv_header_stdc=no
28451 if test $ac_cv_header_stdc = yes; then
28452 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
28453 if test "$cross_compiling" = yes; then
28456 cat >conftest.$ac_ext <<_ACEOF
28459 cat confdefs.h >>conftest.$ac_ext
28460 cat >>conftest.$ac_ext <<_ACEOF
28461 /* end confdefs.h. */
28463 #include <stdlib.h>
28464 #if ((' ' & 0x0FF) == 0x020)
28465 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
28466 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
28468 # define ISLOWER(c) \
28469 (('a' <= (c) && (c) <= 'i') \
28470 || ('j' <= (c) && (c) <= 'r') \
28471 || ('s' <= (c) && (c) <= 'z'))
28472 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
28475 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
28480 for (i = 0; i < 256; i++)
28481 if (XOR (islower (i), ISLOWER (i))
28482 || toupper (i) != TOUPPER (i))
28487 rm -f conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28491 *) ac_try_echo
=$ac_try;;
28493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
28509 echo "$as_me: program exited with status $ac_status" >&5
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28513 ( exit $ac_status )
28514 ac_cv_header_stdc=no
28516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28522 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
28523 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
28524 if test $ac_cv_header_stdc = yes; then
28526 cat >>confdefs.h <<\_ACEOF
28527 #define STDC_HEADERS 1
28532 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
28533 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
28534 if test "${ac_cv_header_sys_wait_h+set}" = set; then
28535 echo $ECHO_N "(cached) $ECHO_C" >&6
28537 cat >conftest.$ac_ext <<_ACEOF
28540 cat confdefs.h >>conftest.$ac_ext
28541 cat >>conftest.$ac_ext <<_ACEOF
28542 /* end confdefs.h. */
28543 #include <sys/types.h>
28544 #include <sys/wait.h>
28545 #ifndef WEXITSTATUS
28546 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
28549 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
28557 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
28562 rm -f conftest.$ac_objext
28563 if { (ac_try="$ac_compile"
28564 case "(($ac_try" in
28565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28566 *) ac_try_echo
=$ac_try;;
28568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28569 (eval "$ac_compile") 2>conftest.er1
28571 grep -v '^ *+' conftest.er1
>conftest.err
28573 cat conftest.err
>&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } &&
28576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28577 { (case "(($ac_try" in
28578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28579 *) ac_try_echo=$ac_try;;
28581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28582 (eval "$ac_try") 2>&5
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; } &&
28586 { ac_try='test -s conftest.$ac_objext'
28587 { (case "(($ac_try" in
28588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28589 *) ac_try_echo
=$ac_try;;
28591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_try") 2>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; }; then
28596 ac_cv_header_sys_wait_h
=yes
28598 echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.
$ac_ext >&5
28601 ac_cv_header_sys_wait_h
=no
28604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28606 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
28607 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
28608 if test $ac_cv_header_sys_wait_h = yes; then
28610 cat >>confdefs.h
<<\_ACEOF
28611 #define HAVE_SYS_WAIT_H 1
28616 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
28617 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
28618 if test "${ac_cv_header_time+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28621 cat >conftest.
$ac_ext <<_ACEOF
28624 cat confdefs.h
>>conftest.
$ac_ext
28625 cat >>conftest.
$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 #include <sys/types.h>
28628 #include <sys/time.h>
28634 if ((struct tm *) 0)
28640 rm -f conftest.
$ac_objext
28641 if { (ac_try
="$ac_compile"
28642 case "(($ac_try" in
28643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28644 *) ac_try_echo=$ac_try;;
28646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28647 (eval "$ac_compile") 2>conftest.er1
28649 grep -v '^ *+' conftest.er1 >conftest.err
28651 cat conftest.err >&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } &&
28654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28655 { (case "(($ac_try" in
28656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28657 *) ac_try_echo
=$ac_try;;
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_try") 2>&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); }; } &&
28664 { ac_try
='test -s conftest.$ac_objext'
28665 { (case "(($ac_try" in
28666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28667 *) ac_try_echo=$ac_try;;
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_try") 2>&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; }; then
28674 ac_cv_header_time=yes
28676 echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.$ac_ext >&5
28679 ac_cv_header_time=no
28682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28684 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
28685 echo "${ECHO_T}$ac_cv_header_time" >&6; }
28686 if test $ac_cv_header_time = yes; then
28688 cat >>confdefs.h <<\_ACEOF
28689 #define TIME_WITH_SYS_TIME 1
28701 for ac_header in dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h
28703 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 ac_res=`eval echo '${'$as_ac_Header'}'`
28711 { echo "$as_me:$LINENO: result: $ac_res" >&5
28712 echo "${ECHO_T}$ac_res" >&6; }
28714 # Is the header compilable?
28715 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28717 cat >conftest.$ac_ext <<_ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723 $ac_includes_default
28724 #include <$ac_header>
28726 rm -f conftest.$ac_objext
28727 if { (ac_try="$ac_compile"
28728 case "(($ac_try" in
28729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28730 *) ac_try_echo
=$ac_try;;
28732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28733 (eval "$ac_compile") 2>conftest.er1
28735 grep -v '^ *+' conftest.er1
>conftest.err
28737 cat conftest.err
>&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } &&
28740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28741 { (case "(($ac_try" in
28742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28743 *) ac_try_echo=$ac_try;;
28745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28746 (eval "$ac_try") 2>&5
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); }; } &&
28750 { ac_try='test -s conftest.$ac_objext'
28751 { (case "(($ac_try" in
28752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28753 *) ac_try_echo
=$ac_try;;
28755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_try") 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 ac_header_compiler
=yes
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.
$ac_ext >&5
28765 ac_header_compiler
=no
28768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28769 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28770 echo "${ECHO_T}$ac_header_compiler" >&6; }
28772 # Is the header present?
28773 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28775 cat >conftest.
$ac_ext <<_ACEOF
28778 cat confdefs.h
>>conftest.
$ac_ext
28779 cat >>conftest.
$ac_ext <<_ACEOF
28780 /* end confdefs.h. */
28781 #include <$ac_header>
28783 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28784 case "(($ac_try" in
28785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28786 *) ac_try_echo=$ac_try;;
28788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28791 grep -v '^ *+' conftest.er1 >conftest.err
28793 cat conftest.err >&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); } >/dev/null; then
28796 if test -s conftest.err; then
28797 ac_cpp_err=$ac_c_preproc_warn_flag
28798 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28805 if test -z "$ac_cpp_err"; then
28806 ac_header_preproc=yes
28808 echo "$as_me: failed program was:" >&5
28809 sed 's/^/| /' conftest.$ac_ext >&5
28811 ac_header_preproc=no
28814 rm -f conftest.err conftest.$ac_ext
28815 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28816 echo "${ECHO_T}$ac_header_preproc" >&6; }
28818 # So? What about this header?
28819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28825 ac_header_preproc=yes
28828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28841 ## ----------------------------------- ##
28842 ## Report this to llvmbugs@cs.uiuc.edu ##
28843 ## ----------------------------------- ##
28845 ) | sed "s/^/$as_me: WARNING: /" >&2
28848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28851 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 eval "$as_ac_Header=\$ac_header_preproc"
28855 ac_res=`eval echo '${'$as_ac_Header'}'`
28856 { echo "$as_me:$LINENO: result: $ac_res" >&5
28857 echo "${ECHO_T}$ac_res" >&6; }
28860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28861 cat >>confdefs.h <<_ACEOF
28862 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
28875 for ac_header in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h
28877 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
28878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28884 ac_res=`eval echo '${'$as_ac_Header'}'`
28885 { echo "$as_me:$LINENO: result: $ac_res" >&5
28886 echo "${ECHO_T}$ac_res" >&6; }
28888 # Is the header compilable?
28889 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28891 cat >conftest.$ac_ext <<_ACEOF
28894 cat confdefs.h >>conftest.$ac_ext
28895 cat >>conftest.$ac_ext <<_ACEOF
28896 /* end confdefs.h. */
28897 $ac_includes_default
28898 #include <$ac_header>
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28904 *) ac_try_echo
=$ac_try;;
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28909 grep -v '^ *+' conftest.er1
>conftest.err
28911 cat conftest.err
>&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } &&
28914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28915 { (case "(($ac_try" in
28916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28917 *) ac_try_echo=$ac_try;;
28919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28920 (eval "$ac_try") 2>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; } &&
28924 { ac_try='test -s conftest.$ac_objext'
28925 { (case "(($ac_try" in
28926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28927 *) ac_try_echo
=$ac_try;;
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_try") 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; }; then
28934 ac_header_compiler
=yes
28936 echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.
$ac_ext >&5
28939 ac_header_compiler
=no
28942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28943 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28944 echo "${ECHO_T}$ac_header_compiler" >&6; }
28946 # Is the header present?
28947 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28949 cat >conftest.
$ac_ext <<_ACEOF
28952 cat confdefs.h
>>conftest.
$ac_ext
28953 cat >>conftest.
$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28955 #include <$ac_header>
28957 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28958 case "(($ac_try" in
28959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28960 *) ac_try_echo=$ac_try;;
28962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28965 grep -v '^ *+' conftest.er1 >conftest.err
28967 cat conftest.err >&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } >/dev/null; then
28970 if test -s conftest.err; then
28971 ac_cpp_err=$ac_c_preproc_warn_flag
28972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28979 if test -z "$ac_cpp_err"; then
28980 ac_header_preproc=yes
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28985 ac_header_preproc=no
28988 rm -f conftest.err conftest.$ac_ext
28989 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28990 echo "${ECHO_T}$ac_header_preproc" >&6; }
28992 # So? What about this header?
28993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28999 ac_header_preproc=yes
29002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29015 ## ----------------------------------- ##
29016 ## Report this to llvmbugs@cs.uiuc.edu ##
29017 ## ----------------------------------- ##
29019 ) | sed "s/^/$as_me: WARNING: /" >&2
29022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29025 echo $ECHO_N "(cached) $ECHO_C" >&6
29027 eval "$as_ac_Header=\$ac_header_preproc"
29029 ac_res=`eval echo '${'$as_ac_Header'}'`
29030 { echo "$as_me:$LINENO: result: $ac_res" >&5
29031 echo "${ECHO_T}$ac_res" >&6; }
29034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29035 cat >>confdefs.h <<_ACEOF
29036 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29044 for ac_header in windows.h
29046 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 ac_res=`eval echo '${'$as_ac_Header'}'`
29054 { echo "$as_me:$LINENO: result: $ac_res" >&5
29055 echo "${ECHO_T}$ac_res" >&6; }
29057 # Is the header compilable?
29058 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29060 cat >conftest.$ac_ext <<_ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29066 $ac_includes_default
29067 #include <$ac_header>
29069 rm -f conftest.$ac_objext
29070 if { (ac_try="$ac_compile"
29071 case "(($ac_try" in
29072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29073 *) ac_try_echo
=$ac_try;;
29075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29076 (eval "$ac_compile") 2>conftest.er1
29078 grep -v '^ *+' conftest.er1
>conftest.err
29080 cat conftest.err
>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); } &&
29083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29084 { (case "(($ac_try" in
29085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29086 *) ac_try_echo=$ac_try;;
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_try") 2>&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; } &&
29093 { ac_try='test -s conftest.$ac_objext'
29094 { (case "(($ac_try" in
29095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29096 *) ac_try_echo
=$ac_try;;
29098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29099 (eval "$ac_try") 2>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 ac_header_compiler
=yes
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.
$ac_ext >&5
29108 ac_header_compiler
=no
29111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29112 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29113 echo "${ECHO_T}$ac_header_compiler" >&6; }
29115 # Is the header present?
29116 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29118 cat >conftest.
$ac_ext <<_ACEOF
29121 cat confdefs.h
>>conftest.
$ac_ext
29122 cat >>conftest.
$ac_ext <<_ACEOF
29123 /* end confdefs.h. */
29124 #include <$ac_header>
29126 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29127 case "(($ac_try" in
29128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29134 grep -v '^ *+' conftest.er1 >conftest.err
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } >/dev/null; then
29139 if test -s conftest.err; then
29140 ac_cpp_err=$ac_c_preproc_warn_flag
29141 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29148 if test -z "$ac_cpp_err"; then
29149 ac_header_preproc=yes
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29154 ac_header_preproc=no
29157 rm -f conftest.err conftest.$ac_ext
29158 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29159 echo "${ECHO_T}$ac_header_preproc" >&6; }
29161 # So? What about this header?
29162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29168 ac_header_preproc=yes
29171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29184 ## ----------------------------------- ##
29185 ## Report this to llvmbugs@cs.uiuc.edu ##
29186 ## ----------------------------------- ##
29188 ) | sed "s/^/$as_me: WARNING: /" >&2
29191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29194 echo $ECHO_N "(cached) $ECHO_C" >&6
29196 eval "$as_ac_Header=\$ac_header_preproc"
29198 ac_res=`eval echo '${'$as_ac_Header'}'`
29199 { echo "$as_me:$LINENO: result: $ac_res" >&5
29200 echo "${ECHO_T}$ac_res" >&6; }
29203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29204 cat >>confdefs.h <<_ACEOF
29205 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29216 for ac_header in sys/mman.h sys/param.h sys/resource.h sys/time.h
29218 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29223 echo $ECHO_N "(cached) $ECHO_C" >&6
29225 ac_res=`eval echo '${'$as_ac_Header'}'`
29226 { echo "$as_me:$LINENO: result: $ac_res" >&5
29227 echo "${ECHO_T}$ac_res" >&6; }
29229 # Is the header compilable?
29230 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29232 cat >conftest.$ac_ext <<_ACEOF
29235 cat confdefs.h >>conftest.$ac_ext
29236 cat >>conftest.$ac_ext <<_ACEOF
29237 /* end confdefs.h. */
29238 $ac_includes_default
29239 #include <$ac_header>
29241 rm -f conftest.$ac_objext
29242 if { (ac_try="$ac_compile"
29243 case "(($ac_try" in
29244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29245 *) ac_try_echo
=$ac_try;;
29247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29248 (eval "$ac_compile") 2>conftest.er1
29250 grep -v '^ *+' conftest.er1
>conftest.err
29252 cat conftest.err
>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); } &&
29255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29256 { (case "(($ac_try" in
29257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29258 *) ac_try_echo=$ac_try;;
29260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29261 (eval "$ac_try") 2>&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; } &&
29265 { ac_try='test -s conftest.$ac_objext'
29266 { (case "(($ac_try" in
29267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29268 *) ac_try_echo
=$ac_try;;
29270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29271 (eval "$ac_try") 2>&5
29273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274 (exit $ac_status); }; }; then
29275 ac_header_compiler
=yes
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.
$ac_ext >&5
29280 ac_header_compiler
=no
29283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29285 echo "${ECHO_T}$ac_header_compiler" >&6; }
29287 # Is the header present?
29288 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29290 cat >conftest.
$ac_ext <<_ACEOF
29293 cat confdefs.h
>>conftest.
$ac_ext
29294 cat >>conftest.
$ac_ext <<_ACEOF
29295 /* end confdefs.h. */
29296 #include <$ac_header>
29298 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29299 case "(($ac_try" in
29300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29301 *) ac_try_echo=$ac_try;;
29303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29306 grep -v '^ *+' conftest.er1 >conftest.err
29308 cat conftest.err >&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } >/dev/null; then
29311 if test -s conftest.err; then
29312 ac_cpp_err=$ac_c_preproc_warn_flag
29313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29320 if test -z "$ac_cpp_err"; then
29321 ac_header_preproc=yes
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.$ac_ext >&5
29326 ac_header_preproc=no
29329 rm -f conftest.err conftest.$ac_ext
29330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29331 echo "${ECHO_T}$ac_header_preproc" >&6; }
29333 # So? What about this header?
29334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29340 ac_header_preproc=yes
29343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29356 ## ----------------------------------- ##
29357 ## Report this to llvmbugs@cs.uiuc.edu ##
29358 ## ----------------------------------- ##
29360 ) | sed "s/^/$as_me: WARNING: /" >&2
29363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29366 echo $ECHO_N "(cached) $ECHO_C" >&6
29368 eval "$as_ac_Header=\$ac_header_preproc"
29370 ac_res=`eval echo '${'$as_ac_Header'}'`
29371 { echo "$as_me:$LINENO: result: $ac_res" >&5
29372 echo "${ECHO_T}$ac_res" >&6; }
29375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29376 cat >>confdefs.h <<_ACEOF
29377 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29387 for ac_header in sys/types.h malloc/malloc.h mach/mach.h
29389 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29394 echo $ECHO_N "(cached) $ECHO_C" >&6
29396 ac_res=`eval echo '${'$as_ac_Header'}'`
29397 { echo "$as_me:$LINENO: result: $ac_res" >&5
29398 echo "${ECHO_T}$ac_res" >&6; }
29400 # Is the header compilable?
29401 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29403 cat >conftest.$ac_ext <<_ACEOF
29406 cat confdefs.h >>conftest.$ac_ext
29407 cat >>conftest.$ac_ext <<_ACEOF
29408 /* end confdefs.h. */
29409 $ac_includes_default
29410 #include <$ac_header>
29412 rm -f conftest.$ac_objext
29413 if { (ac_try="$ac_compile"
29414 case "(($ac_try" in
29415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29416 *) ac_try_echo
=$ac_try;;
29418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_compile") 2>conftest.er1
29421 grep -v '^ *+' conftest.er1
>conftest.err
29423 cat conftest.err
>&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } &&
29426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29427 { (case "(($ac_try" in
29428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_try") 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; } &&
29436 { ac_try='test -s conftest.$ac_objext'
29437 { (case "(($ac_try" in
29438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29439 *) ac_try_echo
=$ac_try;;
29441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29442 (eval "$ac_try") 2>&5
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); }; }; then
29446 ac_header_compiler
=yes
29448 echo "$as_me: failed program was:" >&5
29449 sed 's/^/| /' conftest.
$ac_ext >&5
29451 ac_header_compiler
=no
29454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29455 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29456 echo "${ECHO_T}$ac_header_compiler" >&6; }
29458 # Is the header present?
29459 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29461 cat >conftest.
$ac_ext <<_ACEOF
29464 cat confdefs.h
>>conftest.
$ac_ext
29465 cat >>conftest.
$ac_ext <<_ACEOF
29466 /* end confdefs.h. */
29467 #include <$ac_header>
29469 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29470 case "(($ac_try" in
29471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29472 *) ac_try_echo=$ac_try;;
29474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29475 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29477 grep -v '^ *+' conftest.er1 >conftest.err
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } >/dev/null; then
29482 if test -s conftest.err; then
29483 ac_cpp_err=$ac_c_preproc_warn_flag
29484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29491 if test -z "$ac_cpp_err"; then
29492 ac_header_preproc=yes
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.$ac_ext >&5
29497 ac_header_preproc=no
29500 rm -f conftest.err conftest.$ac_ext
29501 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29502 echo "${ECHO_T}$ac_header_preproc" >&6; }
29504 # So? What about this header?
29505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29507 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29508 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29510 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29511 ac_header_preproc=yes
29514 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29516 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29518 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29519 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29520 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29521 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29524 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29525 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29527 ## ----------------------------------- ##
29528 ## Report this to llvmbugs@cs.uiuc.edu ##
29529 ## ----------------------------------- ##
29531 ) | sed "s/^/$as_me: WARNING: /" >&2
29534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29537 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 eval "$as_ac_Header=\$ac_header_preproc"
29541 ac_res=`eval echo '${'$as_ac_Header'}'`
29542 { echo "$as_me:$LINENO: result: $ac_res" >&5
29543 echo "${ECHO_T}$ac_res" >&6; }
29546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29547 cat >>confdefs.h <<_ACEOF
29548 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29555 if test "$ENABLE_THREADS" -eq 1 ; then
29557 for ac_header in pthread.h
29559 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
29560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29564 echo $ECHO_N "(cached) $ECHO_C" >&6
29566 ac_res=`eval echo '${'$as_ac_Header'}'`
29567 { echo "$as_me:$LINENO: result: $ac_res" >&5
29568 echo "${ECHO_T}$ac_res" >&6; }
29570 # Is the header compilable?
29571 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
29572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29573 cat >conftest.$ac_ext <<_ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29579 $ac_includes_default
29580 #include <$ac_header>
29582 rm -f conftest.$ac_objext
29583 if { (ac_try="$ac_compile"
29584 case "(($ac_try" in
29585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29586 *) ac_try_echo
=$ac_try;;
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_compile") 2>conftest.er1
29591 grep -v '^ *+' conftest.er1
>conftest.err
29593 cat conftest.err
>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); } &&
29596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29606 { ac_try='test -s conftest.$ac_objext'
29607 { (case "(($ac_try" in
29608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29609 *) ac_try_echo
=$ac_try;;
29611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29612 (eval "$ac_try") 2>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; }; then
29616 ac_header_compiler
=yes
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.
$ac_ext >&5
29621 ac_header_compiler
=no
29624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29625 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29626 echo "${ECHO_T}$ac_header_compiler" >&6; }
29628 # Is the header present?
29629 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
29630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29631 cat >conftest.
$ac_ext <<_ACEOF
29634 cat confdefs.h
>>conftest.
$ac_ext
29635 cat >>conftest.
$ac_ext <<_ACEOF
29636 /* end confdefs.h. */
29637 #include <$ac_header>
29639 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29640 case "(($ac_try" in
29641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29647 grep -v '^ *+' conftest.er1 >conftest.err
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } >/dev/null; then
29652 if test -s conftest.err; then
29653 ac_cpp_err=$ac_c_preproc_warn_flag
29654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29661 if test -z "$ac_cpp_err"; then
29662 ac_header_preproc=yes
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29667 ac_header_preproc=no
29670 rm -f conftest.err conftest.$ac_ext
29671 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29672 echo "${ECHO_T}$ac_header_preproc" >&6; }
29674 # So? What about this header?
29675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29681 ac_header_preproc=yes
29684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29697 ## ----------------------------------- ##
29698 ## Report this to llvmbugs@cs.uiuc.edu ##
29699 ## ----------------------------------- ##
29701 ) | sed "s/^/$as_me: WARNING: /" >&2
29704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 eval "$as_ac_Header=\$ac_header_preproc"
29711 ac_res=`eval echo '${'$as_ac_Header'}'`
29712 { echo "$as_me:$LINENO: result: $ac_res" >&5
29713 echo "${ECHO_T}$ac_res" >&6; }
29716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29717 cat >>confdefs.h <<_ACEOF
29718 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
29736 { echo "$as_me:$LINENO: checking for HUGE_VAL sanity" >&5
29737 echo $ECHO_N "checking for HUGE_VAL sanity... $ECHO_C" >&6; }
29738 if test "${ac_cv_huge_val_sanity+set}" = set; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29749 if test "$cross_compiling" = yes; then
29750 ac_cv_huge_val_sanity=yes
29752 cat >conftest.$ac_ext <<_ACEOF
29755 cat confdefs.h >>conftest.$ac_ext
29756 cat >>conftest.$ac_ext <<_ACEOF
29757 /* end confdefs.h. */
29762 double x = HUGE_VAL; return x != x;
29767 rm -f conftest$ac_exeext
29768 if { (ac_try="$ac_link"
29769 case "(($ac_try" in
29770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29771 *) ac_try_echo
=$ac_try;;
29773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29774 (eval "$ac_link") 2>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29778 { (case "(($ac_try" in
29779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29780 *) ac_try_echo=$ac_try;;
29782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29783 (eval "$ac_try") 2>&5
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }; then
29787 ac_cv_huge_val_sanity=yes
29789 echo "$as_me: program exited with status $ac_status" >&5
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29793 ( exit $ac_status )
29794 ac_cv_huge_val_sanity=no
29796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29801 ac_cpp='$CPP $CPPFLAGS'
29802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29808 { echo "$as_me:$LINENO: result: $ac_cv_huge_val_sanity" >&5
29809 echo "${ECHO_T}$ac_cv_huge_val_sanity" >&6; }
29810 HUGE_VAL_SANITY=$ac_cv_huge_val_sanity
29813 { echo "$as_me:$LINENO: checking for pid_t" >&5
29814 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
29815 if test "${ac_cv_type_pid_t+set}" = set; then
29816 echo $ECHO_N "(cached) $ECHO_C" >&6
29818 cat >conftest.$ac_ext <<_ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 $ac_includes_default
29825 typedef pid_t ac__type_new_;
29829 if ((ac__type_new_ *) 0)
29831 if (sizeof (ac__type_new_))
29837 rm -f conftest.$ac_objext
29838 if { (ac_try="$ac_compile"
29839 case "(($ac_try" in
29840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29841 *) ac_try_echo
=$ac_try;;
29843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29844 (eval "$ac_compile") 2>conftest.er1
29846 grep -v '^ *+' conftest.er1
>conftest.err
29848 cat conftest.err
>&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); } &&
29851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29852 { (case "(($ac_try" in
29853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29854 *) ac_try_echo=$ac_try;;
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_try") 2>&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; } &&
29861 { ac_try='test -s conftest.$ac_objext'
29862 { (case "(($ac_try" in
29863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29864 *) ac_try_echo
=$ac_try;;
29866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29867 (eval "$ac_try") 2>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; }; then
29871 ac_cv_type_pid_t
=yes
29873 echo "$as_me: failed program was:" >&5
29874 sed 's/^/| /' conftest.
$ac_ext >&5
29876 ac_cv_type_pid_t
=no
29879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29881 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29882 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
29883 if test $ac_cv_type_pid_t = yes; then
29887 cat >>confdefs.h
<<_ACEOF
29893 { echo "$as_me:$LINENO: checking for size_t" >&5
29894 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
29895 if test "${ac_cv_type_size_t+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 cat >conftest.
$ac_ext <<_ACEOF
29901 cat confdefs.h
>>conftest.
$ac_ext
29902 cat >>conftest.
$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 $ac_includes_default
29905 typedef size_t ac__type_new_;
29909 if ((ac__type_new_ *) 0)
29911 if (sizeof (ac__type_new_))
29917 rm -f conftest.
$ac_objext
29918 if { (ac_try
="$ac_compile"
29919 case "(($ac_try" in
29920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29921 *) ac_try_echo=$ac_try;;
29923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29924 (eval "$ac_compile") 2>conftest.er1
29926 grep -v '^ *+' conftest.er1 >conftest.err
29928 cat conftest.err >&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29932 { (case "(($ac_try" in
29933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29934 *) ac_try_echo
=$ac_try;;
29936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29937 (eval "$ac_try") 2>&5
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); }; } &&
29941 { ac_try
='test -s conftest.$ac_objext'
29942 { (case "(($ac_try" in
29943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29944 *) ac_try_echo=$ac_try;;
29946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29947 (eval "$ac_try") 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; }; then
29951 ac_cv_type_size_t=yes
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.$ac_ext >&5
29956 ac_cv_type_size_t=no
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29962 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
29963 if test $ac_cv_type_size_t = yes; then
29967 cat >>confdefs.h <<_ACEOF
29968 #define size_t unsigned int
29973 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
29974 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
29975 if test "${ac_cv_type_signal+set}" = set; then
29976 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 cat >conftest.$ac_ext <<_ACEOF
29981 cat confdefs.h >>conftest.$ac_ext
29982 cat >>conftest.$ac_ext <<_ACEOF
29983 /* end confdefs.h. */
29984 #include <sys/types.h>
29985 #include <signal.h>
29990 return *(signal (0, 0)) (0) == 1;
29995 rm -f conftest.$ac_objext
29996 if { (ac_try="$ac_compile"
29997 case "(($ac_try" in
29998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29999 *) ac_try_echo
=$ac_try;;
30001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30002 (eval "$ac_compile") 2>conftest.er1
30004 grep -v '^ *+' conftest.er1
>conftest.err
30006 cat conftest.err
>&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } &&
30009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30010 { (case "(($ac_try" in
30011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30012 *) ac_try_echo=$ac_try;;
30014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30015 (eval "$ac_try") 2>&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; } &&
30019 { ac_try='test -s conftest.$ac_objext'
30020 { (case "(($ac_try" in
30021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30022 *) ac_try_echo
=$ac_try;;
30024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30025 (eval "$ac_try") 2>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 ac_cv_type_signal
=int
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.
$ac_ext >&5
30034 ac_cv_type_signal
=void
30037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30039 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
30040 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
30042 cat >>confdefs.h
<<_ACEOF
30043 #define RETSIGTYPE $ac_cv_type_signal
30047 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
30048 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
30049 if test "${ac_cv_struct_tm+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 cat >conftest.
$ac_ext <<_ACEOF
30055 cat confdefs.h
>>conftest.
$ac_ext
30056 cat >>conftest.
$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30058 #include <sys/types.h>
30064 struct tm *tp; tp->tm_sec;
30069 rm -f conftest.
$ac_objext
30070 if { (ac_try
="$ac_compile"
30071 case "(($ac_try" in
30072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30073 *) ac_try_echo=$ac_try;;
30075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30076 (eval "$ac_compile") 2>conftest.er1
30078 grep -v '^ *+' conftest.er1 >conftest.err
30080 cat conftest.err >&5
30081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082 (exit $ac_status); } &&
30083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30084 { (case "(($ac_try" in
30085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30086 *) ac_try_echo
=$ac_try;;
30088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30089 (eval "$ac_try") 2>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; } &&
30093 { ac_try
='test -s conftest.$ac_objext'
30094 { (case "(($ac_try" in
30095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30096 *) ac_try_echo=$ac_try;;
30098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30099 (eval "$ac_try") 2>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; }; then
30103 ac_cv_struct_tm=time.h
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.$ac_ext >&5
30108 ac_cv_struct_tm=sys/time.h
30111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
30114 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
30115 if test $ac_cv_struct_tm = sys/time.h; then
30117 cat >>confdefs.h <<\_ACEOF
30118 #define TM_IN_SYS_TIME 1
30123 { echo "$as_me:$LINENO: checking for int64_t" >&5
30124 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
30125 if test "${ac_cv_type_int64_t+set}" = set; then
30126 echo $ECHO_N "(cached) $ECHO_C" >&6
30128 cat >conftest.$ac_ext <<_ACEOF
30131 cat confdefs.h >>conftest.$ac_ext
30132 cat >>conftest.$ac_ext <<_ACEOF
30133 /* end confdefs.h. */
30134 $ac_includes_default
30135 typedef int64_t ac__type_new_;
30139 if ((ac__type_new_ *) 0)
30141 if (sizeof (ac__type_new_))
30147 rm -f conftest.$ac_objext
30148 if { (ac_try="$ac_compile"
30149 case "(($ac_try" in
30150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30151 *) ac_try_echo
=$ac_try;;
30153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30154 (eval "$ac_compile") 2>conftest.er1
30156 grep -v '^ *+' conftest.er1
>conftest.err
30158 cat conftest.err
>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30162 { (case "(($ac_try" in
30163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30164 *) ac_try_echo=$ac_try;;
30166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30167 (eval "$ac_try") 2>&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; } &&
30171 { ac_try='test -s conftest.$ac_objext'
30172 { (case "(($ac_try" in
30173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30174 *) ac_try_echo
=$ac_try;;
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_try") 2>&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 ac_cv_type_int64_t
=yes
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.
$ac_ext >&5
30186 ac_cv_type_int64_t
=no
30189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30191 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
30192 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
30193 if test $ac_cv_type_int64_t = yes; then
30195 cat >>confdefs.h
<<_ACEOF
30196 #define HAVE_INT64_T 1
30201 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
30202 echo "$as_me: error: Type int64_t required but not found" >&2;}
30203 { (exit 1); exit 1; }; }
30206 { echo "$as_me:$LINENO: checking for uint64_t" >&5
30207 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
30208 if test "${ac_cv_type_uint64_t+set}" = set; then
30209 echo $ECHO_N "(cached) $ECHO_C" >&6
30211 cat >conftest.
$ac_ext <<_ACEOF
30214 cat confdefs.h
>>conftest.
$ac_ext
30215 cat >>conftest.
$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217 $ac_includes_default
30218 typedef uint64_t ac__type_new_;
30222 if ((ac__type_new_ *) 0)
30224 if (sizeof (ac__type_new_))
30230 rm -f conftest.
$ac_objext
30231 if { (ac_try
="$ac_compile"
30232 case "(($ac_try" in
30233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30234 *) ac_try_echo=$ac_try;;
30236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30237 (eval "$ac_compile") 2>conftest.er1
30239 grep -v '^ *+' conftest.er1 >conftest.err
30241 cat conftest.err >&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); } &&
30244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30245 { (case "(($ac_try" in
30246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30247 *) ac_try_echo
=$ac_try;;
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_try") 2>&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; } &&
30254 { ac_try
='test -s conftest.$ac_objext'
30255 { (case "(($ac_try" in
30256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30257 *) ac_try_echo=$ac_try;;
30259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30260 (eval "$ac_try") 2>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_type_uint64_t=yes
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30269 ac_cv_type_uint64_t=no
30272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30274 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
30275 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
30276 if test $ac_cv_type_uint64_t = yes; then
30278 cat >>confdefs.h <<_ACEOF
30279 #define HAVE_UINT64_T 1
30284 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
30285 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
30286 if test "${ac_cv_type_u_int64_t+set}" = set; then
30287 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 cat >conftest.$ac_ext <<_ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30295 $ac_includes_default
30296 typedef u_int64_t ac__type_new_;
30300 if ((ac__type_new_ *) 0)
30302 if (sizeof (ac__type_new_))
30308 rm -f conftest.$ac_objext
30309 if { (ac_try="$ac_compile"
30310 case "(($ac_try" in
30311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30312 *) ac_try_echo
=$ac_try;;
30314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30315 (eval "$ac_compile") 2>conftest.er1
30317 grep -v '^ *+' conftest.er1
>conftest.err
30319 cat conftest.err
>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30323 { (case "(($ac_try" in
30324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30325 *) ac_try_echo=$ac_try;;
30327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30328 (eval "$ac_try") 2>&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; } &&
30332 { ac_try='test -s conftest.$ac_objext'
30333 { (case "(($ac_try" in
30334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30335 *) ac_try_echo
=$ac_try;;
30337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30338 (eval "$ac_try") 2>&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; }; then
30342 ac_cv_type_u_int64_t
=yes
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.
$ac_ext >&5
30347 ac_cv_type_u_int64_t
=no
30350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30352 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
30353 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
30354 if test $ac_cv_type_u_int64_t = yes; then
30356 cat >>confdefs.h
<<_ACEOF
30357 #define HAVE_U_INT64_T 1
30362 { { echo "$as_me:$LINENO: error: Type uint64_t or u_int64_t required but not found" >&5
30363 echo "$as_me: error: Type uint64_t or u_int64_t required but not found" >&2;}
30364 { (exit 1); exit 1; }; }
30378 for ac_func
in backtrace ceilf floorf roundf rintf nearbyintf getcwd
30380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30383 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30384 echo $ECHO_N "(cached) $ECHO_C" >&6
30386 cat >conftest.
$ac_ext <<_ACEOF
30389 cat confdefs.h
>>conftest.
$ac_ext
30390 cat >>conftest.
$ac_ext <<_ACEOF
30391 /* end confdefs.h. */
30392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30394 #define $ac_func innocuous_$ac_func
30396 /* System header to define __stub macros and hopefully few prototypes,
30397 which can conflict with char $ac_func (); below.
30398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30399 <limits.h> exists even on freestanding compilers. */
30402 # include <limits.h>
30404 # include <assert.h>
30409 /* Override any GCC internal prototype to avoid an error.
30410 Use char because int might match the return type of a GCC
30411 builtin and then its argument prototype would still apply. */
30416 /* The GNU C library defines this for functions which it implements
30417 to always fail with ENOSYS. Some functions are actually named
30418 something starting with __ and the normal name is an alias. */
30419 #if defined __stub_$ac_func || defined __stub___$ac_func
30426 return $ac_func ();
30431 rm -f conftest.
$ac_objext conftest
$ac_exeext
30432 if { (ac_try
="$ac_link"
30433 case "(($ac_try" in
30434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30435 *) ac_try_echo=$ac_try;;
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_link") 2>conftest.er1
30440 grep -v '^ *+' conftest.er1 >conftest.err
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30446 { (case "(($ac_try" in
30447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30448 *) ac_try_echo
=$ac_try;;
30450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30451 (eval "$ac_try") 2>&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); }; } &&
30455 { ac_try
='test -s conftest$ac_exeext'
30456 { (case "(($ac_try" in
30457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30458 *) ac_try_echo=$ac_try;;
30460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30461 (eval "$ac_try") 2>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30465 eval "$as_ac_var=yes"
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.$ac_ext >&5
30470 eval "$as_ac_var=no"
30473 rm -f core conftest.err conftest.$ac_objext \
30474 conftest$ac_exeext conftest.$ac_ext
30476 ac_res=`eval echo '${'$as_ac_var'}'`
30477 { echo "$as_me:$LINENO: result: $ac_res" >&5
30478 echo "${ECHO_T}$ac_res" >&6; }
30479 if test `eval echo '${'$as_ac_var'}'` = yes; then
30480 cat >>confdefs.h <<_ACEOF
30481 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30491 for ac_func in powf fmodf strtof round
30493 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30497 echo $ECHO_N "(cached) $ECHO_C" >&6
30499 cat >conftest.$ac_ext <<_ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30507 #define $ac_func innocuous_$ac_func
30509 /* System header to define __stub macros and hopefully few prototypes,
30510 which can conflict with char $ac_func (); below.
30511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30512 <limits.h> exists even on freestanding compilers. */
30515 # include <limits.h>
30517 # include <assert.h>
30522 /* Override any GCC internal prototype to avoid an error.
30523 Use char because int might match the return type of a GCC
30524 builtin and then its argument prototype would still apply. */
30529 /* The GNU C library defines this for functions which it implements
30530 to always fail with ENOSYS. Some functions are actually named
30531 something starting with __ and the normal name is an alias. */
30532 #if defined __stub_$ac_func || defined __stub___$ac_func
30539 return $ac_func ();
30544 rm -f conftest.$ac_objext conftest$ac_exeext
30545 if { (ac_try="$ac_link"
30546 case "(($ac_try" in
30547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30548 *) ac_try_echo
=$ac_try;;
30550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30551 (eval "$ac_link") 2>conftest.er1
30553 grep -v '^ *+' conftest.er1
>conftest.err
30555 cat conftest.err
>&5
30556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30557 (exit $ac_status); } &&
30558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30559 { (case "(($ac_try" in
30560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_try") 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; } &&
30568 { ac_try='test -s conftest$ac_exeext'
30569 { (case "(($ac_try" in
30570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30571 *) ac_try_echo
=$ac_try;;
30573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30574 (eval "$ac_try") 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; }; then
30578 eval "$as_ac_var=yes"
30580 echo "$as_me: failed program was:" >&5
30581 sed 's/^/| /' conftest.
$ac_ext >&5
30583 eval "$as_ac_var=no"
30586 rm -f core conftest.err conftest.
$ac_objext \
30587 conftest
$ac_exeext conftest.
$ac_ext
30589 ac_res
=`eval echo '${'$as_ac_var'}'`
30590 { echo "$as_me:$LINENO: result: $ac_res" >&5
30591 echo "${ECHO_T}$ac_res" >&6; }
30592 if test `eval echo '${'$as_ac_var'}'` = yes; then
30593 cat >>confdefs.h
<<_ACEOF
30594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30605 for ac_func
in getpagesize getrusage getrlimit setrlimit gettimeofday
30607 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30608 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30610 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 cat >conftest.
$ac_ext <<_ACEOF
30616 cat confdefs.h
>>conftest.
$ac_ext
30617 cat >>conftest.
$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30621 #define $ac_func innocuous_$ac_func
30623 /* System header to define __stub macros and hopefully few prototypes,
30624 which can conflict with char $ac_func (); below.
30625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30626 <limits.h> exists even on freestanding compilers. */
30629 # include <limits.h>
30631 # include <assert.h>
30636 /* Override any GCC internal prototype to avoid an error.
30637 Use char because int might match the return type of a GCC
30638 builtin and then its argument prototype would still apply. */
30643 /* The GNU C library defines this for functions which it implements
30644 to always fail with ENOSYS. Some functions are actually named
30645 something starting with __ and the normal name is an alias. */
30646 #if defined __stub_$ac_func || defined __stub___$ac_func
30653 return $ac_func ();
30658 rm -f conftest.
$ac_objext conftest
$ac_exeext
30659 if { (ac_try
="$ac_link"
30660 case "(($ac_try" in
30661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30662 *) ac_try_echo=$ac_try;;
30664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30665 (eval "$ac_link") 2>conftest.er1
30667 grep -v '^ *+' conftest.er1 >conftest.err
30669 cat conftest.err >&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } &&
30672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30673 { (case "(($ac_try" in
30674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30675 *) ac_try_echo
=$ac_try;;
30677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30678 (eval "$ac_try") 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; } &&
30682 { ac_try
='test -s conftest$ac_exeext'
30683 { (case "(($ac_try" in
30684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30685 *) ac_try_echo=$ac_try;;
30687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30688 (eval "$ac_try") 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30692 eval "$as_ac_var=yes"
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.$ac_ext >&5
30697 eval "$as_ac_var=no"
30700 rm -f core conftest.err conftest.$ac_objext \
30701 conftest$ac_exeext conftest.$ac_ext
30703 ac_res=`eval echo '${'$as_ac_var'}'`
30704 { echo "$as_me:$LINENO: result: $ac_res" >&5
30705 echo "${ECHO_T}$ac_res" >&6; }
30706 if test `eval echo '${'$as_ac_var'}'` = yes; then
30707 cat >>confdefs.h <<_ACEOF
30708 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30717 for ac_func in isatty mkdtemp mkstemp
30719 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30720 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30722 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 cat >conftest.$ac_ext <<_ACEOF
30728 cat confdefs.h >>conftest.$ac_ext
30729 cat >>conftest.$ac_ext <<_ACEOF
30730 /* end confdefs.h. */
30731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30733 #define $ac_func innocuous_$ac_func
30735 /* System header to define __stub macros and hopefully few prototypes,
30736 which can conflict with char $ac_func (); below.
30737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30738 <limits.h> exists even on freestanding compilers. */
30741 # include <limits.h>
30743 # include <assert.h>
30748 /* Override any GCC internal prototype to avoid an error.
30749 Use char because int might match the return type of a GCC
30750 builtin and then its argument prototype would still apply. */
30755 /* The GNU C library defines this for functions which it implements
30756 to always fail with ENOSYS. Some functions are actually named
30757 something starting with __ and the normal name is an alias. */
30758 #if defined __stub_$ac_func || defined __stub___$ac_func
30765 return $ac_func ();
30770 rm -f conftest.$ac_objext conftest$ac_exeext
30771 if { (ac_try="$ac_link"
30772 case "(($ac_try" in
30773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30774 *) ac_try_echo
=$ac_try;;
30776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30777 (eval "$ac_link") 2>conftest.er1
30779 grep -v '^ *+' conftest.er1
>conftest.err
30781 cat conftest.err
>&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } &&
30784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30785 { (case "(($ac_try" in
30786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30787 *) ac_try_echo=$ac_try;;
30789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30790 (eval "$ac_try") 2>&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); }; } &&
30794 { ac_try='test -s conftest$ac_exeext'
30795 { (case "(($ac_try" in
30796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30797 *) ac_try_echo
=$ac_try;;
30799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30800 (eval "$ac_try") 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 eval "$as_ac_var=yes"
30806 echo "$as_me: failed program was:" >&5
30807 sed 's/^/| /' conftest.
$ac_ext >&5
30809 eval "$as_ac_var=no"
30812 rm -f core conftest.err conftest.
$ac_objext \
30813 conftest
$ac_exeext conftest.
$ac_ext
30815 ac_res
=`eval echo '${'$as_ac_var'}'`
30816 { echo "$as_me:$LINENO: result: $ac_res" >&5
30817 echo "${ECHO_T}$ac_res" >&6; }
30818 if test `eval echo '${'$as_ac_var'}'` = yes; then
30819 cat >>confdefs.h
<<_ACEOF
30820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30833 for ac_func
in mktemp realpath sbrk setrlimit strdup strerror strerror_r
30835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30838 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30839 echo $ECHO_N "(cached) $ECHO_C" >&6
30841 cat >conftest.
$ac_ext <<_ACEOF
30844 cat confdefs.h
>>conftest.
$ac_ext
30845 cat >>conftest.
$ac_ext <<_ACEOF
30846 /* end confdefs.h. */
30847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30849 #define $ac_func innocuous_$ac_func
30851 /* System header to define __stub macros and hopefully few prototypes,
30852 which can conflict with char $ac_func (); below.
30853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30854 <limits.h> exists even on freestanding compilers. */
30857 # include <limits.h>
30859 # include <assert.h>
30864 /* Override any GCC internal prototype to avoid an error.
30865 Use char because int might match the return type of a GCC
30866 builtin and then its argument prototype would still apply. */
30871 /* The GNU C library defines this for functions which it implements
30872 to always fail with ENOSYS. Some functions are actually named
30873 something starting with __ and the normal name is an alias. */
30874 #if defined __stub_$ac_func || defined __stub___$ac_func
30881 return $ac_func ();
30886 rm -f conftest.
$ac_objext conftest
$ac_exeext
30887 if { (ac_try
="$ac_link"
30888 case "(($ac_try" in
30889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30890 *) ac_try_echo=$ac_try;;
30892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30893 (eval "$ac_link") 2>conftest.er1
30895 grep -v '^ *+' conftest.er1 >conftest.err
30897 cat conftest.err >&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); } &&
30900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30901 { (case "(($ac_try" in
30902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30903 *) ac_try_echo
=$ac_try;;
30905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30906 (eval "$ac_try") 2>&5
30908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909 (exit $ac_status); }; } &&
30910 { ac_try
='test -s conftest$ac_exeext'
30911 { (case "(($ac_try" in
30912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_try") 2>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); }; }; then
30920 eval "$as_ac_var=yes"
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.$ac_ext >&5
30925 eval "$as_ac_var=no"
30928 rm -f core conftest.err conftest.$ac_objext \
30929 conftest$ac_exeext conftest.$ac_ext
30931 ac_res=`eval echo '${'$as_ac_var'}'`
30932 { echo "$as_me:$LINENO: result: $ac_res" >&5
30933 echo "${ECHO_T}$ac_res" >&6; }
30934 if test `eval echo '${'$as_ac_var'}'` = yes; then
30935 cat >>confdefs.h <<_ACEOF
30936 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30946 for ac_func in strtoll strtoq sysconf malloc_zone_statistics
30948 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
30949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30952 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 cat >conftest.$ac_ext <<_ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30962 #define $ac_func innocuous_$ac_func
30964 /* System header to define __stub macros and hopefully few prototypes,
30965 which can conflict with char $ac_func (); below.
30966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30967 <limits.h> exists even on freestanding compilers. */
30970 # include <limits.h>
30972 # include <assert.h>
30977 /* Override any GCC internal prototype to avoid an error.
30978 Use char because int might match the return type of a GCC
30979 builtin and then its argument prototype would still apply. */
30984 /* The GNU C library defines this for functions which it implements
30985 to always fail with ENOSYS. Some functions are actually named
30986 something starting with __ and the normal name is an alias. */
30987 #if defined __stub_$ac_func || defined __stub___$ac_func
30994 return $ac_func ();
30999 rm -f conftest.$ac_objext conftest$ac_exeext
31000 if { (ac_try="$ac_link"
31001 case "(($ac_try" in
31002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31003 *) ac_try_echo
=$ac_try;;
31005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31006 (eval "$ac_link") 2>conftest.er1
31008 grep -v '^ *+' conftest.er1
>conftest.err
31010 cat conftest.err
>&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } &&
31013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31014 { (case "(($ac_try" in
31015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31016 *) ac_try_echo=$ac_try;;
31018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31019 (eval "$ac_try") 2>&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; } &&
31023 { ac_try='test -s conftest$ac_exeext'
31024 { (case "(($ac_try" in
31025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31026 *) ac_try_echo
=$ac_try;;
31028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31029 (eval "$ac_try") 2>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; }; then
31033 eval "$as_ac_var=yes"
31035 echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.
$ac_ext >&5
31038 eval "$as_ac_var=no"
31041 rm -f core conftest.err conftest.
$ac_objext \
31042 conftest
$ac_exeext conftest.
$ac_ext
31044 ac_res
=`eval echo '${'$as_ac_var'}'`
31045 { echo "$as_me:$LINENO: result: $ac_res" >&5
31046 echo "${ECHO_T}$ac_res" >&6; }
31047 if test `eval echo '${'$as_ac_var'}'` = yes; then
31048 cat >>confdefs.h
<<_ACEOF
31049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31059 for ac_func
in setjmp longjmp sigsetjmp siglongjmp
31061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31062 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31064 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 cat >conftest.
$ac_ext <<_ACEOF
31070 cat confdefs.h
>>conftest.
$ac_ext
31071 cat >>conftest.
$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31075 #define $ac_func innocuous_$ac_func
31077 /* System header to define __stub macros and hopefully few prototypes,
31078 which can conflict with char $ac_func (); below.
31079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31080 <limits.h> exists even on freestanding compilers. */
31083 # include <limits.h>
31085 # include <assert.h>
31090 /* Override any GCC internal prototype to avoid an error.
31091 Use char because int might match the return type of a GCC
31092 builtin and then its argument prototype would still apply. */
31097 /* The GNU C library defines this for functions which it implements
31098 to always fail with ENOSYS. Some functions are actually named
31099 something starting with __ and the normal name is an alias. */
31100 #if defined __stub_$ac_func || defined __stub___$ac_func
31107 return $ac_func ();
31112 rm -f conftest.
$ac_objext conftest
$ac_exeext
31113 if { (ac_try
="$ac_link"
31114 case "(($ac_try" in
31115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31116 *) ac_try_echo=$ac_try;;
31118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31119 (eval "$ac_link") 2>conftest.er1
31121 grep -v '^ *+' conftest.er1 >conftest.err
31123 cat conftest.err >&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); } &&
31126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31127 { (case "(($ac_try" in
31128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31129 *) ac_try_echo
=$ac_try;;
31131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31132 (eval "$ac_try") 2>&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); }; } &&
31136 { ac_try
='test -s conftest$ac_exeext'
31137 { (case "(($ac_try" in
31138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31139 *) ac_try_echo=$ac_try;;
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_try") 2>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; }; then
31146 eval "$as_ac_var=yes"
31148 echo "$as_me: failed program was:" >&5
31149 sed 's/^/| /' conftest.$ac_ext >&5
31151 eval "$as_ac_var=no"
31154 rm -f core conftest.err conftest.$ac_objext \
31155 conftest$ac_exeext conftest.$ac_ext
31157 ac_res=`eval echo '${'$as_ac_var'}'`
31158 { echo "$as_me:$LINENO: result: $ac_res" >&5
31159 echo "${ECHO_T}$ac_res" >&6; }
31160 if test `eval echo '${'$as_ac_var'}'` = yes; then
31161 cat >>confdefs.h <<_ACEOF
31162 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
31168 { echo "$as_me:$LINENO: checking if printf has the %a format character" >&5
31169 echo $ECHO_N "checking if printf has the %a format character... $ECHO_C" >&6; }
31170 if test "${llvm_cv_c_printf_a+set}" = set; then
31171 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 ac_cpp='$CPP $CPPFLAGS'
31175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179 if test "$cross_compiling" = yes; then
31180 llvmac_cv_c_printf_a=no
31182 cat >conftest.$ac_ext <<_ACEOF
31186 cat confdefs.h >>conftest.$ac_ext
31187 cat >>conftest.$ac_ext <<_ACEOF
31188 /* end confdefs.h. */
31191 #include <stdlib.h>
31197 volatile double A, B;
31201 sprintf(Buffer, "%a", A);
31205 if (A != 0x1.999999999999ap-4)
31212 rm -f conftest$ac_exeext
31213 if { (ac_try="$ac_link"
31214 case "(($ac_try" in
31215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31216 *) ac_try_echo
=$ac_try;;
31218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31219 (eval "$ac_link") 2>&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31223 { (case "(($ac_try" in
31224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31225 *) ac_try_echo=$ac_try;;
31227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31228 (eval "$ac_try") 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; }; then
31232 llvm_cv_c_printf_a=yes
31234 echo "$as_me: program exited with status $ac_status" >&5
31235 echo "$as_me: failed program was:" >&5
31236 sed 's/^/| /' conftest.$ac_ext >&5
31238 ( exit $ac_status )
31239 llvmac_cv_c_printf_a=no
31241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31246 ac_cpp='$CPP $CPPFLAGS'
31247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31252 { echo "$as_me:$LINENO: result: $llvm_cv_c_printf_a" >&5
31253 echo "${ECHO_T}$llvm_cv_c_printf_a" >&6; }
31254 if test "$llvm_cv_c_printf_a" = "yes"; then
31256 cat >>confdefs.h <<\_ACEOF
31257 #define HAVE_PRINTF_A 1
31262 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
31263 # for constant arguments. Useless!
31264 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
31265 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
31266 if test "${ac_cv_working_alloca_h+set}" = set; then
31267 echo $ECHO_N "(cached) $ECHO_C" >&6
31269 cat >conftest.$ac_ext <<_ACEOF
31272 cat confdefs.h >>conftest.$ac_ext
31273 cat >>conftest.$ac_ext <<_ACEOF
31274 /* end confdefs.h. */
31275 #include <alloca.h>
31279 char *p = (char *) alloca (2 * sizeof (int));
31285 rm -f conftest.$ac_objext conftest$ac_exeext
31286 if { (ac_try="$ac_link"
31287 case "(($ac_try" in
31288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31289 *) ac_try_echo
=$ac_try;;
31291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31292 (eval "$ac_link") 2>conftest.er1
31294 grep -v '^ *+' conftest.er1
>conftest.err
31296 cat conftest.err
>&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31300 { (case "(($ac_try" in
31301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31302 *) ac_try_echo=$ac_try;;
31304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31305 (eval "$ac_try") 2>&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); }; } &&
31309 { ac_try='test -s conftest$ac_exeext'
31310 { (case "(($ac_try" in
31311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31312 *) ac_try_echo
=$ac_try;;
31314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31315 (eval "$ac_try") 2>&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); }; }; then
31319 ac_cv_working_alloca_h
=yes
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.
$ac_ext >&5
31324 ac_cv_working_alloca_h
=no
31327 rm -f core conftest.err conftest.
$ac_objext \
31328 conftest
$ac_exeext conftest.
$ac_ext
31330 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
31331 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
31332 if test $ac_cv_working_alloca_h = yes; then
31334 cat >>confdefs.h
<<\_ACEOF
31335 #define HAVE_ALLOCA_H 1
31340 { echo "$as_me:$LINENO: checking for alloca" >&5
31341 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
31342 if test "${ac_cv_func_alloca_works+set}" = set; then
31343 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 cat >conftest.
$ac_ext <<_ACEOF
31348 cat confdefs.h
>>conftest.
$ac_ext
31349 cat >>conftest.
$ac_ext <<_ACEOF
31350 /* end confdefs.h. */
31352 # define alloca __builtin_alloca
31355 # include <malloc.h>
31356 # define alloca _alloca
31359 # include <alloca.h>
31364 # ifndef alloca /* predefined by HP cc +Olibcalls */
31375 char *p = (char *) alloca (1);
31381 rm -f conftest.
$ac_objext conftest
$ac_exeext
31382 if { (ac_try
="$ac_link"
31383 case "(($ac_try" in
31384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31385 *) ac_try_echo=$ac_try;;
31387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31388 (eval "$ac_link") 2>conftest.er1
31390 grep -v '^ *+' conftest.er1 >conftest.err
31392 cat conftest.err >&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); } &&
31395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31396 { (case "(($ac_try" in
31397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31398 *) ac_try_echo
=$ac_try;;
31400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31401 (eval "$ac_try") 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; } &&
31405 { ac_try
='test -s conftest$ac_exeext'
31406 { (case "(($ac_try" in
31407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31408 *) ac_try_echo=$ac_try;;
31410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31411 (eval "$ac_try") 2>&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; }; then
31415 ac_cv_func_alloca_works=yes
31417 echo "$as_me: failed program was:" >&5
31418 sed 's/^/| /' conftest.$ac_ext >&5
31420 ac_cv_func_alloca_works=no
31423 rm -f core conftest.err conftest.$ac_objext \
31424 conftest$ac_exeext conftest.$ac_ext
31426 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
31427 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
31429 if test $ac_cv_func_alloca_works = yes; then
31431 cat >>confdefs.h <<\_ACEOF
31432 #define HAVE_ALLOCA 1
31436 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
31437 # that cause trouble. Some versions do not even contain alloca or
31438 # contain a buggy version. If you still want to use their alloca,
31439 # use ar to extract alloca.o from them instead of compiling alloca.c.
31441 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
31443 cat >>confdefs.h <<\_ACEOF
31448 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
31449 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
31450 if test "${ac_cv_os_cray+set}" = set; then
31451 echo $ECHO_N "(cached
) $ECHO_C" >&6
31453 cat >conftest.$ac_ext <<_ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459 #if defined CRAY && ! defined CRAY2
31466 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
31467 $EGREP "webecray
" >/dev/null 2>&1; then
31475 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
31476 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
31477 if test $ac_cv_os_cray = yes; then
31478 for ac_func in _getb67 GETB67 getb67; do
31479 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
31480 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
31481 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
31482 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
31483 echo $ECHO_N "(cached
) $ECHO_C" >&6
31485 cat >conftest.$ac_ext <<_ACEOF
31488 cat confdefs.h >>conftest.$ac_ext
31489 cat >>conftest.$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31493 #define $ac_func innocuous_$ac_func
31495 /* System header to define __stub macros and hopefully few prototypes,
31496 which can conflict with char $ac_func (); below.
31497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31498 <limits.h> exists even on freestanding compilers. */
31501 # include <limits.h>
31503 # include <assert.h>
31508 /* Override any GCC internal prototype to avoid an error.
31509 Use char because int might match the return type of a GCC
31510 builtin and then its argument prototype would still apply. */
31515 /* The GNU C library defines this for functions which it implements
31516 to always fail with ENOSYS. Some functions are actually named
31517 something starting with __ and the normal name is an alias. */
31518 #if defined __stub_$ac_func || defined __stub___$ac_func
31525 return $ac_func ();
31530 rm -f conftest.$ac_objext conftest$ac_exeext
31531 if { (ac_try="$ac_link"
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_link") 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_c_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_exeext'
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 eval "$as_ac_var=yes"
31566 echo "$as_me: failed program was
:" >&5
31567 sed 's/^/| /' conftest.$ac_ext >&5
31569 eval "$as_ac_var=no
"
31572 rm -f core conftest.err conftest.$ac_objext \
31573 conftest$ac_exeext conftest.$ac_ext
31575 ac_res=`eval echo '${'$as_ac_var'}'`
31576 { echo "$as_me:$LINENO: result
: $ac_res" >&5
31577 echo "${ECHO_T}$ac_res" >&6; }
31578 if test `eval echo '${'$as_ac_var'}'` = yes; then
31580 cat >>confdefs.h <<_ACEOF
31581 #define CRAY_STACKSEG_END $ac_func
31590 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
31591 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
31592 if test "${ac_cv_c_stack_direction+set}" = set; then
31593 echo $ECHO_N "(cached
) $ECHO_C" >&6
31595 if test "$cross_compiling" = yes; then
31596 ac_cv_c_stack_direction=0
31598 cat >conftest.$ac_ext <<_ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604 $ac_includes_default
31606 find_stack_direction ()
31608 static char *addr = 0;
31613 return find_stack_direction ();
31616 return (&dummy > addr) ? 1 : -1;
31622 return find_stack_direction () < 0;
31625 rm -f conftest$ac_exeext
31626 if { (ac_try="$ac_link"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_link") 2>&5
31634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31636 { (case "(($ac_try" in
31637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31638 *) ac_try_echo=$ac_try;;
31640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31641 (eval "$ac_try") 2>&5
31643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31644 (exit $ac_status); }; }; then
31645 ac_cv_c_stack_direction=1
31647 echo "$as_me: program exited with status
$ac_status" >&5
31648 echo "$as_me: failed program was
:" >&5
31649 sed 's/^/| /' conftest.$ac_ext >&5
31651 ( exit $ac_status )
31652 ac_cv_c_stack_direction=-1
31654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31659 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
31660 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
31662 cat >>confdefs.h <<_ACEOF
31663 #define STACK_DIRECTION $ac_cv_c_stack_direction
31670 { echo "$as_me:$LINENO: checking
for srand48
/lrand48
/drand48
in <stdlib.h
>" >&5
31671 echo $ECHO_N "checking
for srand48
/lrand48
/drand48
in <stdlib.h
>...
$ECHO_C" >&6; }
31672 if test "${ac_cv_func_rand48+set}" = set; then
31673 echo $ECHO_N "(cached
) $ECHO_C" >&6
31676 ac_cpp='$CXXCPP $CPPFLAGS'
31677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31681 cat >conftest.$ac_ext <<_ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31687 #include <stdlib.h>
31691 srand48(0);lrand48();drand48();
31696 rm -f conftest.$ac_objext
31697 if { (ac_try="$ac_compile"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_compile") 2>conftest.er1
31705 grep -v '^ *+' conftest.er1 >conftest.err
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31709 (exit $ac_status); } &&
31710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31711 { (case "(($ac_try" in
31712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31713 *) ac_try_echo=$ac_try;;
31715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31716 (eval "$ac_try") 2>&5
31718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31719 (exit $ac_status); }; } &&
31720 { ac_try='test -s conftest.$ac_objext'
31721 { (case "(($ac_try" in
31722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31723 *) ac_try_echo=$ac_try;;
31725 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31726 (eval "$ac_try") 2>&5
31728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31729 (exit $ac_status); }; }; then
31730 ac_cv_func_rand48=yes
31732 echo "$as_me: failed program was
:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31735 ac_cv_func_rand48=no
31738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740 ac_cpp='$CPP $CPPFLAGS'
31741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31746 { echo "$as_me:$LINENO: result
: $ac_cv_func_rand48" >&5
31747 echo "${ECHO_T}$ac_cv_func_rand48" >&6; }
31749 if test "$ac_cv_func_rand48" = "yes" ; then
31751 cat >>confdefs.h <<\_ACEOF
31752 #define HAVE_RAND48 1
31758 { echo "$as_me:$LINENO: checking whether the compiler implements namespaces
" >&5
31759 echo $ECHO_N "checking whether the compiler implements namespaces...
$ECHO_C" >&6; }
31760 if test "${ac_cv_cxx_namespaces+set}" = set; then
31761 echo $ECHO_N "(cached
) $ECHO_C" >&6
31764 ac_cpp='$CXXCPP $CPPFLAGS'
31765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31769 cat >conftest.$ac_ext <<_ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h. */
31775 namespace Outer { namespace Inner { int i = 0; }}
31779 using namespace Outer::Inner; return i;
31784 rm -f conftest.$ac_objext
31785 if { (ac_try="$ac_compile"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_compile") 2>conftest.er1
31793 grep -v '^ *+' conftest.er1 >conftest.err
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31797 (exit $ac_status); } &&
31798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31799 { (case "(($ac_try" in
31800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31801 *) ac_try_echo=$ac_try;;
31803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31804 (eval "$ac_try") 2>&5
31806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31807 (exit $ac_status); }; } &&
31808 { ac_try='test -s conftest.$ac_objext'
31809 { (case "(($ac_try" in
31810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31811 *) ac_try_echo=$ac_try;;
31813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31814 (eval "$ac_try") 2>&5
31816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31817 (exit $ac_status); }; }; then
31818 ac_cv_cxx_namespaces=yes
31820 echo "$as_me: failed program was
:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31823 ac_cv_cxx_namespaces=no
31826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31828 ac_cpp='$CPP $CPPFLAGS'
31829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31835 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_namespaces" >&5
31836 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; }
31837 if test "$ac_cv_cxx_namespaces" = yes; then
31839 cat >>confdefs.h <<\_ACEOF
31840 #define HAVE_NAMESPACES
31845 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_map
> defining template class std
::hash_map
" >&5
31846 echo $ECHO_N "checking whether the compiler has
<ext
/hash_map
> defining template class std
::hash_map...
$ECHO_C" >&6; }
31847 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
31848 echo $ECHO_N "(cached
) $ECHO_C" >&6
31852 ac_cpp='$CXXCPP $CPPFLAGS'
31853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31857 cat >conftest.$ac_ext <<_ACEOF
31860 cat confdefs.h >>conftest.$ac_ext
31861 cat >>conftest.$ac_ext <<_ACEOF
31862 /* end confdefs.h. */
31863 #include <ext/hash_map>
31864 #ifdef HAVE_NAMESPACES
31865 using namespace std;
31870 hash_map<int, int> t;
31875 rm -f conftest.$ac_objext
31876 if { (ac_try="$ac_compile"
31877 case "(($ac_try" in
31878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_compile") 2>conftest.er1
31884 grep -v '^ *+' conftest.er1 >conftest.err
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31888 (exit $ac_status); } &&
31889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31890 { (case "(($ac_try" in
31891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31892 *) ac_try_echo=$ac_try;;
31894 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31895 (eval "$ac_try") 2>&5
31897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31898 (exit $ac_status); }; } &&
31899 { ac_try='test -s conftest.$ac_objext'
31900 { (case "(($ac_try" in
31901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31902 *) ac_try_echo=$ac_try;;
31904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31905 (eval "$ac_try") 2>&5
31907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31908 (exit $ac_status); }; }; then
31909 ac_cv_cxx_have_std_ext_hash_map=yes
31911 echo "$as_me: failed program was
:" >&5
31912 sed 's/^/| /' conftest.$ac_ext >&5
31914 ac_cv_cxx_have_std_ext_hash_map=no
31917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31919 ac_cpp='$CPP $CPPFLAGS'
31920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31925 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_std_ext_hash_map" >&5
31926 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6; }
31927 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes
31930 cat >>confdefs.h <<\_ACEOF
31931 #define HAVE_STD_EXT_HASH_MAP 1
31936 cat >>confdefs.h <<\_ACEOF
31937 #define HAVE_STD_EXT_HASH_MAP 0
31942 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_map
> defining template class __gnu_cxx
::hash_map
" >&5
31943 echo $ECHO_N "checking whether the compiler has
<ext
/hash_map
> defining template class __gnu_cxx
::hash_map...
$ECHO_C" >&6; }
31944 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
31945 echo $ECHO_N "(cached
) $ECHO_C" >&6
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954 cat >conftest.$ac_ext <<_ACEOF
31957 cat confdefs.h >>conftest.$ac_ext
31958 cat >>conftest.$ac_ext <<_ACEOF
31959 /* end confdefs.h. */
31960 #include <ext/hash_map>
31961 #ifdef HAVE_NAMESPACES
31962 using namespace __gnu_cxx;
31967 hash_map<int,int> t;
31972 rm -f conftest.$ac_objext
31973 if { (ac_try="$ac_compile"
31974 case "(($ac_try" in
31975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31976 *) ac_try_echo=$ac_try;;
31978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31979 (eval "$ac_compile") 2>conftest.er1
31981 grep -v '^ *+' conftest.er1 >conftest.err
31983 cat conftest.err >&5
31984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31985 (exit $ac_status); } &&
31986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31987 { (case "(($ac_try" in
31988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31989 *) ac_try_echo=$ac_try;;
31991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31992 (eval "$ac_try") 2>&5
31994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31995 (exit $ac_status); }; } &&
31996 { ac_try='test -s conftest.$ac_objext'
31997 { (case "(($ac_try" in
31998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999 *) ac_try_echo=$ac_try;;
32001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_try") 2>&5
32004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32005 (exit $ac_status); }; }; then
32006 ac_cv_cxx_have_gnu_ext_hash_map=yes
32008 echo "$as_me: failed program was
:" >&5
32009 sed 's/^/| /' conftest.$ac_ext >&5
32011 ac_cv_cxx_have_gnu_ext_hash_map=no
32014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32016 ac_cpp='$CPP $CPPFLAGS'
32017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32022 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
32023 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6; }
32024 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes
32027 cat >>confdefs.h <<\_ACEOF
32028 #define HAVE_GNU_EXT_HASH_MAP 1
32033 cat >>confdefs.h <<\_ACEOF
32034 #define HAVE_GNU_EXT_HASH_MAP 0
32039 { echo "$as_me:$LINENO: checking whether the compiler has
<hash_map
> defining template class
::hash_map
" >&5
32040 echo $ECHO_N "checking whether the compiler has
<hash_map
> defining template class
::hash_map...
$ECHO_C" >&6; }
32041 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
32042 echo $ECHO_N "(cached
) $ECHO_C" >&6
32046 ac_cpp='$CXXCPP $CPPFLAGS'
32047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32051 cat >conftest.$ac_ext <<_ACEOF
32054 cat confdefs.h >>conftest.$ac_ext
32055 cat >>conftest.$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 #include <hash_map>
32061 hash_map<int,int> t;
32066 rm -f conftest.$ac_objext
32067 if { (ac_try="$ac_compile"
32068 case "(($ac_try" in
32069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32070 *) ac_try_echo=$ac_try;;
32072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32073 (eval "$ac_compile") 2>conftest.er1
32075 grep -v '^ *+' conftest.er1 >conftest.err
32077 cat conftest.err >&5
32078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32079 (exit $ac_status); } &&
32080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32081 { (case "(($ac_try" in
32082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32083 *) ac_try_echo=$ac_try;;
32085 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32086 (eval "$ac_try") 2>&5
32088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32089 (exit $ac_status); }; } &&
32090 { ac_try='test -s conftest.$ac_objext'
32091 { (case "(($ac_try" in
32092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32093 *) ac_try_echo=$ac_try;;
32095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32096 (eval "$ac_try") 2>&5
32098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32099 (exit $ac_status); }; }; then
32100 ac_cv_cxx_have_global_hash_map=yes
32102 echo "$as_me: failed program was
:" >&5
32103 sed 's/^/| /' conftest.$ac_ext >&5
32105 ac_cv_cxx_have_global_hash_map=no
32108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32110 ac_cpp='$CPP $CPPFLAGS'
32111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_global_hash_map" >&5
32117 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6; }
32118 if test "$ac_cv_cxx_have_global_hash_map" = yes
32121 cat >>confdefs.h <<\_ACEOF
32122 #define HAVE_GLOBAL_HASH_MAP 1
32127 cat >>confdefs.h <<\_ACEOF
32128 #define HAVE_GLOBAL_HASH_MAP 0
32133 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_set
> defining template class std
::hash_set
" >&5
32134 echo $ECHO_N "checking whether the compiler has
<ext
/hash_set
> defining template class std
::hash_set...
$ECHO_C" >&6; }
32135 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
32136 echo $ECHO_N "(cached
) $ECHO_C" >&6
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat >conftest.$ac_ext <<_ACEOF
32148 cat confdefs.h >>conftest.$ac_ext
32149 cat >>conftest.$ac_ext <<_ACEOF
32150 /* end confdefs.h. */
32151 #include <ext/hash_set>
32152 #ifdef HAVE_NAMESPACES
32153 using namespace std;
32163 rm -f conftest.$ac_objext
32164 if { (ac_try="$ac_compile"
32165 case "(($ac_try" in
32166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32167 *) ac_try_echo=$ac_try;;
32169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32170 (eval "$ac_compile") 2>conftest.er1
32172 grep -v '^ *+' conftest.er1 >conftest.err
32174 cat conftest.err >&5
32175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32176 (exit $ac_status); } &&
32177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32178 { (case "(($ac_try" in
32179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32180 *) ac_try_echo=$ac_try;;
32182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32183 (eval "$ac_try") 2>&5
32185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32186 (exit $ac_status); }; } &&
32187 { ac_try='test -s conftest.$ac_objext'
32188 { (case "(($ac_try" in
32189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32190 *) ac_try_echo=$ac_try;;
32192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32193 (eval "$ac_try") 2>&5
32195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 ac_cv_cxx_have_std_ext_hash_set=yes
32199 echo "$as_me: failed program was
:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32202 ac_cv_cxx_have_std_ext_hash_set=no
32205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32207 ac_cpp='$CPP $CPPFLAGS'
32208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32213 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_std_ext_hash_set" >&5
32214 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6; }
32215 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes
32218 cat >>confdefs.h <<\_ACEOF
32219 #define HAVE_STD_EXT_HASH_SET 1
32224 cat >>confdefs.h <<\_ACEOF
32225 #define HAVE_STD_EXT_HASH_SET 0
32230 { echo "$as_me:$LINENO: checking whether the compiler has
<ext
/hash_set
> defining template class __gnu_cxx
::hash_set
" >&5
32231 echo $ECHO_N "checking whether the compiler has
<ext
/hash_set
> defining template class __gnu_cxx
::hash_set...
$ECHO_C" >&6; }
32232 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
32233 echo $ECHO_N "(cached
) $ECHO_C" >&6
32237 ac_cpp='$CXXCPP $CPPFLAGS'
32238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32242 cat >conftest.$ac_ext <<_ACEOF
32245 cat confdefs.h >>conftest.$ac_ext
32246 cat >>conftest.$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32248 #include <ext/hash_set>
32249 #ifdef HAVE_NAMESPACES
32250 using namespace __gnu_cxx;
32260 rm -f conftest.$ac_objext
32261 if { (ac_try="$ac_compile"
32262 case "(($ac_try" in
32263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32264 *) ac_try_echo=$ac_try;;
32266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32267 (eval "$ac_compile") 2>conftest.er1
32269 grep -v '^ *+' conftest.er1 >conftest.err
32271 cat conftest.err >&5
32272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32273 (exit $ac_status); } &&
32274 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32275 { (case "(($ac_try" in
32276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32277 *) ac_try_echo=$ac_try;;
32279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32280 (eval "$ac_try") 2>&5
32282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32283 (exit $ac_status); }; } &&
32284 { ac_try='test -s conftest.$ac_objext'
32285 { (case "(($ac_try" in
32286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32287 *) ac_try_echo=$ac_try;;
32289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32290 (eval "$ac_try") 2>&5
32292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294 ac_cv_cxx_have_gnu_ext_hash_set=yes
32296 echo "$as_me: failed program was
:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32299 ac_cv_cxx_have_gnu_ext_hash_set=no
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_cpp='$CPP $CPPFLAGS'
32305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32310 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
32311 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6; }
32312 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes
32315 cat >>confdefs.h <<\_ACEOF
32316 #define HAVE_GNU_EXT_HASH_SET 1
32321 cat >>confdefs.h <<\_ACEOF
32322 #define HAVE_GNU_EXT_HASH_SET 0
32327 { echo "$as_me:$LINENO: checking whether the compiler has
<hash_set
> defining template class
::hash_set
" >&5
32328 echo $ECHO_N "checking whether the compiler has
<hash_set
> defining template class
::hash_set...
$ECHO_C" >&6; }
32329 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
32330 echo $ECHO_N "(cached
) $ECHO_C" >&6
32334 ac_cpp='$CXXCPP $CPPFLAGS'
32335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32339 cat >conftest.$ac_ext <<_ACEOF
32342 cat confdefs.h >>conftest.$ac_ext
32343 cat >>conftest.$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32345 #include <hash_set>
32349 hash_set<int> t; return 0;
32354 rm -f conftest.$ac_objext
32355 if { (ac_try="$ac_compile"
32356 case "(($ac_try" in
32357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32358 *) ac_try_echo=$ac_try;;
32360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32361 (eval "$ac_compile") 2>conftest.er1
32363 grep -v '^ *+' conftest.er1 >conftest.err
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32367 (exit $ac_status); } &&
32368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32369 { (case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32371 *) ac_try_echo=$ac_try;;
32373 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_try") 2>&5
32376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32377 (exit $ac_status); }; } &&
32378 { ac_try='test -s conftest.$ac_objext'
32379 { (case "(($ac_try" in
32380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32381 *) ac_try_echo=$ac_try;;
32383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32384 (eval "$ac_try") 2>&5
32386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32387 (exit $ac_status); }; }; then
32388 ac_cv_cxx_have_global_hash_set=yes
32390 echo "$as_me: failed program was
:" >&5
32391 sed 's/^/| /' conftest.$ac_ext >&5
32393 ac_cv_cxx_have_global_hash_set=no
32396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_cpp='$CPP $CPPFLAGS'
32399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32404 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_global_hash_set" >&5
32405 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6; }
32406 if test "$ac_cv_cxx_have_global_hash_set" = yes
32409 cat >>confdefs.h <<\_ACEOF
32410 #define HAVE_GLOBAL_HASH_SET 1
32415 cat >>confdefs.h <<\_ACEOF
32416 #define HAVE_GLOBAL_HASH_SET 0
32421 { echo "$as_me:$LINENO: checking whether the compiler has the standard iterator
" >&5
32422 echo $ECHO_N "checking whether the compiler has the standard iterator...
$ECHO_C" >&6; }
32423 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
32424 echo $ECHO_N "(cached
) $ECHO_C" >&6
32428 ac_cpp='$CXXCPP $CPPFLAGS'
32429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32433 cat >conftest.$ac_ext <<_ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439 #include <iterator>
32440 #ifdef HAVE_NAMESPACES
32441 using namespace std;
32446 iterator<int,int,int> t; return 0;
32451 rm -f conftest.$ac_objext
32452 if { (ac_try="$ac_compile"
32453 case "(($ac_try" in
32454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32455 *) ac_try_echo=$ac_try;;
32457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32458 (eval "$ac_compile") 2>conftest.er1
32460 grep -v '^ *+' conftest.er1 >conftest.err
32462 cat conftest.err >&5
32463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32464 (exit $ac_status); } &&
32465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32466 { (case "(($ac_try" in
32467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32468 *) ac_try_echo=$ac_try;;
32470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32471 (eval "$ac_try") 2>&5
32473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32474 (exit $ac_status); }; } &&
32475 { ac_try='test -s conftest.$ac_objext'
32476 { (case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32478 *) ac_try_echo=$ac_try;;
32480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_try") 2>&5
32483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 ac_cv_cxx_have_std_iterator=yes
32487 echo "$as_me: failed program was
:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32490 ac_cv_cxx_have_std_iterator=no
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32502 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_std_iterator" >&5
32503 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6; }
32504 if test "$ac_cv_cxx_have_std_iterator" = yes
32507 cat >>confdefs.h <<\_ACEOF
32508 #define HAVE_STD_ITERATOR 1
32513 cat >>confdefs.h <<\_ACEOF
32514 #define HAVE_STD_ITERATOR 0
32519 { echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator
" >&5
32520 echo $ECHO_N "checking whether the compiler has the bidirectional iterator...
$ECHO_C" >&6; }
32521 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
32522 echo $ECHO_N "(cached
) $ECHO_C" >&6
32526 ac_cpp='$CXXCPP $CPPFLAGS'
32527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32531 cat >conftest.$ac_ext <<_ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32537 #include <iterator>
32538 #ifdef HAVE_NAMESPACES
32539 using namespace std;
32544 bidirectional_iterator<int,int> t; return 0;
32549 rm -f conftest.$ac_objext
32550 if { (ac_try="$ac_compile"
32551 case "(($ac_try" in
32552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32553 *) ac_try_echo=$ac_try;;
32555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32556 (eval "$ac_compile") 2>conftest.er1
32558 grep -v '^ *+' conftest.er1 >conftest.err
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32564 { (case "(($ac_try" in
32565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32566 *) ac_try_echo=$ac_try;;
32568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32569 (eval "$ac_try") 2>&5
32571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32572 (exit $ac_status); }; } &&
32573 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
32581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32582 (exit $ac_status); }; }; then
32583 ac_cv_cxx_have_bi_iterator=yes
32585 echo "$as_me: failed program was
:" >&5
32586 sed 's/^/| /' conftest.$ac_ext >&5
32588 ac_cv_cxx_have_bi_iterator=no
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32600 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_bi_iterator" >&5
32601 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6; }
32602 if test "$ac_cv_cxx_have_bi_iterator" = yes
32605 cat >>confdefs.h <<\_ACEOF
32606 #define HAVE_BI_ITERATOR 1
32611 cat >>confdefs.h <<\_ACEOF
32612 #define HAVE_BI_ITERATOR 0
32617 { echo "$as_me:$LINENO: checking whether the compiler has forward iterators
" >&5
32618 echo $ECHO_N "checking whether the compiler has forward iterators...
$ECHO_C" >&6; }
32619 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
32620 echo $ECHO_N "(cached
) $ECHO_C" >&6
32624 ac_cpp='$CXXCPP $CPPFLAGS'
32625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32629 cat >conftest.$ac_ext <<_ACEOF
32632 cat confdefs.h >>conftest.$ac_ext
32633 cat >>conftest.$ac_ext <<_ACEOF
32634 /* end confdefs.h. */
32635 #include <iterator>
32636 #ifdef HAVE_NAMESPACES
32637 using namespace std;
32642 forward_iterator<int,int> t; return 0;
32647 rm -f conftest.$ac_objext
32648 if { (ac_try="$ac_compile"
32649 case "(($ac_try" in
32650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32651 *) ac_try_echo=$ac_try;;
32653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32654 (eval "$ac_compile") 2>conftest.er1
32656 grep -v '^ *+' conftest.er1 >conftest.err
32658 cat conftest.err >&5
32659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32660 (exit $ac_status); } &&
32661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
32669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32670 (exit $ac_status); }; } &&
32671 { ac_try='test -s conftest.$ac_objext'
32672 { (case "(($ac_try" in
32673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32674 *) ac_try_echo=$ac_try;;
32676 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32677 (eval "$ac_try") 2>&5
32679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 ac_cv_cxx_have_fwd_iterator=yes
32683 echo "$as_me: failed program was
:" >&5
32684 sed 's/^/| /' conftest.$ac_ext >&5
32686 ac_cv_cxx_have_fwd_iterator=no
32689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32691 ac_cpp='$CPP $CPPFLAGS'
32692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32698 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_have_fwd_iterator" >&5
32699 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6; }
32700 if test "$ac_cv_cxx_have_fwd_iterator" = yes
32703 cat >>confdefs.h <<\_ACEOF
32704 #define HAVE_FWD_ITERATOR 1
32709 cat >>confdefs.h <<\_ACEOF
32710 #define HAVE_FWD_ITERATOR 0
32716 { echo "$as_me:$LINENO: checking
for isnan
in <math.h
>" >&5
32717 echo $ECHO_N "checking
for isnan
in <math.h
>...
$ECHO_C" >&6; }
32718 if test "${ac_cv_func_isnan_in_math_h+set}" = set; then
32719 echo $ECHO_N "(cached
) $ECHO_C" >&6
32722 ac_cpp='$CXXCPP $CPPFLAGS'
32723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32727 cat >conftest.$ac_ext <<_ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32742 rm -f conftest.$ac_objext
32743 if { (ac_try="$ac_compile"
32744 case "(($ac_try" in
32745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32746 *) ac_try_echo=$ac_try;;
32748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32749 (eval "$ac_compile") 2>conftest.er1
32751 grep -v '^ *+' conftest.er1 >conftest.err
32753 cat conftest.err >&5
32754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32755 (exit $ac_status); } &&
32756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32757 { (case "(($ac_try" in
32758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32759 *) ac_try_echo=$ac_try;;
32761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32762 (eval "$ac_try") 2>&5
32764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32765 (exit $ac_status); }; } &&
32766 { ac_try='test -s conftest.$ac_objext'
32767 { (case "(($ac_try" in
32768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32769 *) ac_try_echo=$ac_try;;
32771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32772 (eval "$ac_try") 2>&5
32774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32775 (exit $ac_status); }; }; then
32776 ac_cv_func_isnan_in_math_h=yes
32778 echo "$as_me: failed program was
:" >&5
32779 sed 's/^/| /' conftest.$ac_ext >&5
32781 ac_cv_func_isnan_in_math_h=no
32784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786 ac_cpp='$CPP $CPPFLAGS'
32787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32792 { echo "$as_me:$LINENO: result
: $ac_cv_func_isnan_in_math_h" >&5
32793 echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6; }
32796 if test "$ac_cv_func_isnan_in_math_h" = "yes" ; then
32798 cat >>confdefs.h <<\_ACEOF
32799 #define HAVE_ISNAN_IN_MATH_H 1
32804 { echo "$as_me:$LINENO: checking
for isnan
in <cmath
>" >&5
32805 echo $ECHO_N "checking
for isnan
in <cmath
>...
$ECHO_C" >&6; }
32806 if test "${ac_cv_func_isnan_in_cmath+set}" = set; then
32807 echo $ECHO_N "(cached
) $ECHO_C" >&6
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32815 cat >conftest.$ac_ext <<_ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32830 rm -f conftest.$ac_objext
32831 if { (ac_try="$ac_compile"
32832 case "(($ac_try" in
32833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32834 *) ac_try_echo=$ac_try;;
32836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32837 (eval "$ac_compile") 2>conftest.er1
32839 grep -v '^ *+' conftest.er1 >conftest.err
32841 cat conftest.err >&5
32842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32843 (exit $ac_status); } &&
32844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32845 { (case "(($ac_try" in
32846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32847 *) ac_try_echo=$ac_try;;
32849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32850 (eval "$ac_try") 2>&5
32852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32853 (exit $ac_status); }; } &&
32854 { ac_try='test -s conftest.$ac_objext'
32855 { (case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32857 *) ac_try_echo=$ac_try;;
32859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_try") 2>&5
32862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32863 (exit $ac_status); }; }; then
32864 ac_cv_func_isnan_in_cmath=yes
32866 echo "$as_me: failed program was
:" >&5
32867 sed 's/^/| /' conftest.$ac_ext >&5
32869 ac_cv_func_isnan_in_cmath=no
32872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32874 ac_cpp='$CPP $CPPFLAGS'
32875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32880 { echo "$as_me:$LINENO: result
: $ac_cv_func_isnan_in_cmath" >&5
32881 echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6; }
32883 if test "$ac_cv_func_isnan_in_cmath" = "yes" ; then
32885 cat >>confdefs.h <<\_ACEOF
32886 #define HAVE_ISNAN_IN_CMATH 1
32891 { echo "$as_me:$LINENO: checking
for std
::isnan
in <cmath
>" >&5
32892 echo $ECHO_N "checking
for std
::isnan
in <cmath
>...
$ECHO_C" >&6; }
32893 if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then
32894 echo $ECHO_N "(cached
) $ECHO_C" >&6
32897 ac_cpp='$CXXCPP $CPPFLAGS'
32898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32902 cat >conftest.$ac_ext <<_ACEOF
32905 cat confdefs.h >>conftest.$ac_ext
32906 cat >>conftest.$ac_ext <<_ACEOF
32907 /* end confdefs.h. */
32912 float f; std::isnan(f);
32917 rm -f conftest.$ac_objext
32918 if { (ac_try="$ac_compile"
32919 case "(($ac_try" in
32920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32921 *) ac_try_echo=$ac_try;;
32923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32924 (eval "$ac_compile") 2>conftest.er1
32926 grep -v '^ *+' conftest.er1 >conftest.err
32928 cat conftest.err >&5
32929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32930 (exit $ac_status); } &&
32931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32932 { (case "(($ac_try" in
32933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32934 *) ac_try_echo=$ac_try;;
32936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32937 (eval "$ac_try") 2>&5
32939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32940 (exit $ac_status); }; } &&
32941 { ac_try='test -s conftest.$ac_objext'
32942 { (case "(($ac_try" in
32943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32944 *) ac_try_echo=$ac_try;;
32946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
32947 (eval "$ac_try") 2>&5
32949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 ac_cv_func_std_isnan_in_cmath=yes
32953 echo "$as_me: failed program was
:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32956 ac_cv_func_std_isnan_in_cmath=no
32959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32961 ac_cpp='$CPP $CPPFLAGS'
32962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32967 { echo "$as_me:$LINENO: result
: $ac_cv_func_std_isnan_in_cmath" >&5
32968 echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6; }
32970 if test "$ac_cv_func_std_isnan_in_cmath" = "yes" ; then
32972 cat >>confdefs.h <<\_ACEOF
32973 #define HAVE_STD_ISNAN_IN_CMATH 1
32979 { echo "$as_me:$LINENO: checking
for isinf
in <math.h
>" >&5
32980 echo $ECHO_N "checking
for isinf
in <math.h
>...
$ECHO_C" >&6; }
32981 if test "${ac_cv_func_isinf_in_math_h+set}" = set; then
32982 echo $ECHO_N "(cached
) $ECHO_C" >&6
32985 ac_cpp='$CXXCPP $CPPFLAGS'
32986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32990 cat >conftest.$ac_ext <<_ACEOF
32993 cat confdefs.h >>conftest.$ac_ext
32994 cat >>conftest.$ac_ext <<_ACEOF
32995 /* end confdefs.h. */
33005 rm -f conftest.$ac_objext
33006 if { (ac_try="$ac_compile"
33007 case "(($ac_try" in
33008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33009 *) ac_try_echo=$ac_try;;
33011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33012 (eval "$ac_compile") 2>conftest.er1
33014 grep -v '^ *+' conftest.er1 >conftest.err
33016 cat conftest.err >&5
33017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33018 (exit $ac_status); } &&
33019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33020 { (case "(($ac_try" in
33021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33022 *) ac_try_echo=$ac_try;;
33024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33025 (eval "$ac_try") 2>&5
33027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33028 (exit $ac_status); }; } &&
33029 { ac_try='test -s conftest.$ac_objext'
33030 { (case "(($ac_try" in
33031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33032 *) ac_try_echo=$ac_try;;
33034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33035 (eval "$ac_try") 2>&5
33037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33038 (exit $ac_status); }; }; then
33039 ac_cv_func_isinf_in_math_h=yes
33041 echo "$as_me: failed program was
:" >&5
33042 sed 's/^/| /' conftest.$ac_ext >&5
33044 ac_cv_func_isinf_in_math_h=no
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { echo "$as_me:$LINENO: result
: $ac_cv_func_isinf_in_math_h" >&5
33056 echo "${ECHO_T}$ac_cv_func_isinf_in_math_h" >&6; }
33058 if test "$ac_cv_func_isinf_in_math_h" = "yes" ; then
33060 cat >>confdefs.h <<\_ACEOF
33061 #define HAVE_ISINF_IN_MATH_H 1
33066 { echo "$as_me:$LINENO: checking
for isinf
in <cmath
>" >&5
33067 echo $ECHO_N "checking
for isinf
in <cmath
>...
$ECHO_C" >&6; }
33068 if test "${ac_cv_func_isinf_in_cmath+set}" = set; then
33069 echo $ECHO_N "(cached
) $ECHO_C" >&6
33072 ac_cpp='$CXXCPP $CPPFLAGS'
33073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33077 cat >conftest.$ac_ext <<_ACEOF
33080 cat confdefs.h >>conftest.$ac_ext
33081 cat >>conftest.$ac_ext <<_ACEOF
33082 /* end confdefs.h. */
33092 rm -f conftest.$ac_objext
33093 if { (ac_try="$ac_compile"
33094 case "(($ac_try" in
33095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33096 *) ac_try_echo=$ac_try;;
33098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33099 (eval "$ac_compile") 2>conftest.er1
33101 grep -v '^ *+' conftest.er1 >conftest.err
33103 cat conftest.err >&5
33104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33105 (exit $ac_status); } &&
33106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33107 { (case "(($ac_try" in
33108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33109 *) ac_try_echo=$ac_try;;
33111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33112 (eval "$ac_try") 2>&5
33114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33115 (exit $ac_status); }; } &&
33116 { ac_try='test -s conftest.$ac_objext'
33117 { (case "(($ac_try" in
33118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33119 *) ac_try_echo=$ac_try;;
33121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33122 (eval "$ac_try") 2>&5
33124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33125 (exit $ac_status); }; }; then
33126 ac_cv_func_isinf_in_cmath=yes
33128 echo "$as_me: failed program was
:" >&5
33129 sed 's/^/| /' conftest.$ac_ext >&5
33131 ac_cv_func_isinf_in_cmath=no
33134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136 ac_cpp='$CPP $CPPFLAGS'
33137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33142 { echo "$as_me:$LINENO: result
: $ac_cv_func_isinf_in_cmath" >&5
33143 echo "${ECHO_T}$ac_cv_func_isinf_in_cmath" >&6; }
33145 if test "$ac_cv_func_isinf_in_cmath" = "yes" ; then
33147 cat >>confdefs.h <<\_ACEOF
33148 #define HAVE_ISINF_IN_CMATH 1
33153 { echo "$as_me:$LINENO: checking
for std
::isinf
in <cmath
>" >&5
33154 echo $ECHO_N "checking
for std
::isinf
in <cmath
>...
$ECHO_C" >&6; }
33155 if test "${ac_cv_func_std_isinf_in_cmath+set}" = set; then
33156 echo $ECHO_N "(cached
) $ECHO_C" >&6
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33164 cat >conftest.$ac_ext <<_ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33174 float f; std::isinf(f)}
33179 rm -f conftest.$ac_objext
33180 if { (ac_try="$ac_compile"
33181 case "(($ac_try" in
33182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33183 *) ac_try_echo=$ac_try;;
33185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33186 (eval "$ac_compile") 2>conftest.er1
33188 grep -v '^ *+' conftest.er1 >conftest.err
33190 cat conftest.err >&5
33191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33192 (exit $ac_status); } &&
33193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33194 { (case "(($ac_try" in
33195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33196 *) ac_try_echo=$ac_try;;
33198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33199 (eval "$ac_try") 2>&5
33201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33202 (exit $ac_status); }; } &&
33203 { ac_try='test -s conftest.$ac_objext'
33204 { (case "(($ac_try" in
33205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33206 *) ac_try_echo=$ac_try;;
33208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33209 (eval "$ac_try") 2>&5
33211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33212 (exit $ac_status); }; }; then
33213 ac_cv_func_std_isinf_in_cmath=yes
33215 echo "$as_me: failed program was
:" >&5
33216 sed 's/^/| /' conftest.$ac_ext >&5
33218 ac_cv_func_std_isinf_in_cmath=no
33221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33223 ac_cpp='$CPP $CPPFLAGS'
33224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33229 { echo "$as_me:$LINENO: result
: $ac_cv_func_std_isinf_in_cmath" >&5
33230 echo "${ECHO_T}$ac_cv_func_std_isinf_in_cmath" >&6; }
33232 if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
33234 cat >>confdefs.h <<\_ACEOF
33235 #define HAVE_STD_ISINF_IN_CMATH 1
33240 { echo "$as_me:$LINENO: checking
for finite
in <ieeefp.h
>" >&5
33241 echo $ECHO_N "checking
for finite
in <ieeefp.h
>...
$ECHO_C" >&6; }
33242 if test "${ac_cv_func_finite_in_ieeefp_h+set}" = set; then
33243 echo $ECHO_N "(cached
) $ECHO_C" >&6
33246 ac_cpp='$CXXCPP $CPPFLAGS'
33247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33251 cat >conftest.$ac_ext <<_ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257 #include <ieeefp.h>
33261 float f; finite(f);
33266 rm -f conftest.$ac_objext
33267 if { (ac_try="$ac_compile"
33268 case "(($ac_try" in
33269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33270 *) ac_try_echo=$ac_try;;
33272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33273 (eval "$ac_compile") 2>conftest.er1
33275 grep -v '^ *+' conftest.er1 >conftest.err
33277 cat conftest.err >&5
33278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33279 (exit $ac_status); } &&
33280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33281 { (case "(($ac_try" in
33282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33283 *) ac_try_echo=$ac_try;;
33285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33286 (eval "$ac_try") 2>&5
33288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33289 (exit $ac_status); }; } &&
33290 { ac_try='test -s conftest.$ac_objext'
33291 { (case "(($ac_try" in
33292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33293 *) ac_try_echo=$ac_try;;
33295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33296 (eval "$ac_try") 2>&5
33298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33299 (exit $ac_status); }; }; then
33300 ac_cv_func_finite_in_ieeefp_h=yes
33302 echo "$as_me: failed program was
:" >&5
33303 sed 's/^/| /' conftest.$ac_ext >&5
33305 ac_cv_func_finite_in_ieeefp_h=no
33308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33310 ac_cpp='$CPP $CPPFLAGS'
33311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 { echo "$as_me:$LINENO: result
: $ac_cv_func_finite_in_ieeefp_h" >&5
33317 echo "${ECHO_T}$ac_cv_func_finite_in_ieeefp_h" >&6; }
33319 if test "$ac_cv_func_finite_in_ieeefp_h" = "yes" ; then
33321 cat >>confdefs.h <<\_ACEOF
33322 #define HAVE_FINITE_IN_IEEEFP_H 1
33329 if test "$llvm_cv_platform_type" = "Unix
" ; then
33332 for ac_header in stdlib.h unistd.h
33334 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
33335 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
33336 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
33337 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
33338 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
33339 echo $ECHO_N "(cached
) $ECHO_C" >&6
33341 ac_res=`eval echo '${'$as_ac_Header'}'`
33342 { echo "$as_me:$LINENO: result
: $ac_res" >&5
33343 echo "${ECHO_T}$ac_res" >&6; }
33345 # Is the header compilable?
33346 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
33347 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
33348 cat >conftest.$ac_ext <<_ACEOF
33351 cat confdefs.h >>conftest.$ac_ext
33352 cat >>conftest.$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33354 $ac_includes_default
33355 #include <$ac_header>
33357 rm -f conftest.$ac_objext
33358 if { (ac_try="$ac_compile"
33359 case "(($ac_try" in
33360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33361 *) ac_try_echo=$ac_try;;
33363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33364 (eval "$ac_compile") 2>conftest.er1
33366 grep -v '^ *+' conftest.er1 >conftest.err
33368 cat conftest.err >&5
33369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33370 (exit $ac_status); } &&
33371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33372 { (case "(($ac_try" in
33373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33374 *) ac_try_echo=$ac_try;;
33376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33377 (eval "$ac_try") 2>&5
33379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33380 (exit $ac_status); }; } &&
33381 { ac_try='test -s conftest.$ac_objext'
33382 { (case "(($ac_try" in
33383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33384 *) ac_try_echo=$ac_try;;
33386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33387 (eval "$ac_try") 2>&5
33389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33390 (exit $ac_status); }; }; then
33391 ac_header_compiler=yes
33393 echo "$as_me: failed program was
:" >&5
33394 sed 's/^/| /' conftest.$ac_ext >&5
33396 ac_header_compiler=no
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
33401 echo "${ECHO_T}$ac_header_compiler" >&6; }
33403 # Is the header present?
33404 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
33405 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
33406 cat >conftest.$ac_ext <<_ACEOF
33409 cat confdefs.h >>conftest.$ac_ext
33410 cat >>conftest.$ac_ext <<_ACEOF
33411 /* end confdefs.h. */
33412 #include <$ac_header>
33414 if { (ac_try="$ac_cpp conftest.
$ac_ext"
33415 case "(($ac_try" in
33416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33417 *) ac_try_echo=$ac_try;;
33419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33420 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
33422 grep -v '^ *+' conftest.er1 >conftest.err
33424 cat conftest.err >&5
33425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33426 (exit $ac_status); } >/dev/null; then
33427 if test -s conftest.err; then
33428 ac_cpp_err=$ac_c_preproc_warn_flag
33429 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33436 if test -z "$ac_cpp_err"; then
33437 ac_header_preproc=yes
33439 echo "$as_me: failed program was
:" >&5
33440 sed 's/^/| /' conftest.$ac_ext >&5
33442 ac_header_preproc=no
33445 rm -f conftest.err conftest.$ac_ext
33446 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
33447 echo "${ECHO_T}$ac_header_preproc" >&6; }
33449 # So? What about this header?
33450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33452 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
33453 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
33454 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
33455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
33456 ac_header_preproc=yes
33459 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
33460 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
33461 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
33462 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
33463 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
33464 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
33465 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
33466 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
33467 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
33468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
33469 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
33470 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
33472 ## ----------------------------------- ##
33473 ## Report this to llvmbugs@cs.uiuc.edu ##
33474 ## ----------------------------------- ##
33476 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
33479 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
33480 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
33481 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
33482 echo $ECHO_N "(cached
) $ECHO_C" >&6
33484 eval "$as_ac_Header=\
$ac_header_preproc"
33486 ac_res=`eval echo '${'$as_ac_Header'}'`
33487 { echo "$as_me:$LINENO: result
: $ac_res" >&5
33488 echo "${ECHO_T}$ac_res" >&6; }
33491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33492 cat >>confdefs.h <<_ACEOF
33493 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
33501 for ac_func in getpagesize
33503 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
33504 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
33505 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
33506 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
33507 echo $ECHO_N "(cached
) $ECHO_C" >&6
33509 cat >conftest.$ac_ext <<_ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33517 #define $ac_func innocuous_$ac_func
33519 /* System header to define __stub macros and hopefully few prototypes,
33520 which can conflict with char $ac_func (); below.
33521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33522 <limits.h> exists even on freestanding compilers. */
33525 # include <limits.h>
33527 # include <assert.h>
33532 /* Override any GCC internal prototype to avoid an error.
33533 Use char because int might match the return type of a GCC
33534 builtin and then its argument prototype would still apply. */
33539 /* The GNU C library defines this for functions which it implements
33540 to always fail with ENOSYS. Some functions are actually named
33541 something starting with __ and the normal name is an alias. */
33542 #if defined __stub_$ac_func || defined __stub___$ac_func
33549 return $ac_func ();
33554 rm -f conftest.$ac_objext conftest$ac_exeext
33555 if { (ac_try="$ac_link"
33556 case "(($ac_try" in
33557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33558 *) ac_try_echo=$ac_try;;
33560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33561 (eval "$ac_link") 2>conftest.er1
33563 grep -v '^ *+' conftest.er1 >conftest.err
33565 cat conftest.err >&5
33566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33567 (exit $ac_status); } &&
33568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33569 { (case "(($ac_try" in
33570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33571 *) ac_try_echo=$ac_try;;
33573 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33574 (eval "$ac_try") 2>&5
33576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33577 (exit $ac_status); }; } &&
33578 { ac_try='test -s conftest$ac_exeext'
33579 { (case "(($ac_try" in
33580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 *) ac_try_echo=$ac_try;;
33583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33584 (eval "$ac_try") 2>&5
33586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33587 (exit $ac_status); }; }; then
33588 eval "$as_ac_var=yes"
33590 echo "$as_me: failed program was
:" >&5
33591 sed 's/^/| /' conftest.$ac_ext >&5
33593 eval "$as_ac_var=no
"
33596 rm -f core conftest.err conftest.$ac_objext \
33597 conftest$ac_exeext conftest.$ac_ext
33599 ac_res=`eval echo '${'$as_ac_var'}'`
33600 { echo "$as_me:$LINENO: result
: $ac_res" >&5
33601 echo "${ECHO_T}$ac_res" >&6; }
33602 if test `eval echo '${'$as_ac_var'}'` = yes; then
33603 cat >>confdefs.h <<_ACEOF
33604 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
33610 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
33611 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
33612 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33613 echo $ECHO_N "(cached
) $ECHO_C" >&6
33615 if test "$cross_compiling" = yes; then
33616 ac_cv_func_mmap_fixed_mapped=no
33618 cat >conftest.$ac_ext <<_ACEOF
33621 cat confdefs.h >>conftest.$ac_ext
33622 cat >>conftest.$ac_ext <<_ACEOF
33623 /* end confdefs.h. */
33624 $ac_includes_default
33625 /* malloc might have been renamed as rpl_malloc. */
33628 /* Thanks to Mike Haertel and Jim Avera for this test.
33629 Here is a matrix of mmap possibilities:
33630 mmap private not fixed
33631 mmap private fixed at somewhere currently unmapped
33632 mmap private fixed at somewhere already mapped
33633 mmap shared not fixed
33634 mmap shared fixed at somewhere currently unmapped
33635 mmap shared fixed at somewhere already mapped
33636 For private mappings, we should verify that changes cannot be read()
33637 back from the file, nor mmap's back from the file at a different
33638 address. (There have been systems where private was not correctly
33639 implemented like the infamous i386 svr4.0, and systems where the
33640 VM page cache was not coherent with the file system buffer cache
33641 like early versions of FreeBSD and possibly contemporary NetBSD.)
33642 For shared mappings, we should conversely verify that changes get
33643 propagated back to all the places they're supposed to be.
33645 Grep wants private fixed already mapped.
33646 The main things grep needs to know about mmap are:
33647 * does it exist and is it safe to write into the mmap'd area
33648 * how to use it (BSD variants) */
33651 #include <sys/mman.h>
33653 #if !STDC_HEADERS && !HAVE_STDLIB_H
33657 /* This mess was copied from the GNU getpagesize.h. */
33658 #if !HAVE_GETPAGESIZE
33659 /* Assume that all systems that can run configure have sys/param.h. */
33660 # if !HAVE_SYS_PARAM_H
33661 # define HAVE_SYS_PARAM_H 1
33664 # ifdef _SC_PAGESIZE
33665 # define getpagesize() sysconf(_SC_PAGESIZE)
33666 # else /* no _SC_PAGESIZE */
33667 # if HAVE_SYS_PARAM_H
33668 # include <sys/param.h>
33669 # ifdef EXEC_PAGESIZE
33670 # define getpagesize() EXEC_PAGESIZE
33671 # else /* no EXEC_PAGESIZE */
33673 # define getpagesize() NBPG * CLSIZE
33676 # endif /* no CLSIZE */
33677 # else /* no NBPG */
33679 # define getpagesize() NBPC
33680 # else /* no NBPC */
33682 # define getpagesize() PAGESIZE
33683 # endif /* PAGESIZE */
33684 # endif /* no NBPC */
33685 # endif /* no NBPG */
33686 # endif /* no EXEC_PAGESIZE */
33687 # else /* no HAVE_SYS_PARAM_H */
33688 # define getpagesize() 8192 /* punt totally */
33689 # endif /* no HAVE_SYS_PARAM_H */
33690 # endif /* no _SC_PAGESIZE */
33692 #endif /* no HAVE_GETPAGESIZE */
33697 char *data, *data2, *data3;
33701 pagesize = getpagesize ();
33703 /* First, make a file with some known garbage in it. */
33704 data = (char *) malloc (pagesize);
33707 for (i = 0; i < pagesize; ++i)
33708 *(data + i) = rand ();
33710 fd = creat ("conftest.mmap
", 0600);
33713 if (write (fd, data, pagesize) != pagesize)
33717 /* Next, try to mmap the file at a fixed address which already has
33718 something else allocated at it. If we can, also make sure that
33719 we see the same garbage. */
33720 fd = open ("conftest.mmap
", O_RDWR);
33723 data2 = (char *) malloc (2 * pagesize);
33726 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33727 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33728 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33730 for (i = 0; i < pagesize; ++i)
33731 if (*(data + i) != *(data2 + i))
33734 /* Finally, make sure that changes to the mapped area do not
33735 percolate back to the file as seen by read(). (This is a bug on
33736 some variants of i386 svr4.0.) */
33737 for (i = 0; i < pagesize; ++i)
33738 *(data2 + i) = *(data2 + i) + 1;
33739 data3 = (char *) malloc (pagesize);
33742 if (read (fd, data3, pagesize) != pagesize)
33744 for (i = 0; i < pagesize; ++i)
33745 if (*(data + i) != *(data3 + i))
33751 rm -f conftest$ac_exeext
33752 if { (ac_try="$ac_link"
33753 case "(($ac_try" in
33754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33755 *) ac_try_echo=$ac_try;;
33757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33758 (eval "$ac_link") 2>&5
33760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33762 { (case "(($ac_try" in
33763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33764 *) ac_try_echo=$ac_try;;
33766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33767 (eval "$ac_try") 2>&5
33769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33770 (exit $ac_status); }; }; then
33771 ac_cv_func_mmap_fixed_mapped=yes
33773 echo "$as_me: program exited with status
$ac_status" >&5
33774 echo "$as_me: failed program was
:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33777 ( exit $ac_status )
33778 ac_cv_func_mmap_fixed_mapped=no
33780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33785 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
33786 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33787 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33789 cat >>confdefs.h <<\_ACEOF
33790 #define HAVE_MMAP 1
33794 rm -f conftest.mmap
33796 { echo "$as_me:$LINENO: checking
for mmap of files
" >&5
33797 echo $ECHO_N "checking
for mmap of files...
$ECHO_C" >&6; }
33798 if test "${ac_cv_func_mmap_file+set}" = set; then
33799 echo $ECHO_N "(cached
) $ECHO_C" >&6
33802 ac_cpp='$CPP $CPPFLAGS'
33803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33807 if test "$cross_compiling" = yes; then
33808 ac_cv_func_mmap_file=no
33810 cat >conftest.$ac_ext <<_ACEOF
33814 cat confdefs.h >>conftest.$ac_ext
33815 cat >>conftest.$ac_ext <<_ACEOF
33816 /* end confdefs.h. */
33818 #include <sys/types.h>
33819 #include <sys/mman.h>
33827 fd = creat ("foo
",0777);
33828 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
33830 return (fd != (int) MAP_FAILED);
33835 rm -f conftest$ac_exeext
33836 if { (ac_try="$ac_link"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_link") 2>&5
33844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33845 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33846 { (case "(($ac_try" in
33847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33848 *) ac_try_echo=$ac_try;;
33850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33851 (eval "$ac_try") 2>&5
33853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33854 (exit $ac_status); }; }; then
33855 ac_cv_func_mmap_file=yes
33857 echo "$as_me: program exited with status
$ac_status" >&5
33858 echo "$as_me: failed program was
:" >&5
33859 sed 's/^/| /' conftest.$ac_ext >&5
33861 ( exit $ac_status )
33862 ac_cv_func_mmap_file=no
33864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33869 ac_cpp='$CPP $CPPFLAGS'
33870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33876 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_file" >&5
33877 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6; }
33878 if test "$ac_cv_func_mmap_file" = yes; then
33880 cat >>confdefs.h <<\_ACEOF
33881 #define HAVE_MMAP_FILE
33888 { echo "$as_me:$LINENO: checking
if /dev
/zero is needed
for mmap
" >&5
33889 echo $ECHO_N "checking
if /dev
/zero is needed
for mmap...
$ECHO_C" >&6; }
33890 if test "${ac_cv_need_dev_zero_for_mmap+set}" = set; then
33891 echo $ECHO_N "(cached
) $ECHO_C" >&6
33893 if test "$llvm_cv_os_type" = "Interix
" ; then
33894 ac_cv_need_dev_zero_for_mmap=yes
33896 ac_cv_need_dev_zero_for_mmap=no
33900 { echo "$as_me:$LINENO: result
: $ac_cv_need_dev_zero_for_mmap" >&5
33901 echo "${ECHO_T}$ac_cv_need_dev_zero_for_mmap" >&6; }
33902 if test "$ac_cv_need_dev_zero_for_mmap" = yes; then
33904 cat >>confdefs.h <<\_ACEOF
33905 #define NEED_DEV_ZERO_FOR_MMAP 1
33910 if test "$ac_cv_func_mmap_fixed_mapped" = "no
"
33912 { echo "$as_me:$LINENO: WARNING
: mmap
() of a fixed address required but not supported
" >&5
33913 echo "$as_me: WARNING
: mmap
() of a fixed address required but not supported
" >&2;}
33915 if test "$ac_cv_func_mmap_file" = "no
"
33917 { echo "$as_me:$LINENO: WARNING
: mmap
() of files required but not found
" >&5
33918 echo "$as_me: WARNING
: mmap
() of files required but not found
" >&2;}
33924 for ac_func in __dso_handle
33926 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
33927 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
33928 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
33929 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
33930 echo $ECHO_N "(cached
) $ECHO_C" >&6
33932 cat >conftest.$ac_ext <<_ACEOF
33935 cat confdefs.h >>conftest.$ac_ext
33936 cat >>conftest.$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33940 #define $ac_func innocuous_$ac_func
33942 /* System header to define __stub macros and hopefully few prototypes,
33943 which can conflict with char $ac_func (); below.
33944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33945 <limits.h> exists even on freestanding compilers. */
33948 # include <limits.h>
33950 # include <assert.h>
33955 /* Override any GCC internal prototype to avoid an error.
33956 Use char because int might match the return type of a GCC
33957 builtin and then its argument prototype would still apply. */
33962 /* The GNU C library defines this for functions which it implements
33963 to always fail with ENOSYS. Some functions are actually named
33964 something starting with __ and the normal name is an alias. */
33965 #if defined __stub_$ac_func || defined __stub___$ac_func
33972 return $ac_func ();
33977 rm -f conftest.$ac_objext conftest$ac_exeext
33978 if { (ac_try="$ac_link"
33979 case "(($ac_try" in
33980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33981 *) ac_try_echo=$ac_try;;
33983 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33984 (eval "$ac_link") 2>conftest.er1
33986 grep -v '^ *+' conftest.er1 >conftest.err
33988 cat conftest.err >&5
33989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
33990 (exit $ac_status); } &&
33991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33992 { (case "(($ac_try" in
33993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33994 *) ac_try_echo=$ac_try;;
33996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
33997 (eval "$ac_try") 2>&5
33999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
34000 (exit $ac_status); }; } &&
34001 { ac_try='test -s conftest$ac_exeext'
34002 { (case "(($ac_try" in
34003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34004 *) ac_try_echo=$ac_try;;
34006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
34007 (eval "$ac_try") 2>&5
34009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
34010 (exit $ac_status); }; }; then
34011 eval "$as_ac_var=yes"
34013 echo "$as_me: failed program was
:" >&5
34014 sed 's/^/| /' conftest.$ac_ext >&5
34016 eval "$as_ac_var=no
"
34019 rm -f core conftest.err conftest.$ac_objext \
34020 conftest$ac_exeext conftest.$ac_ext
34022 ac_res=`eval echo '${'$as_ac_var'}'`
34023 { echo "$as_me:$LINENO: result
: $ac_res" >&5
34024 echo "${ECHO_T}$ac_res" >&6; }
34025 if test `eval echo '${'$as_ac_var'}'` = yes; then
34026 cat >>confdefs.h <<_ACEOF
34027 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
34034 { echo "$as_me:$LINENO: checking whether llvm-gcc is sane
" >&5
34035 echo $ECHO_N "checking whether llvm-gcc is sane...
$ECHO_C" >&6; }
34036 if test "${llvm_cv_llvmgcc_sanity+set}" = set; then
34037 echo $ECHO_N "(cached
) $ECHO_C" >&6
34039 llvm_cv_llvmgcc_sanity="no
"
34040 if test -x "$LLVMGCC" ; then
34041 cp /dev/null conftest.c
34042 "$LLVMGCC" -emit-llvm -S -o - conftest.c | \
34043 grep 'target datalayout =' > /dev/null 2>&1
34044 if test $? -eq 0 ; then
34045 llvm_cv_llvmgcc_sanity="yes"
34050 { echo "$as_me:$LINENO: result
: $llvm_cv_llvmgcc_sanity" >&5
34051 echo "${ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
34053 if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
34054 { echo "$as_me:$LINENO: checking llvm-gcc component support
" >&5
34055 echo $ECHO_N "checking llvm-gcc component support...
$ECHO_C" >&6; }
34056 llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1`
34057 LLVMCC1=$llvmcc1path
34059 llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus`
34060 LLVMCC1PLUS=$llvmcc1pluspath
34062 llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
34063 LLVMGCCDIR=$llvmgccdir
34065 llvmgcclibexec=`echo "$llvmcc1path" | sed 's,/cc1,,'`
34066 LLVMGCCLIBEXEC=$llvmgcclibexec
34068 llvmgccversion=`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`
34069 llvmgccmajvers=`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`
34070 LLVMGCC_VERSION=$llvmgccversion
34072 LLVMGCC_MAJVERS=$llvmgccmajvers
34074 llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ -]*\).*/\1/'`
34075 LLVMGCC_LANGS=$llvmgcclangs
34077 { echo "$as_me:$LINENO: result
: ok
" >&5
34078 echo "${ECHO_T}ok
" >&6; }
34081 SHLIBEXT=$libltdl_cv_shlibext
34084 # Translate the various configuration directories and other basic
34085 # information into substitutions that will end up in Makefile.config.in
34086 # that these configured values can be used by the makefiles
34087 if test "${prefix}" = "NONE
" ; then
34088 prefix="/usr
/local"
34090 eval LLVM_PREFIX="${prefix}";
34091 eval LLVM_BINDIR="${prefix}/bin
";
34092 eval LLVM_LIBDIR="${prefix}/lib
";
34093 eval LLVM_DATADIR="${prefix}/share
/llvm
";
34094 eval LLVM_DOCSDIR="${prefix}/docs
/llvm
";
34095 eval LLVM_ETCDIR="${prefix}/etc
/llvm
";
34096 eval LLVM_INCLUDEDIR="${prefix}/include
";
34097 eval LLVM_INFODIR="${prefix}/info
";
34098 eval LLVM_MANDIR="${prefix}/man
";
34099 LLVM_CONFIGTIME=`date`
34111 # Place the various directores into the config.h file as #defines so that we
34112 # can know about the installation paths within LLVM.
34114 cat >>confdefs.h <<_ACEOF
34115 #define LLVM_PREFIX "$LLVM_PREFIX"
34119 cat >>confdefs.h <<_ACEOF
34120 #define LLVM_BINDIR "$LLVM_BINDIR"
34124 cat >>confdefs.h <<_ACEOF
34125 #define LLVM_LIBDIR "$LLVM_LIBDIR"
34129 cat >>confdefs.h <<_ACEOF
34130 #define LLVM_DATADIR "$LLVM_DATADIR"
34134 cat >>confdefs.h <<_ACEOF
34135 #define LLVM_DOCSDIR "$LLVM_DOCSDIR"
34139 cat >>confdefs.h <<_ACEOF
34140 #define LLVM_ETCDIR "$LLVM_ETCDIR"
34144 cat >>confdefs.h <<_ACEOF
34145 #define LLVM_INCLUDEDIR "$LLVM_INCLUDEDIR"
34149 cat >>confdefs.h <<_ACEOF
34150 #define LLVM_INFODIR "$LLVM_INFODIR"
34154 cat >>confdefs.h <<_ACEOF
34155 #define LLVM_MANDIR "$LLVM_MANDIR"
34159 cat >>confdefs.h <<_ACEOF
34160 #define LLVM_CONFIGTIME "$LLVM_CONFIGTIME"
34164 # Determine which bindings to build.
34165 if test "$BINDINGS_TO_BUILD" = auto ; then
34166 BINDINGS_TO_BUILD=""
34167 if test "x
$OCAMLC" != x -a "x
$OCAMLDEP" != x ; then
34168 BINDINGS_TO_BUILD="ocaml
$BINDINGS_TO_BUILD"
34171 BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
34174 # This isn't really configurey, but it avoids having to repeat the list in
34179 # Do any work necessary to ensure that bindings have what they need.
34180 binding_prereqs_failed=0
34181 for a_binding in $BINDINGS_TO_BUILD ; do
34182 case "$a_binding" in
34184 if test "x
$OCAMLC" = x ; then
34185 { echo "$as_me:$LINENO: WARNING
: --enable-bindings=ocaml specified
, but ocamlc not found. Try configure OCAMLC
=/path
/to
/ocamlc
" >&5
34186 echo "$as_me: WARNING
: --enable-bindings=ocaml specified
, but ocamlc not found. Try configure OCAMLC
=/path
/to
/ocamlc
" >&2;}
34187 binding_prereqs_failed=1
34189 if test "x
$OCAMLDEP" = x ; then
34190 { echo "$as_me:$LINENO: WARNING
: --enable-bindings=ocaml specified
, but ocamldep not found. Try configure OCAMLDEP
=/path
/to
/ocamldep
" >&5
34191 echo "$as_me: WARNING
: --enable-bindings=ocaml specified
, but ocamldep not found. Try configure OCAMLDEP
=/path
/to
/ocamldep
" >&2;}
34192 binding_prereqs_failed=1
34194 if test "x
$OCAMLOPT" = x ; then
34195 { echo "$as_me:$LINENO: WARNING
: --enable-bindings=ocaml specified
, but ocamlopt not found. Try configure OCAMLOPT
=/path
/to
/ocamlopt
" >&5
34196 echo "$as_me: WARNING
: --enable-bindings=ocaml specified
, but ocamlopt not found. Try configure OCAMLOPT
=/path
/to
/ocamlopt
" >&2;}
34198 if test "x
$with_ocaml_libdir" != xauto ; then
34199 OCAML_LIBDIR=$with_ocaml_libdir
34202 ocaml_stdlib="`"$OCAMLC" -where`"
34203 if test "$LLVM_PREFIX" '<' "$ocaml_stdlib" -a "$ocaml_stdlib" '<' "$LLVM_PREFIX~
"
34205 # ocaml stdlib is beneath our prefix; use stdlib
34206 OCAML_LIBDIR=$ocaml_stdlib
34209 # ocaml stdlib is outside our prefix; use libdir/ocaml
34210 OCAML_LIBDIR=$LLVM_LIBDIR/ocaml
34217 if test "$binding_prereqs_failed" = 1 ; then
34218 { { echo "$as_me:$LINENO: error
: Prequisites
for bindings not satisfied. Fix them or use configure
--disable-bindings.
" >&5
34219 echo "$as_me: error
: Prequisites
for bindings not satisfied. Fix them or use configure
--disable-bindings.
" >&2;}
34220 { (exit 1); exit 1; }; }
34225 ac_config_headers="$ac_config_headers include
/llvm
/Config
/config.h
"
34227 ac_config_headers="$ac_config_headers include
/llvm
/Support
/DataTypes.h
"
34229 ac_config_headers="$ac_config_headers include
/llvm
/ADT
/hash_map
"
34231 ac_config_headers="$ac_config_headers include
/llvm
/ADT
/hash_set
"
34233 ac_config_headers="$ac_config_headers include
/llvm
/ADT
/iterator
"
34236 ac_config_files="$ac_config_files Makefile.config
"
34239 ac_config_files="$ac_config_files llvm.spec
"
34242 ac_config_files="$ac_config_files docs
/doxygen.cfg
"
34245 ac_config_files="$ac_config_files tools
/llvm-config
/llvm-config.
in"
34248 ac_config_commands="$ac_config_commands setup
"
34250 ac_config_commands="$ac_config_commands Makefile
"
34253 ac_config_commands="$ac_config_commands Makefile.common
"
34256 ac_config_commands="$ac_config_commands examples
/Makefile
"
34259 ac_config_commands="$ac_config_commands lib
/Makefile
"
34262 ac_config_commands="$ac_config_commands runtime
/Makefile
"
34265 ac_config_commands="$ac_config_commands test
/Makefile
"
34268 ac_config_commands="$ac_config_commands test
/Makefile.tests
"
34271 ac_config_commands="$ac_config_commands tools
/Makefile
"
34274 ac_config_commands="$ac_config_commands utils
/Makefile
"
34277 ac_config_commands="$ac_config_commands projects
/Makefile
"
34280 ac_config_commands="$ac_config_commands bindings
/Makefile
"
34283 ac_config_commands="$ac_config_commands bindings
/ocaml
/Makefile.ocaml
"
34287 cat >confcache <<\_ACEOF
34288 # This file is a shell script that caches the results of configure
34289 # tests run on this system so they can be shared between configure
34290 # scripts and configure runs, see configure's option --config-cache.
34291 # It is not useful on other systems. If it contains results you don't
34292 # want to keep, you may remove or edit it.
34294 # config.status only pays attention to the cache file if you give it
34295 # the --recheck option to rerun configure.
34297 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34298 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34299 # following values.
34303 # The following way of writing the cache mishandles newlines in values,
34304 # but we know of no workaround that is simple, portable, and efficient.
34305 # So, we kill variables containing newlines.
34306 # Ultrix sh set writes to stderr and can't be redirected directly,
34307 # and sets the high bit in the cache file unless we assign to the vars.
34309 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
34310 eval ac_val=\$$ac_var
34314 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
34315 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
34318 _ | IFS | as_nl) ;; #(
34319 *) $as_unset $ac_var ;;
34325 case $as_nl`(ac_space=' '; set) 2>&1` in #(
34326 *${as_nl}ac_space=\ *)
34327 # `set' does not quote correctly, so add quotes (double-quote
34328 # substitution turns \\\\ into \\, and sed turns \\ into \).
34331 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
34334 # `set' quotes correctly as required by POSIX, so do not add quotes.
34335 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
34344 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34346 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34348 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
34349 if test -w "$cache_file"; then
34350 test "x
$cache_file" != "x
/dev
/null
" &&
34351 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
34352 echo "$as_me: updating cache
$cache_file" >&6;}
34353 cat confcache >$cache_file
34355 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
34356 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
34361 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
34362 # Let make expand exec_prefix.
34363 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
34365 DEFS=-DHAVE_CONFIG_H
34369 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
34370 # 1. Remove the extension, and $U if already installed.
34371 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
34372 ac_i=`echo "$ac_i" | sed "$ac_script"`
34373 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
34374 # will be set to the directory where LIBOBJS objects are built.
34375 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
34376 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
34378 LIBOBJS=$ac_libobjs
34380 LTLIBOBJS=$ac_ltlibobjs
34383 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
34384 { { echo "$as_me:$LINENO: error
: conditional
\"INSTALL_LTDL
\" was never defined.
34385 Usually this means the macro was only invoked conditionally.
" >&5
34386 echo "$as_me: error
: conditional
\"INSTALL_LTDL
\" was never defined.
34387 Usually this means the macro was only invoked conditionally.
" >&2;}
34388 { (exit 1); exit 1; }; }
34390 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
34391 { { echo "$as_me:$LINENO: error
: conditional
\"CONVENIENCE_LTDL
\" was never defined.
34392 Usually this means the macro was only invoked conditionally.
" >&5
34393 echo "$as_me: error
: conditional
\"CONVENIENCE_LTDL
\" was never defined.
34394 Usually this means the macro was only invoked conditionally.
" >&2;}
34395 { (exit 1); exit 1; }; }
34398 : ${CONFIG_STATUS=./config.status}
34399 ac_clean_files_save=$ac_clean_files
34400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34401 { echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
34402 echo "$as_me: creating
$CONFIG_STATUS" >&6;}
34403 cat >$CONFIG_STATUS <<_ACEOF
34405 # Generated by $as_me.
34406 # Run this file to recreate the current configuration.
34407 # Compiler output produced by configure, useful for debugging
34408 # configure, is in config.log if it exists.
34411 ac_cs_recheck=false
34413 SHELL=\${CONFIG_SHELL-$SHELL}
34416 cat >>$CONFIG_STATUS <<\_ACEOF
34417 ## --------------------- ##
34418 ## M4sh Initialization. ##
34419 ## --------------------- ##
34421 # Be Bourne compatible
34422 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34425 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34426 # is contrary to our usage. Disable this feature.
34427 alias -g '${1+"$@"}'='"$@
"'
34428 setopt NO_GLOB_SUBST
34430 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
34432 BIN_SH=xpg4; export BIN_SH # for Tru64
34433 DUALCASE=1; export DUALCASE # for MKS sh
34437 # Avoid depending upon Character Ranges.
34438 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34439 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34440 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34441 as_cr_digits='0123456789'
34442 as_cr_alnum=$as_cr_Letters$as_cr_digits
34444 # The user is always right.
34445 if test "${PATH_SEPARATOR+set}" != set; then
34446 echo "#! /bin/sh" >conf$$.sh
34447 echo "exit 0" >>conf$$.sh
34449 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34457 # Support unset when possible.
34458 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34466 # We need space, tab and new line, in precisely that order. Quoting is
34467 # there to prevent editors from complaining about space-tab.
34468 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34469 # splitting by setting IFS to empty value.)
34474 # Find who we are. Look in the path if we contain no directory separator.
34476 *[\\/]* ) as_myself
=$0 ;;
34477 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34478 for as_dir
in $PATH
34481 test -z "$as_dir" && as_dir
=.
34482 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34488 # We did not find ourselves, most probably we were run as `sh COMMAND'
34489 # in which case we are not to be found in the path.
34490 if test "x$as_myself" = x
; then
34493 if test ! -f "$as_myself"; then
34494 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34495 { (exit 1); exit 1; }
34498 # Work around bugs in pre-3.0 UWIN ksh.
34499 for as_var
in ENV MAIL MAILPATH
34500 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34508 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34509 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34510 LC_TELEPHONE LC_TIME
34512 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34513 eval $as_var=C
; export $as_var
34515 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
34519 # Required to use basename.
34520 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34521 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34527 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34528 as_basename
=basename
34534 # Name of the executable.
34535 as_me
=`$as_basename -- "$0" ||
34536 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34537 X"$0" : 'X\(//\)$' \| \
34538 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34540 sed '/^.*\/\([^/][^/]*\)\/*$/{
34559 as_lineno_1
=$LINENO
34560 as_lineno_2
=$LINENO
34561 test "x$as_lineno_1" != "x$as_lineno_2" &&
34562 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
34564 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34565 # uniformly replaced by the line number. The first 'sed' inserts a
34566 # line-number line after each line using $LINENO; the second 'sed'
34567 # does the real work. The second script uses 'N' to pair each
34568 # line-number line with the line containing $LINENO, and appends
34569 # trailing '-' during substitution so that $LINENO is not a special
34570 # case at line end.
34571 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34572 # scripts with optimization help from Paolo Bonzini. Blame Lee
34573 # E. McMahon (1931-1989) for sed's syntax. :-)
34585 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
34588 ' >$as_me.lineno
&&
34589 chmod +x
"$as_me.lineno" ||
34590 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
34591 { (exit 1); exit 1; }; }
34593 # Don't try to exec as it changes $[0], causing all sort of problems
34594 # (the dirname of $[0] is not the place where we might find the
34595 # original and so on. Autoconf is especially sensitive to this).
34596 .
"./$as_me.lineno"
34597 # Exit status is that of the last command.
34602 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
34608 ECHO_C
= ECHO_N
= ECHO_T
=
34609 case `echo -n x` in
34611 case `echo 'x\c'` in
34612 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
34619 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
34620 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
34626 rm -f conf$$ conf$$.exe conf$$.
file
34627 if test -d conf$$.dir
; then
34628 rm -f conf$$.dir
/conf$$.
file
34634 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34636 # ... but there are two gotchas:
34637 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34638 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34639 # In both cases, we have to default to `cp -p'.
34640 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
34642 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34647 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
34648 rmdir conf$$.dir
2>/dev
/null
34650 if mkdir
-p .
2>/dev
/null
; then
34653 test -d .
/-p && rmdir .
/-p
34657 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
34658 # systems may use methods other than mode bits to determine executability.
34659 cat >conf$$.
file <<_ASEOF
34663 chmod +x conf$$.
file
34664 if test -x conf$$.
file >/dev
/null
2>&1; then
34665 as_executable_p
="test -x"
34671 # Sed expression to map a string onto a valid CPP name.
34672 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34674 # Sed expression to map a string onto a valid variable name.
34675 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34680 # Save the log message, to keep $[0] and so on meaningful, and to
34681 # report actual input values of CONFIG_FILES etc. instead of their
34682 # values after options handling.
34684 This file was extended by llvm $as_me 2.2svn, which was
34685 generated by GNU Autoconf 2.60. Invocation command line was
34687 CONFIG_FILES = $CONFIG_FILES
34688 CONFIG_HEADERS = $CONFIG_HEADERS
34689 CONFIG_LINKS = $CONFIG_LINKS
34690 CONFIG_COMMANDS = $CONFIG_COMMANDS
34693 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34698 cat >>$CONFIG_STATUS <<_ACEOF
34699 # Files that config.status was made for.
34700 config_files="$ac_config_files"
34701 config_headers="$ac_config_headers"
34702 config_commands="$ac_config_commands"
34706 cat >>$CONFIG_STATUS <<\_ACEOF
34708 \`$as_me' instantiates files from templates according to the
34709 current configuration.
34711 Usage: $0 [OPTIONS] [FILE]...
34713 -h, --help print this help, then exit
34714 -V, --version print version number, then exit
34715 -q, --quiet do not print progress messages
34716 -d, --debug don't remove temporary files
34717 --recheck update $as_me by reconfiguring in the same conditions
34718 --file=FILE[:TEMPLATE]
34719 instantiate the configuration file FILE
34720 --header=FILE[:TEMPLATE]
34721 instantiate the configuration header FILE
34723 Configuration files:
34726 Configuration headers:
34729 Configuration commands:
34732 Report bugs to <bug-autoconf@gnu.org>."
34735 cat >>$CONFIG_STATUS <<_ACEOF
34737 llvm config.status 2.2svn
34738 configured by $0, generated by GNU Autoconf 2.60,
34739 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34741 Copyright (C) 2006 Free Software Foundation, Inc.
34742 This config.status script is free software; the Free Software Foundation
34743 gives unlimited permission to copy, distribute and modify it."
34750 cat >>$CONFIG_STATUS <<\_ACEOF
34751 # If no file are specified by the user, then we need to provide default
34752 # value. By we need to know if files were specified by the user.
34758 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34759 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34770 # Handling of the options.
34771 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34773 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34774 echo "$ac_cs_version"; exit ;;
34775 --debug |
--debu |
--deb |
--de |
--d |
-d )
34777 --file |
--fil |
--fi |
--f )
34779 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34780 ac_need_defaults
=false
;;
34781 --header |
--heade |
--head |
--hea )
34783 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34784 ac_need_defaults
=false
;;
34786 # Conflict between --help and --header
34787 { echo "$as_me: error: ambiguous option: $1
34788 Try \`$0 --help' for more information." >&2
34789 { (exit 1); exit 1; }; };;
34790 --help |
--hel |
-h )
34791 echo "$ac_cs_usage"; exit ;;
34792 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34793 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34796 # This is an error.
34797 -*) { echo "$as_me: error: unrecognized option: $1
34798 Try \`$0 --help' for more information." >&2
34799 { (exit 1); exit 1; }; } ;;
34801 *) ac_config_targets
="$ac_config_targets $1"
34802 ac_need_defaults
=false
;;
34808 ac_configure_extra_args
=
34810 if $ac_cs_silent; then
34812 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34816 cat >>$CONFIG_STATUS <<_ACEOF
34817 if \$ac_cs_recheck; then
34818 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34819 CONFIG_SHELL=$SHELL
34820 export CONFIG_SHELL
34821 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34825 cat >>$CONFIG_STATUS <<\_ACEOF
34829 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34830 ## Running $as_me. ##
34836 cat >>$CONFIG_STATUS <<_ACEOF
34840 llvm_src="${srcdir}"
34844 cat >>$CONFIG_STATUS <<\_ACEOF
34846 # Handling of arguments.
34847 for ac_config_target
in $ac_config_targets
34849 case $ac_config_target in
34850 "include/llvm/Config/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Config/config.h" ;;
34851 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/Support/DataTypes.h" ;;
34852 "include/llvm/ADT/hash_map") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_map" ;;
34853 "include/llvm/ADT/hash_set") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/hash_set" ;;
34854 "include/llvm/ADT/iterator") CONFIG_HEADERS
="$CONFIG_HEADERS include/llvm/ADT/iterator" ;;
34855 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
34856 "llvm.spec") CONFIG_FILES
="$CONFIG_FILES llvm.spec" ;;
34857 "docs/doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES docs/doxygen.cfg" ;;
34858 "tools/llvm-config/llvm-config.in") CONFIG_FILES
="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
34859 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
34860 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
34861 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
34862 "examples/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS examples/Makefile" ;;
34863 "lib/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS lib/Makefile" ;;
34864 "runtime/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS runtime/Makefile" ;;
34865 "test/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile" ;;
34866 "test/Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS test/Makefile.tests" ;;
34867 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
34868 "utils/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS utils/Makefile" ;;
34869 "projects/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS projects/Makefile" ;;
34870 "bindings/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/Makefile" ;;
34871 "bindings/ocaml/Makefile.ocaml") CONFIG_COMMANDS
="$CONFIG_COMMANDS bindings/ocaml/Makefile.ocaml" ;;
34873 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34874 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34875 { (exit 1); exit 1; }; };;
34880 # If the user did not use the arguments to specify the items to instantiate,
34881 # then the envvar interface is used. Set only those that are not.
34882 # We use the long form for the default assignment because of an extremely
34883 # bizarre bug on SunOS 4.1.3.
34884 if $ac_need_defaults; then
34885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34886 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34890 # Have a temporary directory for convenience. Make it in the build tree
34891 # simply because there is no reason against having it here, and in addition,
34892 # creating and moving files from /tmp can sometimes cause problems.
34893 # Hook for its removal unless debugging.
34894 # Note that there is a small window in which the directory will not be cleaned:
34895 # after its creation but before its name has been assigned to `$tmp'.
34899 trap 'exit_status=$?
34900 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34902 trap '{ (exit 1); exit 1; }' 1 2 13 15
34904 # Create a (secure) tmp directory for tmp files.
34907 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34908 test -n "$tmp" && test -d "$tmp"
34911 tmp
=.
/conf$$
-$RANDOM
34912 (umask 077 && mkdir
"$tmp")
34915 echo "$me: cannot create a temporary directory in ." >&2
34916 { (exit 1); exit 1; }
34920 # Set up the sed scripts for CONFIG_FILES section.
34923 # No need to generate the scripts if there are no CONFIG_FILES.
34924 # This happens for instance when ./config.status config.h
34925 if test -n "$CONFIG_FILES"; then
34932 for ac_last_try
in false false false false false
:; do
34933 cat >conf$
$subs.
sed <<_ACEOF
34934 SHELL!$SHELL$ac_delim
34935 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34936 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34937 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34938 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34939 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34940 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34941 exec_prefix!$exec_prefix$ac_delim
34942 prefix!$prefix$ac_delim
34943 program_transform_name!$program_transform_name$ac_delim
34944 bindir!$bindir$ac_delim
34945 sbindir!$sbindir$ac_delim
34946 libexecdir!$libexecdir$ac_delim
34947 datarootdir!$datarootdir$ac_delim
34948 datadir!$datadir$ac_delim
34949 sysconfdir!$sysconfdir$ac_delim
34950 sharedstatedir!$sharedstatedir$ac_delim
34951 localstatedir!$localstatedir$ac_delim
34952 includedir!$includedir$ac_delim
34953 oldincludedir!$oldincludedir$ac_delim
34954 docdir!$docdir$ac_delim
34955 infodir!$infodir$ac_delim
34956 htmldir!$htmldir$ac_delim
34957 dvidir!$dvidir$ac_delim
34958 pdfdir!$pdfdir$ac_delim
34959 psdir!$psdir$ac_delim
34960 libdir!$libdir$ac_delim
34961 localedir!$localedir$ac_delim
34962 mandir!$mandir$ac_delim
34963 DEFS!$DEFS$ac_delim
34964 ECHO_C!$ECHO_C$ac_delim
34965 ECHO_N!$ECHO_N$ac_delim
34966 ECHO_T!$ECHO_T$ac_delim
34967 LIBS!$LIBS$ac_delim
34968 build_alias!$build_alias$ac_delim
34969 host_alias!$host_alias$ac_delim
34970 target_alias!$target_alias$ac_delim
34971 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
34972 subdirs!$subdirs$ac_delim
34973 build!$build$ac_delim
34974 build_cpu!$build_cpu$ac_delim
34975 build_vendor!$build_vendor$ac_delim
34976 build_os!$build_os$ac_delim
34977 host!$host$ac_delim
34978 host_cpu!$host_cpu$ac_delim
34979 host_vendor!$host_vendor$ac_delim
34980 host_os!$host_os$ac_delim
34981 target!$target$ac_delim
34982 target_cpu!$target_cpu$ac_delim
34983 target_vendor!$target_vendor$ac_delim
34984 target_os!$target_os$ac_delim
34986 LINKALL!$LINKALL$ac_delim
34987 NOLINKALL!$NOLINKALL$ac_delim
34988 LLVM_ON_UNIX!$LLVM_ON_UNIX$ac_delim
34989 LLVM_ON_WIN32!$LLVM_ON_WIN32$ac_delim
34990 ARCH!$ARCH$ac_delim
34991 ENDIAN!$ENDIAN$ac_delim
34993 CFLAGS!$CFLAGS$ac_delim
34994 LDFLAGS!$LDFLAGS$ac_delim
34995 CPPFLAGS!$CPPFLAGS$ac_delim
34996 ac_ct_CC!$ac_ct_CC$ac_delim
34997 EXEEXT!$EXEEXT$ac_delim
34998 OBJEXT!$OBJEXT$ac_delim
35000 GREP!$GREP$ac_delim
35001 EGREP!$EGREP$ac_delim
35002 LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
35003 BUILD_CC!$BUILD_CC$ac_delim
35004 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
35005 CVSBUILD!$CVSBUILD$ac_delim
35006 ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
35007 DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
35008 ENABLE_EXPENSIVE_CHECKS!$ENABLE_EXPENSIVE_CHECKS$ac_delim
35009 EXPENSIVE_CHECKS!$EXPENSIVE_CHECKS$ac_delim
35010 DEBUG_RUNTIME!$DEBUG_RUNTIME$ac_delim
35012 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
35013 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
35014 ENABLE_THREADS!$ENABLE_THREADS$ac_delim
35015 ENABLE_PIC!$ENABLE_PIC$ac_delim
35016 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
35017 ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
35018 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
35020 CXXFLAGS!$CXXFLAGS$ac_delim
35021 ac_ct_CXX!$ac_ct_CXX$ac_delim
35023 LEXLIB!$LEXLIB$ac_delim
35024 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
35025 FLEX!$FLEX$ac_delim
35026 YACC!$YACC$ac_delim
35027 YFLAGS!$YFLAGS$ac_delim
35028 BISON!$BISON$ac_delim
35030 ifGNUmake!$ifGNUmake$ac_delim
35033 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
35035 elif $ac_last_try; then
35036 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
35037 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
35038 { (exit 1); exit 1; }; }
35040 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
35044 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
35045 if test -n "$ac_eof"; then
35046 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
35047 ac_eof
=`expr $ac_eof + 1`
35050 cat >>$CONFIG_STATUS <<_ACEOF
35051 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
35052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35055 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
35056 s/^/s,@/; s/!/@,|#_!!_#|/
35059 s/'"$ac_delim"'$/,g/; t
35061 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
35062 ' >>$CONFIG_STATUS <conf$
$subs.
sed
35063 rm -f conf$
$subs.
sed
35064 cat >>$CONFIG_STATUS <<_ACEOF
35070 for ac_last_try
in false false false false false
:; do
35071 cat >conf$
$subs.
sed <<_ACEOF
35072 LN_S!$LN_S$ac_delim
35075 DATE!$DATE$ac_delim
35076 FIND!$FIND$ac_delim
35077 MKDIR!$MKDIR$ac_delim
35079 RANLIB!$RANLIB$ac_delim
35083 BINPWD!$BINPWD$ac_delim
35084 GRAPHVIZ!$GRAPHVIZ$ac_delim
35087 DOTTY!$DOTTY$ac_delim
35088 PERL!$PERL$ac_delim
35089 HAVE_PERL!$HAVE_PERL$ac_delim
35090 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
35091 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
35092 INSTALL_DATA!$INSTALL_DATA$ac_delim
35093 BZIP2!$BZIP2$ac_delim
35094 DOXYGEN!$DOXYGEN$ac_delim
35095 GROFF!$GROFF$ac_delim
35096 GZIP!$GZIP$ac_delim
35097 POD2HTML!$POD2HTML$ac_delim
35098 POD2MAN!$POD2MAN$ac_delim
35099 RUNTEST!$RUNTEST$ac_delim
35100 TCLSH!$TCLSH$ac_delim
35102 OCAMLC!$OCAMLC$ac_delim
35103 OCAMLOPT!$OCAMLOPT$ac_delim
35104 OCAMLDEP!$OCAMLDEP$ac_delim
35105 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
35106 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
35107 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
35108 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
35109 LIBADD_DL!$LIBADD_DL$ac_delim
35110 ECHO!$ECHO$ac_delim
35112 STRIP!$STRIP$ac_delim
35113 CXXCPP!$CXXCPP$ac_delim
35115 FFLAGS!$FFLAGS$ac_delim
35116 ac_ct_F77!$ac_ct_F77$ac_delim
35117 LIBTOOL!$LIBTOOL$ac_delim
35118 LLVMGCC!$LLVMGCC$ac_delim
35119 LLVMGXX!$LLVMGXX$ac_delim
35120 USE_UDIS86!$USE_UDIS86$ac_delim
35121 HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
35122 HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
35123 ALLOCA!$ALLOCA$ac_delim
35124 MMAP_FILE!$MMAP_FILE$ac_delim
35125 LLVMCC1!$LLVMCC1$ac_delim
35126 LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
35127 LLVMGCCDIR!$LLVMGCCDIR$ac_delim
35128 LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
35129 LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
35130 LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
35131 LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
35132 SHLIBEXT!$SHLIBEXT$ac_delim
35133 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
35134 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
35135 LLVM_LIBDIR!$LLVM_LIBDIR$ac_delim
35136 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
35137 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
35138 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
35139 LLVM_INCLUDEDIR!$LLVM_INCLUDEDIR$ac_delim
35140 LLVM_INFODIR!$LLVM_INFODIR$ac_delim
35141 LLVM_MANDIR!$LLVM_MANDIR$ac_delim
35142 LLVM_CONFIGTIME!$LLVM_CONFIGTIME$ac_delim
35143 BINDINGS_TO_BUILD!$BINDINGS_TO_BUILD$ac_delim
35144 ALL_BINDINGS!$ALL_BINDINGS$ac_delim
35145 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
35146 LIBOBJS!$LIBOBJS$ac_delim
35147 LTLIBOBJS!$LTLIBOBJS$ac_delim
35150 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
35152 elif $ac_last_try; then
35153 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
35154 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
35155 { (exit 1); exit 1; }; }
35157 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
35161 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
35162 if test -n "$ac_eof"; then
35163 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
35164 ac_eof
=`expr $ac_eof + 1`
35167 cat >>$CONFIG_STATUS <<_ACEOF
35168 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
35169 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
35172 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
35173 s/^/s,@/; s/!/@,|#_!!_#|/
35176 s/'"$ac_delim"'$/,g/; t
35178 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
35179 ' >>$CONFIG_STATUS <conf$
$subs.
sed
35180 rm -f conf$
$subs.
sed
35181 cat >>$CONFIG_STATUS <<_ACEOF
35188 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35189 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35190 # trailing colons and then remove the whole line if VPATH becomes empty
35191 # (actually we leave an empty line to preserve line numbers).
35192 if test "x$srcdir" = x.
; then
35193 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35194 s/:*\$(srcdir):*/:/
35195 s/:*\${srcdir}:*/:/
35197 s/^\([^=]*=[ ]*\):*/\1/
35203 cat >>$CONFIG_STATUS <<\_ACEOF
35204 fi # test -n "$CONFIG_FILES"
35207 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
35210 :[FHLC
]) ac_mode
=$ac_tag; continue;;
35212 case $ac_mode$ac_tag in
35214 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
35215 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
35216 { (exit 1); exit 1; }; };;
35217 :[FH
]-) ac_tag
=-:-;;
35218 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
35235 -) ac_f
="$tmp/stdin";;
35236 *) # Look for the file first in the build tree, then in the source tree
35237 # (if the path is not absolute). The absolute path cannot be DOS-style,
35238 # because $ac_f cannot contain `:'.
35242 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
35244 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
35245 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
35246 { (exit 1); exit 1; }; };;
35248 ac_file_inputs
="$ac_file_inputs $ac_f"
35251 # Let's still pretend it is `configure' which instantiates (i.e., don't
35252 # use $as_me), people would be surprised to read:
35253 # /* config.h. Generated by config.status. */
35254 configure_input
="Generated from "`IFS=:
35255 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
35256 if test x
"$ac_file" != x-
; then
35257 configure_input
="$ac_file. $configure_input"
35258 { echo "$as_me:$LINENO: creating $ac_file" >&5
35259 echo "$as_me: creating $ac_file" >&6;}
35263 *:-:* |
*:-) cat >"$tmp/stdin";;
35268 ac_dir
=`$as_dirname -- "$ac_file" ||
35269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35270 X"$ac_file" : 'X\(//\)[^/]' \| \
35271 X"$ac_file" : 'X\(//\)$' \| \
35272 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35278 /^X\(\/\/\)[^/].*/{
35293 -*) as_dir
=.
/$as_dir;;
35295 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35299 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35300 *) as_qdir
=$as_dir;;
35302 as_dirs
="'$as_qdir' $as_dirs"
35303 as_dir
=`$as_dirname -- "$as_dir" ||
35304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35305 X"$as_dir" : 'X\(//\)[^/]' \| \
35306 X"$as_dir" : 'X\(//\)$' \| \
35307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35313 /^X\(\/\/\)[^/].*/{
35326 test -d "$as_dir" && break
35328 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35329 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35330 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35331 { (exit 1); exit 1; }; }; }
35335 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35337 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35338 # A ".." for each directory in $ac_dir_suffix.
35339 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35340 case $ac_top_builddir_sub in
35341 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35342 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35345 ac_abs_top_builddir
=$ac_pwd
35346 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35347 # for backward compatibility:
35348 ac_top_builddir
=$ac_top_build_prefix
35351 .
) # We are building in place.
35353 ac_top_srcdir
=$ac_top_builddir_sub
35354 ac_abs_top_srcdir
=$ac_pwd ;;
35355 [\\/]* | ?
:[\\/]* ) # Absolute name.
35356 ac_srcdir
=$srcdir$ac_dir_suffix;
35357 ac_top_srcdir
=$srcdir
35358 ac_abs_top_srcdir
=$srcdir ;;
35359 *) # Relative name.
35360 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35361 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35362 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35364 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35374 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35375 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
35379 cat >>$CONFIG_STATUS <<\_ACEOF
35380 # If the template does not know about datarootdir, expand it.
35381 # FIXME: This hack should be removed a few years after 2.60.
35382 ac_datarootdir_hack
=; ac_datarootdir_seen
=
35384 case `sed -n '/datarootdir/ {
35393 ' $ac_file_inputs` in
35394 *datarootdir
*) ac_datarootdir_seen
=yes;;
35395 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
35396 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35397 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35399 cat >>$CONFIG_STATUS <<_ACEOF
35400 ac_datarootdir_hack='
35401 s&@datadir@&$datadir&g
35402 s&@docdir@&$docdir&g
35403 s&@infodir@&$infodir&g
35404 s&@localedir@&$localedir&g
35405 s&@mandir@&$mandir&g
35406 s&\\\${datarootdir}&$datarootdir&g' ;;
35410 # Neutralize VPATH when `$srcdir' = `.'.
35411 # Shell code in configure.ac might set extrasub.
35412 # FIXME: do we really want to maintain this feature?
35413 cat >>$CONFIG_STATUS <<_ACEOF
35417 cat >>$CONFIG_STATUS <<\_ACEOF
35419 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35420 s
&@configure_input@
&$configure_input&;t t
35421 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
35422 s
&@srcdir@
&$ac_srcdir&;t t
35423 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
35424 s
&@top_srcdir@
&$ac_top_srcdir&;t t
35425 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
35426 s
&@builddir@
&$ac_builddir&;t t
35427 s
&@abs_builddir@
&$ac_abs_builddir&;t t
35428 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
35429 s
&@INSTALL@
&$ac_INSTALL&;t t
35430 $ac_datarootdir_hack
35431 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35433 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35434 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35435 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35436 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35437 which seems to be undefined. Please make sure it is defined." >&5
35438 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35439 which seems to be undefined. Please make sure it is defined." >&2;}
35443 -) cat "$tmp/out"; rm -f "$tmp/out";;
35444 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35453 # Transform confdefs.h into a sed script `conftest.defines', that
35454 # substitutes the proper values into config.h.in to produce config.h.
35455 rm -f conftest.defines conftest.
tail
35456 # First, append a space to every undef/define line, to ease matching.
35457 echo 's/$/ /' >conftest.defines
35458 # Then, protect against being on the right side of a sed subst, or in
35459 # an unquoted here document, in config.status. If some macros were
35460 # called several times there might be several #defines for the same
35461 # symbol, which is useless. But do not sort them, since the last
35462 # AC_DEFINE must be honored.
35463 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35464 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35465 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35466 # PARAMS is the parameter list in the macro definition--in most cases, it's
35467 # just an empty string.
35468 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35469 ac_dB
='\\)[ (].*,\\1define\\2'
35477 s/^[ ]*#[ ]*define[ ][ ]*//
35482 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35483 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35484 ' >>conftest.defines
35486 # Remove the space that was appended to ease matching.
35487 # Then replace #undef with comments. This is necessary, for
35488 # example, in the case of _POSIX_SOURCE, which is predefined and required
35489 # on some systems where configure will not decide to define it.
35490 # (The regexp can be short, since the line contains either #define or #undef.)
35492 s,^[ #]*u.*,/* & */,' >>conftest.defines
35494 # Break up conftest.defines:
35495 ac_max_sed_lines
=50
35497 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35498 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35499 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35501 ac_in
='$ac_file_inputs'
35502 ac_out
='"$tmp/out1"'
35503 ac_nxt
='"$tmp/out2"'
35507 # Write a here document:
35508 cat >>$CONFIG_STATUS <<_ACEOF
35509 # First, check the format of the line:
35510 cat >"\$tmp/defines.sed" <<\\CEOF
35511 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35512 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35516 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35518 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35519 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35520 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35521 grep . conftest.
tail >/dev
/null ||
break
35522 rm -f conftest.defines
35523 mv conftest.
tail conftest.defines
35525 rm -f conftest.defines conftest.
tail
35527 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35528 cat >>$CONFIG_STATUS <<\_ACEOF
35529 if test x
"$ac_file" != x-
; then
35530 echo "/* $configure_input */" >"$tmp/config.h"
35531 cat "$ac_result" >>"$tmp/config.h"
35532 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35533 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35534 echo "$as_me: $ac_file is unchanged" >&6;}
35537 mv "$tmp/config.h" $ac_file
35540 echo "/* $configure_input */"
35546 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35547 echo "$as_me: executing $ac_file commands" >&6;}
35552 case $ac_file$ac_mode in
35553 "Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile`
35554 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile Makefile
;;
35555 "Makefile.common":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname Makefile.common`
35556 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common
;;
35557 "examples/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname examples/Makefile`
35558 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/examples
/Makefile examples
/Makefile
;;
35559 "lib/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname lib/Makefile`
35560 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/lib
/Makefile lib
/Makefile
;;
35561 "runtime/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname runtime/Makefile`
35562 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/runtime
/Makefile runtime
/Makefile
;;
35563 "test/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile`
35564 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile test
/Makefile
;;
35565 "test/Makefile.tests":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname test/Makefile.tests`
35566 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/test
/Makefile.tests test
/Makefile.tests
;;
35567 "tools/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname tools/Makefile`
35568 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/tools
/Makefile tools
/Makefile
;;
35569 "utils/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname utils/Makefile`
35570 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/utils
/Makefile utils
/Makefile
;;
35571 "projects/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname projects/Makefile`
35572 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/projects
/Makefile projects
/Makefile
;;
35573 "bindings/Makefile":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/Makefile`
35574 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/Makefile bindings
/Makefile
;;
35575 "bindings/ocaml/Makefile.ocaml":C
) ${llvm_src}/autoconf
/mkinstalldirs
`dirname bindings/ocaml/Makefile.ocaml`
35576 ${SHELL} ${llvm_src}/autoconf/install-sh -c ${srcdir}/bindings
/ocaml
/Makefile.ocaml bindings
/ocaml
/Makefile.ocaml
;;
35582 { (exit 0); exit 0; }
35584 chmod +x
$CONFIG_STATUS
35585 ac_clean_files
=$ac_clean_files_save
35588 # configure is writing to config.log, and then calls config.status.
35589 # config.status does its own redirection, appending to config.log.
35590 # Unfortunately, on DOS this fails, as config.log is still kept open
35591 # by configure, so config.status won't be able to write to it; its
35592 # output is simply discarded. So we exec the FD to /dev/null,
35593 # effectively closing config.log, so it can be properly (re)opened and
35594 # appended to by config.status. When coming back to configure, we
35595 # need to make the FD available again.
35596 if test "$no_create" != yes; then
35598 ac_config_status_args
=
35599 test "$silent" = yes &&
35600 ac_config_status_args
="$ac_config_status_args --quiet"
35602 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
35604 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35605 # would make configure fail if this is the last instruction.
35606 $ac_cs_success ||
{ (exit 1); exit 1; }
35610 # CONFIG_SUBDIRS section.
35612 if test "$no_recursion" != yes; then
35614 # Remove --cache-file and --srcdir arguments so they do not pile up.
35615 ac_sub_configure_args
=
35617 eval "set x $ac_configure_args"
35621 if test -n "$ac_prev"; then
35626 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
35627 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
35628 ac_prev
=cache_file
;;
35629 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
35630 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
35633 --config-cache |
-C)
35635 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
35637 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
35639 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
35641 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
35645 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35647 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
35651 # Always prepend --prefix to ensure using the same prefix
35652 # in subdir configurations.
35653 ac_arg
="--prefix=$prefix"
35655 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
35657 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
35660 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
35662 # Do not complain, so a configure script can configure whichever
35663 # parts of a large source tree are present.
35664 test -d "$srcdir/$ac_dir" ||
continue
35666 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
35667 echo "$as_me:$LINENO: $ac_msg" >&5
35671 -*) as_dir
=.
/$as_dir;;
35673 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35677 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35678 *) as_qdir
=$as_dir;;
35680 as_dirs
="'$as_qdir' $as_dirs"
35681 as_dir
=`$as_dirname -- "$as_dir" ||
35682 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35683 X"$as_dir" : 'X\(//\)[^/]' \| \
35684 X"$as_dir" : 'X\(//\)$' \| \
35685 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35691 /^X\(\/\/\)[^/].*/{
35704 test -d "$as_dir" && break
35706 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35707 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35708 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35709 { (exit 1); exit 1; }; }; }
35713 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35715 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35716 # A ".." for each directory in $ac_dir_suffix.
35717 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
35718 case $ac_top_builddir_sub in
35719 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
35720 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
35723 ac_abs_top_builddir
=$ac_pwd
35724 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
35725 # for backward compatibility:
35726 ac_top_builddir
=$ac_top_build_prefix
35729 .
) # We are building in place.
35731 ac_top_srcdir
=$ac_top_builddir_sub
35732 ac_abs_top_srcdir
=$ac_pwd ;;
35733 [\\/]* | ?
:[\\/]* ) # Absolute name.
35734 ac_srcdir
=$srcdir$ac_dir_suffix;
35735 ac_top_srcdir
=$srcdir
35736 ac_abs_top_srcdir
=$srcdir ;;
35737 *) # Relative name.
35738 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
35739 ac_top_srcdir
=$ac_top_build_prefix$srcdir
35740 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
35742 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
35747 # Check for guested configure; otherwise get Cygnus style configure.
35748 if test -f "$ac_srcdir/configure.gnu"; then
35749 ac_sub_configure
=$ac_srcdir/configure.gnu
35750 elif test -f "$ac_srcdir/configure"; then
35751 ac_sub_configure
=$ac_srcdir/configure
35752 elif test -f "$ac_srcdir/configure.in"; then
35753 # This should be Cygnus configure.
35754 ac_sub_configure
=$ac_aux_dir/configure
35756 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
35757 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
35761 # The recursion is here.
35762 if test -n "$ac_sub_configure"; then
35763 # Make the cache file name correct relative to the subdirectory.
35764 case $cache_file in
35765 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
35766 *) # Relative name.
35767 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
35770 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
35771 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
35772 # The eval makes quoting arguments work.
35773 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
35774 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
35775 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
35776 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
35777 { (exit 1); exit 1; }; }