2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for LLVM-TEST 2.8svn.
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.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 # Check that we are running under the correct shell.
541 SHELL
=${CONFIG_SHELL-/bin/sh}
545 # Remove one level of quotation (which was required for Make).
546 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
551 if test "X$1" = X--no-reexec
; then
552 # Discard the --no-reexec flag, and continue.
554 elif test "X$1" = X--fallback-echo
; then
555 # Avoid inline document here, it may be left over
557 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
558 # Yippee, $echo works!
561 # Restart under the correct shell.
562 exec $SHELL "$0" --no-reexec ${1+"$@"}
565 if test "X$1" = X--fallback-echo
; then
566 # used as fallback echo
574 # The HP-UX ksh and POSIX shell print the target directory to stdout
576 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
578 if test -z "$ECHO"; then
579 if test "X${echo_test_string+set}" != Xset
; then
580 # find a string as large as possible, as long as the shell can cope with it
581 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
582 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
583 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
584 echo_test_string
=`eval $cmd` &&
585 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
592 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
593 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
594 test "X$echo_testing_string" = "X$echo_test_string"; then
597 # The Solaris, AIX, and Digital Unix default echo programs unquote
598 # backslashes. This makes it impossible to quote backslashes using
599 # echo "$something" | sed 's/\\/\\\\/g'
601 # So, first we look for a working echo in the user's PATH.
603 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
604 for dir
in $PATH /usr
/ucb
; do
606 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
607 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
616 if test "X$echo" = Xecho
; then
617 # We didn't find a better echo, so look for alternatives.
618 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
619 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
620 test "X$echo_testing_string" = "X$echo_test_string"; then
621 # This shell has a builtin print -r that does the trick.
623 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
624 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
625 # If we have ksh, try running configure again with it.
626 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
627 export ORIGINAL_CONFIG_SHELL
628 CONFIG_SHELL
=/bin
/ksh
630 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
634 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
639 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
645 SHELL
="$CONFIG_SHELL"
647 echo="$CONFIG_SHELL $0 --fallback-echo"
648 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
649 test "X$echo_testing_string" = 'X\t' &&
650 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
652 echo="$CONFIG_SHELL $0 --fallback-echo"
654 # maybe with a smaller string...
657 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
658 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
665 if test "$prev" != 'sed 50q "$0"'; then
666 echo_test_string
=`eval $prev`
667 export echo_test_string
668 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
670 # Oops. We lost completely, so just stick with echo.
679 # Copy echo and quote the copy suitably for passing to libtool from
680 # the Makefile, instead of quoting the original, which is used later.
682 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
683 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
689 tagnames
=${tagnames+${tagnames},}CXX
691 tagnames
=${tagnames+${tagnames},}F77
693 exec 7<&0 </dev
/null
6>&1
696 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
697 # so uname gets run too.
698 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
703 ac_default_prefix
=/usr
/local
705 ac_config_libobj_dir
=.
711 SHELL
=${CONFIG_SHELL-/bin/sh}
713 # Identity of this package.
714 PACKAGE_NAME
='LLVM-TEST'
715 PACKAGE_TARNAME
='-llvm-test-'
716 PACKAGE_VERSION
='2.8svn'
717 PACKAGE_STRING
='LLVM-TEST 2.8svn'
718 PACKAGE_BUGREPORT
='llvmbugs@cs.uiuc.edu'
720 ac_unique_file
="SingleSource/Benchmarks/Makefile"
721 # Factoring default headers for most tests.
722 ac_includes_default
="\
725 # include <sys/types.h>
728 # include <sys/stat.h>
739 # if !STDC_HEADERS && HAVE_MEMORY_H
745 # include <strings.h>
748 # include <inttypes.h>
766 program_transform_name
876 ac_precious_vars
='build_alias
892 # Initialize some variables set by options.
894 ac_init_version
=false
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
996 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
997 { (exit 1); exit 1; }; }
998 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
999 eval enable_
$ac_feature=no
;;
1001 -docdir |
--docdir |
--docdi |
--doc |
--do)
1003 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1004 docdir
=$ac_optarg ;;
1006 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1008 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1009 dvidir
=$ac_optarg ;;
1011 -enable-* |
--enable-*)
1012 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1015 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1016 { (exit 1); exit 1; }; }
1017 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1018 eval enable_
$ac_feature=\
$ac_optarg ;;
1020 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1021 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1022 |
--exec |
--exe |
--ex)
1023 ac_prev
=exec_prefix
;;
1024 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1025 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1026 |
--exec=* |
--exe=* |
--ex=*)
1027 exec_prefix
=$ac_optarg ;;
1029 -gas |
--gas |
--ga |
--g)
1030 # Obsolete; use --with-gas.
1033 -help |
--help |
--hel |
--he |
-h)
1034 ac_init_help
=long
;;
1035 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1036 ac_init_help
=recursive
;;
1037 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1038 ac_init_help
=short
;;
1040 -host |
--host |
--hos |
--ho)
1041 ac_prev
=host_alias
;;
1042 -host=* |
--host=* |
--hos=* |
--ho=*)
1043 host_alias
=$ac_optarg ;;
1045 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1047 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1049 htmldir
=$ac_optarg ;;
1051 -includedir |
--includedir |
--includedi |
--included |
--include \
1052 |
--includ |
--inclu |
--incl |
--inc)
1053 ac_prev
=includedir
;;
1054 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1055 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1056 includedir
=$ac_optarg ;;
1058 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1060 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1061 infodir
=$ac_optarg ;;
1063 -libdir |
--libdir |
--libdi |
--libd)
1065 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1066 libdir
=$ac_optarg ;;
1068 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1069 |
--libexe |
--libex |
--libe)
1070 ac_prev
=libexecdir
;;
1071 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1072 |
--libexe=* |
--libex=* |
--libe=*)
1073 libexecdir
=$ac_optarg ;;
1075 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1076 ac_prev
=localedir
;;
1077 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1078 localedir
=$ac_optarg ;;
1080 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1081 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1082 ac_prev
=localstatedir
;;
1083 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1084 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1085 localstatedir
=$ac_optarg ;;
1087 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1089 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1090 mandir
=$ac_optarg ;;
1092 -nfp |
--nfp |
--nf)
1093 # Obsolete; use --without-fp.
1096 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1097 |
--no-cr |
--no-c |
-n)
1100 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1101 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1104 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1105 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1106 |
--oldin |
--oldi |
--old |
--ol |
--o)
1107 ac_prev
=oldincludedir
;;
1108 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1109 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1110 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1111 oldincludedir
=$ac_optarg ;;
1113 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1115 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1116 prefix
=$ac_optarg ;;
1118 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1119 |
--program-pre |
--program-pr |
--program-p)
1120 ac_prev
=program_prefix
;;
1121 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1122 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1123 program_prefix
=$ac_optarg ;;
1125 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1126 |
--program-suf |
--program-su |
--program-s)
1127 ac_prev
=program_suffix
;;
1128 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1129 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1130 program_suffix
=$ac_optarg ;;
1132 -program-transform-name |
--program-transform-name \
1133 |
--program-transform-nam |
--program-transform-na \
1134 |
--program-transform-n |
--program-transform- \
1135 |
--program-transform |
--program-transfor \
1136 |
--program-transfo |
--program-transf \
1137 |
--program-trans |
--program-tran \
1138 |
--progr-tra |
--program-tr |
--program-t)
1139 ac_prev
=program_transform_name
;;
1140 -program-transform-name=* |
--program-transform-name=* \
1141 |
--program-transform-nam=* |
--program-transform-na=* \
1142 |
--program-transform-n=* |
--program-transform-=* \
1143 |
--program-transform=* |
--program-transfor=* \
1144 |
--program-transfo=* |
--program-transf=* \
1145 |
--program-trans=* |
--program-tran=* \
1146 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1147 program_transform_name
=$ac_optarg ;;
1149 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1151 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1152 pdfdir
=$ac_optarg ;;
1154 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1156 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1159 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1160 |
-silent |
--silent |
--silen |
--sile |
--sil)
1163 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1165 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1167 sbindir
=$ac_optarg ;;
1169 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1170 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1171 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1173 ac_prev
=sharedstatedir
;;
1174 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1175 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1176 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1178 sharedstatedir
=$ac_optarg ;;
1180 -site |
--site |
--sit)
1182 -site=* |
--site=* |
--sit=*)
1185 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1187 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1188 srcdir
=$ac_optarg ;;
1190 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1191 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1192 ac_prev
=sysconfdir
;;
1193 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1194 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1195 sysconfdir
=$ac_optarg ;;
1197 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1198 ac_prev
=target_alias
;;
1199 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1200 target_alias
=$ac_optarg ;;
1202 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1205 -version |
--version |
--versio |
--versi |
--vers |
-V)
1206 ac_init_version
=: ;;
1209 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1212 { echo "$as_me: error: invalid package name: $ac_package" >&2
1213 { (exit 1); exit 1; }; }
1214 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1215 eval with_
$ac_package=\
$ac_optarg ;;
1217 -without-* |
--without-*)
1218 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1221 { echo "$as_me: error: invalid package name: $ac_package" >&2
1222 { (exit 1); exit 1; }; }
1223 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1224 eval with_
$ac_package=no
;;
1227 # Obsolete; use --with-x.
1230 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1231 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1232 ac_prev
=x_includes
;;
1233 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1234 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1235 x_includes
=$ac_optarg ;;
1237 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1238 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1239 ac_prev
=x_libraries
;;
1240 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1241 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1242 x_libraries
=$ac_optarg ;;
1244 -*) { echo "$as_me: error: unrecognized option: $ac_option
1245 Try \`$0 --help' for more information." >&2
1246 { (exit 1); exit 1; }; }
1250 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1253 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1254 { (exit 1); exit 1; }; }
1255 eval $ac_envvar=\
$ac_optarg
1256 export $ac_envvar ;;
1259 # FIXME: should be removed in autoconf 3.0.
1260 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1261 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1262 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1263 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1269 if test -n "$ac_prev"; then
1270 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1271 { echo "$as_me: error: missing argument to $ac_option" >&2
1272 { (exit 1); exit 1; }; }
1275 # Be sure to have absolute directory names.
1276 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir
1281 eval ac_val
=\$
$ac_var
1283 [\\/$
]* | ?
:[\\/]* ) continue;;
1284 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1286 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1287 { (exit 1); exit 1; }; }
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target
=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x
; then
1299 if test "x$build_alias" = x
; then
1300 cross_compiling
=maybe
1301 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1302 If a cross compiler is detected then cross compile mode will be used." >&2
1303 elif test "x$build_alias" != "x$host_alias"; then
1309 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1311 test "$silent" = yes && exec 6>/dev
/null
1314 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1315 ac_ls_di
=`ls -di .` &&
1316 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1317 { echo "$as_me: error: Working directory cannot be determined" >&2
1318 { (exit 1); exit 1; }; }
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 { echo "$as_me: error: pwd does not report name of working directory" >&2
1321 { (exit 1); exit 1; }; }
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted
=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir
=`$as_dirname -- "$0" ||
1329 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$0" : 'X\(//\)[^/]' \| \
1331 X"$0" : 'X\(//\)$' \| \
1332 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted
=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1360 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1361 { (exit 1); exit 1; }; }
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1366 { (exit 1); exit 1; }; }
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1376 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures LLVM-TEST 2.8svn to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-test-]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --build=BUILD configure
for building on BUILD
[guessed
]
1451 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1452 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1456 if test -n "$ac_init_help"; then
1457 case $ac_init_help in
1458 short | recursive
) echo "Configuration of LLVM-TEST 2.8svn:";;
1463 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1464 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1465 --enable-llc_diffs Enable LLC Diffs when testing
(default is YES
)
1466 --enable-shared[=PKGS
] build shared libraries
1468 --enable-static[=PKGS
] build static libraries
1470 --enable-fast-install[=PKGS
]
1471 optimize
for fast installation
1473 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1476 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1477 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1478 --with-llvmsrc=DIR Location of LLVM Source Code
1479 --with-llvmobj=DIR Location of LLVM Object Code
1480 --with-externals=DIR Location of External Test code
1481 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1482 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1484 --with-tags[=TAGS
] include additional configurations
[automatic
]
1485 --with-f2c=DIR Specify that the f2c
install prefix is DIR
1486 --with-f2c-bin=DIR Specify that the f2c binary is
in DIR
1487 --with-f2c-lib=DIR Specify that f2c libraries are
in DIR
1488 --with-f2c-inc=DIR Specify that the f2c includes are
in DIR
1489 --with-nag-fortran=DIR Specify that the nag-fortran
install prefix is DIR
1490 --with-nag-fortran-bin=DIR
1491 Specify that the nag-fortran binary is
in DIR
1492 --with-nag-fortran-lib=DIR
1493 Specify that nag-fortran libraries are
in DIR
1494 --with-nag-fortran-inc=DIR
1495 Specify that the nag-fortran includes are
in DIR
1497 Some influential environment variables
:
1498 CC C compiler
command
1499 CFLAGS C compiler flags
1500 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1501 nonstandard directory
<lib dir
>
1502 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1503 you have headers
in a nonstandard directory
<include dir
>
1505 CXX C
++ compiler
command
1506 CXXFLAGS C
++ compiler flags
1507 CXXCPP C
++ preprocessor
1508 F77 Fortran
77 compiler
command
1509 FFLAGS Fortran
77 compiler flags
1511 Use these variables to override the choices made by
`configure' or to help
1512 it to find libraries and programs with nonstandard names/locations.
1514 Report bugs to <llvmbugs@cs.uiuc.edu>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" || continue
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1529 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1531 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536 ac_abs_top_builddir=$ac_pwd
1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538 # for backward compatibility:
1539 ac_top_builddir=$ac_top_build_prefix
1542 .) # We are building in place.
1544 ac_top_srcdir=$ac_top_builddir_sub
1545 ac_abs_top_srcdir=$ac_pwd ;;
1546 [\\/]* | ?:[\\/]* ) # Absolute name.
1547 ac_srcdir=$srcdir$ac_dir_suffix;
1548 ac_top_srcdir=$srcdir
1549 ac_abs_top_srcdir=$srcdir ;;
1551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552 ac_top_srcdir=$ac_top_build_prefix$srcdir
1553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557 cd "$ac_dir" || { ac_status=$?; continue; }
1558 # Check for guested configure.
1559 if test -f "$ac_srcdir/configure.gnu"; then
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then
1564 $SHELL "$ac_srcdir/configure" --help=recursive
1566 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568 cd "$ac_pwd" || { ac_status=$?; break; }
1572 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then
1575 LLVM-TEST configure 2.8svn
1576 generated by GNU Autoconf 2.60
1578 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1579 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1585 cat >config.log <<_ACEOF
1586 This file contains any messages produced by compilers while
1587 running configure, to aid debugging if configure makes a mistake.
1589 It was created by LLVM-TEST $as_me 2.8svn, which was
1590 generated by GNU Autoconf 2.60. Invocation command line was
1602 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1603 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1604 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1605 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1606 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1609 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1611 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1612 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1613 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1614 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1615 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1617 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625 test -z "$as_dir" && as_dir=.
1626 echo "PATH: $as_dir"
1642 # Keep a trace of the command line.
1643 # Strip out --no-create and --no-recursion so they do not pile up.
1644 # Strip out --silent because we don't want to record it for future runs.
1645 # Also quote any args containing shell meta-characters.
1646 # Make two passes to allow for proper duplicate-argument suppression.
1650 ac_must_keep_next=false
1656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1658 | -silent | --silent | --silen | --sile | --sil)
1661 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1664 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1666 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1667 if test $ac_must_keep_next = true; then
1668 ac_must_keep_next=false # Got value, back to normal.
1671 *=* | --config-cache | -C | -disable-* | --disable-* \
1672 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1673 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1674 | -with-* | --with-* | -without-* | --without-* | --x)
1675 case "$ac_configure_args0 " in
1676 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1679 -* ) ac_must_keep_next=true ;;
1682 ac_configure_args="$ac_configure_args '$ac_arg'"
1687 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1688 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1690 # When interrupted or exit'd, cleanup temporary files, and complete
1691 # config.log. We remove comments because anyway the quotes in there
1692 # would cause problems or look ugly.
1693 # WARNING: Use '\'' to represent an apostrophe within the trap.
1694 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1695 trap 'exit_status=$?
1696 # Save into config.log some information that might help in debugging.
1701 ## ---------------- ##
1702 ## Cache variables. ##
1703 ## ---------------- ##
1706 # The following way of writing the cache mishandles newlines in values,
1708 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1709 eval ac_val=\$$ac_var
1713 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1714 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1717 _ | IFS | as_nl) ;; #(
1718 *) $as_unset $ac_var ;;
1723 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1724 *${as_nl}ac_space=\ *)
1726 "s/'\''/'\''\\\\'\'''\''/g;
1727 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1738 ## ----------------- ##
1739 ## Output variables. ##
1740 ## ----------------- ##
1743 for ac_var in $ac_subst_vars
1745 eval ac_val=\$$ac_var
1747 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1749 echo "$ac_var='\''$ac_val'\''"
1753 if test -n "$ac_subst_files"; then
1755 ## ------------------- ##
1756 ## File substitutions. ##
1757 ## ------------------- ##
1760 for ac_var in $ac_subst_files
1762 eval ac_val=\$$ac_var
1764 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1766 echo "$ac_var='\''$ac_val'\''"
1771 if test -s confdefs.h; then
1781 test "$ac_signal" != 0 &&
1782 echo "$as_me: caught signal $ac_signal"
1783 echo "$as_me: exit $exit_status"
1785 rm -f core *.core core.conftest.* &&
1786 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1789 for ac_signal in 1 2 13 15; do
1790 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1794 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1795 rm -f -r conftest* confdefs.h
1797 # Predefined preprocessor variables.
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_NAME "$PACKAGE_NAME"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_STRING "$PACKAGE_STRING"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1824 # Let the site file select an alternate cache file if it wants to.
1825 # Prefer explicitly selected file to automatically selected ones.
1826 if test -n "$CONFIG_SITE"; then
1827 set x "$CONFIG_SITE"
1828 elif test "x$prefix" != xNONE; then
1829 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1831 set x "$ac_default_prefix/share/config.site" \
1832 "$ac_default_prefix/etc/config.site"
1837 if test -r "$ac_site_file"; then
1838 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1839 echo "$as_me: loading site script $ac_site_file" >&6;}
1840 sed 's/^/| /' "$ac_site_file" >&5
1845 if test -r "$cache_file"; then
1846 # Some versions of bash will fail to source /dev/null (special
1847 # files actually), so we avoid doing that.
1848 if test -f "$cache_file"; then
1849 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1850 echo "$as_me: loading cache $cache_file" >&6;}
1852 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1853 *) . "./$cache_file";;
1857 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1858 echo "$as_me: creating cache $cache_file" >&6;}
1862 # Check that the precious variables saved in the cache have kept the same
1864 ac_cache_corrupted=false
1865 for ac_var in $ac_precious_vars; do
1866 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1867 eval ac_new_set=\$ac_env_${ac_var}_set
1868 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1869 eval ac_new_val=\$ac_env_${ac_var}_value
1870 case $ac_old_set,$ac_new_set in
1872 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1873 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1876 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1877 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1881 if test "x$ac_old_val" != "x$ac_new_val"; then
1882 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1883 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1884 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1885 echo "$as_me: former value
: $ac_old_val" >&2;}
1886 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1887 echo "$as_me: current value
: $ac_new_val" >&2;}
1888 ac_cache_corrupted=:
1891 # Pass precious variables to config.status.
1892 if test "$ac_new_set" = set; then
1894 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1895 *) ac_arg=$ac_var=$ac_new_val ;;
1897 case " $ac_configure_args " in
1898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1899 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1903 if $ac_cache_corrupted; then
1904 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1905 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1906 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1907 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1908 { (exit 1); exit 1; }; }
1936 ac_cpp='$CPP $CPPFLAGS'
1937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1944 for ac_dir in autoconf "$srcdir"/autoconf; do
1945 if test -f "$ac_dir/install-sh"; then
1947 ac_install_sh="$ac_aux_dir/install-sh -c"
1949 elif test -f "$ac_dir/install.sh"; then
1951 ac_install_sh="$ac_aux_dir/install.sh -c"
1953 elif test -f "$ac_dir/shtool"; then
1955 ac_install_sh="$ac_aux_dir/shtool install -c"
1959 if test -z "$ac_aux_dir"; then
1960 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1961 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1962 { (exit 1); exit 1; }; }
1965 # These three variables are undocumented and unsupported,
1966 # and are intended to be withdrawn in a future Autoconf release.
1967 # They can cause serious problems if a builder's source tree is in a directory
1968 # whose full name contains unusual characters.
1969 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1970 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1971 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1977 ac_config_commands="$ac_config_commands setup"
1979 ac_config_files="$ac_config_files Makefile.config"
1981 ac_config_commands="$ac_config_commands Makefile"
1984 ac_config_commands="$ac_config_commands Makefile.common"
1987 ac_config_commands="$ac_config_commands Makefile.nagfortran"
1990 ac_config_commands="$ac_config_commands Makefile.f2c"
1993 ac_config_commands="$ac_config_commands Makefile.programs"
1996 ac_config_commands="$ac_config_commands Makefile.tests"
1999 ac_config_commands="$ac_config_commands TEST.aa.Makefile"
2002 ac_config_commands="$ac_config_commands TEST.aa.report"
2005 ac_config_commands="$ac_config_commands TEST.example.Makefile"
2008 ac_config_commands="$ac_config_commands TEST.nightly.Makefile"
2011 ac_config_commands="$ac_config_commands TEST.buildrepo.Makefile"
2014 ac_config_commands="$ac_config_commands TEST.jit.Makefile"
2017 ac_config_commands="$ac_config_commands TEST.nightly.report"
2020 ac_config_commands="$ac_config_commands TEST.jit.report"
2023 ac_config_commands="$ac_config_commands TEST.typesafe.Makefile"
2026 ac_config_commands="$ac_config_commands TEST.vtl.Makefile"
2029 ac_config_commands="$ac_config_commands External/Makefile"
2032 ac_config_commands="$ac_config_commands External/Makefile.external"
2035 ac_config_commands="$ac_config_commands External/Povray/Makefile"
2038 ac_config_commands="$ac_config_commands External/SPEC/Makefile"
2041 ac_config_commands="$ac_config_commands External/SPEC/Makefile.spec"
2044 ac_config_commands="$ac_config_commands External/SPEC/Makefile.spec.config"
2047 ac_config_commands="$ac_config_commands External/SPEC/Makefile.spec2006"
2050 ac_config_commands="$ac_config_commands External/SPEC/Makefile.spec2000"
2053 ac_config_commands="$ac_config_commands External/SPEC/Makefile.spec95"
2056 ac_config_commands="$ac_config_commands External/SPEC/CFP2006/Makefile"
2059 ac_config_commands="$ac_config_commands External/SPEC/CINT2006/Makefile"
2062 ac_config_commands="$ac_config_commands External/SPEC/CFP2000/Makefile"
2065 ac_config_commands="$ac_config_commands External/SPEC/CINT2000/Makefile"
2068 ac_config_commands="$ac_config_commands External/SPEC/CFP95/Makefile"
2071 ac_config_commands="$ac_config_commands External/SPEC/CINT95/Makefile"
2074 ac_config_commands="$ac_config_commands External/skidmarks10/Makefile"
2077 ac_config_commands="$ac_config_commands MultiSource/Makefile"
2080 ac_config_commands="$ac_config_commands MultiSource/Makefile.multisrc"
2083 ac_config_commands="$ac_config_commands SingleSource/Makefile"
2086 ac_config_commands="$ac_config_commands SingleSource/Makefile.singlesrc"
2089 ac_config_commands="$ac_config_commands tools/Makefile"
2094 # Make sure we can run config.sub.
2095 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2096 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2097 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2098 { (exit 1); exit 1; }; }
2100 { echo "$as_me:$LINENO: checking build system type" >&5
2101 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2102 if test "${ac_cv_build+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 ac_build_alias=$build_alias
2106 test "x$ac_build_alias" = x &&
2107 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2108 test "x$ac_build_alias" = x &&
2109 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2110 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2111 { (exit 1); exit 1; }; }
2112 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2113 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2114 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2115 { (exit 1); exit 1; }; }
2118 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2119 echo "${ECHO_T}$ac_cv_build" >&6; }
2120 case $ac_cv_build in
2122 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2123 echo "$as_me: error: invalid value of canonical build" >&2;}
2124 { (exit 1); exit 1; }; };;
2127 ac_save_IFS=$IFS; IFS='-'
2133 # Remember, the first character of IFS is used to create $*,
2134 # except with old shells:
2137 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2140 { echo "$as_me:$LINENO: checking host system type" >&5
2141 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2142 if test "${ac_cv_host+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test "x$host_alias" = x; then
2146 ac_cv_host=$ac_cv_build
2148 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2149 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2150 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2151 { (exit 1); exit 1; }; }
2155 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2156 echo "${ECHO_T}$ac_cv_host" >&6; }
2159 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2160 echo "$as_me: error: invalid value of canonical host" >&2;}
2161 { (exit 1); exit 1; }; };;
2164 ac_save_IFS=$IFS; IFS='-'
2170 # Remember, the first character of IFS is used to create $*,
2171 # except with old shells:
2174 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2177 { echo "$as_me:$LINENO: checking target system type" >&5
2178 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2179 if test "${ac_cv_target+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test "x$target_alias" = x; then
2183 ac_cv_target=$ac_cv_host
2185 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2186 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2187 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2188 { (exit 1); exit 1; }; }
2192 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2193 echo "${ECHO_T}$ac_cv_target" >&6; }
2194 case $ac_cv_target in
2196 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2197 echo "$as_me: error: invalid value of canonical target" >&2;}
2198 { (exit 1); exit 1; }; };;
2200 target=$ac_cv_target
2201 ac_save_IFS=$IFS; IFS='-'
2207 # Remember, the first character of IFS is used to create $*,
2208 # except with old shells:
2211 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2214 # The aliases save the names the user supplied, while $host etc.
2215 # will get canonicalized.
2216 test -n "$target_alias" &&
2217 test "$program_prefix$program_suffix$program_transform_name" = \
2219 program_prefix=${target_alias}-
2221 { echo "$as_me:$LINENO: checking type of operating system we're going to target" >&5
2222 echo $ECHO_N "checking type of operating system we're going to target... $ECHO_C" >&6; }
2223 if test "${llvm_cv_target_os_type+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 llvm_cv_target_os_type="AIX" ;;
2230 llvm_cv_target_os_type="IRIX" ;;
2232 llvm_cv_target_os_type="Cygwin" ;;
2234 llvm_cv_target_os_type="Darwin" ;;
2236 llvm_cv_target_os_type="Minix" ;;
2238 llvm_cv_target_os_type="FreeBSD" ;;
2240 llvm_cv_target_os_type="OpenBSD" ;;
2242 llvm_cv_target_os_type="NetBSD" ;;
2244 llvm_cv_target_os_type="DragonFly" ;;
2246 llvm_cv_target_os_type="HP-UX" ;;
2248 llvm_cv_target_os_type="Interix" ;;
2250 llvm_cv_target_os_type="Linux" ;;
2252 llvm_cv_target_os_type="SunOS" ;;
2254 llvm_cv_target_os_type="AuroraUX" ;;
2256 llvm_cv_target_os_type="Win32" ;;
2258 llvm_cv_target_os_type="MingW" ;;
2260 llvm_cv_target_os_type="Haiku" ;;
2262 llvm_cv_target_os_type="Freestanding" ;;
2264 llvm_cv_target_os_type="Unknown" ;;
2267 { echo "$as_me:$LINENO: result: $llvm_cv_target_os_type" >&5
2268 echo "${ECHO_T}$llvm_cv_target_os_type" >&6; }
2270 TARGET_OS=$llvm_cv_target_os_type
2273 { echo "$as_me:$LINENO: checking target architecture" >&5
2274 echo $ECHO_N "checking target architecture... $ECHO_C" >&6; }
2275 if test "${llvm_cv_target_arch+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 i?86-*) llvm_cv_target_arch="x86" ;;
2280 amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
2281 sparc*-*) llvm_cv_target_arch="Sparc" ;;
2282 powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
2283 alpha*-*) llvm_cv_target_arch="Alpha" ;;
2284 arm*-*) llvm_cv_target_arch="ARM" ;;
2285 mips-*) llvm_cv_target_arch="Mips" ;;
2286 xcore-*) llvm_cv_target_arch="XCore" ;;
2287 msp430-*) llvm_cv_target_arch="MSP430" ;;
2288 s390x-*) llvm_cv_target_arch="SystemZ" ;;
2289 bfin-*) llvm_cv_target_arch="Blackfin" ;;
2290 mblaze-*) llvm_cv_target_arch="MBlaze" ;;
2291 ptx-*) llvm_cv_target_arch="PTX" ;;
2292 *) llvm_cv_target_arch="Unknown" ;;
2295 { echo "$as_me:$LINENO: result: $llvm_cv_target_arch" >&5
2296 echo "${ECHO_T}$llvm_cv_target_arch" >&6; }
2297 if test "$llvm_cv_target_arch" = "Unknown" ; then
2298 { echo "$as_me:$LINENO: WARNING: Configuring LLVM for an unknown target archicture" >&5
2299 echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
2302 # Determine the LLVM native architecture for the target
2303 case "$llvm_cv_target_arch" in
2304 x86) LLVM_NATIVE_ARCH="X86" ;;
2305 x86_64) LLVM_NATIVE_ARCH="X86" ;;
2306 *) LLVM_NATIVE_ARCH="$llvm_cv_target_arch" ;;
2309 ARCH=$llvm_cv_target_arch
2313 ac_cpp='$CPP $CPPFLAGS'
2314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$CC"; then
2326 ac_cv_prog_CC="$CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$CC"; then
2347 { echo "$as_me:$LINENO: result: $CC" >&5
2348 echo "${ECHO_T}$CC" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2356 if test -z "$ac_cv_prog_CC"; then
2358 # Extract the first word of "gcc", so it can be a program name with args.
2359 set dummy gcc; ac_word=$2
2360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_CC"; then
2366 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_ac_ct_CC="gcc"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2386 if test -n "$ac_ct_CC"; then
2387 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2388 echo "${ECHO_T}$ac_ct_CC" >&6; }
2390 { echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6; }
2394 if test "x$ac_ct_CC" = x; then
2397 case $cross_compiling:$ac_tool_warned in
2399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&5
2402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2403 whose name does not start with the host triplet. If you think this
2404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2405 ac_tool_warned=yes ;;
2413 if test -z "$CC"; then
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}cc; ac_word=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_CC="${ac_tool_prefix}cc"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 if test -n "$CC"; then
2444 { echo "$as_me:$LINENO: result: $CC" >&5
2445 echo "${ECHO_T}$CC" >&6; }
2447 { echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6; }
2454 if test -z "$CC"; then
2455 # Extract the first word of "cc", so it can be a program name with args.
2456 set dummy cc; ac_word=$2
2457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2459 if test "${ac_cv_prog_CC+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$CC"; then
2463 ac_cv_prog_CC="$CC" # Let the user override the test.
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2473 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2474 ac_prog_rejected=yes
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 if test $ac_prog_rejected = yes; then
2486 # We found a bogon in the path, so make sure we never use it.
2487 set dummy $ac_cv_prog_CC
2489 if test $# != 0; then
2490 # We chose a different compiler from the bogus one.
2491 # However, it has the same basename, so the bogon will be chosen
2492 # first if we set CC to just the basename; use the full file name.
2494 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2500 if test -n "$CC"; then
2501 { echo "$as_me:$LINENO: result: $CC" >&5
2502 echo "${ECHO_T}$CC" >&6; }
2504 { echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6; }
2510 if test -z "$CC"; then
2511 if test -n "$ac_tool_prefix"; then
2512 for ac_prog in cl.exe
2514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2518 if test "${ac_cv_prog_CC+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 if test -n "$CC"; then
2522 ac_cv_prog_CC="$CC" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 if test -n "$CC"; then
2543 { echo "$as_me:$LINENO: result: $CC" >&5
2544 echo "${ECHO_T}$CC" >&6; }
2546 { echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6; }
2551 test -n "$CC" && break
2554 if test -z "$CC"; then
2556 for ac_prog in cl.exe
2558 # Extract the first word of "$ac_prog", so it can be a program name with args.
2559 set dummy $ac_prog; ac_word=$2
2560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 if test -n "$ac_ct_CC"; then
2566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_ac_ct_CC="$ac_prog"
2576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2586 if test -n "$ac_ct_CC"; then
2587 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2588 echo "${ECHO_T}$ac_ct_CC" >&6; }
2590 { echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6; }
2595 test -n "$ac_ct_CC" && break
2598 if test "x$ac_ct_CC" = x; then
2601 case $cross_compiling:$ac_tool_warned in
2603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2604 whose name does not start with the host triplet. If you think this
2605 configuration is useful to you, please write to autoconf@gnu.org." >&5
2606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2607 whose name does not start with the host triplet. If you think this
2608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2609 ac_tool_warned=yes ;;
2618 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2619 See \`config.log
' for more details." >&5
2620 echo "$as_me: error: no acceptable C compiler found in \$PATH
2621 See \`config.log' for more details.
" >&2;}
2622 { (exit 1); exit 1; }; }
2624 # Provide some information about the compiler.
2625 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2626 ac_compiler=`set X $ac_compile; echo $2`
2627 { (ac_try="$ac_compiler --version >&5"
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2633 (eval "$ac_compiler --version >&5") 2>&5
2635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2636 (exit $ac_status); }
2637 { (ac_try="$ac_compiler -v >&5"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2643 (eval "$ac_compiler -v >&5") 2>&5
2645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2646 (exit $ac_status); }
2647 { (ac_try="$ac_compiler -V >&5"
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2652 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2653 (eval "$ac_compiler -V >&5") 2>&5
2655 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2656 (exit $ac_status); }
2658 cat >conftest.$ac_ext <<_ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2673 ac_clean_files_save=$ac_clean_files
2674 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2675 # Try to create an executable without -o first, disregard a.out.
2676 # It will help us diagnose broken compilers, and finding out an intuition
2678 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2679 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2680 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2682 # List of possible output files, starting from the most likely.
2683 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2684 # only as a last resort. b.out is created by i960 compilers.
2685 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2687 # The IRIX 6 linker writes into existing files which may not be
2688 # executable, retaining their permissions. Remove them first so a
2689 # subsequent execution test works.
2691 for ac_file in $ac_files
2694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2700 if { (ac_try="$ac_link_default"
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2706 (eval "$ac_link_default") 2>&5
2708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2709 (exit $ac_status); }; then
2710 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2711 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2712 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2713 # so that the user can short-circuit this test for compilers unknown to
2715 for ac_file in $ac_files
2717 test -f "$ac_file" || continue
2719 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2722 # We found the default executable, but exeext='' is most
2726 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2728 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2730 # We set ac_cv_exeext here because the later test for it is not
2731 # safe: cross compilers may not add the suffix if given an `-o'
2732 # argument, so we may need to know it at that point already.
2733 # Even if this section looks crufty: it has the advantage of
2740 test "$ac_cv_exeext" = no && ac_cv_exeext=
2743 echo "$as_me: failed program was
:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2746 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2747 See \
`config.log' for more details." >&5
2748 echo "$as_me: error: C compiler cannot create executables
2749 See \`config.log
' for more details." >&2;}
2750 { (exit 77); exit 77; }; }
2753 ac_exeext=$ac_cv_exeext
2754 { echo "$as_me:$LINENO: result: $ac_file" >&5
2755 echo "${ECHO_T}$ac_file" >&6; }
2757 # Check that the compiler produces executables we can run. If not, either
2758 # the compiler is broken, or we cross compile.
2759 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2760 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2761 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2762 # If not cross compiling, check that we can run a simple program.
2763 if test "$cross_compiling" != yes; then
2764 if { ac_try='.
/$ac_file'
2765 { (case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_try") 2>&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; }; then
2776 if test "$cross_compiling" = maybe; then
2779 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2780 If you meant to cross compile, use \`--host'.
2781 See \
`config.log' for more details." >&5
2782 echo "$as_me: error: cannot run C compiled programs.
2783 If you meant to cross compile, use \`--host'.
2784 See \`config.log' for more details.
" >&2;}
2785 { (exit 1); exit 1; }; }
2789 { echo "$as_me:$LINENO: result
: yes" >&5
2790 echo "${ECHO_T}yes" >&6; }
2792 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2793 ac_clean_files=$ac_clean_files_save
2794 # Check that the compiler produces executables we can run. If not, either
2795 # the compiler is broken, or we cross compile.
2796 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2797 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2798 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2799 echo "${ECHO_T}$cross_compiling" >&6; }
2801 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2802 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2803 if { (ac_try="$ac_link"
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2809 (eval "$ac_link") 2>&5
2811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2812 (exit $ac_status); }; then
2813 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2814 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2815 # work properly (i.e., refer to `conftest.exe'), while it won't with
2817 for ac_file in conftest.exe conftest conftest.*; do
2818 test -f "$ac_file" || continue
2820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2821 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2827 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2828 See \
`config.log' for more details." >&5
2829 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2830 See \`config.log
' for more details." >&2;}
2831 { (exit 1); exit 1; }; }
2834 rm -f conftest$ac_cv_exeext
2835 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2836 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2838 rm -f conftest.$ac_ext
2839 EXEEXT=$ac_cv_exeext
2841 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2842 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2843 if test "${ac_cv_objext+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2861 rm -f conftest.o conftest.obj
2862 if { (ac_try="$ac_compile"
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2868 (eval "$ac_compile") 2>&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; then
2872 for ac_file in conftest.o conftest.obj conftest.*; do
2873 test -f "$ac_file" || continue;
2875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2876 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2881 echo "$as_me: failed program was:" >&5
2882 sed 's
/^
/|
/' conftest.$ac_ext >&5
2884 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2885 See \`config.log' for more details.
" >&5
2886 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2887 See \
`config.log' for more details." >&2;}
2888 { (exit 1); exit 1; }; }
2891 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2893 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2894 echo "${ECHO_T}$ac_cv_objext" >&6; }
2895 OBJEXT=$ac_cv_objext
2897 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2898 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2899 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 cat >conftest.$ac_ext <<_ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2920 rm -f conftest.$ac_objext
2921 if { (ac_try="$ac_compile"
2923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2924 *) ac_try_echo
=$ac_try;;
2926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927 (eval "$ac_compile") 2>conftest.er1
2929 grep -v '^ *+' conftest.er1
>conftest.err
2931 cat conftest.err
>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2935 { (case "(($ac_try" in
2936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_try") 2>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; } &&
2944 { ac_try='test -s conftest.$ac_objext'
2945 { (case "(($ac_try" in
2946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2947 *) ac_try_echo
=$ac_try;;
2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2950 (eval "$ac_try") 2>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.
$ac_ext >&5
2962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2963 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2966 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2967 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2968 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2969 ac_test_CFLAGS
=${CFLAGS+set}
2970 ac_save_CFLAGS
=$CFLAGS
2971 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2972 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_cc_g+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 ac_save_c_werror_flag
=$ac_c_werror_flag
2977 ac_c_werror_flag
=yes
2980 cat >conftest.
$ac_ext <<_ACEOF
2983 cat confdefs.h
>>conftest.
$ac_ext
2984 cat >>conftest.
$ac_ext <<_ACEOF
2985 /* 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
3035 cat >conftest.$ac_ext <<_ACEOF
3038 cat confdefs.h >>conftest.$ac_ext
3039 cat >>conftest.$ac_ext <<_ACEOF
3040 /* end confdefs.h. */
3050 rm -f conftest.$ac_objext
3051 if { (ac_try="$ac_compile"
3053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3054 *) ac_try_echo
=$ac_try;;
3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3057 (eval "$ac_compile") 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } &&
3064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3065 { (case "(($ac_try" in
3066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_try") 2>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; } &&
3074 { ac_try='test -s conftest.$ac_objext'
3075 { (case "(($ac_try" in
3076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3077 *) ac_try_echo
=$ac_try;;
3079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3080 (eval "$ac_try") 2>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }; }; then
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 ac_c_werror_flag
=$ac_save_c_werror_flag
3091 cat >conftest.
$ac_ext <<_ACEOF
3094 cat confdefs.h
>>conftest.
$ac_ext
3095 cat >>conftest.
$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3106 rm -f conftest.
$ac_objext
3107 if { (ac_try
="$ac_compile"
3109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compile") 2>conftest.er1
3115 grep -v '^ *+' conftest.er1 >conftest.err
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3121 { (case "(($ac_try" in
3122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3123 *) ac_try_echo
=$ac_try;;
3125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3126 (eval "$ac_try") 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; } &&
3130 { ac_try
='test -s conftest.$ac_objext'
3131 { (case "(($ac_try" in
3132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_try") 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_c_werror_flag=$ac_save_c_werror_flag
3157 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3159 if test "$ac_test_CFLAGS" = set; then
3160 CFLAGS=$ac_save_CFLAGS
3161 elif test $ac_cv_prog_cc_g = yes; then
3162 if test "$GCC" = yes; then
3168 if test "$GCC" = yes; then
3174 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3175 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3176 if test "${ac_cv_prog_cc_c89+set}" = set; then
3177 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 ac_cv_prog_cc_c89=no
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3189 #include <sys/types.h>
3190 #include <sys/stat.h>
3191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3192 struct buf { int x; };
3193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3194 static char *e (p, i)
3200 static char *f (char * (*g) (char **, int), char **p, ...)
3205 s = g (p, va_arg (v,int));
3210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3211 function prototypes and stuff, but not '\xHH' hex character constants.
3212 These don't provoke an error unfortunately, instead are silently treated
3213 as 'x'. The following induces an error, until -std is added to get
3214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3215 array size at least. It's necessary to write '\x00'==0 to get something
3216 that's true only with -std. */
3217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3219 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3220 inside strings and character constants. */
3222 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3224 int test (int i, double x);
3225 struct s1 {int (*f) (int a);};
3226 struct s2 {int (*f) (double a);};
3227 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3233 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3238 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3239 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3241 CC="$ac_save_CC $ac_arg"
3242 rm -f conftest.$ac_objext
3243 if { (ac_try="$ac_compile"
3245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3246 *) ac_try_echo
=$ac_try;;
3248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 (eval "$ac_compile") 2>conftest.er1
3251 grep -v '^ *+' conftest.er1
>conftest.err
3253 cat conftest.err
>&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } &&
3256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3257 { (case "(($ac_try" in
3258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3262 (eval "$ac_try") 2>&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; } &&
3266 { ac_try='test -s conftest.$ac_objext'
3267 { (case "(($ac_try" in
3268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3269 *) ac_try_echo
=$ac_try;;
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_try") 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; }; then
3276 ac_cv_prog_cc_c89
=$ac_arg
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.
$ac_ext >&5
3284 rm -f core conftest.err conftest.
$ac_objext
3285 test "x$ac_cv_prog_cc_c89" != "xno" && break
3287 rm -f conftest.
$ac_ext
3292 case "x$ac_cv_prog_cc_c89" in
3294 { echo "$as_me:$LINENO: result: none needed" >&5
3295 echo "${ECHO_T}none needed" >&6; } ;;
3297 { echo "$as_me:$LINENO: result: unsupported" >&5
3298 echo "${ECHO_T}unsupported" >&6; } ;;
3300 CC
="$CC $ac_cv_prog_cc_c89"
3301 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3302 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3307 ac_cpp
='$CPP $CPPFLAGS'
3308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3314 ac_cpp
='$CPP $CPPFLAGS'
3315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3318 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3320 # On Suns, sometimes $CPP names a directory.
3321 if test -n "$CPP" && test -d "$CPP"; then
3324 if test -z "$CPP"; then
3325 if test "${ac_cv_prog_CPP+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 # Double quotes because CPP needs to be expanded
3329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3332 for ac_c_preproc_warn_flag
in '' yes
3334 # Use a header file that comes with gcc, so configuring glibc
3335 # with a fresh cross-compiler works.
3336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3337 # <limits.h> exists even on freestanding compilers.
3338 # On the NeXT, cc -E runs the code through the compiler's parser,
3339 # not just through cpp. "Syntax error" is here to catch this case.
3340 cat >conftest.
$ac_ext <<_ACEOF
3343 cat confdefs.h
>>conftest.
$ac_ext
3344 cat >>conftest.
$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3347 # include <limits.h>
3349 # include <assert.h>
3353 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3361 grep -v '^ *+' conftest.er1 >conftest.err
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } >/dev/null; then
3366 if test -s conftest.err; then
3367 ac_cpp_err=$ac_c_preproc_warn_flag
3368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3375 if test -z "$ac_cpp_err"; then
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3381 # Broken: fails on valid input.
3385 rm -f conftest.err conftest.$ac_ext
3387 # OK, works on sane cases. Now check whether nonexistent headers
3388 # can be detected and how.
3389 cat >conftest.$ac_ext <<_ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 #include <ac_nonexistent.h>
3397 if { (ac_try="$ac_cpp conftest.$ac_ext"
3399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3400 *) ac_try_echo
=$ac_try;;
3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1
>conftest.err
3407 cat conftest.err
>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } >/dev
/null
; then
3410 if test -s conftest.err
; then
3411 ac_cpp_err
=$ac_c_preproc_warn_flag
3412 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3419 if test -z "$ac_cpp_err"; then
3420 # Broken: success on invalid input.
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.
$ac_ext >&5
3426 # Passes both tests.
3431 rm -f conftest.err conftest.
$ac_ext
3434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3435 rm -f conftest.err conftest.
$ac_ext
3436 if $ac_preproc_ok; then
3448 { echo "$as_me:$LINENO: result: $CPP" >&5
3449 echo "${ECHO_T}$CPP" >&6; }
3451 for ac_c_preproc_warn_flag
in '' yes
3453 # Use a header file that comes with gcc, so configuring glibc
3454 # with a fresh cross-compiler works.
3455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3456 # <limits.h> exists even on freestanding compilers.
3457 # On the NeXT, cc -E runs the code through the compiler's parser,
3458 # not just through cpp. "Syntax error" is here to catch this case.
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3466 # include <limits.h>
3468 # include <assert.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
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3500 # Broken: fails on valid input.
3504 rm -f conftest.err conftest.$ac_ext
3506 # OK, works on sane cases. Now check whether nonexistent headers
3507 # can be detected and how.
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3514 #include <ac_nonexistent.h>
3516 if { (ac_try="$ac_cpp conftest.$ac_ext"
3518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3519 *) ac_try_echo
=$ac_try;;
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3524 grep -v '^ *+' conftest.er1
>conftest.err
3526 cat conftest.err
>&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } >/dev
/null
; then
3529 if test -s conftest.err
; then
3530 ac_cpp_err
=$ac_c_preproc_warn_flag
3531 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3538 if test -z "$ac_cpp_err"; then
3539 # Broken: success on invalid input.
3542 echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.
$ac_ext >&5
3545 # Passes both tests.
3550 rm -f conftest.err conftest.
$ac_ext
3553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3554 rm -f conftest.err conftest.
$ac_ext
3555 if $ac_preproc_ok; then
3558 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3559 See \`config.log' for more details." >&5
3560 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3561 See \`config.log' for more details." >&2;}
3562 { (exit 1); exit 1; }; }
3566 ac_cpp
='$CPP $CPPFLAGS'
3567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3572 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3573 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3574 if test "${ac_cv_path_GREP+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 # Extract the first word of "grep ggrep" to use in msg output
3578 if test -z "$GREP"; then
3579 set dummy
grep ggrep
; ac_prog_name
=$2
3580 if test "${ac_cv_path_GREP+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 ac_path_GREP_found
=false
3584 # Loop through the user's path and test for each of PROGNAME-LIST
3585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3586 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3589 test -z "$as_dir" && as_dir
=.
3590 for ac_prog
in grep ggrep
; do
3591 for ac_exec_ext
in '' $ac_executable_extensions; do
3592 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3593 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3594 # Check for GNU ac_path_GREP and select it if it is found.
3595 # Check for GNU $ac_path_GREP
3596 case `"$ac_path_GREP" --version 2>&1` in
3598 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3601 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3604 cat "conftest.in" "conftest.in" >"conftest.tmp"
3605 mv "conftest.tmp" "conftest.in"
3606 cp "conftest.in" "conftest.nl"
3607 echo 'GREP' >> "conftest.nl"
3608 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3609 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3610 ac_count
=`expr $ac_count + 1`
3611 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3612 # Best one so far, save it but keep looking for a better one
3613 ac_cv_path_GREP
="$ac_path_GREP"
3614 ac_path_GREP_max
=$ac_count
3616 # 10*(2^10) chars as input seems more than enough
3617 test $ac_count -gt 10 && break
3619 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3623 $ac_path_GREP_found && break 3
3633 GREP
="$ac_cv_path_GREP"
3634 if test -z "$GREP"; then
3635 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3636 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3637 { (exit 1); exit 1; }; }
3641 ac_cv_path_GREP
=$GREP
3646 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3647 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3648 GREP
="$ac_cv_path_GREP"
3651 { echo "$as_me:$LINENO: checking for egrep" >&5
3652 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3653 if test "${ac_cv_path_EGREP+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3657 then ac_cv_path_EGREP
="$GREP -E"
3659 # Extract the first word of "egrep" to use in msg output
3660 if test -z "$EGREP"; then
3661 set dummy
egrep; ac_prog_name
=$2
3662 if test "${ac_cv_path_EGREP+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 ac_path_EGREP_found
=false
3666 # Loop through the user's path and test for each of PROGNAME-LIST
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_prog
in egrep; do
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3675 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3676 # Check for GNU ac_path_EGREP and select it if it is found.
3677 # Check for GNU $ac_path_EGREP
3678 case `"$ac_path_EGREP" --version 2>&1` in
3680 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3683 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3686 cat "conftest.in" "conftest.in" >"conftest.tmp"
3687 mv "conftest.tmp" "conftest.in"
3688 cp "conftest.in" "conftest.nl"
3689 echo 'EGREP' >> "conftest.nl"
3690 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3691 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3692 ac_count
=`expr $ac_count + 1`
3693 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3694 # Best one so far, save it but keep looking for a better one
3695 ac_cv_path_EGREP
="$ac_path_EGREP"
3696 ac_path_EGREP_max
=$ac_count
3698 # 10*(2^10) chars as input seems more than enough
3699 test $ac_count -gt 10 && break
3701 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3705 $ac_path_EGREP_found && break 3
3715 EGREP
="$ac_cv_path_EGREP"
3716 if test -z "$EGREP"; then
3717 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3718 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3719 { (exit 1); exit 1; }; }
3723 ac_cv_path_EGREP
=$EGREP
3729 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3730 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3731 EGREP
="$ac_cv_path_EGREP"
3734 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3735 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3736 if test "${ac_cv_header_stdc+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 cat >conftest.
$ac_ext <<_ACEOF
3742 cat confdefs.h
>>conftest.
$ac_ext
3743 cat >>conftest.
$ac_ext <<_ACEOF
3744 /* end confdefs.h. */
3758 rm -f conftest.
$ac_objext
3759 if { (ac_try
="$ac_compile"
3761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_compile") 2>conftest.er1
3767 grep -v '^ *+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } &&
3772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3773 { (case "(($ac_try" in
3774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3775 *) ac_try_echo
=$ac_try;;
3777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3778 (eval "$ac_try") 2>&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; } &&
3782 { ac_try
='test -s conftest.$ac_objext'
3783 { (case "(($ac_try" in
3784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3788 (eval "$ac_try") 2>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; }; then
3792 ac_cv_header_stdc=yes
3794 echo "$as_me: failed program was:" >&5
3795 sed 's/^/| /' conftest.$ac_ext >&5
3797 ac_cv_header_stdc=no
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 if test $ac_cv_header_stdc = yes; then
3803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3804 cat >conftest.$ac_ext <<_ACEOF
3807 cat confdefs.h >>conftest.$ac_ext
3808 cat >>conftest.$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3814 $EGREP "memchr" >/dev/null 2>&1; then
3817 ac_cv_header_stdc=no
3823 if test $ac_cv_header_stdc = yes; then
3824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3825 cat >conftest.$ac_ext <<_ACEOF
3828 cat confdefs.h >>conftest.$ac_ext
3829 cat >>conftest.$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3835 $EGREP "free" >/dev/null 2>&1; then
3838 ac_cv_header_stdc=no
3844 if test $ac_cv_header_stdc = yes; then
3845 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3846 if test "$cross_compiling" = yes; then
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3857 #if ((' ' & 0x0FF) == 0x020)
3858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3861 # define ISLOWER(c) \
3862 (('a' <= (c) && (c) <= 'i') \
3863 || ('j' <= (c) && (c) <= 'r') \
3864 || ('s' <= (c) && (c) <= 'z'))
3865 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3868 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3873 for (i = 0; i < 256; i++)
3874 if (XOR (islower (i), ISLOWER (i))
3875 || toupper (i) != TOUPPER (i))
3880 rm -f conftest$ac_exeext
3881 if { (ac_try="$ac_link"
3883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3884 *) ac_try_echo
=$ac_try;;
3886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3887 (eval "$ac_link") 2>&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3891 { (case "(($ac_try" in
3892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3893 *) ac_try_echo=$ac_try;;
3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896 (eval "$ac_try") 2>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; }; then
3902 echo "$as_me: program exited with status $ac_status" >&5
3903 echo "$as_me: failed program was:" >&5
3904 sed 's/^/| /' conftest.$ac_ext >&5
3907 ac_cv_header_stdc=no
3909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3915 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3916 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3917 if test $ac_cv_header_stdc = yes; then
3919 cat >>confdefs.h <<\_ACEOF
3920 #define STDC_HEADERS 1
3925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3935 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3936 inttypes.h stdint.h unistd.h
3938 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3952 #include <$ac_header>
3954 rm -f conftest.$ac_objext
3955 if { (ac_try="$ac_compile"
3957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3958 *) ac_try_echo
=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_compile") 2>conftest.er1
3963 grep -v '^ *+' conftest.er1
>conftest.err
3965 cat conftest.err
>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } &&
3968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3969 { (case "(($ac_try" in
3970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3974 (eval "$ac_try") 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; } &&
3978 { ac_try='test -s conftest.$ac_objext'
3979 { (case "(($ac_try" in
3980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3981 *) ac_try_echo
=$ac_try;;
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_try") 2>&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; }; then
3988 eval "$as_ac_Header=yes"
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.
$ac_ext >&5
3993 eval "$as_ac_Header=no"
3996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3998 ac_res
=`eval echo '${'$as_ac_Header'}'`
3999 { echo "$as_me:$LINENO: result: $ac_res" >&5
4000 echo "${ECHO_T}$ac_res" >&6; }
4001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4002 cat >>confdefs.h
<<_ACEOF
4003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4011 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4012 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4013 if test "${ac_cv_c_bigendian+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 # See if sys/param.h defines the BYTE_ORDER macro.
4017 cat >conftest.
$ac_ext <<_ACEOF
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4023 #include <sys/types.h>
4024 #include <sys/param.h>
4029 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4037 rm -f conftest.
$ac_objext
4038 if { (ac_try
="$ac_compile"
4040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 (eval "$ac_compile") 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4052 { (case "(($ac_try" in
4053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4054 *) ac_try_echo
=$ac_try;;
4056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4057 (eval "$ac_try") 2>&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; } &&
4061 { ac_try
='test -s conftest.$ac_objext'
4062 { (case "(($ac_try" in
4063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4067 (eval "$ac_try") 2>&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; }; then
4071 # It does; now see whether it defined to BIG_ENDIAN or not.
4072 cat >conftest.$ac_ext <<_ACEOF
4075 cat confdefs.h >>conftest.$ac_ext
4076 cat >>conftest.$ac_ext <<_ACEOF
4077 /* end confdefs.h. */
4078 #include <sys/types.h>
4079 #include <sys/param.h>
4084 #if BYTE_ORDER != BIG_ENDIAN
4092 rm -f conftest.$ac_objext
4093 if { (ac_try="$ac_compile"
4095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4096 *) ac_try_echo
=$ac_try;;
4098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099 (eval "$ac_compile") 2>conftest.er1
4101 grep -v '^ *+' conftest.er1
>conftest.err
4103 cat conftest.err
>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } &&
4106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4107 { (case "(($ac_try" in
4108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112 (eval "$ac_try") 2>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); }; } &&
4116 { ac_try='test -s conftest.$ac_objext'
4117 { (case "(($ac_try" in
4118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4119 *) ac_try_echo
=$ac_try;;
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_try") 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; }; then
4126 ac_cv_c_bigendian
=yes
4128 echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.
$ac_ext >&5
4131 ac_cv_c_bigendian
=no
4134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4136 echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.
$ac_ext >&5
4139 # It does not; compile a test program.
4140 if test "$cross_compiling" = yes; then
4141 # try to guess the endianness by grepping values into an object file
4142 ac_cv_c_bigendian
=unknown
4143 cat >conftest.
$ac_ext <<_ACEOF
4146 cat confdefs.h
>>conftest.
$ac_ext
4147 cat >>conftest.
$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4149 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4150 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4151 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4152 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4153 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4154 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4158 _ascii (); _ebcdic ();
4163 rm -f conftest.
$ac_objext
4164 if { (ac_try
="$ac_compile"
4166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_compile") 2>conftest.er1
4172 grep -v '^ *+' conftest.er1 >conftest.err
4174 cat conftest.err >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } &&
4177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4178 { (case "(($ac_try" in
4179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4180 *) ac_try_echo
=$ac_try;;
4182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4183 (eval "$ac_try") 2>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; } &&
4187 { ac_try
='test -s conftest.$ac_objext'
4188 { (case "(($ac_try" in
4189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4193 (eval "$ac_try") 2>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; }; then
4197 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4198 ac_cv_c_bigendian=yes
4200 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4201 if test "$ac_cv_c_bigendian" = unknown; then
4202 ac_cv_c_bigendian=no
4204 # finding both strings is unlikely to happen, but who knows?
4205 ac_cv_c_bigendian=unknown
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 cat >conftest.$ac_ext <<_ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 $ac_includes_default
4228 /* Are we little or big endian? From Harbison&Steele. */
4232 char c[sizeof (long int)];
4235 return u.c[sizeof (long int) - 1] == 1;
4241 rm -f conftest$ac_exeext
4242 if { (ac_try="$ac_link"
4244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4245 *) ac_try_echo
=$ac_try;;
4247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4248 (eval "$ac_link") 2>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4252 { (case "(($ac_try" in
4253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_try") 2>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; }; then
4261 ac_cv_c_bigendian=no
4263 echo "$as_me: program exited with status $ac_status" >&5
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4268 ac_cv_c_bigendian=yes
4270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4279 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4280 case $ac_cv_c_bigendian in
4288 { { echo "$as_me:$LINENO: error: unknown endianness
4289 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4290 echo "$as_me: error: unknown endianness
4291 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4292 { (exit 1); exit 1; }; } ;;
4298 # Check whether --with-llvmsrc was given.
4299 if test "${with_llvmsrc+set}" = set; then
4300 withval=$with_llvmsrc; LLVM_SRC=$withval
4303 LLVM_SRC=`cd ${srcdir}/..
/..
; pwd`
4309 # Check whether --with-llvmobj was given.
4310 if test "${with_llvmobj+set}" = set; then
4311 withval=$with_llvmobj; LLVM_OBJ=$withval
4314 LLVM_OBJ=`cd ..
/..
; pwd`
4320 # Check whether --with-externals was given.
4321 if test "${with_externals+set}" = set; then
4322 withval=$with_externals; LLVM_EXTERNALS=$withval
4325 LLVM_EXTERNALS=$LLVM_SRC/projects/test-suite-externals
4334 { echo "$as_me:$LINENO: checking for spec95 benchmark sources" >&5
4335 echo $ECHO_N "checking for spec95 benchmark sources... $ECHO_C" >&6; }
4336 if test -d "${LLVM_EXTERNALS}/spec95/benchspec" ; then
4337 if test -n "" ; then
4338 if test -e "${LLVM_EXTERNALS}/spec95/benchspec/" ; then
4339 SPEC95_ROOT=${LLVM_EXTERNALS}/spec95/benchspec
4341 USE_SPEC95=USE_SPEC95=1
4343 checkresult="yes, found in ${LLVM_EXTERNALS}/spec95/benchspec"
4348 SPEC95_ROOT=${LLVM_EXTERNALS}/spec95/benchspec
4350 USE_SPEC95=USE_SPEC95=1
4352 checkresult="yes, found in ${LLVM_EXTERNALS}/spec95/benchspec"
4357 if test "$checkresult" = "no" ; then
4360 checkresult="no, not found in ${LLVM_EXTERNALS}/spec95/benchspec"
4362 { echo "$as_me:$LINENO: result: $checkresult" >&5
4363 echo "${ECHO_T}$checkresult" >&6; }
4372 { echo "$as_me:$LINENO: checking for spec2000 benchmark sources" >&5
4373 echo $ECHO_N "checking for spec2000 benchmark sources... $ECHO_C" >&6; }
4374 if test -d "${LLVM_EXTERNALS}/speccpu2000/benchspec" ; then
4375 if test -n "CINT2000" ; then
4376 if test -e "${LLVM_EXTERNALS}/speccpu2000/benchspec/CINT2000" ; then
4377 SPEC2000_ROOT=${LLVM_EXTERNALS}/speccpu2000/benchspec
4379 USE_SPEC2000=USE_SPEC2000=1
4381 checkresult="yes, found in ${LLVM_EXTERNALS}/speccpu2000/benchspec"
4386 SPEC2000_ROOT=${LLVM_EXTERNALS}/speccpu2000/benchspec
4388 USE_SPEC2000=USE_SPEC2000=1
4390 checkresult="yes, found in ${LLVM_EXTERNALS}/speccpu2000/benchspec"
4395 if test "$checkresult" = "no" ; then
4398 checkresult="no, not found in ${LLVM_EXTERNALS}/speccpu2000/benchspec"
4400 { echo "$as_me:$LINENO: result: $checkresult" >&5
4401 echo "${ECHO_T}$checkresult" >&6; }
4410 { echo "$as_me:$LINENO: checking for spec2006 benchmark sources" >&5
4411 echo $ECHO_N "checking for spec2006 benchmark sources... $ECHO_C" >&6; }
4412 if test -d "${LLVM_EXTERNALS}/speccpu2006/benchspec" ; then
4413 if test -n "CPU2006" ; then
4414 if test -e "${LLVM_EXTERNALS}/speccpu2006/benchspec/CPU2006" ; then
4415 SPEC2006_ROOT=${LLVM_EXTERNALS}/speccpu2006/benchspec
4417 USE_SPEC2006=USE_SPEC2006=1
4419 checkresult="yes, found in ${LLVM_EXTERNALS}/speccpu2006/benchspec"
4424 SPEC2006_ROOT=${LLVM_EXTERNALS}/speccpu2006/benchspec
4426 USE_SPEC2006=USE_SPEC2006=1
4428 checkresult="yes, found in ${LLVM_EXTERNALS}/speccpu2006/benchspec"
4433 if test "$checkresult" = "no" ; then
4436 checkresult="no, not found in ${LLVM_EXTERNALS}/speccpu2006/benchspec"
4438 { echo "$as_me:$LINENO: result: $checkresult" >&5
4439 echo "${ECHO_T}$checkresult" >&6; }
4448 { echo "$as_me:$LINENO: checking for povray benchmark sources" >&5
4449 echo $ECHO_N "checking for povray benchmark sources... $ECHO_C" >&6; }
4450 if test -d "${LLVM_EXTERNALS}/povray31" ; then
4451 if test -n "" ; then
4452 if test -e "${LLVM_EXTERNALS}/povray31/" ; then
4453 POVRAY_ROOT=${LLVM_EXTERNALS}/povray31
4455 USE_POVRAY=USE_POVRAY=1
4457 checkresult="yes, found in ${LLVM_EXTERNALS}/povray31"
4462 POVRAY_ROOT=${LLVM_EXTERNALS}/povray31
4464 USE_POVRAY=USE_POVRAY=1
4466 checkresult="yes, found in ${LLVM_EXTERNALS}/povray31"
4471 if test "$checkresult" = "no" ; then
4474 checkresult="no, not found in ${LLVM_EXTERNALS}/povray31"
4476 { echo "$as_me:$LINENO: result: $checkresult" >&5
4477 echo "${ECHO_T}$checkresult" >&6; }
4486 { echo "$as_me:$LINENO: checking for namd benchmark sources" >&5
4487 echo $ECHO_N "checking for namd benchmark sources... $ECHO_C" >&6; }
4488 if test -d "${LLVM_EXTERNALS}/spec_namd" ; then
4489 if test -n "" ; then
4490 if test -e "${LLVM_EXTERNALS}/spec_namd/" ; then
4491 NAMD_ROOT=${LLVM_EXTERNALS}/spec_namd
4495 checkresult="yes, found in ${LLVM_EXTERNALS}/spec_namd"
4500 NAMD_ROOT=${LLVM_EXTERNALS}/spec_namd
4504 checkresult="yes, found in ${LLVM_EXTERNALS}/spec_namd"
4509 if test "$checkresult" = "no" ; then
4512 checkresult="no, not found in ${LLVM_EXTERNALS}/spec_namd"
4514 { echo "$as_me:$LINENO: result: $checkresult" >&5
4515 echo "${ECHO_T}$checkresult" >&6; }
4524 { echo "$as_me:$LINENO: checking for sweep3d benchmark sources" >&5
4525 echo $ECHO_N "checking for sweep3d benchmark sources... $ECHO_C" >&6; }
4526 if test -d "${LLVM_EXTERNALS}/sweep3d" ; then
4527 if test -n "" ; then
4528 if test -e "${LLVM_EXTERNALS}/sweep3d/" ; then
4529 SWEEP3D_ROOT=${LLVM_EXTERNALS}/sweep3d
4531 USE_SWEEP3D=USE_SWEEP3D=1
4533 checkresult="yes, found in ${LLVM_EXTERNALS}/sweep3d"
4538 SWEEP3D_ROOT=${LLVM_EXTERNALS}/sweep3d
4540 USE_SWEEP3D=USE_SWEEP3D=1
4542 checkresult="yes, found in ${LLVM_EXTERNALS}/sweep3d"
4547 if test "$checkresult" = "no" ; then
4550 checkresult="no, not found in ${LLVM_EXTERNALS}/sweep3d"
4552 { echo "$as_me:$LINENO: result: $checkresult" >&5
4553 echo "${ECHO_T}$checkresult" >&6; }
4562 { echo "$as_me:$LINENO: checking for fpgrowth benchmark sources" >&5
4563 echo $ECHO_N "checking for fpgrowth benchmark sources... $ECHO_C" >&6; }
4564 if test -d "${LLVM_EXTERNALS}/fpgrowth" ; then
4565 if test -n "" ; then
4566 if test -e "${LLVM_EXTERNALS}/fpgrowth/" ; then
4567 FPGROWTH_ROOT=${LLVM_EXTERNALS}/fpgrowth
4569 USE_FPGROWTH=USE_FPGROWTH=1
4571 checkresult="yes, found in ${LLVM_EXTERNALS}/fpgrowth"
4576 FPGROWTH_ROOT=${LLVM_EXTERNALS}/fpgrowth
4578 USE_FPGROWTH=USE_FPGROWTH=1
4580 checkresult="yes, found in ${LLVM_EXTERNALS}/fpgrowth"
4585 if test "$checkresult" = "no" ; then
4588 checkresult="no, not found in ${LLVM_EXTERNALS}/fpgrowth"
4590 { echo "$as_me:$LINENO: result: $checkresult" >&5
4591 echo "${ECHO_T}$checkresult" >&6; }
4600 { echo "$as_me:$LINENO: checking for alp benchmark sources" >&5
4601 echo $ECHO_N "checking for alp benchmark sources... $ECHO_C" >&6; }
4602 if test -d "${LLVM_EXTERNALS}/alp" ; then
4603 if test -n "" ; then
4604 if test -e "${LLVM_EXTERNALS}/alp/" ; then
4605 ALP_ROOT=${LLVM_EXTERNALS}/alp
4609 checkresult="yes, found in ${LLVM_EXTERNALS}/alp"
4614 ALP_ROOT=${LLVM_EXTERNALS}/alp
4618 checkresult="yes, found in ${LLVM_EXTERNALS}/alp"
4623 if test "$checkresult" = "no" ; then
4626 checkresult="no, not found in ${LLVM_EXTERNALS}/alp"
4628 { echo "$as_me:$LINENO: result: $checkresult" >&5
4629 echo "${ECHO_T}$checkresult" >&6; }
4638 { echo "$as_me:$LINENO: checking for nurbs benchmark sources" >&5
4639 echo $ECHO_N "checking for nurbs benchmark sources... $ECHO_C" >&6; }
4640 if test -d "${LLVM_EXTERNALS}/nurbs" ; then
4641 if test -n "" ; then
4642 if test -e "${LLVM_EXTERNALS}/nurbs/" ; then
4643 NURBS_ROOT=${LLVM_EXTERNALS}/nurbs
4645 USE_NURBS=USE_NURBS=1
4647 checkresult="yes, found in ${LLVM_EXTERNALS}/nurbs"
4652 NURBS_ROOT=${LLVM_EXTERNALS}/nurbs
4654 USE_NURBS=USE_NURBS=1
4656 checkresult="yes, found in ${LLVM_EXTERNALS}/nurbs"
4661 if test "$checkresult" = "no" ; then
4664 checkresult="no, not found in ${LLVM_EXTERNALS}/nurbs"
4666 { echo "$as_me:$LINENO: result: $checkresult" >&5
4667 echo "${ECHO_T}$checkresult" >&6; }
4676 { echo "$as_me:$LINENO: checking for hmmer benchmark sources" >&5
4677 echo $ECHO_N "checking for hmmer benchmark sources... $ECHO_C" >&6; }
4678 if test -d "${LLVM_EXTERNALS}/hmmer" ; then
4679 if test -n "" ; then
4680 if test -e "${LLVM_EXTERNALS}/hmmer/" ; then
4681 HMMER_ROOT=${LLVM_EXTERNALS}/hmmer
4683 USE_HMMER=USE_HMMER=1
4685 checkresult="yes, found in ${LLVM_EXTERNALS}/hmmer"
4690 HMMER_ROOT=${LLVM_EXTERNALS}/hmmer
4692 USE_HMMER=USE_HMMER=1
4694 checkresult="yes, found in ${LLVM_EXTERNALS}/hmmer"
4699 if test "$checkresult" = "no" ; then
4702 checkresult="no, not found in ${LLVM_EXTERNALS}/hmmer"
4704 { echo "$as_me:$LINENO: result: $checkresult" >&5
4705 echo "${ECHO_T}$checkresult" >&6; }
4714 { echo "$as_me:$LINENO: checking for skidmarks10 benchmark sources" >&5
4715 echo $ECHO_N "checking for skidmarks10 benchmark sources... $ECHO_C" >&6; }
4716 if test -d "${LLVM_EXTERNALS}/skidmarks10" ; then
4717 if test -n "" ; then
4718 if test -e "${LLVM_EXTERNALS}/skidmarks10/" ; then
4719 SKIDMARKS10_ROOT=${LLVM_EXTERNALS}/skidmarks10
4721 USE_SKIDMARKS10=USE_SKIDMARKS10=1
4723 checkresult="yes, found in ${LLVM_EXTERNALS}/skidmarks10"
4728 SKIDMARKS10_ROOT=${LLVM_EXTERNALS}/skidmarks10
4730 USE_SKIDMARKS10=USE_SKIDMARKS10=1
4732 checkresult="yes, found in ${LLVM_EXTERNALS}/skidmarks10"
4737 if test "$checkresult" = "no" ; then
4740 checkresult="no, not found in ${LLVM_EXTERNALS}/skidmarks10"
4742 { echo "$as_me:$LINENO: result: $checkresult" >&5
4743 echo "${ECHO_T}$checkresult" >&6; }
4749 # Check whether --enable-llc_diffs was given.
4750 if test "${enable_llc_diffs+set}" = set; then
4751 enableval=$enable_llc_diffs;
4756 if test ${enableval} = "no"
4758 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
4767 ac_cpp='$CXXCPP $CPPFLAGS'
4768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4771 if test -z "$CXX"; then
4772 if test -n "$CCC"; then
4775 if test -n "$ac_tool_prefix"; then
4776 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4782 if test "${ac_cv_prog_CXX+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if test -n "$CXX"; then
4786 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 if test -n "$CXX"; then
4807 { echo "$as_me:$LINENO: result: $CXX" >&5
4808 echo "${ECHO_T}$CXX" >&6; }
4810 { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4815 test -n "$CXX" && break
4818 if test -z "$CXX"; then
4820 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4822 # Extract the first word of "$ac_prog", so it can be a program name with args.
4823 set dummy $ac_prog; ac_word=$2
4824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4826 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 if test -n "$ac_ct_CXX"; then
4830 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_ac_ct_CXX="$ac_prog"
4840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4850 if test -n "$ac_ct_CXX"; then
4851 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4852 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4854 { echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6; }
4859 test -n "$ac_ct_CXX" && break
4862 if test "x$ac_ct_CXX" = x; then
4865 case $cross_compiling:$ac_tool_warned in
4867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4868 whose name does not start with the host triplet. If you think this
4869 configuration is useful to you, please write to autoconf@gnu.org." >&5
4870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4871 whose name does not start with the host triplet. If you think this
4872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4873 ac_tool_warned=yes ;;
4881 # Provide some information about the compiler.
4882 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4883 ac_compiler=`set X
$ac_compile; echo $2`
4884 { (ac_try="$ac_compiler --version >&5"
4886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4887 *) ac_try_echo
=$ac_try;;
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_compiler --version >&5") 2>&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }
4894 { (ac_try
="$ac_compiler -v >&5"
4896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4897 *) ac_try_echo=$ac_try;;
4899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4900 (eval "$ac_compiler -v >&5") 2>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }
4904 { (ac_try="$ac_compiler -V >&5"
4906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4907 *) ac_try_echo
=$ac_try;;
4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4910 (eval "$ac_compiler -V >&5") 2>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }
4915 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4916 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4917 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 cat >conftest.
$ac_ext <<_ACEOF
4923 cat confdefs.h
>>conftest.
$ac_ext
4924 cat >>conftest.
$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4938 rm -f conftest.
$ac_objext
4939 if { (ac_try
="$ac_compile"
4941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945 (eval "$ac_compile") 2>conftest.er1
4947 grep -v '^ *+' conftest.er1 >conftest.err
4949 cat conftest.err >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } &&
4952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4953 { (case "(($ac_try" in
4954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4955 *) ac_try_echo
=$ac_try;;
4957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4958 (eval "$ac_try") 2>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; } &&
4962 { ac_try
='test -s conftest.$ac_objext'
4963 { (case "(($ac_try" in
4964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4968 (eval "$ac_try") 2>&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; }; then
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4981 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4984 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4985 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4986 GXX=`test $ac_compiler_gnu = yes && echo yes`
4987 ac_test_CXXFLAGS=${CXXFLAGS+set}
4988 ac_save_CXXFLAGS=$CXXFLAGS
4989 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4990 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4991 if test "${ac_cv_prog_cxx_g+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4995 ac_cxx_werror_flag=yes
4998 cat >conftest.$ac_ext <<_ACEOF
5001 cat confdefs.h >>conftest.$ac_ext
5002 cat >>conftest.$ac_ext <<_ACEOF
5003 /* end confdefs.h. */
5013 rm -f conftest.$ac_objext
5014 if { (ac_try="$ac_compile"
5016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5017 *) ac_try_echo
=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_compile") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5028 { (case "(($ac_try" in
5029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_try") 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try='test -s conftest.$ac_objext'
5038 { (case "(($ac_try" in
5039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5040 *) ac_try_echo
=$ac_try;;
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_try") 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_cv_prog_cxx_g
=yes
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.
$ac_ext >&5
5053 cat >conftest.
$ac_ext <<_ACEOF
5056 cat confdefs.h
>>conftest.
$ac_ext
5057 cat >>conftest.
$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5068 rm -f conftest.
$ac_objext
5069 if { (ac_try
="$ac_compile"
5071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_compile") 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
5079 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5083 { (case "(($ac_try" in
5084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5085 *) ac_try_echo
=$ac_try;;
5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_try") 2>&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; } &&
5092 { ac_try
='test -s conftest.$ac_objext'
5093 { (case "(($ac_try" in
5094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_try") 2>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); }; }; then
5104 echo "$as_me: failed program was:" >&5
5105 sed 's/^/| /' conftest.$ac_ext >&5
5107 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5109 cat >conftest.$ac_ext <<_ACEOF
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5124 rm -f conftest.$ac_objext
5125 if { (ac_try="$ac_compile"
5127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5128 *) ac_try_echo
=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_compile") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1
>conftest.err
5135 cat conftest.err
>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5139 { (case "(($ac_try" in
5140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 (eval "$ac_try") 2>&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; } &&
5148 { ac_try='test -s conftest.$ac_objext'
5149 { (case "(($ac_try" in
5150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5151 *) ac_try_echo
=$ac_try;;
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154 (eval "$ac_try") 2>&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; }; then
5158 ac_cv_prog_cxx_g
=yes
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5175 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5176 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5177 if test "$ac_test_CXXFLAGS" = set; then
5178 CXXFLAGS
=$ac_save_CXXFLAGS
5179 elif test $ac_cv_prog_cxx_g = yes; then
5180 if test "$GXX" = yes; then
5186 if test "$GXX" = yes; then
5193 ac_cpp
='$CPP $CPPFLAGS'
5194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5199 ac_cpp
='$CPP $CPPFLAGS'
5200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5203 if test -n "$ac_tool_prefix"; then
5206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5207 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5210 if test "${ac_cv_prog_CC+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 if test -n "$CC"; then
5214 ac_cv_prog_CC
="$CC" # Let the user override the test.
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_exec_ext
in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 if test -n "$CC"; then
5235 { echo "$as_me:$LINENO: result: $CC" >&5
5236 echo "${ECHO_T}$CC" >&6; }
5238 { echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6; }
5243 test -n "$CC" && break
5246 if test -z "$CC"; then
5250 # Extract the first word of "$ac_prog", so it can be a program name with args.
5251 set dummy
$ac_prog; ac_word
=$2
5252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5254 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5255 echo $ECHO_N "(cached) $ECHO_C" >&6
5257 if test -n "$ac_ct_CC"; then
5258 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir
=.
5265 for ac_exec_ext
in '' $ac_executable_extensions; do
5266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5267 ac_cv_prog_ac_ct_CC
="$ac_prog"
5268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5278 if test -n "$ac_ct_CC"; then
5279 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5280 echo "${ECHO_T}$ac_ct_CC" >&6; }
5282 { echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6; }
5287 test -n "$ac_ct_CC" && break
5290 if test "x$ac_ct_CC" = x
; then
5293 case $cross_compiling:$ac_tool_warned in
5295 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5296 whose name does not start with the host triplet. If you think this
5297 configuration is useful to you, please write to autoconf@gnu.org." >&5
5298 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5299 whose name does not start with the host triplet. If you think this
5300 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5301 ac_tool_warned
=yes ;;
5308 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5309 See \`config.log' for more details." >&5
5310 echo "$as_me: error: no acceptable C compiler found in \$PATH
5311 See \`config.log' for more details." >&2;}
5312 { (exit 1); exit 1; }; }
5314 # Provide some information about the compiler.
5315 echo "$as_me:$LINENO: checking for C compiler version" >&5
5316 ac_compiler
=`set X $ac_compile; echo $2`
5317 { (ac_try
="$ac_compiler --version >&5"
5319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
5322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5323 (eval "$ac_compiler --version >&5") 2>&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }
5327 { (ac_try="$ac_compiler -v >&5"
5329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5330 *) ac_try_echo
=$ac_try;;
5332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5333 (eval "$ac_compiler -v >&5") 2>&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); }
5337 { (ac_try
="$ac_compiler -V >&5"
5339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_compiler -V >&5") 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }
5348 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5349 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5350 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 cat >conftest.$ac_ext <<_ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5371 rm -f conftest.$ac_objext
5372 if { (ac_try="$ac_compile"
5374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5375 *) ac_try_echo
=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_compile") 2>conftest.er1
5380 grep -v '^ *+' conftest.er1
>conftest.err
5382 cat conftest.err
>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); } &&
5385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5386 { (case "(($ac_try" in
5387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_try") 2>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; } &&
5395 { ac_try='test -s conftest.$ac_objext'
5396 { (case "(($ac_try" in
5397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5398 *) ac_try_echo
=$ac_try;;
5400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5401 (eval "$ac_try") 2>&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; }; then
5407 echo "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.
$ac_ext >&5
5413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5417 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5418 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5419 GCC
=`test $ac_compiler_gnu = yes && echo yes`
5420 ac_test_CFLAGS
=${CFLAGS+set}
5421 ac_save_CFLAGS
=$CFLAGS
5422 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5423 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5424 if test "${ac_cv_prog_cc_g+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 ac_save_c_werror_flag
=$ac_c_werror_flag
5428 ac_c_werror_flag
=yes
5431 cat >conftest.
$ac_ext <<_ACEOF
5434 cat confdefs.h
>>conftest.
$ac_ext
5435 cat >>conftest.
$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5446 rm -f conftest.
$ac_objext
5447 if { (ac_try
="$ac_compile"
5449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5450 *) ac_try_echo=$ac_try;;
5452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5453 (eval "$ac_compile") 2>conftest.er1
5455 grep -v '^ *+' conftest.er1 >conftest.err
5457 cat conftest.err >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } &&
5460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5461 { (case "(($ac_try" in
5462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5463 *) ac_try_echo
=$ac_try;;
5465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_try") 2>&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); }; } &&
5470 { ac_try
='test -s conftest.$ac_objext'
5471 { (case "(($ac_try" in
5472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5473 *) ac_try_echo=$ac_try;;
5475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_try") 2>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; }; then
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5486 cat >conftest.$ac_ext <<_ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5501 rm -f conftest.$ac_objext
5502 if { (ac_try="$ac_compile"
5504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5505 *) ac_try_echo
=$ac_try;;
5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 (eval "$ac_compile") 2>conftest.er1
5510 grep -v '^ *+' conftest.er1
>conftest.err
5512 cat conftest.err
>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } &&
5515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5516 { (case "(($ac_try" in
5517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_try") 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; } &&
5525 { ac_try='test -s conftest.$ac_objext'
5526 { (case "(($ac_try" in
5527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5528 *) ac_try_echo
=$ac_try;;
5530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5531 (eval "$ac_try") 2>&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; }; then
5537 echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.
$ac_ext >&5
5540 ac_c_werror_flag
=$ac_save_c_werror_flag
5542 cat >conftest.
$ac_ext <<_ACEOF
5545 cat confdefs.h
>>conftest.
$ac_ext
5546 cat >>conftest.
$ac_ext <<_ACEOF
5547 /* end confdefs.h. */
5557 rm -f conftest.
$ac_objext
5558 if { (ac_try
="$ac_compile"
5560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5561 *) ac_try_echo=$ac_try;;
5563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5564 (eval "$ac_compile") 2>conftest.er1
5566 grep -v '^ *+' conftest.er1 >conftest.err
5568 cat conftest.err >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } &&
5571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5572 { (case "(($ac_try" in
5573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5574 *) ac_try_echo
=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_try") 2>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; } &&
5581 { ac_try
='test -s conftest.$ac_objext'
5582 { (case "(($ac_try" in
5583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5584 *) ac_try_echo=$ac_try;;
5586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5587 (eval "$ac_try") 2>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; }; then
5593 echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.$ac_ext >&5
5599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5606 ac_c_werror_flag=$ac_save_c_werror_flag
5608 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5609 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5610 if test "$ac_test_CFLAGS" = set; then
5611 CFLAGS=$ac_save_CFLAGS
5612 elif test $ac_cv_prog_cc_g = yes; then
5613 if test "$GCC" = yes; then
5619 if test "$GCC" = yes; then
5625 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5626 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_cc_c89+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 ac_cv_prog_cc_c89=no
5632 cat >conftest.$ac_ext <<_ACEOF
5635 cat confdefs.h >>conftest.$ac_ext
5636 cat >>conftest.$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5640 #include <sys/types.h>
5641 #include <sys/stat.h>
5642 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5643 struct buf { int x; };
5644 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5645 static char *e (p, i)
5651 static char *f (char * (*g) (char **, int), char **p, ...)
5656 s = g (p, va_arg (v,int));
5661 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5662 function prototypes and stuff, but not '\xHH' hex character constants.
5663 These don't provoke an error unfortunately, instead are silently treated
5664 as 'x'. The following induces an error, until -std is added to get
5665 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5666 array size at least. It's necessary to write '\x00'==0 to get something
5667 that's true only with -std. */
5668 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5670 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5671 inside strings and character constants. */
5673 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5675 int test (int i, double x);
5676 struct s1 {int (*f) (int a);};
5677 struct s2 {int (*f) (double a);};
5678 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5684 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5689 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5690 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5692 CC="$ac_save_CC $ac_arg"
5693 rm -f conftest.$ac_objext
5694 if { (ac_try="$ac_compile"
5696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5697 *) ac_try_echo
=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_compile") 2>conftest.er1
5702 grep -v '^ *+' conftest.er1
>conftest.err
5704 cat conftest.err
>&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } &&
5707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5708 { (case "(($ac_try" in
5709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5710 *) ac_try_echo=$ac_try;;
5712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5713 (eval "$ac_try") 2>&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; } &&
5717 { ac_try='test -s conftest.$ac_objext'
5718 { (case "(($ac_try" in
5719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5720 *) ac_try_echo
=$ac_try;;
5722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5723 (eval "$ac_try") 2>&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 ac_cv_prog_cc_c89
=$ac_arg
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5735 rm -f core conftest.err conftest.
$ac_objext
5736 test "x$ac_cv_prog_cc_c89" != "xno" && break
5738 rm -f conftest.
$ac_ext
5743 case "x$ac_cv_prog_cc_c89" in
5745 { echo "$as_me:$LINENO: result: none needed" >&5
5746 echo "${ECHO_T}none needed" >&6; } ;;
5748 { echo "$as_me:$LINENO: result: unsupported" >&5
5749 echo "${ECHO_T}unsupported" >&6; } ;;
5751 CC
="$CC $ac_cv_prog_cc_c89"
5752 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5753 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5758 ac_cpp
='$CPP $CPPFLAGS'
5759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5764 ac_cpp
='$CPP $CPPFLAGS'
5765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5770 # On Suns, sometimes $CPP names a directory.
5771 if test -n "$CPP" && test -d "$CPP"; then
5774 if test -z "$CPP"; then
5775 if test "${ac_cv_prog_CPP+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 # Double quotes because CPP needs to be expanded
5779 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5782 for ac_c_preproc_warn_flag
in '' yes
5784 # Use a header file that comes with gcc, so configuring glibc
5785 # with a fresh cross-compiler works.
5786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5787 # <limits.h> exists even on freestanding compilers.
5788 # On the NeXT, cc -E runs the code through the compiler's parser,
5789 # not just through cpp. "Syntax error" is here to catch this case.
5790 cat >conftest.
$ac_ext <<_ACEOF
5793 cat confdefs.h
>>conftest.
$ac_ext
5794 cat >>conftest.
$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5797 # include <limits.h>
5799 # include <assert.h>
5803 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5806 *) ac_try_echo=$ac_try;;
5808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5811 grep -v '^ *+' conftest.er1 >conftest.err
5813 cat conftest.err >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); } >/dev/null; then
5816 if test -s conftest.err; then
5817 ac_cpp_err=$ac_c_preproc_warn_flag
5818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5825 if test -z "$ac_cpp_err"; then
5828 echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.$ac_ext >&5
5831 # Broken: fails on valid input.
5835 rm -f conftest.err conftest.$ac_ext
5837 # OK, works on sane cases. Now check whether nonexistent headers
5838 # can be detected and how.
5839 cat >conftest.$ac_ext <<_ACEOF
5842 cat confdefs.h >>conftest.$ac_ext
5843 cat >>conftest.$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 #include <ac_nonexistent.h>
5847 if { (ac_try="$ac_cpp conftest.$ac_ext"
5849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5850 *) ac_try_echo
=$ac_try;;
5852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } >/dev
/null
; then
5860 if test -s conftest.err
; then
5861 ac_cpp_err
=$ac_c_preproc_warn_flag
5862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5869 if test -z "$ac_cpp_err"; then
5870 # Broken: success on invalid input.
5873 echo "$as_me: failed program was:" >&5
5874 sed 's/^/| /' conftest.
$ac_ext >&5
5876 # Passes both tests.
5881 rm -f conftest.err conftest.
$ac_ext
5884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5885 rm -f conftest.err conftest.
$ac_ext
5886 if $ac_preproc_ok; then
5898 { echo "$as_me:$LINENO: result: $CPP" >&5
5899 echo "${ECHO_T}$CPP" >&6; }
5901 for ac_c_preproc_warn_flag
in '' yes
5903 # Use a header file that comes with gcc, so configuring glibc
5904 # with a fresh cross-compiler works.
5905 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5906 # <limits.h> exists even on freestanding compilers.
5907 # On the NeXT, cc -E runs the code through the compiler's parser,
5908 # not just through cpp. "Syntax error" is here to catch this case.
5909 cat >conftest.
$ac_ext <<_ACEOF
5912 cat confdefs.h
>>conftest.
$ac_ext
5913 cat >>conftest.
$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5916 # include <limits.h>
5918 # include <assert.h>
5922 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5925 *) ac_try_echo=$ac_try;;
5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5930 grep -v '^ *+' conftest.er1 >conftest.err
5932 cat conftest.err >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } >/dev/null; then
5935 if test -s conftest.err; then
5936 ac_cpp_err=$ac_c_preproc_warn_flag
5937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5944 if test -z "$ac_cpp_err"; then
5947 echo "$as_me: failed program was:" >&5
5948 sed 's/^/| /' conftest.$ac_ext >&5
5950 # Broken: fails on valid input.
5954 rm -f conftest.err conftest.$ac_ext
5956 # OK, works on sane cases. Now check whether nonexistent headers
5957 # can be detected and how.
5958 cat >conftest.$ac_ext <<_ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #include <ac_nonexistent.h>
5966 if { (ac_try="$ac_cpp conftest.$ac_ext"
5968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5969 *) ac_try_echo
=$ac_try;;
5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5974 grep -v '^ *+' conftest.er1
>conftest.err
5976 cat conftest.err
>&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } >/dev
/null
; then
5979 if test -s conftest.err
; then
5980 ac_cpp_err
=$ac_c_preproc_warn_flag
5981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5988 if test -z "$ac_cpp_err"; then
5989 # Broken: success on invalid input.
5992 echo "$as_me: failed program was:" >&5
5993 sed 's/^/| /' conftest.
$ac_ext >&5
5995 # Passes both tests.
6000 rm -f conftest.err conftest.
$ac_ext
6003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6004 rm -f conftest.err conftest.
$ac_ext
6005 if $ac_preproc_ok; then
6008 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6009 See \`config.log' for more details." >&5
6010 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6011 See \`config.log' for more details." >&2;}
6012 { (exit 1); exit 1; }; }
6016 ac_cpp
='$CPP $CPPFLAGS'
6017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6023 { echo "$as_me:$LINENO: checking for GNU make" >&5
6024 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6025 if test "${llvm_cv_gnu_make_command+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 llvm_cv_gnu_make_command
=''
6029 for a
in "$MAKE" make gmake gnumake
; do
6030 if test -z "$a" ; then continue ; fi ;
6031 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
)
6033 llvm_cv_gnu_make_command
=$a ;
6038 { echo "$as_me:$LINENO: result: $llvm_cv_gnu_make_command" >&5
6039 echo "${ECHO_T}$llvm_cv_gnu_make_command" >&6; }
6040 if test "x$llvm_cv_gnu_make_command" != "x" ; then
6044 { echo "$as_me:$LINENO: result: \"Not found\"" >&5
6045 echo "${ECHO_T}\"Not found\"" >&6; };
6049 if test -z "$llvm_cv_gnu_make_command" ; then
6050 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
6051 echo "$as_me: error: GNU Make required but not found" >&2;}
6052 { (exit 1); exit 1; }; }
6055 # Check whether --enable-shared was given.
6056 if test "${enable_shared+set}" = set; then
6057 enableval
=$enable_shared; p
=${PACKAGE-default}
6059 yes) enable_shared
=yes ;;
6060 no
) enable_shared
=no
;;
6063 # Look at the argument we got. We use all the common list separators.
6064 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6065 for pkg
in $enableval; do
6067 if test "X$pkg" = "X$p"; then
6079 # Check whether --enable-static was given.
6080 if test "${enable_static+set}" = set; then
6081 enableval
=$enable_static; p
=${PACKAGE-default}
6083 yes) enable_static
=yes ;;
6084 no
) enable_static
=no
;;
6087 # Look at the argument we got. We use all the common list separators.
6088 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6089 for pkg
in $enableval; do
6091 if test "X$pkg" = "X$p"; then
6103 # Check whether --enable-fast-install was given.
6104 if test "${enable_fast_install+set}" = set; then
6105 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6107 yes) enable_fast_install
=yes ;;
6108 no
) enable_fast_install
=no
;;
6110 enable_fast_install
=no
6111 # Look at the argument we got. We use all the common list separators.
6112 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6113 for pkg
in $enableval; do
6115 if test "X$pkg" = "X$p"; then
6116 enable_fast_install
=yes
6123 enable_fast_install
=yes
6127 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6128 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6129 if test "${lt_cv_path_SED+set}" = set; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 # Loop through the user's path and test for sed and gsed.
6133 # Then use that list of sed's as ones to test for truncation.
6134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir
=.
6139 for lt_ac_prog
in sed gsed
; do
6140 for ac_exec_ext
in '' $ac_executable_extensions; do
6141 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6142 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6149 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6150 # along with /bin/sed that truncates output.
6151 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
6152 test ! -f $lt_ac_sed && continue
6153 cat /dev
/null
> conftest.
in
6155 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
6156 # Check for GNU sed and select it if it is found.
6157 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
6158 lt_cv_path_SED
=$lt_ac_sed
6162 cat conftest.
in conftest.
in >conftest.tmp
6163 mv conftest.tmp conftest.
in
6164 cp conftest.
in conftest.
nl
6166 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
6167 cmp -s conftest.out conftest.
nl ||
break
6168 # 10000 chars as input seems more than enough
6169 test $lt_ac_count -gt 10 && break
6170 lt_ac_count
=`expr $lt_ac_count + 1`
6171 if test $lt_ac_count -gt $lt_ac_max; then
6172 lt_ac_max
=$lt_ac_count
6173 lt_cv_path_SED
=$lt_ac_sed
6181 { echo "$as_me:$LINENO: result: $SED" >&5
6182 echo "${ECHO_T}$SED" >&6; }
6185 # Check whether --with-gnu-ld was given.
6186 if test "${with_gnu_ld+set}" = set; then
6187 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6193 if test "$GCC" = yes; then
6194 # Check if gcc -print-prog-name=ld gives a path.
6195 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6196 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6199 # gcc leaves a trailing carriage return which upsets mingw
6200 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6202 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6205 # Accept absolute paths.
6207 re_direlt
='/[^/][^/]*/\.\./'
6208 # Canonicalize the pathname of ld
6209 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6210 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6211 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6213 test -z "$LD" && LD
="$ac_prog"
6216 # If it fails, then pretend we aren't using GCC.
6220 # If it is relative, then search for the first ld in PATH.
6224 elif test "$with_gnu_ld" = yes; then
6225 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6226 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6228 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6229 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6231 if test "${lt_cv_path_LD+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 if test -z "$LD"; then
6235 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6236 for ac_dir
in $PATH; do
6238 test -z "$ac_dir" && ac_dir
=.
6239 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6240 lt_cv_path_LD
="$ac_dir/$ac_prog"
6241 # Check to see if the program is GNU ld. I'd rather use --version,
6242 # but apparently some variants of GNU ld only accept -v.
6243 # Break only if it was the GNU/non-GNU ld that we prefer.
6244 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6245 *GNU
* |
*'with BFD'*)
6246 test "$with_gnu_ld" != no
&& break
6249 test "$with_gnu_ld" != yes && break
6256 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6261 if test -n "$LD"; then
6262 { echo "$as_me:$LINENO: result: $LD" >&5
6263 echo "${ECHO_T}$LD" >&6; }
6265 { echo "$as_me:$LINENO: result: no" >&5
6266 echo "${ECHO_T}no" >&6; }
6268 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6269 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6270 { (exit 1); exit 1; }; }
6271 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6272 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6273 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6277 case `$LD -v 2>&1 </dev/null` in
6278 *GNU
* |
*'with BFD'*)
6279 lt_cv_prog_gnu_ld
=yes
6282 lt_cv_prog_gnu_ld
=no
6286 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6287 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6288 with_gnu_ld
=$lt_cv_prog_gnu_ld
6291 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6292 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6293 if test "${lt_cv_ld_reload_flag+set}" = set; then
6294 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 lt_cv_ld_reload_flag
='-r'
6298 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6299 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6300 reload_flag
=$lt_cv_ld_reload_flag
6301 case $reload_flag in
6303 *) reload_flag
=" $reload_flag" ;;
6305 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6308 if test "$GCC" = yes; then
6309 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r $compiler_flags -o $output$reload_objs'
6311 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6316 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6317 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6318 if test "${lt_cv_path_NM+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 if test -n "$NM"; then
6322 # Let the user override the test.
6325 lt_nm_to_check
="${ac_tool_prefix}nm"
6326 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6327 lt_nm_to_check
="$lt_nm_to_check nm"
6329 for lt_tmp_nm
in $lt_nm_to_check; do
6330 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6331 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6333 test -z "$ac_dir" && ac_dir
=.
6334 tmp_nm
="$ac_dir/$lt_tmp_nm"
6335 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6336 # Check to see if the nm accepts a BSD-compat flag.
6337 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6338 # nm: unknown option "B" ignored
6339 # Tru64's nm complains that /dev/null is an invalid object file
6340 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6341 */dev
/null
* |
*'Invalid file or object type'*)
6342 lt_cv_path_NM
="$tmp_nm -B"
6346 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6348 lt_cv_path_NM
="$tmp_nm -p"
6352 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6353 continue # so that we can try to find one that supports BSD flags
6362 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
6365 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6366 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6369 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6370 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6372 if test "$LN_S" = "ln -s"; then
6373 { echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6; }
6376 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6377 echo "${ECHO_T}no, using $LN_S" >&6; }
6380 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6381 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
6382 if test "${lt_cv_deplibs_check_method+set}" = set; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6386 lt_cv_file_magic_test_file
=
6387 lt_cv_deplibs_check_method
='unknown'
6388 # Need to set the preceding variable on all platforms that support
6389 # interlibrary dependencies.
6390 # 'none' -- dependencies not supported.
6391 # `unknown' -- same as none, but documents that we really don't know.
6392 # 'pass_all' -- all dependencies passed with no checks.
6393 # 'test_compile' -- check by making test program.
6394 # 'file_magic [[regex]]' -- check by looking for files in library path
6395 # which responds to the $file_magic_cmd with a given extended regex.
6396 # If you have `file' or equivalent on your system and you're not sure
6397 # whether `pass_all' will *always* work, you probably want this one.
6401 lt_cv_deplibs_check_method
=pass_all
6405 lt_cv_deplibs_check_method
=pass_all
6409 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6410 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6411 lt_cv_file_magic_test_file
=/shlib
/libc.so
6415 # func_win32_libid is a shell function defined in ltmain.sh
6416 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6417 lt_cv_file_magic_cmd
='func_win32_libid'
6421 # Base MSYS/MinGW do not provide the 'file' command needed by
6422 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6423 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6424 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6427 darwin
* | rhapsody
*)
6428 lt_cv_deplibs_check_method
=pass_all
6431 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
6432 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6435 # Not sure whether the presence of OpenBSD here was a mistake.
6436 # Let's accept both of them until this is cleared up.
6437 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6438 lt_cv_file_magic_cmd
=/usr
/bin
/file
6439 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6443 lt_cv_deplibs_check_method
=pass_all
6448 lt_cv_deplibs_check_method
=pass_all
6451 hpux10.20
* | hpux11
*)
6452 lt_cv_file_magic_cmd
=/usr
/bin
/file
6455 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6456 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6459 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]'
6460 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6463 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6464 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6470 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6471 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6474 irix5
* | irix6
* | nonstopux
*)
6476 *-32|
*"-32 ") libmagic
=32-bit;;
6477 *-n32|
*"-n32 ") libmagic
=N32
;;
6478 *-64|
*"-64 ") libmagic
=64-bit;;
6479 *) libmagic
=never-match
;;
6481 lt_cv_deplibs_check_method
=pass_all
6484 # This must be Linux ELF.
6486 lt_cv_deplibs_check_method
=pass_all
6490 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
6491 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6493 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6498 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6499 lt_cv_file_magic_cmd
=/usr
/bin
/file
6500 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6504 lt_cv_deplibs_check_method
=unknown
6508 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6509 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6511 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6515 osf3
* | osf4
* | osf5
*)
6516 lt_cv_deplibs_check_method
=pass_all
6520 lt_cv_deplibs_check_method
=pass_all
6524 case $host_vendor in
6526 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]'
6527 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6530 lt_cv_deplibs_check_method
=pass_all
6533 lt_cv_file_magic_cmd
='/bin/file'
6534 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6537 lt_cv_file_magic_cmd
='/bin/file'
6538 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6539 lt_cv_file_magic_test_file
=/lib
/libc.so
6542 lt_cv_deplibs_check_method
=pass_all
6545 lt_cv_deplibs_check_method
=pass_all
6550 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6551 lt_cv_deplibs_check_method
=pass_all
6556 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6557 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6558 file_magic_cmd
=$lt_cv_file_magic_cmd
6559 deplibs_check_method
=$lt_cv_deplibs_check_method
6560 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6565 # If no C compiler was specified, use CC.
6568 # If no C compiler flags were specified, use CFLAGS.
6569 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6571 # Allow CC to be a program name with arguments.
6574 # Check whether --enable-libtool-lock was given.
6575 if test "${enable_libtool_lock+set}" = set; then
6576 enableval
=$enable_libtool_lock;
6579 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6581 # Some flags need to be propagated to the compiler or linker for good
6585 # Find out which ABI we are using.
6586 echo 'int i;' > conftest.
$ac_ext
6587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6588 (eval $ac_compile) 2>&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); }; then
6592 case `/usr/bin/file conftest.$ac_objext` in
6604 # Find out which ABI we are using.
6605 echo '#line 6605 "configure"' > conftest.
$ac_ext
6606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6607 (eval $ac_compile) 2>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; then
6611 if test "$lt_cv_prog_gnu_ld" = yes; then
6612 case `/usr/bin/file conftest.$ac_objext` in
6614 LD
="${LD-ld} -melf32bsmip"
6617 LD
="${LD-ld} -melf32bmipn32"
6620 LD
="${LD-ld} -melf64bmip"
6624 case `/usr/bin/file conftest.$ac_objext` in
6640 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6641 # Find out which ABI we are using.
6642 echo 'int i;' > conftest.
$ac_ext
6643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6644 (eval $ac_compile) 2>&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; then
6648 case `/usr/bin/file conftest.o` in
6652 LD
="${LD-ld} -m elf_i386"
6654 ppc64-
*linux
*|powerpc64-
*linux
*)
6655 LD
="${LD-ld} -m elf32ppclinux"
6658 LD
="${LD-ld} -m elf_s390"
6661 LD
="${LD-ld} -m elf32_sparc"
6668 LD
="${LD-ld} -m elf_x86_64"
6670 ppc
*-*linux
*|powerpc
*-*linux
*)
6671 LD
="${LD-ld} -m elf64ppc"
6674 LD
="${LD-ld} -m elf64_s390"
6677 LD
="${LD-ld} -m elf64_sparc"
6687 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6688 SAVE_CFLAGS
="$CFLAGS"
6689 CFLAGS
="$CFLAGS -belf"
6690 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6691 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6692 if test "${lt_cv_cc_needs_belf+set}" = set; then
6693 echo $ECHO_N "(cached) $ECHO_C" >&6
6696 ac_cpp
='$CPP $CPPFLAGS'
6697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6701 cat >conftest.
$ac_ext <<_ACEOF
6704 cat confdefs.h
>>conftest.
$ac_ext
6705 cat >>conftest.
$ac_ext <<_ACEOF
6706 /* end confdefs.h. */
6716 rm -f conftest.
$ac_objext conftest
$ac_exeext
6717 if { (ac_try
="$ac_link"
6719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6720 *) ac_try_echo=$ac_try;;
6722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6723 (eval "$ac_link") 2>conftest.er1
6725 grep -v '^ *+' conftest.er1 >conftest.err
6727 cat conftest.err >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); } &&
6730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6731 { (case "(($ac_try" in
6732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6733 *) ac_try_echo
=$ac_try;;
6735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6736 (eval "$ac_try") 2>&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); }; } &&
6740 { ac_try
='test -s conftest$ac_exeext'
6741 { (case "(($ac_try" in
6742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6743 *) ac_try_echo=$ac_try;;
6745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6746 (eval "$ac_try") 2>&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; }; then
6750 lt_cv_cc_needs_belf=yes
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 lt_cv_cc_needs_belf=no
6758 rm -f core conftest.err conftest.$ac_objext \
6759 conftest$ac_exeext conftest.$ac_ext
6761 ac_cpp='$CPP $CPPFLAGS'
6762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6767 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6768 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6769 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6770 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6771 CFLAGS="$SAVE_CFLAGS"
6775 # Find out which ABI we are using.
6776 echo 'int i;' > conftest.$ac_ext
6777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6778 (eval $ac_compile) 2>&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; then
6782 case `/usr
/bin
/file conftest.o
` in
6784 case $lt_cv_prog_gnu_ld in
6785 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6786 *) LD="${LD-ld} -64" ;;
6797 need_locks="$enable_libtool_lock"
6801 for ac_header in dlfcn.h
6803 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 ac_res=`eval echo '${'$as_ac_Header'}'`
6811 { echo "$as_me:$LINENO: result: $ac_res" >&5
6812 echo "${ECHO_T}$ac_res" >&6; }
6814 # Is the header compilable?
6815 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6817 cat >conftest.$ac_ext <<_ACEOF
6820 cat confdefs.h >>conftest.$ac_ext
6821 cat >>conftest.$ac_ext <<_ACEOF
6822 /* end confdefs.h. */
6823 $ac_includes_default
6824 #include <$ac_header>
6826 rm -f conftest.$ac_objext
6827 if { (ac_try="$ac_compile"
6829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6830 *) ac_try_echo
=$ac_try;;
6832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6833 (eval "$ac_compile") 2>conftest.er1
6835 grep -v '^ *+' conftest.er1
>conftest.err
6837 cat conftest.err
>&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6841 { (case "(($ac_try" in
6842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6843 *) ac_try_echo=$ac_try;;
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_try") 2>&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; } &&
6850 { ac_try='test -s conftest.$ac_objext'
6851 { (case "(($ac_try" in
6852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6853 *) ac_try_echo
=$ac_try;;
6855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6856 (eval "$ac_try") 2>&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; }; then
6860 ac_header_compiler
=yes
6862 echo "$as_me: failed program was:" >&5
6863 sed 's/^/| /' conftest.
$ac_ext >&5
6865 ac_header_compiler
=no
6868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6870 echo "${ECHO_T}$ac_header_compiler" >&6; }
6872 # Is the header present?
6873 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6875 cat >conftest.
$ac_ext <<_ACEOF
6878 cat confdefs.h
>>conftest.
$ac_ext
6879 cat >>conftest.
$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6881 #include <$ac_header>
6883 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6886 *) ac_try_echo=$ac_try;;
6888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6891 grep -v '^ *+' conftest.er1 >conftest.err
6893 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } >/dev/null; then
6896 if test -s conftest.err; then
6897 ac_cpp_err=$ac_c_preproc_warn_flag
6898 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6905 if test -z "$ac_cpp_err"; then
6906 ac_header_preproc=yes
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 ac_header_preproc=no
6914 rm -f conftest.err conftest.$ac_ext
6915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6916 echo "${ECHO_T}$ac_header_preproc" >&6; }
6918 # So? What about this header?
6919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6925 ac_header_preproc=yes
6928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6941 ## ----------------------------------- ##
6942 ## Report this to llvmbugs@cs.uiuc.edu ##
6943 ## ----------------------------------- ##
6945 ) | sed "s/^/$as_me: WARNING: /" >&2
6948 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6951 echo $ECHO_N "(cached) $ECHO_C" >&6
6953 eval "$as_ac_Header=\$ac_header_preproc"
6955 ac_res=`eval echo '${'$as_ac_Header'}'`
6956 { echo "$as_me:$LINENO: result: $ac_res" >&5
6957 echo "${ECHO_T}$ac_res" >&6; }
6960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6961 cat >>confdefs.h <<_ACEOF
6962 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6971 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6972 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
6973 (test "X$CXX" != "Xg++"))) ; then
6975 ac_cpp='$CXXCPP $CPPFLAGS'
6976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6979 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6980 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6981 if test -z "$CXXCPP"; then
6982 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 # Double quotes because CXXCPP needs to be expanded
6986 for CXXCPP in "$CXX -E" "/lib/cpp"
6989 for ac_cxx_preproc_warn_flag in '' yes
6991 # Use a header file that comes with gcc, so configuring glibc
6992 # with a fresh cross-compiler works.
6993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6994 # <limits.h> exists even on freestanding compilers.
6995 # On the NeXT, cc -E runs the code through the compiler's parser,
6996 # not just through cpp. "Syntax error" is here to catch this case.
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7004 # include <limits.h>
7006 # include <assert.h>
7010 if { (ac_try="$ac_cpp conftest.$ac_ext"
7012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7013 *) ac_try_echo
=$ac_try;;
7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7018 grep -v '^ *+' conftest.er1
>conftest.err
7020 cat conftest.err
>&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } >/dev
/null
; then
7023 if test -s conftest.err
; then
7024 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7025 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7032 if test -z "$ac_cpp_err"; then
7035 echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.
$ac_ext >&5
7038 # Broken: fails on valid input.
7042 rm -f conftest.err conftest.
$ac_ext
7044 # OK, works on sane cases. Now check whether nonexistent headers
7045 # can be detected and how.
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7052 #include <ac_nonexistent.h>
7054 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7057 *) ac_try_echo=$ac_try;;
7059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7062 grep -v '^ *+' conftest.er1 >conftest.err
7064 cat conftest.err >&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } >/dev/null; then
7067 if test -s conftest.err; then
7068 ac_cpp_err=$ac_cxx_preproc_warn_flag
7069 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7076 if test -z "$ac_cpp_err"; then
7077 # Broken: success on invalid input.
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.$ac_ext >&5
7083 # Passes both tests.
7088 rm -f conftest.err conftest.$ac_ext
7091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7092 rm -f conftest.err conftest.
$ac_ext
7093 if $ac_preproc_ok; then
7098 ac_cv_prog_CXXCPP
=$CXXCPP
7101 CXXCPP
=$ac_cv_prog_CXXCPP
7103 ac_cv_prog_CXXCPP
=$CXXCPP
7105 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7106 echo "${ECHO_T}$CXXCPP" >&6; }
7108 for ac_cxx_preproc_warn_flag
in '' yes
7110 # Use a header file that comes with gcc, so configuring glibc
7111 # with a fresh cross-compiler works.
7112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7113 # <limits.h> exists even on freestanding compilers.
7114 # On the NeXT, cc -E runs the code through the compiler's parser,
7115 # not just through cpp. "Syntax error" is here to catch this case.
7116 cat >conftest.
$ac_ext <<_ACEOF
7119 cat confdefs.h
>>conftest.
$ac_ext
7120 cat >>conftest.
$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7123 # include <limits.h>
7125 # include <assert.h>
7129 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7132 *) ac_try_echo=$ac_try;;
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7137 grep -v '^ *+' conftest.er1 >conftest.err
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } >/dev/null; then
7142 if test -s conftest.err; then
7143 ac_cpp_err=$ac_cxx_preproc_warn_flag
7144 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7151 if test -z "$ac_cpp_err"; then
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.$ac_ext >&5
7157 # Broken: fails on valid input.
7161 rm -f conftest.err conftest.$ac_ext
7163 # OK, works on sane cases. Now check whether nonexistent headers
7164 # can be detected and how.
7165 cat >conftest.$ac_ext <<_ACEOF
7168 cat confdefs.h >>conftest.$ac_ext
7169 cat >>conftest.$ac_ext <<_ACEOF
7170 /* end confdefs.h. */
7171 #include <ac_nonexistent.h>
7173 if { (ac_try="$ac_cpp conftest.$ac_ext"
7175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7176 *) ac_try_echo
=$ac_try;;
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7181 grep -v '^ *+' conftest.er1
>conftest.err
7183 cat conftest.err
>&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } >/dev
/null
; then
7186 if test -s conftest.err
; then
7187 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7188 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7195 if test -z "$ac_cpp_err"; then
7196 # Broken: success on invalid input.
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.
$ac_ext >&5
7202 # Passes both tests.
7207 rm -f conftest.err conftest.
$ac_ext
7210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7211 rm -f conftest.err conftest.
$ac_ext
7212 if $ac_preproc_ok; then
7215 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7216 See \`config.log' for more details." >&5
7217 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7218 See \`config.log' for more details." >&2;}
7219 { (exit 1); exit 1; }; }
7223 ac_cpp
='$CXXCPP $CPPFLAGS'
7224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7232 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7233 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7234 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7235 if test -n "$ac_tool_prefix"; then
7236 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
7238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7239 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7242 if test "${ac_cv_prog_F77+set}" = set; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 if test -n "$F77"; then
7246 ac_cv_prog_F77
="$F77" # Let the user override the test.
7248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7252 test -z "$as_dir" && as_dir
=.
7253 for ac_exec_ext
in '' $ac_executable_extensions; do
7254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7255 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 if test -n "$F77"; then
7267 { echo "$as_me:$LINENO: result: $F77" >&5
7268 echo "${ECHO_T}$F77" >&6; }
7270 { echo "$as_me:$LINENO: result: no" >&5
7271 echo "${ECHO_T}no" >&6; }
7275 test -n "$F77" && break
7278 if test -z "$F77"; then
7280 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
7282 # Extract the first word of "$ac_prog", so it can be a program name with args.
7283 set dummy
$ac_prog; ac_word
=$2
7284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7286 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 if test -n "$ac_ct_F77"; then
7290 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir
=.
7297 for ac_exec_ext
in '' $ac_executable_extensions; do
7298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7299 ac_cv_prog_ac_ct_F77
="$ac_prog"
7300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7310 if test -n "$ac_ct_F77"; then
7311 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7312 echo "${ECHO_T}$ac_ct_F77" >&6; }
7314 { echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6; }
7319 test -n "$ac_ct_F77" && break
7322 if test "x$ac_ct_F77" = x
; then
7325 case $cross_compiling:$ac_tool_warned in
7327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7328 whose name does not start with the host triplet. If you think this
7329 configuration is useful to you, please write to autoconf@gnu.org." >&5
7330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7331 whose name does not start with the host triplet. If you think this
7332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7333 ac_tool_warned
=yes ;;
7340 # Provide some information about the compiler.
7341 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7342 ac_compiler
=`set X $ac_compile; echo $2`
7343 { (ac_try
="$ac_compiler --version >&5"
7345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7346 *) ac_try_echo=$ac_try;;
7348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7349 (eval "$ac_compiler --version >&5") 2>&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); }
7353 { (ac_try="$ac_compiler -v >&5"
7355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7356 *) ac_try_echo
=$ac_try;;
7358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7359 (eval "$ac_compiler -v >&5") 2>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }
7363 { (ac_try
="$ac_compiler -V >&5"
7365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7366 *) ac_try_echo=$ac_try;;
7368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7369 (eval "$ac_compiler -V >&5") 2>&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }
7375 # If we don't use `.F
' as extension, the preprocessor is not run on the
7376 # input file. (Note that this only needs to work for GNU compilers.)
7379 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7380 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7381 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 cat >conftest.$ac_ext <<_ACEOF
7392 rm -f conftest.$ac_objext
7393 if { (ac_try="$ac_compile"
7395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7396 *) ac_try_echo=$ac_try;;
7398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7399 (eval "$ac_compile") 2>conftest.er1
7401 grep -v '^
*+' conftest.er1 >conftest.err
7403 cat conftest.err >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } &&
7406 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
7407 { (case "(($ac_try" in
7408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7409 *) ac_try_echo=$ac_try;;
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_try") 2>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; } &&
7416 { ac_try='test -s conftest.
$ac_objext'
7417 { (case "(($ac_try" in
7418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7419 *) ac_try_echo=$ac_try;;
7421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7422 (eval "$ac_try") 2>&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); }; }; then
7428 echo "$as_me: failed program was:" >&5
7429 sed 's
/^
/|
/' conftest.$ac_ext >&5
7434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7435 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7438 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7439 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7441 ac_test_FFLAGS=${FFLAGS+set}
7442 ac_save_FFLAGS=$FFLAGS
7444 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7445 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7446 if test "${ac_cv_prog_f77_g+set}" = set; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 cat >conftest.$ac_ext <<_ACEOF
7455 rm -f conftest.$ac_objext
7456 if { (ac_try="$ac_compile"
7458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7459 *) ac_try_echo=$ac_try;;
7461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7462 (eval "$ac_compile") 2>conftest.er1
7464 grep -v '^
*+' conftest.er1 >conftest.err
7466 cat conftest.err >&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); } &&
7469 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
7470 { (case "(($ac_try" in
7471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7472 *) ac_try_echo=$ac_try;;
7474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7475 (eval "$ac_try") 2>&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); }; } &&
7479 { ac_try='test -s conftest.
$ac_objext'
7480 { (case "(($ac_try" in
7481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7482 *) ac_try_echo=$ac_try;;
7484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7485 (eval "$ac_try") 2>&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; }; then
7489 ac_cv_prog_f77_g=yes
7491 echo "$as_me: failed program was:" >&5
7492 sed 's
/^
/|
/' conftest.$ac_ext >&5
7497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7500 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7501 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7502 if test "$ac_test_FFLAGS" = set; then
7503 FFLAGS=$ac_save_FFLAGS
7504 elif test $ac_cv_prog_f77_g = yes; then
7505 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7511 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7518 G77=`test $ac_compiler_gnu = yes && echo yes`
7520 ac_cpp='$CPP $CPPFLAGS'
7521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7522 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7527 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7529 # find the maximum length of command line arguments
7530 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7531 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7532 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7533 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 # On DJGPP, this test can blow up pretty badly due to problems in libc
7541 # (any single argument exceeding 2000 bytes causes a buffer overrun
7542 # during glob expansion). Even if it were fixed, the result of this
7543 # check would be larger than it should be.
7544 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7548 # Under GNU Hurd, this test is not required because there is
7549 # no limit to the length of command line arguments.
7550 # Libtool will interpret -1 as no limit whatsoever
7551 lt_cv_sys_max_cmd_len
=-1;
7555 # On Win9x/ME, this test blows up -- it succeeds, but takes
7556 # about 5 minutes as the teststring grows exponentially.
7557 # Worse, since 9x/ME are not pre-emptively multitasking,
7558 # you end up with a "frozen" computer, even though with patience
7559 # the test eventually succeeds (with a max line length of 256k).
7560 # Instead, let's just punt: use the minimum linelength reported by
7561 # all of the supported platforms: 8192 (on NT/2K/XP).
7562 lt_cv_sys_max_cmd_len
=8192;
7566 # On AmigaOS with pdksh, this test takes hours, literally.
7567 # So we just punt and use a minimum line length of 8192.
7568 lt_cv_sys_max_cmd_len
=8192;
7571 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7572 # This has been around since 386BSD, at least. Likely further.
7573 if test -x /sbin
/sysctl
; then
7574 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7575 elif test -x /usr
/sbin
/sysctl
; then
7576 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7578 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7580 # And add a safety zone
7581 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7582 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7586 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7587 lt_cv_sys_max_cmd_len
=196608
7591 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7592 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7593 # nice to cause kernel panics so lets avoid the loop below.
7594 # First set a reasonable default.
7595 lt_cv_sys_max_cmd_len
=16384
7597 if test -x /sbin
/sysconfig
; then
7598 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7599 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7604 lt_cv_sys_max_cmd_len
=102400
7606 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7607 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7608 if test -n "$kargmax"; then
7609 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7611 lt_cv_sys_max_cmd_len
=32768
7615 # If test is not a shell built-in, we'll probably end up computing a
7616 # maximum length that is only half of the actual maximum length, but
7618 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7619 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7620 = "XX$teststring") >/dev
/null
2>&1 &&
7621 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7622 lt_cv_sys_max_cmd_len
=$new_result &&
7623 test $i != 17 # 1/2 MB should be enough
7626 teststring
=$teststring$teststring
7629 # Add a significant safety factor because C++ compilers can tack on massive
7630 # amounts of additional arguments before passing them to the linker.
7631 # It appears as though 1/2 is a usable value.
7632 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7638 if test -n $lt_cv_sys_max_cmd_len ; then
7639 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7640 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7642 { echo "$as_me:$LINENO: result: none" >&5
7643 echo "${ECHO_T}none" >&6; }
7649 # Check for command to grab the raw symbol name followed by C symbol from nm.
7650 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7651 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7652 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7653 echo $ECHO_N "(cached) $ECHO_C" >&6
7656 # These are sane defaults that work on at least a few old systems.
7657 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7659 # Character class describing NM global symbol codes.
7660 symcode
='[BCDEGRST]'
7662 # Regexp to match symbols that can be accessed directly from C.
7663 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7665 # Transform an extracted symbol line into a proper C declaration
7666 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7668 # Transform an extracted symbol line into symbol name and symbol address
7669 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'"
7671 # Define system-specific variables.
7676 cygwin
* | mingw
* | pw32
*)
7677 symcode
='[ABCDGISTW]'
7679 hpux
*) # Its linker distinguishes data from code symbols
7680 if test "$host_cpu" = ia64
; then
7681 symcode
='[ABCDEGRST]'
7683 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7684 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'"
7687 if test "$host_cpu" = ia64
; then
7688 symcode
='[ABCDGIRSTW]'
7689 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7690 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'"
7694 symcode
='[BCDEGRST]'
7697 symcode
='[BCDEGQRST]'
7708 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7716 # Handle CRLF in mingw tool chain
7720 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7724 # If we're using GNU nm, then use its standard symbol codes.
7725 case `$NM -V 2>&1` in
7726 *GNU
* |
*'with BFD'*)
7727 symcode
='[ABCDGIRSTW]' ;;
7730 # Try without a prefix undercore, then with it.
7731 for ac_symprfx
in "" "_"; do
7733 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7734 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7736 # Write the raw and C identifiers.
7737 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7739 # Check to see that the pipe works correctly.
7743 cat > conftest.
$ac_ext <<EOF
7748 void nm_test_func(){}
7752 int main(){nm_test_var='a';nm_test_func();return(0);}
7755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7756 (eval $ac_compile) 2>&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; then
7760 # Now try to grab the symbols.
7762 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7763 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } && test -s "$nlist"; then
7767 # Try sorting and uniquifying the output.
7768 if sort "$nlist" |
uniq > "$nlist"T
; then
7769 mv -f "$nlist"T
"$nlist"
7774 # Make sure that we snagged all the symbols we need.
7775 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7776 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7777 cat <<EOF > conftest.$ac_ext
7783 # Now generate the symbol file.
7784 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7786 cat <<EOF >> conftest.$ac_ext
7787 #if defined (__STDC__) && __STDC__
7788 # define lt_ptr_t void *
7790 # define lt_ptr_t char *
7794 /* The mapping between symbol names and symbols. */
7799 lt_preloaded_symbols[] =
7802 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
7803 cat <<\EOF
>> conftest.
$ac_ext
7811 # Now try linking the two files.
7812 mv conftest.
$ac_objext conftstm.
$ac_objext
7813 lt_save_LIBS
="$LIBS"
7814 lt_save_CFLAGS
="$CFLAGS"
7815 LIBS
="conftstm.$ac_objext"
7816 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7818 (eval $ac_link) 2>&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7824 LIBS
="$lt_save_LIBS"
7825 CFLAGS
="$lt_save_CFLAGS"
7827 echo "cannot find nm_test_func in $nlist" >&5
7830 echo "cannot find nm_test_var in $nlist" >&5
7833 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7836 echo "$progname: failed program was:" >&5
7837 cat conftest.
$ac_ext >&5
7839 rm -f conftest
* conftst
*
7841 # Do not use the global_symbol_pipe unless it works.
7842 if test "$pipe_works" = yes; then
7845 lt_cv_sys_global_symbol_pipe
=
7851 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7852 lt_cv_sys_global_symbol_to_cdecl
=
7854 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7855 { echo "$as_me:$LINENO: result: failed" >&5
7856 echo "${ECHO_T}failed" >&6; }
7858 { echo "$as_me:$LINENO: result: ok" >&5
7859 echo "${ECHO_T}ok" >&6; }
7862 { echo "$as_me:$LINENO: checking for objdir" >&5
7863 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7864 if test "${lt_cv_objdir+set}" = set; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 rm -f .libs
2>/dev
/null
7868 mkdir .libs
2>/dev
/null
7869 if test -d .libs
; then
7872 # MS-DOS does not allow filenames that begin with a dot.
7875 rmdir .libs
2>/dev
/null
7877 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7878 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7879 objdir
=$lt_cv_objdir
7887 # AIX sometimes has problems with the GCC collect2 program. For some
7888 # reason, if we set the COLLECT_NAMES environment variable, the problems
7889 # vanish in a puff of smoke.
7890 if test "X${COLLECT_NAMES+set}" != Xset
; then
7892 export COLLECT_NAMES
7897 # Sed substitution that helps us do robust quoting. It backslashifies
7898 # metacharacters that are still active within double-quoted strings.
7899 Xsed
='sed -e 1s/^X//'
7900 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7902 # Same as above, but do not quote variable references.
7903 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7905 # Sed substitution to delay expansion of an escaped shell variable in a
7906 # double_quote_subst'ed string.
7907 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7909 # Sed substitution to avoid accidental globbing in evaled expressions
7910 no_glob_subst
='s/\*/\\\*/g'
7917 can_build_shared
=yes
7919 # All known linkers require a `.a' archive for static linking (except MSVC,
7920 # which needs '.lib').
7922 ltmain
="$ac_aux_dir/ltmain.sh"
7923 ofile
="$default_ofile"
7924 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7926 if test -n "$ac_tool_prefix"; then
7927 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7928 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7931 if test "${ac_cv_prog_AR+set}" = set; then
7932 echo $ECHO_N "(cached) $ECHO_C" >&6
7934 if test -n "$AR"; then
7935 ac_cv_prog_AR
="$AR" # Let the user override the test.
7937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir
=.
7942 for ac_exec_ext
in '' $ac_executable_extensions; do
7943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7944 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 if test -n "$AR"; then
7956 { echo "$as_me:$LINENO: result: $AR" >&5
7957 echo "${ECHO_T}$AR" >&6; }
7959 { echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6; }
7965 if test -z "$ac_cv_prog_AR"; then
7967 # Extract the first word of "ar", so it can be a program name with args.
7968 set dummy
ar; ac_word
=$2
7969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7971 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 if test -n "$ac_ct_AR"; then
7975 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7981 test -z "$as_dir" && as_dir
=.
7982 for ac_exec_ext
in '' $ac_executable_extensions; do
7983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7984 ac_cv_prog_ac_ct_AR
="ar"
7985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7995 if test -n "$ac_ct_AR"; then
7996 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7997 echo "${ECHO_T}$ac_ct_AR" >&6; }
7999 { echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6; }
8003 if test "x$ac_ct_AR" = x
; then
8006 case $cross_compiling:$ac_tool_warned in
8008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8009 whose name does not start with the host triplet. If you think this
8010 configuration is useful to you, please write to autoconf@gnu.org." >&5
8011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8012 whose name does not start with the host triplet. If you think this
8013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8014 ac_tool_warned
=yes ;;
8022 if test -n "$ac_tool_prefix"; then
8023 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8024 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8027 if test "${ac_cv_prog_RANLIB+set}" = set; then
8028 echo $ECHO_N "(cached) $ECHO_C" >&6
8030 if test -n "$RANLIB"; then
8031 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir
=.
8038 for ac_exec_ext
in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 RANLIB
=$ac_cv_prog_RANLIB
8051 if test -n "$RANLIB"; then
8052 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8053 echo "${ECHO_T}$RANLIB" >&6; }
8055 { echo "$as_me:$LINENO: result: no" >&5
8056 echo "${ECHO_T}no" >&6; }
8061 if test -z "$ac_cv_prog_RANLIB"; then
8062 ac_ct_RANLIB
=$RANLIB
8063 # Extract the first word of "ranlib", so it can be a program name with args.
8064 set dummy ranlib
; ac_word
=$2
8065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8067 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8068 echo $ECHO_N "(cached) $ECHO_C" >&6
8070 if test -n "$ac_ct_RANLIB"; then
8071 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir
=.
8078 for ac_exec_ext
in '' $ac_executable_extensions; do
8079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8080 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8091 if test -n "$ac_ct_RANLIB"; then
8092 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8093 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8095 { echo "$as_me:$LINENO: result: no" >&5
8096 echo "${ECHO_T}no" >&6; }
8099 if test "x$ac_ct_RANLIB" = x
; then
8102 case $cross_compiling:$ac_tool_warned in
8104 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8105 whose name does not start with the host triplet. If you think this
8106 configuration is useful to you, please write to autoconf@gnu.org." >&5
8107 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8108 whose name does not start with the host triplet. If you think this
8109 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8110 ac_tool_warned
=yes ;;
8112 RANLIB
=$ac_ct_RANLIB
8115 RANLIB
="$ac_cv_prog_RANLIB"
8118 if test -n "$ac_tool_prefix"; then
8119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8120 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8123 if test "${ac_cv_prog_STRIP+set}" = set; then
8124 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 if test -n "$STRIP"; then
8127 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir
=.
8134 for ac_exec_ext
in '' $ac_executable_extensions; do
8135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 STRIP
=$ac_cv_prog_STRIP
8147 if test -n "$STRIP"; then
8148 { echo "$as_me:$LINENO: result: $STRIP" >&5
8149 echo "${ECHO_T}$STRIP" >&6; }
8151 { echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6; }
8157 if test -z "$ac_cv_prog_STRIP"; then
8159 # Extract the first word of "strip", so it can be a program name with args.
8160 set dummy strip
; ac_word
=$2
8161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8163 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 if test -n "$ac_ct_STRIP"; then
8167 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir
=.
8174 for ac_exec_ext
in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_prog_ac_ct_STRIP
="strip"
8177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8186 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8187 if test -n "$ac_ct_STRIP"; then
8188 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8189 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8191 { echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6; }
8195 if test "x$ac_ct_STRIP" = x
; then
8198 case $cross_compiling:$ac_tool_warned in
8200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8201 whose name does not start with the host triplet. If you think this
8202 configuration is useful to you, please write to autoconf@gnu.org." >&5
8203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8204 whose name does not start with the host triplet. If you think this
8205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8206 ac_tool_warned
=yes ;;
8211 STRIP
="$ac_cv_prog_STRIP"
8216 old_CFLAGS
="$CFLAGS"
8218 # Set sane defaults for various variables
8219 test -z "$AR" && AR
=ar
8220 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8221 test -z "$AS" && AS
=as
8222 test -z "$CC" && CC
=cc
8223 test -z "$LTCC" && LTCC
=$CC
8224 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8225 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8226 test -z "$LD" && LD
=ld
8227 test -z "$LN_S" && LN_S
="ln -s"
8228 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8229 test -z "$NM" && NM
=nm
8230 test -z "$SED" && SED
=sed
8231 test -z "$OBJDUMP" && OBJDUMP
=objdump
8232 test -z "$RANLIB" && RANLIB
=:
8233 test -z "$STRIP" && STRIP
=:
8234 test -z "$ac_objext" && ac_objext
=o
8236 # Determine commands to create old-style static archives.
8237 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8238 old_postinstall_cmds
='chmod 644 $oldlib'
8239 old_postuninstall_cmds
=
8241 if test -n "$RANLIB"; then
8244 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8247 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8250 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8253 for cc_temp
in $compiler""; do
8255 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8256 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8261 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8264 # Only perform the check for file, if the check method requires it
8265 case $deplibs_check_method in
8267 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8268 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8269 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8270 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8278 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8279 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8280 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8281 for ac_dir
in $ac_dummy; do
8283 test -z "$ac_dir" && ac_dir
=.
8284 if test -f $ac_dir/${ac_tool_prefix}file; then
8285 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8286 if test -n "$file_magic_test_file"; then
8287 case $deplibs_check_method in
8289 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8290 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8291 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8292 $EGREP "$file_magic_regex" > /dev
/null
; then
8297 *** Warning: the command libtool uses to detect shared libraries,
8298 *** $file_magic_cmd, produces output that libtool cannot recognize.
8299 *** The result is that libtool may fail to recognize shared libraries
8300 *** as such. This will affect the creation of libtool libraries that
8301 *** depend on shared libraries, but programs linked with such libtool
8302 *** libraries will work regardless of this problem. Nevertheless, you
8303 *** may want to report the problem to your system manager and/or to
8304 *** bug-libtool@gnu.org
8314 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8319 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8320 if test -n "$MAGIC_CMD"; then
8321 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8322 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8324 { echo "$as_me:$LINENO: result: no" >&5
8325 echo "${ECHO_T}no" >&6; }
8328 if test -z "$lt_cv_path_MAGIC_CMD"; then
8329 if test -n "$ac_tool_prefix"; then
8330 { echo "$as_me:$LINENO: checking for file" >&5
8331 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8332 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8333 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8340 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8341 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8342 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8343 for ac_dir
in $ac_dummy; do
8345 test -z "$ac_dir" && ac_dir
=.
8346 if test -f $ac_dir/file; then
8347 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8348 if test -n "$file_magic_test_file"; then
8349 case $deplibs_check_method in
8351 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8352 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8353 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8354 $EGREP "$file_magic_regex" > /dev
/null
; then
8359 *** Warning: the command libtool uses to detect shared libraries,
8360 *** $file_magic_cmd, produces output that libtool cannot recognize.
8361 *** The result is that libtool may fail to recognize shared libraries
8362 *** as such. This will affect the creation of libtool libraries that
8363 *** depend on shared libraries, but programs linked with such libtool
8364 *** libraries will work regardless of this problem. Nevertheless, you
8365 *** may want to report the problem to your system manager and/or to
8366 *** bug-libtool@gnu.org
8376 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8381 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8382 if test -n "$MAGIC_CMD"; then
8383 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8384 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8386 { echo "$as_me:$LINENO: result: no" >&5
8387 echo "${ECHO_T}no" >&6; }
8402 # Check whether --enable-libtool-lock was given.
8403 if test "${enable_libtool_lock+set}" = set; then
8404 enableval
=$enable_libtool_lock;
8407 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8410 # Check whether --with-pic was given.
8411 if test "${with_pic+set}" = set; then
8412 withval
=$with_pic; pic_mode
="$withval"
8417 test -z "$pic_mode" && pic_mode
=default
8419 # Use C for the default configuration in the libtool script
8423 ac_cpp
='$CPP $CPPFLAGS'
8424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8429 # Source file extension for C test sources.
8432 # Object file extension for compiled C test sources.
8436 # Code to be used in simple compile tests
8437 lt_simple_compile_test_code
="int some_variable = 0;\n"
8439 # Code to be used in simple link tests
8440 lt_simple_link_test_code
='int main(){return(0);}\n'
8443 # If no C compiler was specified, use CC.
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8453 # save warnings/boilerplate of simple test code
8454 ac_outfile
=conftest.
$ac_objext
8455 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
8456 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8457 _lt_compiler_boilerplate
=`cat conftest.err`
8460 ac_outfile
=conftest.
$ac_objext
8461 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
8462 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8463 _lt_linker_boilerplate
=`cat conftest.err`
8468 lt_prog_compiler_no_builtin_flag
=
8470 if test "$GCC" = yes; then
8471 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8474 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8475 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8476 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8477 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 lt_cv_prog_compiler_rtti_exceptions
=no
8480 ac_outfile
=conftest.
$ac_objext
8481 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8482 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8483 # Insert the option either (1) after the last *FLAGS variable, or
8484 # (2) before a word containing "conftest.", or (3) at the end.
8485 # Note that $ac_compile itself does not contain backslashes and begins
8486 # with a dollar sign (not a hyphen), so the echo should work correctly.
8487 # The option is referenced via a variable to avoid confusing sed.
8488 lt_compile
=`echo "$ac_compile" | $SED \
8489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8491 -e 's:$: $lt_compiler_flag:'`
8492 (eval echo "\"\$as_me:8492: $lt_compile\"" >&5)
8493 (eval "$lt_compile" 2>conftest.err
)
8495 cat conftest.err
>&5
8496 echo "$as_me:8496: \$? = $ac_status" >&5
8497 if (exit $ac_status) && test -s "$ac_outfile"; then
8498 # The compiler can only warn and ignore the option if not recognized
8499 # So say no if there are warnings other than the usual output.
8500 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8501 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8502 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8503 lt_cv_prog_compiler_rtti_exceptions
=yes
8509 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8510 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8512 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8513 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8520 lt_prog_compiler_wl
=
8521 lt_prog_compiler_pic
=
8522 lt_prog_compiler_static
=
8524 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8525 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8527 if test "$GCC" = yes; then
8528 lt_prog_compiler_wl
='-Wl,'
8529 lt_prog_compiler_static
='-static'
8533 # All AIX code is PIC.
8534 if test "$host_cpu" = ia64
; then
8535 # AIX 5 now supports IA64 processor
8536 lt_prog_compiler_static
='-Bstatic'
8541 # FIXME: we need at least 68020 code to build shared libraries, but
8542 # adding the `-m68020' flag to GCC prevents building anything better,
8544 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8547 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8548 # PIC is the default for these OSes.
8551 mingw
* | pw32
* | os2
*)
8552 # This hack is so that the source file can tell whether it is being
8553 # built for inclusion in a dll (and should export symbols for example).
8554 lt_prog_compiler_pic
='-DDLL_EXPORT'
8557 darwin
* | rhapsody
*)
8558 # PIC is the default on this platform
8559 # Common symbols not allowed in MH_DYLIB files
8560 lt_prog_compiler_pic
='-fno-common'
8564 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8565 # Instead, we relocate shared libraries at runtime.
8569 # Just because we use GCC doesn't mean we suddenly get shared libraries
8570 # on systems that don't support them.
8571 lt_prog_compiler_can_build_shared
=no
8576 if test -d /usr
/nec
; then
8577 lt_prog_compiler_pic
=-Kconform_pic
8582 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8589 lt_prog_compiler_pic
='-fPIC'
8595 lt_prog_compiler_pic
='-fPIC'
8599 # PORTME Check for flag to pass linker flags through the system compiler.
8602 lt_prog_compiler_wl
='-Wl,'
8603 if test "$host_cpu" = ia64
; then
8604 # AIX 5 now supports IA64 processor
8605 lt_prog_compiler_static
='-Bstatic'
8607 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8611 # PIC is the default on this platform
8612 # Common symbols not allowed in MH_DYLIB files
8613 case $cc_basename in
8615 lt_prog_compiler_pic
='-qnocommon'
8616 lt_prog_compiler_wl
='-Wl,'
8621 mingw
* | pw32
* | os2
*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic
='-DDLL_EXPORT'
8627 hpux9
* | hpux10
* | hpux11
*)
8628 lt_prog_compiler_wl
='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8636 lt_prog_compiler_pic
='+Z'
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8643 irix5
* | irix6
* | nonstopux
*)
8644 lt_prog_compiler_wl
='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static
='-non_shared'
8650 lt_prog_compiler_pic
='-KPIC'
8651 lt_prog_compiler_static
='-Bstatic'
8655 case $cc_basename in
8657 lt_prog_compiler_wl
='-Wl,'
8658 lt_prog_compiler_pic
='-KPIC'
8659 lt_prog_compiler_static
='-static'
8661 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8662 # Portland Group compilers (*not* the Pentium gcc compiler,
8663 # which looks to be a dead project)
8664 lt_prog_compiler_wl
='-Wl,'
8665 lt_prog_compiler_pic
='-fpic'
8666 lt_prog_compiler_static
='-Bstatic'
8669 lt_prog_compiler_wl
='-Wl,'
8670 # All Alpha code is PIC.
8671 lt_prog_compiler_static
='-non_shared'
8676 osf3
* | osf4
* | osf5
*)
8677 lt_prog_compiler_wl
='-Wl,'
8678 # All OSF/1 code is PIC.
8679 lt_prog_compiler_static
='-non_shared'
8683 lt_prog_compiler_pic
='-KPIC'
8684 lt_prog_compiler_static
='-Bstatic'
8685 case $cc_basename in
8687 lt_prog_compiler_wl
='-Qoption ld ';;
8689 lt_prog_compiler_wl
='-Wl,';;
8694 lt_prog_compiler_wl
='-Qoption ld '
8695 lt_prog_compiler_pic
='-PIC'
8696 lt_prog_compiler_static
='-Bstatic'
8699 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8700 lt_prog_compiler_wl
='-Wl,'
8701 lt_prog_compiler_pic
='-KPIC'
8702 lt_prog_compiler_static
='-Bstatic'
8706 if test -d /usr
/nec
;then
8707 lt_prog_compiler_pic
='-Kconform_pic'
8708 lt_prog_compiler_static
='-Bstatic'
8712 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8713 lt_prog_compiler_wl
='-Wl,'
8714 lt_prog_compiler_pic
='-KPIC'
8715 lt_prog_compiler_static
='-Bstatic'
8719 lt_prog_compiler_wl
='-Wl,'
8720 lt_prog_compiler_can_build_shared
=no
8724 lt_prog_compiler_pic
='-pic'
8725 lt_prog_compiler_static
='-Bstatic'
8729 lt_prog_compiler_can_build_shared
=no
8734 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8735 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8738 # Check to make sure the PIC flag actually works.
8740 if test -n "$lt_prog_compiler_pic"; then
8742 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8743 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8744 if test "${lt_prog_compiler_pic_works+set}" = set; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 lt_prog_compiler_pic_works
=no
8748 ac_outfile
=conftest.
$ac_objext
8749 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8750 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8751 # Insert the option either (1) after the last *FLAGS variable, or
8752 # (2) before a word containing "conftest.", or (3) at the end.
8753 # Note that $ac_compile itself does not contain backslashes and begins
8754 # with a dollar sign (not a hyphen), so the echo should work correctly.
8755 # The option is referenced via a variable to avoid confusing sed.
8756 lt_compile
=`echo "$ac_compile" | $SED \
8757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8759 -e 's:$: $lt_compiler_flag:'`
8760 (eval echo "\"\$as_me:8760: $lt_compile\"" >&5)
8761 (eval "$lt_compile" 2>conftest.err
)
8763 cat conftest.err
>&5
8764 echo "$as_me:8764: \$? = $ac_status" >&5
8765 if (exit $ac_status) && test -s "$ac_outfile"; then
8766 # The compiler can only warn and ignore the option if not recognized
8767 # So say no if there are warnings other than the usual output.
8768 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8769 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8770 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8771 lt_prog_compiler_pic_works
=yes
8777 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8778 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8780 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
8781 case $lt_prog_compiler_pic in
8783 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8786 lt_prog_compiler_pic
=
8787 lt_prog_compiler_can_build_shared
=no
8792 # For platforms which do not support PIC, -DPIC is meaningless:
8794 lt_prog_compiler_pic
=
8797 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8802 # Check to make sure the static flag actually works.
8804 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8805 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8806 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8807 if test "${lt_prog_compiler_static_works+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 lt_prog_compiler_static_works
=no
8811 save_LDFLAGS
="$LDFLAGS"
8812 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8813 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
8814 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8815 # The linker can only warn and ignore the option if not recognized
8816 # So say no if there are warnings
8817 if test -s conftest.err
; then
8818 # Append any errors to the config.log.
8819 cat conftest.err
1>&5
8820 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8821 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8822 if diff conftest.exp conftest.er2
>/dev
/null
; then
8823 lt_prog_compiler_static_works
=yes
8826 lt_prog_compiler_static_works
=yes
8830 LDFLAGS
="$save_LDFLAGS"
8833 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8834 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8836 if test x
"$lt_prog_compiler_static_works" = xyes
; then
8839 lt_prog_compiler_static
=
8843 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8844 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8845 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 lt_cv_prog_compiler_c_o
=no
8849 $rm -r conftest
2>/dev
/null
8853 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8855 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8856 # Insert the option either (1) after the last *FLAGS variable, or
8857 # (2) before a word containing "conftest.", or (3) at the end.
8858 # Note that $ac_compile itself does not contain backslashes and begins
8859 # with a dollar sign (not a hyphen), so the echo should work correctly.
8860 lt_compile
=`echo "$ac_compile" | $SED \
8861 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8863 -e 's:$: $lt_compiler_flag:'`
8864 (eval echo "\"\$as_me:8864: $lt_compile\"" >&5)
8865 (eval "$lt_compile" 2>out
/conftest.err
)
8867 cat out
/conftest.err
>&5
8868 echo "$as_me:8868: \$? = $ac_status" >&5
8869 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8871 # The compiler can only warn and ignore the option if not recognized
8872 # So say no if there are warnings
8873 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8874 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8875 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8876 lt_cv_prog_compiler_c_o
=yes
8881 # SGI C++ compiler will create directory out/ii_files/ for
8882 # template instantiation
8883 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8884 $rm out
/* && rmdir out
8890 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8891 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8894 hard_links
="nottested"
8895 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8896 # do not overwrite the value of need_locks provided by the user
8897 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8898 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8901 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8903 ln conftest.a conftest.b
2>&5 || hard_links
=no
8904 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8905 { echo "$as_me:$LINENO: result: $hard_links" >&5
8906 echo "${ECHO_T}$hard_links" >&6; }
8907 if test "$hard_links" = no
; then
8908 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8909 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8916 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8917 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8920 allow_undefined_flag
=
8921 enable_shared_with_static_runtimes
=no
8923 archive_expsym_cmds
=
8924 old_archive_From_new_cmds
=
8925 old_archive_from_expsyms_cmds
=
8926 export_dynamic_flag_spec
=
8927 whole_archive_flag_spec
=
8928 thread_safe_flag_spec
=
8929 hardcode_libdir_flag_spec
=
8930 hardcode_libdir_flag_spec_ld
=
8931 hardcode_libdir_separator
=
8934 hardcode_shlibpath_var
=unsupported
8935 link_all_deplibs
=unknown
8936 hardcode_automatic
=no
8939 always_export_symbols
=no
8940 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8941 # include_expsyms should be a list of space-separated symbols to be *always*
8942 # included in the symbol list
8944 # exclude_expsyms can be an extended regexp of symbols to exclude
8945 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8946 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8947 # as well as any symbol that contains `d'.
8948 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8949 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8950 # platforms (ab)use it in PIC code, but their linkers get confused if
8951 # the symbol is explicitly referenced. Since portable code cannot
8952 # rely on this symbol name, it's probably fine to never include it in
8953 # preloaded symbol tables.
8954 extract_expsyms_cmds
=
8955 # Just being paranoid about ensuring that cc_basename is set.
8956 for cc_temp
in $compiler""; do
8958 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8959 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8964 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8967 cygwin
* | mingw
* | pw32
*)
8968 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8969 # When not using gcc, we currently assume that we are using
8970 # Microsoft Visual C++.
8971 if test "$GCC" != yes; then
8976 # we just hope/assume this is gcc and not c89 (= MSVC++)
8985 if test "$with_gnu_ld" = yes; then
8986 # If archive_cmds runs LD, not CC, wlarc should be empty
8989 # Set some defaults for GNU ld with shared library support. These
8990 # are reset later if shared libraries are not supported. Putting them
8991 # here allows them to be overridden if necessary.
8992 runpath_var
=LD_RUN_PATH
8993 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8994 export_dynamic_flag_spec
='${wl}--export-dynamic'
8995 # ancient GNU ld didn't support --whole-archive et. al.
8996 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8997 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8999 whole_archive_flag_spec
=
9001 supports_anon_versioning
=no
9002 case `$LD -v 2>/dev/null` in
9003 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9004 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9005 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9006 *\
2.11.
*) ;; # other 2.11 versions
9007 *) supports_anon_versioning
=yes ;;
9010 # See if GNU ld supports shared libraries.
9012 aix3
* | aix4
* | aix5
*)
9013 # On AIX/PPC, the GNU linker is very broken
9014 if test "$host_cpu" != ia64
; then
9018 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9019 *** to be unable to reliably create shared libraries on AIX.
9020 *** Therefore, libtool is disabling shared libraries support. If you
9021 *** really care for shared libraries, you may want to modify your PATH
9022 *** so that a non-GNU linker is found, and then restart.
9029 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)'
9030 hardcode_libdir_flag_spec
='-L$libdir'
9031 hardcode_minus_L
=yes
9033 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9034 # that the semantics of dynamic libraries on AmigaOS, at least up
9035 # to version 4, is to share data among multiple programs linked
9036 # with the same dynamic library. Since this doesn't match the
9037 # behavior of shared libraries on other platforms, we can't use
9043 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9044 allow_undefined_flag
=unsupported
9045 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9046 # support --undefined. This deserves some investigation. FIXME
9047 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 cygwin
* | mingw
* | pw32
*)
9054 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9055 # as there is no search path for DLLs.
9056 hardcode_libdir_flag_spec
='-L$libdir'
9057 allow_undefined_flag
=unsupported
9058 always_export_symbols
=no
9059 enable_shared_with_static_runtimes
=yes
9060 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9062 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9063 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9064 # If the export-symbols file already is a .def file (1st line
9065 # is EXPORTS), use it as is; otherwise, prepend...
9066 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9067 cp $export_symbols $output_objdir/$soname.def;
9069 echo EXPORTS > $output_objdir/$soname.def;
9070 cat $export_symbols >> $output_objdir/$soname.def;
9072 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9080 hardcode_shlibpath_var
=no
9081 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9082 export_dynamic_flag_spec
='${wl}-E'
9083 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9084 # Instead, shared libraries are loaded at an image base (0x10000000 by
9085 # default) and relocated if they conflict, which is a slow very memory
9086 # consuming and fragmenting process. To avoid this, we pick a random,
9087 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9088 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9089 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9090 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'
9094 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9096 case $cc_basename,$host_cpu in
9097 pgcc
*) # Portland Group C compiler
9098 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'
9099 tmp_addflag
=' $pic_flag'
9101 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9102 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'
9103 tmp_addflag
=' $pic_flag -Mnomain' ;;
9104 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9105 tmp_addflag
=' -i_dynamic' ;;
9106 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9107 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9108 ifc
* | ifort
*) # Intel Fortran compiler
9109 tmp_addflag
=' -nofor_main' ;;
9111 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9113 if test $supports_anon_versioning = yes; then
9114 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9115 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9116 $echo "local: *; };" >> $output_objdir/$libname.ver~
9117 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9125 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9126 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9129 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9135 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9139 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9140 *** create shared libraries on Solaris systems. Therefore, libtool
9141 *** is disabling shared libraries support. We urge you to upgrade GNU
9142 *** binutils to release 2.9.1 or newer. Another option is to modify
9143 *** your PATH or compiler configuration so that the native linker is
9144 *** used, and then restart.
9147 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9148 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9156 case `$LD -v 2>&1` in
9157 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9161 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9162 *** reliably create shared libraries on SCO systems. Therefore, libtool
9163 *** is disabling shared libraries support. We urge you to upgrade GNU
9164 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9165 *** your PATH or compiler configuration so that the native linker is
9166 *** used, and then restart.
9171 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9172 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9183 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9186 hardcode_shlibpath_var
=no
9190 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9191 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9199 if test "$ld_shlibs" = no
; then
9201 hardcode_libdir_flag_spec
=
9202 export_dynamic_flag_spec
=
9203 whole_archive_flag_spec
=
9206 # PORTME fill in a description of your system's linker (not GNU ld)
9209 allow_undefined_flag
=unsupported
9210 always_export_symbols
=yes
9211 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'
9212 # Note: this linker hardcodes the directories in LIBPATH if there
9213 # are no directories specified by -L.
9214 hardcode_minus_L
=yes
9215 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9216 # Neither direct hardcoding nor static linking is supported with a
9218 hardcode_direct
=unsupported
9223 if test "$host_cpu" = ia64
; then
9224 # On IA64, the linker does run time linking by default, so we don't
9225 # have to do anything special.
9226 aix_use_runtimelinking
=no
9227 exp_sym_flag
='-Bexport'
9230 # If we're using GNU nm, then we don't want the "-C" option.
9231 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9232 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9233 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'
9235 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'
9237 aix_use_runtimelinking
=no
9239 # Test if we are trying to use run time linking or normal
9240 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9241 # need to do runtime linking.
9242 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9243 for ld_flag
in $LDFLAGS; do
9244 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9245 aix_use_runtimelinking
=yes
9252 exp_sym_flag
='-bexport'
9253 no_entry_flag
='-bnoentry'
9256 # When large executables or shared objects are built, AIX ld can
9257 # have problems creating the table of contents. If linking a library
9258 # or program results in "error TOC overflow" add -mminimal-toc to
9259 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9260 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9264 hardcode_libdir_separator
=':'
9265 link_all_deplibs
=yes
9267 if test "$GCC" = yes; then
9268 case $host_os in aix4.
[012]|aix4.
[012].
*)
9269 # We only want to do this on AIX 4.2 and lower, the check
9270 # below for broken collect2 doesn't work under 4.3+
9271 collect2name
=`${CC} -print-prog-name=collect2`
9272 if test -f "$collect2name" && \
9273 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9275 # We have reworked collect2
9278 # We have old collect2
9279 hardcode_direct
=unsupported
9280 # It fails to find uninstalled libraries when the uninstalled
9281 # path is not listed in the libpath. Setting hardcode_minus_L
9282 # to unsupported forces relinking
9283 hardcode_minus_L
=yes
9284 hardcode_libdir_flag_spec
='-L$libdir'
9285 hardcode_libdir_separator
=
9289 shared_flag
='-shared'
9290 if test "$aix_use_runtimelinking" = yes; then
9291 shared_flag
="$shared_flag "'${wl}-G'
9295 if test "$host_cpu" = ia64
; then
9296 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9297 # chokes on -Wl,-G. The following line is correct:
9300 if test "$aix_use_runtimelinking" = yes; then
9301 shared_flag
='${wl}-G'
9303 shared_flag
='${wl}-bM:SRE'
9308 # It seems that -bexpall does not export symbols beginning with
9309 # underscore (_), so it is better to generate a list of symbols to export.
9310 always_export_symbols
=yes
9311 if test "$aix_use_runtimelinking" = yes; then
9312 # Warning - without using the other runtime loading flags (-brtl),
9313 # -berok will link without error, but may produce a broken library.
9314 allow_undefined_flag
='-berok'
9315 # Determine the default libpath from the value encoded in an empty executable.
9316 cat >conftest.
$ac_ext <<_ACEOF
9319 cat confdefs.h
>>conftest.
$ac_ext
9320 cat >>conftest.
$ac_ext <<_ACEOF
9321 /* end confdefs.h. */
9331 rm -f conftest.
$ac_objext conftest
$ac_exeext
9332 if { (ac_try
="$ac_link"
9334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9335 *) ac_try_echo=$ac_try;;
9337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9338 (eval "$ac_link") 2>conftest.er1
9340 grep -v '^ *+' conftest.er1 >conftest.err
9342 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9346 { (case "(($ac_try" in
9347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9348 *) ac_try_echo
=$ac_try;;
9350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9351 (eval "$ac_try") 2>&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; } &&
9355 { ac_try
='test -s conftest$ac_exeext'
9356 { (case "(($ac_try" in
9357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9358 *) ac_try_echo=$ac_try;;
9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9361 (eval "$ac_try") 2>&5
9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364 (exit $ac_status); }; }; then
9366 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9368 # Check for a 64-bit object if we didn't find anything.
9369 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; }
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9382 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9383 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"
9385 if test "$host_cpu" = ia64; then
9386 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9387 allow_undefined_flag="-z nodefs"
9388 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"
9390 # Determine the default libpath from the value encoded in an empty executable.
9391 cat >conftest.$ac_ext <<_ACEOF
9394 cat confdefs.h >>conftest.$ac_ext
9395 cat >>conftest.$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9406 rm -f conftest.$ac_objext conftest$ac_exeext
9407 if { (ac_try="$ac_link"
9409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9410 *) ac_try_echo
=$ac_try;;
9412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9413 (eval "$ac_link") 2>conftest.er1
9415 grep -v '^ *+' conftest.er1
>conftest.err
9417 cat conftest.err
>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } &&
9420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9421 { (case "(($ac_try" in
9422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9423 *) ac_try_echo=$ac_try;;
9425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9426 (eval "$ac_try") 2>&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); }; } &&
9430 { ac_try='test -s conftest$ac_exeext'
9431 { (case "(($ac_try" in
9432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9433 *) ac_try_echo
=$ac_try;;
9435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9436 (eval "$ac_try") 2>&5
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); }; }; then
9441 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9443 # Check for a 64-bit object if we didn't find anything.
9444 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; }
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.
$ac_ext >&5
9453 rm -f core conftest.err conftest.
$ac_objext \
9454 conftest
$ac_exeext conftest.
$ac_ext
9455 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9457 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9458 # Warning - without using the other run time loading flags,
9459 # -berok will link without error, but may produce a broken library.
9460 no_undefined_flag
=' ${wl}-bernotok'
9461 allow_undefined_flag
=' ${wl}-berok'
9462 # Exported symbols can be pulled into shared objects from archives
9463 whole_archive_flag_spec
='$convenience'
9464 archive_cmds_need_lc
=yes
9465 # This is similar to how AIX traditionally builds its shared libraries.
9466 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'
9472 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)'
9473 hardcode_libdir_flag_spec
='-L$libdir'
9474 hardcode_minus_L
=yes
9475 # see comment about different semantics on the GNU ld section
9480 export_dynamic_flag_spec
=-rdynamic
9483 cygwin
* | mingw
* | pw32
*)
9484 # When not using gcc, we currently assume that we are using
9485 # Microsoft Visual C++.
9486 # hardcode_libdir_flag_spec is actually meaningless, as there is
9487 # no search path for DLLs.
9488 hardcode_libdir_flag_spec
=' '
9489 allow_undefined_flag
=unsupported
9490 # Tell ltmain to make .lib files, not .a files.
9492 # Tell ltmain to make .dll files, not .so files.
9494 # FIXME: Setting linknames here is a bad hack.
9495 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9496 # The linker will automatically build a .lib file if we build a DLL.
9497 old_archive_From_new_cmds
='true'
9498 # FIXME: Should let the user specify the lib program.
9499 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
9500 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9501 enable_shared_with_static_runtimes
=yes
9504 darwin
* | rhapsody
*)
9506 rhapsody
* | darwin1.
[012])
9507 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9510 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9511 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9513 case ${MACOSX_DEPLOYMENT_TARGET} in
9515 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9518 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9524 archive_cmds_need_lc
=no
9526 hardcode_automatic
=yes
9527 hardcode_shlibpath_var
=unsupported
9528 whole_archive_flag_spec
=''
9529 link_all_deplibs
=yes
9530 if test "$GCC" = yes ; then
9531 output_verbose_link_cmd
='echo'
9532 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9533 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9534 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9535 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}'
9536 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}'
9538 case $cc_basename in
9540 output_verbose_link_cmd
='echo'
9541 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9542 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9543 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9544 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}'
9545 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}'
9555 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9556 hardcode_libdir_flag_spec
='-L$libdir'
9557 hardcode_shlibpath_var
=no
9564 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9565 # support. Future versions do this automatically, but an explicit c++rt0.o
9566 # does not break anything, and helps significantly (at the cost of a little
9569 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9570 hardcode_libdir_flag_spec
='-R$libdir'
9572 hardcode_shlibpath_var
=no
9575 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9577 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9579 hardcode_minus_L
=yes
9580 hardcode_shlibpath_var
=no
9583 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9584 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
9585 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9586 hardcode_libdir_flag_spec
='-R$libdir'
9588 hardcode_shlibpath_var
=no
9592 if test "$GCC" = yes; then
9593 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'
9595 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'
9597 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9598 hardcode_libdir_separator
=:
9601 # hardcode_minus_L: Not really in the search PATH,
9602 # but as the default location of the library.
9603 hardcode_minus_L
=yes
9604 export_dynamic_flag_spec
='${wl}-E'
9608 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9609 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9613 if test "$with_gnu_ld" = no
; then
9614 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9615 hardcode_libdir_separator
=:
9618 export_dynamic_flag_spec
='${wl}-E'
9620 # hardcode_minus_L: Not really in the search PATH,
9621 # but as the default location of the library.
9622 hardcode_minus_L
=yes
9627 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9630 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9636 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9652 if test "$with_gnu_ld" = no
; then
9653 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9654 hardcode_libdir_separator
=:
9658 hardcode_libdir_flag_spec_ld
='+b $libdir'
9660 hardcode_shlibpath_var
=no
9664 export_dynamic_flag_spec
='${wl}-E'
9666 # hardcode_minus_L: Not really in the search PATH,
9667 # but as the default location of the library.
9668 hardcode_minus_L
=yes
9674 irix5
* | irix6
* | nonstopux
*)
9675 if test "$GCC" = yes; then
9676 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'
9678 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'
9679 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9681 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9682 hardcode_libdir_separator
=:
9683 link_all_deplibs
=yes
9687 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9688 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9690 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9692 hardcode_libdir_flag_spec
='-R$libdir'
9694 hardcode_shlibpath_var
=no
9698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9701 hardcode_libdir_separator
=:
9702 hardcode_shlibpath_var
=no
9707 hardcode_shlibpath_var
=no
9708 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9709 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9711 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9712 export_dynamic_flag_spec
='${wl}-E'
9715 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9716 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec
='-R$libdir'
9720 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9721 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9728 hardcode_libdir_flag_spec
='-L$libdir'
9729 hardcode_minus_L
=yes
9730 allow_undefined_flag
=unsupported
9731 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'
9732 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9736 if test "$GCC" = yes; then
9737 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9738 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'
9740 allow_undefined_flag
=' -expect_unresolved \*'
9741 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'
9743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9744 hardcode_libdir_separator
=:
9747 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9748 if test "$GCC" = yes; then
9749 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9750 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'
9751 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9753 allow_undefined_flag
=' -expect_unresolved \*'
9754 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'
9755 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9756 $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'
9758 # Both c and cxx compiler support -rpath directly
9759 hardcode_libdir_flag_spec
='-rpath $libdir'
9761 hardcode_libdir_separator
=:
9765 no_undefined_flag
=' -z text'
9766 if test "$GCC" = yes; then
9768 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9770 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9773 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9775 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9777 hardcode_libdir_flag_spec
='-R$libdir'
9778 hardcode_shlibpath_var
=no
9780 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9782 # The compiler driver will combine linker options so we
9783 # cannot just pass the convience library names through
9784 # without $wl, iff we do not link with $LD.
9785 # Luckily, gcc supports the same syntax we need for Sun Studio.
9786 # Supported since Solaris 2.6 (maybe 2.5.1?)
9789 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
9791 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' ;;
9794 link_all_deplibs
=yes
9798 if test "x$host_vendor" = xsequent
; then
9799 # Use $CC to link under sequent, because it throws in some extra .o
9800 # files that make .init and .fini sections work.
9801 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9805 hardcode_libdir_flag_spec
='-L$libdir'
9807 hardcode_minus_L
=yes
9808 hardcode_shlibpath_var
=no
9812 case $host_vendor in
9814 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct
=yes # is this really true???
9818 ## LD is ld it makes a PLAMLIB
9819 ## CC just makes a GrossModule.
9820 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9821 reload_cmds
='$CC -r -o $output$reload_objs'
9825 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9829 runpath_var
='LD_RUN_PATH'
9830 hardcode_shlibpath_var
=no
9834 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9835 hardcode_shlibpath_var
=no
9836 export_dynamic_flag_spec
='-Bexport'
9840 if test -d /usr
/nec
; then
9841 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_shlibpath_var
=no
9843 runpath_var
=LD_RUN_PATH
9844 hardcode_runpath_var
=yes
9849 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
9850 no_undefined_flag
='${wl}-z,text'
9851 archive_cmds_need_lc
=no
9852 hardcode_shlibpath_var
=no
9853 runpath_var
='LD_RUN_PATH'
9855 if test "$GCC" = yes; then
9856 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9859 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9860 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9864 sysv5
* | sco3.2v5
* | sco5v6
*)
9865 # Note: We can NOT use -z defs as we might desire, because we do not
9866 # link with -lc, and that would cause any symbols used from libc to
9867 # always be unresolved, which means just about no library would
9868 # ever link correctly. If we're not using GNU ld we use -z text
9869 # though, which does catch some bad symbols but isn't as heavy-handed
9871 no_undefined_flag
='${wl}-z,text'
9872 allow_undefined_flag
='${wl}-z,nodefs'
9873 archive_cmds_need_lc
=no
9874 hardcode_shlibpath_var
=no
9875 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9876 hardcode_libdir_separator
=':'
9877 link_all_deplibs
=yes
9878 export_dynamic_flag_spec
='${wl}-Bexport'
9879 runpath_var
='LD_RUN_PATH'
9881 if test "$GCC" = yes; then
9882 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9892 hardcode_libdir_flag_spec
='-L$libdir'
9893 hardcode_shlibpath_var
=no
9902 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9903 echo "${ECHO_T}$ld_shlibs" >&6; }
9904 test "$ld_shlibs" = no
&& can_build_shared
=no
9907 # Do we need to explicitly link libc?
9909 case "x$archive_cmds_need_lc" in
9911 # Assume -lc should be added
9912 archive_cmds_need_lc
=yes
9914 if test "$enable_shared" = yes && test "$GCC" = yes; then
9915 case $archive_cmds in
9917 # FIXME: we may have to deal with multi-command sequences.
9920 # Test whether the compiler implicitly links with -lc since on some
9921 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9922 # to ld, don't add -lc before -lgcc.
9923 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9924 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9926 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9929 (eval $ac_compile) 2>&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); } 2>conftest.err
; then
9935 libobjs
=conftest.
$ac_objext
9937 wl
=$lt_prog_compiler_wl
9938 pic_flag
=$lt_prog_compiler_pic
9944 lt_save_allow_undefined_flag
=$allow_undefined_flag
9945 allow_undefined_flag
=
9946 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9947 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }
9952 archive_cmds_need_lc
=no
9954 archive_cmds_need_lc
=yes
9956 allow_undefined_flag
=$lt_save_allow_undefined_flag
9958 cat conftest.err
1>&5
9961 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9962 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9969 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9970 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9972 libname_spec
='lib$name'
9980 shlibpath_overrides_runpath
=unknown
9982 dynamic_linker
="$host_os ld.so"
9983 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9984 if test "$GCC" = yes; then
9985 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9986 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9987 # if the path contains ";" then we assume it to be the separator
9988 # otherwise default to the standard path separator (i.e. ":") - it is
9989 # assumed that no part of a normal pathname contains ";" but that should
9990 # okay in the real world where ";" in dirpaths is itself problematic.
9991 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9993 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9996 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9998 need_lib_prefix
=unknown
9999 hardcode_into_libs
=no
10001 # when you set need_version to no, make sure it does not cause -set_version
10002 # flags to be left without arguments
10003 need_version
=unknown
10008 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10009 shlibpath_var
=LIBPATH
10011 # AIX 3 has no versioning support, so we append a major version to the name.
10012 soname_spec
='${libname}${release}${shared_ext}$major'
10019 hardcode_into_libs
=yes
10020 if test "$host_cpu" = ia64
; then
10021 # AIX 5 supports IA64
10022 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10023 shlibpath_var
=LD_LIBRARY_PATH
10025 # With GCC up to 2.95.x, collect2 would create an import file
10026 # for dependence libraries. The import file would start with
10027 # the line `#! .'. This would cause the generated library to
10028 # depend on `.', always an invalid library. This was fixed in
10029 # development snapshots of GCC prior to 3.0.
10031 aix4 | aix4.
[01] | aix4.
[01].
*)
10032 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10034 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10037 can_build_shared
=no
10041 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10042 # soname into executable. Probably we can add versioning support to
10043 # collect2, so additional links can be useful in future.
10044 if test "$aix_use_runtimelinking" = yes; then
10045 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10046 # instead of lib<name>.a to let people know that these are not
10047 # typical AIX shared libraries.
10048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10050 # We preserve .a as extension for shared libraries through AIX4.2
10051 # and later when we are not doing run time linking.
10052 library_names_spec
='${libname}${release}.a $libname.a'
10053 soname_spec
='${libname}${release}${shared_ext}$major'
10055 shlibpath_var
=LIBPATH
10060 library_names_spec
='$libname.ixlibrary $libname.a'
10061 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10062 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'
10066 library_names_spec
='${libname}${shared_ext}'
10067 dynamic_linker
="$host_os ld.so"
10068 shlibpath_var
=LIBRARY_PATH
10074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10075 soname_spec
='${libname}${release}${shared_ext}$major'
10076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10077 shlibpath_var
=LD_LIBRARY_PATH
10078 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10079 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10080 # the default ld.so.conf also contains /usr/contrib/lib and
10081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10082 # libtool to hard-code these into programs
10085 cygwin
* | mingw
* | pw32
*)
10086 version_type
=windows
10091 case $GCC,$host_os in
10092 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10093 library_names_spec
='$libname.dll.a'
10094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10095 postinstall_cmds
='base_file=`basename \${file}`~
10096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10097 dldir=$destdir/`dirname \$dlpath`~
10098 test -d \$dldir || mkdir -p \$dldir~
10099 $install_prog $dir/$dlname \$dldir/$dlname~
10100 chmod a+x \$dldir/$dlname'
10101 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10102 dlpath=$dir/\$dldll~
10104 shlibpath_overrides_runpath
=yes
10108 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10109 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10110 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10113 # MinGW DLLs use traditional 'lib' prefix
10114 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10115 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10116 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10117 # It is most probably a Windows format PATH printed by
10118 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10119 # path with ; separators, and with drive letters. We can handle the
10120 # drive letters (cygwin fileutils understands them), so leave them,
10121 # especially as we might pass files found there to a mingw objdump,
10122 # which wouldn't understand a cygwinified path. Ahh.
10123 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10125 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10129 # pw32 DLLs use 'pw' prefix rather than 'lib'
10130 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10136 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10139 dynamic_linker
='Win32 ld.exe'
10140 # FIXME: first we should search . and the directory the executable is in
10144 darwin
* | rhapsody
*)
10145 dynamic_linker
="$host_os dyld"
10146 version_type
=darwin
10149 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10150 soname_spec
='${libname}${release}${major}$shared_ext'
10151 shlibpath_overrides_runpath
=yes
10152 shlibpath_var
=DYLD_LIBRARY_PATH
10153 shrext_cmds
='.dylib'
10154 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10155 if test "$GCC" = yes; then
10156 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"`
10158 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10160 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10168 soname_spec
='${libname}${release}${shared_ext}$major'
10169 shlibpath_var
=LD_LIBRARY_PATH
10180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10181 soname_spec
='${libname}${release}${shared_ext}$major'
10182 shlibpath_var
=LD_LIBRARY_PATH
10183 shlibpath_overrides_runpath
=no
10184 hardcode_into_libs
=yes
10185 dynamic_linker
='GNU ld.so'
10188 freebsd
* | dragonfly
*)
10189 # DragonFly does not have aout. When/if they implement a new
10190 # versioning mechanism, adjust this.
10191 if test -x /usr
/bin
/objformat
; then
10192 objformat
=`/usr/bin/objformat`
10195 freebsd
[123]*) objformat
=aout
;;
10196 *) objformat
=elf
;;
10199 version_type
=freebsd-
$objformat
10200 case $version_type in
10202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10207 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10211 shlibpath_var
=LD_LIBRARY_PATH
10214 shlibpath_overrides_runpath
=yes
10216 freebsd3.
[01]* | freebsdelf3.
[01]*)
10217 shlibpath_overrides_runpath
=yes
10218 hardcode_into_libs
=yes
10220 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10221 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10222 shlibpath_overrides_runpath
=no
10223 hardcode_into_libs
=yes
10225 freebsd
*) # from 4.6 on
10226 shlibpath_overrides_runpath
=yes
10227 hardcode_into_libs
=yes
10236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10237 soname_spec
='${libname}${release}${shared_ext}$major'
10238 shlibpath_var
=LD_LIBRARY_PATH
10239 hardcode_into_libs
=yes
10242 hpux9
* | hpux10
* | hpux11
*)
10243 # Give a soname corresponding to the major version so that dld.sl refuses to
10244 # link against other versions.
10251 hardcode_into_libs
=yes
10252 dynamic_linker
="$host_os dld.so"
10253 shlibpath_var
=LD_LIBRARY_PATH
10254 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10256 soname_spec
='${libname}${release}${shared_ext}$major'
10257 if test "X$HPUX_IA64_MODE" = X32
; then
10258 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10260 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10262 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10266 hardcode_into_libs
=yes
10267 dynamic_linker
="$host_os dld.sl"
10268 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10269 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10271 soname_spec
='${libname}${release}${shared_ext}$major'
10272 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10273 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10277 dynamic_linker
="$host_os dld.sl"
10278 shlibpath_var
=SHLIB_PATH
10279 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10281 soname_spec
='${libname}${release}${shared_ext}$major'
10284 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10285 postinstall_cmds
='chmod 555 $lib'
10292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10293 soname_spec
='${libname}${release}${shared_ext}$major'
10294 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10295 shlibpath_var
=LD_LIBRARY_PATH
10296 shlibpath_overrides_runpath
=no
10297 hardcode_into_libs
=yes
10300 irix5
* | irix6
* | nonstopux
*)
10302 nonstopux
*) version_type
=nonstopux
;;
10304 if test "$lt_cv_prog_gnu_ld" = yes; then
10312 soname_spec
='${libname}${release}${shared_ext}$major'
10313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10315 irix5
* | nonstopux
*)
10316 libsuff
= shlibsuff
=
10319 case $LD in # libtool.m4 will add one of these switches to LD
10320 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10321 libsuff
= shlibsuff
= libmagic
=32-bit;;
10322 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10323 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10324 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10325 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10326 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10330 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10331 shlibpath_overrides_runpath
=no
10332 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10333 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10334 hardcode_into_libs
=yes
10337 # No shared lib support for Linux oldld, aout, or coff.
10338 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10342 # This must be Linux ELF.
10347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348 soname_spec
='${libname}${release}${shared_ext}$major'
10349 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10350 shlibpath_var
=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath
=no
10352 # This implies no fast_install, which is unacceptable.
10353 # Some rework will be needed to allow for fast_install
10354 # before this can be enabled.
10355 hardcode_into_libs
=yes
10357 # Append ld.so.conf contents to the search path
10358 if test -f /etc
/ld.so.conf
; then
10359 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' ' '`
10360 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10363 # We used to test for /lib/ld.so.1 and disable shared libraries on
10364 # powerpc, because MkLinux only supported shared libraries with the
10365 # GNU dynamic linker. Since this was broken with cross compilers,
10366 # most powerpc-linux boxes support dynamic linking these days and
10367 # people can always --disable-shared, the test was removed, and we
10368 # assume the GNU/Linux dynamic linker is in use.
10369 dynamic_linker
='GNU/Linux ld.so'
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10377 soname_spec
='${libname}${release}${shared_ext}$major'
10378 shlibpath_var
=LD_LIBRARY_PATH
10379 shlibpath_overrides_runpath
=no
10380 hardcode_into_libs
=yes
10381 dynamic_linker
='GNU ld.so'
10388 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10391 dynamic_linker
='NetBSD (a.out) ld.so'
10393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10394 soname_spec
='${libname}${release}${shared_ext}$major'
10395 dynamic_linker
='NetBSD ld.elf_so'
10397 shlibpath_var
=LD_LIBRARY_PATH
10398 shlibpath_overrides_runpath
=yes
10399 hardcode_into_libs
=yes
10404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10405 shlibpath_var
=LD_LIBRARY_PATH
10406 shlibpath_overrides_runpath
=yes
10413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414 soname_spec
='${libname}${release}${shared_ext}$major'
10415 shlibpath_var
=LD_LIBRARY_PATH
10416 shlibpath_overrides_runpath
=yes
10421 sys_lib_dlsearch_path_spec
="/usr/lib"
10423 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10425 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10426 *) need_version
=no
;;
10428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10430 shlibpath_var
=LD_LIBRARY_PATH
10431 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10433 openbsd2.
[89] | openbsd2.
[89].
*)
10434 shlibpath_overrides_runpath
=no
10437 shlibpath_overrides_runpath
=yes
10441 shlibpath_overrides_runpath
=yes
10446 libname_spec
='$name'
10449 library_names_spec
='$libname${shared_ext} $libname.a'
10450 dynamic_linker
='OS/2 ld.exe'
10451 shlibpath_var
=LIBPATH
10454 osf3
* | osf4
* | osf5
*)
10458 soname_spec
='${libname}${release}${shared_ext}$major'
10459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460 shlibpath_var
=LD_LIBRARY_PATH
10461 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10462 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470 soname_spec
='${libname}${release}${shared_ext}$major'
10471 shlibpath_var
=LD_LIBRARY_PATH
10472 shlibpath_overrides_runpath
=yes
10473 hardcode_into_libs
=yes
10474 # ldd complains unless libraries are executable
10475 postinstall_cmds
='chmod +x $lib'
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10481 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10482 shlibpath_var
=LD_LIBRARY_PATH
10483 shlibpath_overrides_runpath
=yes
10484 if test "$with_gnu_ld" = yes; then
10492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 soname_spec
='${libname}${release}${shared_ext}$major'
10494 shlibpath_var
=LD_LIBRARY_PATH
10495 case $host_vendor in
10497 shlibpath_overrides_runpath
=no
10499 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10500 runpath_var
=LD_RUN_PATH
10508 shlibpath_overrides_runpath
=no
10509 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10515 if test -d /usr
/nec
;then
10517 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10518 soname_spec
='$libname${shared_ext}.$major'
10519 shlibpath_var
=LD_LIBRARY_PATH
10523 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10524 version_type
=freebsd-elf
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10528 soname_spec
='${libname}${release}${shared_ext}$major'
10529 shlibpath_var
=LD_LIBRARY_PATH
10530 hardcode_into_libs
=yes
10531 if test "$with_gnu_ld" = yes; then
10532 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10533 shlibpath_overrides_runpath
=no
10535 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10536 shlibpath_overrides_runpath
=yes
10539 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10543 sys_lib_dlsearch_path_spec
='/usr/lib'
10548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 soname_spec
='${libname}${release}${shared_ext}$major'
10550 shlibpath_var
=LD_LIBRARY_PATH
10557 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10558 echo "${ECHO_T}$dynamic_linker" >&6; }
10559 test "$dynamic_linker" = no
&& can_build_shared
=no
10561 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10562 if test "$GCC" = yes; then
10563 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10566 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10567 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10569 if test -n "$hardcode_libdir_flag_spec" || \
10570 test -n "$runpath_var" || \
10571 test "X$hardcode_automatic" = "Xyes" ; then
10573 # We can hardcode non-existant directories.
10574 if test "$hardcode_direct" != no
&&
10575 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10576 # have to relink, otherwise we might link with an installed library
10577 # when we should be linking with a yet-to-be-installed one
10578 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10579 test "$hardcode_minus_L" != no
; then
10580 # Linking always hardcodes the temporary library directory.
10581 hardcode_action
=relink
10583 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10584 hardcode_action
=immediate
10587 # We cannot hardcode anything, or else we can only hardcode existing
10589 hardcode_action
=unsupported
10591 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10592 echo "${ECHO_T}$hardcode_action" >&6; }
10594 if test "$hardcode_action" = relink
; then
10595 # Fast installation is not supported
10596 enable_fast_install
=no
10597 elif test "$shlibpath_overrides_runpath" = yes ||
10598 test "$enable_shared" = no
; then
10599 # Fast installation is not necessary
10600 enable_fast_install
=needless
10605 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10606 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10607 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10608 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10609 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10610 { echo "$as_me:$LINENO: result: yes" >&5
10611 echo "${ECHO_T}yes" >&6; }
10613 # FIXME - insert some real tests, host_os isn't really good enough
10616 if test -n "$STRIP" ; then
10617 striplib
="$STRIP -x"
10618 { echo "$as_me:$LINENO: result: yes" >&5
10619 echo "${ECHO_T}yes" >&6; }
10621 { echo "$as_me:$LINENO: result: no" >&5
10622 echo "${ECHO_T}no" >&6; }
10626 { echo "$as_me:$LINENO: result: no" >&5
10627 echo "${ECHO_T}no" >&6; }
10632 if test "x$enable_dlopen" != xyes
; then
10633 enable_dlopen
=unknown
10634 enable_dlopen_self
=unknown
10635 enable_dlopen_self_static
=unknown
10642 lt_cv_dlopen
="load_add_on"
10644 lt_cv_dlopen_self
=yes
10648 lt_cv_dlopen
="LoadLibrary"
10653 lt_cv_dlopen
="dlopen"
10658 # if libdl is installed we need to link against it
10659 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10660 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10661 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 ac_check_lib_save_LIBS
=$LIBS
10666 cat >conftest.
$ac_ext <<_ACEOF
10669 cat confdefs.h
>>conftest.
$ac_ext
10670 cat >>conftest.
$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10688 rm -f conftest.
$ac_objext conftest
$ac_exeext
10689 if { (ac_try
="$ac_link"
10690 case "(($ac_try" in
10691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10692 *) ac_try_echo=$ac_try;;
10694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10695 (eval "$ac_link") 2>conftest.er1
10697 grep -v '^ *+' conftest.er1 >conftest.err
10699 cat conftest.err >&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10703 { (case "(($ac_try" in
10704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10705 *) ac_try_echo
=$ac_try;;
10707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10708 (eval "$ac_try") 2>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); }; } &&
10712 { ac_try
='test -s conftest$ac_exeext'
10713 { (case "(($ac_try" in
10714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10715 *) ac_try_echo=$ac_try;;
10717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10718 (eval "$ac_try") 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_cv_lib_dl_dlopen=yes
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10727 ac_cv_lib_dl_dlopen=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10735 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10736 if test $ac_cv_lib_dl_dlopen = yes; then
10737 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10740 lt_cv_dlopen="dyld"
10742 lt_cv_dlopen_self=yes
10749 { echo "$as_me:$LINENO: checking for shl_load" >&5
10750 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10751 if test "${ac_cv_func_shl_load+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10762 #define shl_load innocuous_shl_load
10764 /* System header to define __stub macros and hopefully few prototypes,
10765 which can conflict with char shl_load (); below.
10766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10767 <limits.h> exists even on freestanding compilers. */
10770 # include <limits.h>
10772 # include <assert.h>
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10784 /* The GNU C library defines this for functions which it implements
10785 to always fail with ENOSYS. Some functions are actually named
10786 something starting with __ and the normal name is an alias. */
10787 #if defined __stub_shl_load || defined __stub___shl_load
10794 return shl_load ();
10799 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (ac_try="$ac_link"
10801 case "(($ac_try" in
10802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10803 *) ac_try_echo
=$ac_try;;
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_link") 2>conftest.er1
10808 grep -v '^ *+' conftest.er1
>conftest.err
10810 cat conftest.err
>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } &&
10813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10814 { (case "(($ac_try" in
10815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10816 *) ac_try_echo=$ac_try;;
10818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10819 (eval "$ac_try") 2>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; } &&
10823 { ac_try='test -s conftest$ac_exeext'
10824 { (case "(($ac_try" in
10825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10826 *) ac_try_echo
=$ac_try;;
10828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10829 (eval "$ac_try") 2>&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); }; }; then
10833 ac_cv_func_shl_load
=yes
10835 echo "$as_me: failed program was:" >&5
10836 sed 's/^/| /' conftest.
$ac_ext >&5
10838 ac_cv_func_shl_load
=no
10841 rm -f core conftest.err conftest.
$ac_objext \
10842 conftest
$ac_exeext conftest.
$ac_ext
10844 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10845 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10846 if test $ac_cv_func_shl_load = yes; then
10847 lt_cv_dlopen
="shl_load"
10849 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10850 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10851 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 ac_check_lib_save_LIBS
=$LIBS
10856 cat >conftest.
$ac_ext <<_ACEOF
10859 cat confdefs.h
>>conftest.
$ac_ext
10860 cat >>conftest.
$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10873 return shl_load ();
10878 rm -f conftest.
$ac_objext conftest
$ac_exeext
10879 if { (ac_try
="$ac_link"
10880 case "(($ac_try" in
10881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_link") 2>conftest.er1
10887 grep -v '^ *+' conftest.er1 >conftest.err
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } &&
10892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10893 { (case "(($ac_try" in
10894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10895 *) ac_try_echo
=$ac_try;;
10897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10898 (eval "$ac_try") 2>&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; } &&
10902 { ac_try
='test -s conftest$ac_exeext'
10903 { (case "(($ac_try" in
10904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10905 *) ac_try_echo=$ac_try;;
10907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10908 (eval "$ac_try") 2>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); }; }; then
10912 ac_cv_lib_dld_shl_load=yes
10914 echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.$ac_ext >&5
10917 ac_cv_lib_dld_shl_load=no
10920 rm -f core conftest.err conftest.$ac_objext \
10921 conftest$ac_exeext conftest.$ac_ext
10922 LIBS=$ac_check_lib_save_LIBS
10924 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10925 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10926 if test $ac_cv_lib_dld_shl_load = yes; then
10927 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10929 { echo "$as_me:$LINENO: checking for dlopen" >&5
10930 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10931 if test "${ac_cv_func_dlopen+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 cat >conftest.$ac_ext <<_ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10940 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10942 #define dlopen innocuous_dlopen
10944 /* System header to define __stub macros and hopefully few prototypes,
10945 which can conflict with char dlopen (); below.
10946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10947 <limits.h> exists even on freestanding compilers. */
10950 # include <limits.h>
10952 # include <assert.h>
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10964 /* The GNU C library defines this for functions which it implements
10965 to always fail with ENOSYS. Some functions are actually named
10966 something starting with __ and the normal name is an alias. */
10967 #if defined __stub_dlopen || defined __stub___dlopen
10979 rm -f conftest.$ac_objext conftest$ac_exeext
10980 if { (ac_try="$ac_link"
10981 case "(($ac_try" in
10982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10983 *) ac_try_echo
=$ac_try;;
10985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10986 (eval "$ac_link") 2>conftest.er1
10988 grep -v '^ *+' conftest.er1
>conftest.err
10990 cat conftest.err
>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); } &&
10993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10994 { (case "(($ac_try" in
10995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10996 *) ac_try_echo=$ac_try;;
10998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10999 (eval "$ac_try") 2>&5
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); }; } &&
11003 { ac_try='test -s conftest$ac_exeext'
11004 { (case "(($ac_try" in
11005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11006 *) ac_try_echo
=$ac_try;;
11008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11009 (eval "$ac_try") 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); }; }; then
11013 ac_cv_func_dlopen
=yes
11015 echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.
$ac_ext >&5
11018 ac_cv_func_dlopen
=no
11021 rm -f core conftest.err conftest.
$ac_objext \
11022 conftest
$ac_exeext conftest.
$ac_ext
11024 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11025 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11026 if test $ac_cv_func_dlopen = yes; then
11027 lt_cv_dlopen
="dlopen"
11029 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11030 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11031 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 ac_check_lib_save_LIBS
=$LIBS
11036 cat >conftest.
$ac_ext <<_ACEOF
11039 cat confdefs.h
>>conftest.
$ac_ext
11040 cat >>conftest.
$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11058 rm -f conftest.
$ac_objext conftest
$ac_exeext
11059 if { (ac_try
="$ac_link"
11060 case "(($ac_try" in
11061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11062 *) ac_try_echo=$ac_try;;
11064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11065 (eval "$ac_link") 2>conftest.er1
11067 grep -v '^ *+' conftest.er1 >conftest.err
11069 cat conftest.err >&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } &&
11072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11073 { (case "(($ac_try" in
11074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11075 *) ac_try_echo
=$ac_try;;
11077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11078 (eval "$ac_try") 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; } &&
11082 { ac_try
='test -s conftest$ac_exeext'
11083 { (case "(($ac_try" in
11084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11085 *) ac_try_echo=$ac_try;;
11087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11088 (eval "$ac_try") 2>&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); }; }; then
11092 ac_cv_lib_dl_dlopen=yes
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.$ac_ext >&5
11097 ac_cv_lib_dl_dlopen=no
11100 rm -f core conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS=$ac_check_lib_save_LIBS
11104 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11105 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11106 if test $ac_cv_lib_dl_dlopen = yes; then
11107 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11109 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11110 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11111 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 ac_check_lib_save_LIBS=$LIBS
11115 LIBS="-lsvld $LIBS"
11116 cat >conftest.$ac_ext <<_ACEOF
11119 cat confdefs.h >>conftest.$ac_ext
11120 cat >>conftest.$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11138 rm -f conftest.$ac_objext conftest$ac_exeext
11139 if { (ac_try="$ac_link"
11140 case "(($ac_try" in
11141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11142 *) ac_try_echo
=$ac_try;;
11144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11145 (eval "$ac_link") 2>conftest.er1
11147 grep -v '^ *+' conftest.er1
>conftest.err
11149 cat conftest.err
>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } &&
11152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11153 { (case "(($ac_try" in
11154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11155 *) ac_try_echo=$ac_try;;
11157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11158 (eval "$ac_try") 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; } &&
11162 { ac_try='test -s conftest$ac_exeext'
11163 { (case "(($ac_try" in
11164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11165 *) ac_try_echo
=$ac_try;;
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_try") 2>&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); }; }; then
11172 ac_cv_lib_svld_dlopen
=yes
11174 echo "$as_me: failed program was:" >&5
11175 sed 's/^/| /' conftest.
$ac_ext >&5
11177 ac_cv_lib_svld_dlopen
=no
11180 rm -f core conftest.err conftest.
$ac_objext \
11181 conftest
$ac_exeext conftest.
$ac_ext
11182 LIBS
=$ac_check_lib_save_LIBS
11184 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11185 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11186 if test $ac_cv_lib_svld_dlopen = yes; then
11187 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11189 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11190 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11191 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 ac_check_lib_save_LIBS
=$LIBS
11196 cat >conftest.
$ac_ext <<_ACEOF
11199 cat confdefs.h
>>conftest.
$ac_ext
11200 cat >>conftest.
$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11213 return dld_link ();
11218 rm -f conftest.
$ac_objext conftest
$ac_exeext
11219 if { (ac_try
="$ac_link"
11220 case "(($ac_try" in
11221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_link") 2>conftest.er1
11227 grep -v '^ *+' conftest.er1 >conftest.err
11229 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } &&
11232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11233 { (case "(($ac_try" in
11234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11235 *) ac_try_echo
=$ac_try;;
11237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11238 (eval "$ac_try") 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; } &&
11242 { ac_try
='test -s conftest$ac_exeext'
11243 { (case "(($ac_try" in
11244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11245 *) ac_try_echo=$ac_try;;
11247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248 (eval "$ac_try") 2>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); }; }; then
11252 ac_cv_lib_dld_dld_link=yes
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11257 ac_cv_lib_dld_dld_link=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11265 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11266 if test $ac_cv_lib_dld_dld_link = yes; then
11267 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11288 if test "x$lt_cv_dlopen" != xno; then
11294 case $lt_cv_dlopen in
11296 save_CPPFLAGS="$CPPFLAGS"
11297 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11299 save_LDFLAGS="$LDFLAGS"
11300 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11303 LIBS="$lt_cv_dlopen_libs $LIBS"
11305 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11306 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11307 if test "${lt_cv_dlopen_self+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 if test "$cross_compiling" = yes; then :
11311 lt_cv_dlopen_self=cross
11313 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11314 lt_status=$lt_dlunknown
11315 cat > conftest.$ac_ext <<EOF
11316 #line 11316 "configure"
11317 #include "confdefs.h"
11326 # define LT_DLGLOBAL RTLD_GLOBAL
11329 # define LT_DLGLOBAL DL_GLOBAL
11331 # define LT_DLGLOBAL 0
11335 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11336 find out it does not work in some platform. */
11337 #ifndef LT_DLLAZY_OR_NOW
11339 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11342 # define LT_DLLAZY_OR_NOW DL_LAZY
11345 # define LT_DLLAZY_OR_NOW RTLD_NOW
11348 # define LT_DLLAZY_OR_NOW DL_NOW
11350 # define LT_DLLAZY_OR_NOW 0
11358 extern "C" void exit (int);
11361 void fnord() { int i=42;}
11364 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11365 int status = $lt_dlunknown;
11369 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11370 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11371 /* dlclose (self); */
11379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11380 (eval $ac_link) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11384 (./conftest; exit; ) >&5 2>/dev/null
11386 case x$lt_status in
11387 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11388 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11389 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11392 # compilation failed
11393 lt_cv_dlopen_self=no
11400 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11401 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11403 if test "x$lt_cv_dlopen_self" = xyes; then
11404 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11405 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11406 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11407 if test "${lt_cv_dlopen_self_static+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 if test "$cross_compiling" = yes; then :
11411 lt_cv_dlopen_self_static=cross
11413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11414 lt_status=$lt_dlunknown
11415 cat > conftest.$ac_ext <<EOF
11416 #line 11416 "configure"
11417 #include "confdefs.h"
11426 # define LT_DLGLOBAL RTLD_GLOBAL
11429 # define LT_DLGLOBAL DL_GLOBAL
11431 # define LT_DLGLOBAL 0
11435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11436 find out it does not work in some platform. */
11437 #ifndef LT_DLLAZY_OR_NOW
11439 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11442 # define LT_DLLAZY_OR_NOW DL_LAZY
11445 # define LT_DLLAZY_OR_NOW RTLD_NOW
11448 # define LT_DLLAZY_OR_NOW DL_NOW
11450 # define LT_DLLAZY_OR_NOW 0
11458 extern "C" void exit (int);
11461 void fnord() { int i=42;}
11464 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11465 int status = $lt_dlunknown;
11469 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11470 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11471 /* dlclose (self); */
11479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11480 (eval $ac_link) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11484 (./conftest; exit; ) >&5 2>/dev/null
11486 case x$lt_status in
11487 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11488 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11489 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11492 # compilation failed
11493 lt_cv_dlopen_self_static=no
11500 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11501 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11504 CPPFLAGS="$save_CPPFLAGS"
11505 LDFLAGS="$save_LDFLAGS"
11510 case $lt_cv_dlopen_self in
11511 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11512 *) enable_dlopen_self=unknown ;;
11515 case $lt_cv_dlopen_self_static in
11516 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11517 *) enable_dlopen_self_static=unknown ;;
11522 # Report which library types will actually be built
11523 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11524 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11525 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11526 echo "${ECHO_T}$can_build_shared" >&6; }
11528 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11529 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11530 test "$can_build_shared" = "no" && enable_shared=no
11532 # On AIX, shared libraries and static libraries use the same namespace, and
11533 # are all built from PIC.
11536 test "$enable_shared" = yes && enable_static=no
11537 if test -n "$RANLIB"; then
11538 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11539 postinstall_cmds='$RANLIB $lib'
11544 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11545 test "$enable_shared" = yes && enable_static=no
11549 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11550 echo "${ECHO_T}$enable_shared" >&6; }
11552 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11553 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11554 # Make sure either enable_shared or enable_static is yes.
11555 test "$enable_shared" = yes || enable_static=yes
11556 { echo "$as_me:$LINENO: result: $enable_static" >&5
11557 echo "${ECHO_T}$enable_static" >&6; }
11559 # The else clause should only fire when bootstrapping the
11560 # libtool distribution, otherwise you forgot to ship ltmain.sh
11561 # with your package, and you will get complaints that there are
11562 # no rules to generate ltmain.sh.
11563 if test -f "$ltmain"; then
11564 # See if we are running on zsh, and set the options which allow our commands through
11565 # without removal of \ escapes.
11566 if test -n "${ZSH_VERSION+set}" ; then
11567 setopt NO_GLOB_SUBST
11569 # Now quote all the things that may contain metacharacters while being
11570 # careful not to overquote the AC_SUBSTed values. We take copies of the
11571 # variables and quote the copies for generation of the libtool script.
11572 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11574 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11575 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11576 deplibs_check_method reload_flag reload_cmds need_locks \
11577 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11578 lt_cv_sys_global_symbol_to_c_name_address \
11579 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11580 old_postinstall_cmds old_postuninstall_cmds \
11584 lt_prog_compiler_wl \
11585 lt_prog_compiler_pic \
11586 lt_prog_compiler_static \
11587 lt_prog_compiler_no_builtin_flag \
11588 export_dynamic_flag_spec \
11589 thread_safe_flag_spec \
11590 whole_archive_flag_spec \
11591 enable_shared_with_static_runtimes \
11593 old_archive_from_new_cmds \
11598 compiler_lib_search_path \
11600 archive_expsym_cmds \
11602 postuninstall_cmds \
11603 old_archive_from_expsyms_cmds \
11604 allow_undefined_flag \
11605 no_undefined_flag \
11606 export_symbols_cmds \
11607 hardcode_libdir_flag_spec \
11608 hardcode_libdir_flag_spec_ld \
11609 hardcode_libdir_separator \
11610 hardcode_automatic \
11612 module_expsym_cmds \
11613 lt_cv_prog_compiler_c_o \
11615 include_expsyms; do
11618 old_archive_cmds | \
11619 old_archive_from_new_cmds | \
11621 archive_expsym_cmds | \
11623 module_expsym_cmds | \
11624 old_archive_from_expsyms_cmds | \
11625 export_symbols_cmds | \
11626 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11627 postinstall_cmds | postuninstall_cmds | \
11628 old_postinstall_cmds | old_postuninstall_cmds | \
11629 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11630 # Double-quote double-evaled strings.
11631 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11634 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11640 *'\$0 --fallback-echo"')
11641 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11645 cfgfile="${ofile}T"
11646 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11648 { echo "$as_me:$LINENO: creating $ofile" >&5
11649 echo "$as_me: creating $ofile" >&6;}
11651 cat <<__EOF__ >> "$cfgfile"
11654 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
11655 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11656 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11658 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11659 # Free Software Foundation, Inc.
11661 # This file is part of GNU Libtool:
11662 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11664 # This program is free software; you can redistribute it and/or modify
11665 # it under the terms of the GNU General Public License as published by
11666 # the Free Software Foundation; either version 2 of the License, or
11667 # (at your option) any later version.
11669 # This program is distributed in the hope that it will be useful, but
11670 # WITHOUT ANY WARRANTY; without even the implied warranty of
11671 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11672 # General Public License for more details.
11674 # You should have received a copy of the GNU General Public License
11675 # along with this program; if not, write to the Free Software
11676 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11678 # As a special exception to the GNU General Public License, if you
11679 # distribute this file as part of a program that contains a
11680 # configuration script generated by Autoconf, you may include it under
11681 # the same distribution terms that you use for the rest of that program.
11683 # A sed program that does not truncate output.
11686 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11687 Xsed="$SED -e 1s/^X//"
11689 # The HP-UX ksh and POSIX shell print the target directory to stdout
11690 # if CDPATH is set.
11691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11693 # The names of the tagged configurations supported by this script.
11696 # ### BEGIN LIBTOOL CONFIG
11698 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11700 # Shell to use when invoking shell scripts.
11703 # Whether or not to build shared libraries.
11704 build_libtool_libs=$enable_shared
11706 # Whether or not to build static libraries.
11707 build_old_libs=$enable_static
11709 # Whether or not to add -lc for building shared libraries.
11710 build_libtool_need_lc=$archive_cmds_need_lc
11712 # Whether or not to disallow shared libs when runtime libs are static
11713 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11715 # Whether or not to optimize for fast installation.
11716 fast_install=$enable_fast_install
11719 host_alias=$host_alias
11723 # The build system.
11724 build_alias=$build_alias
11728 # An echo program that does not interpret backslashes.
11733 AR_FLAGS=$lt_AR_FLAGS
11738 # LTCC compiler flags.
11739 LTCFLAGS=$lt_LTCFLAGS
11741 # A language-specific compiler.
11744 # Is the compiler the GNU C compiler?
11750 # The linker used to build libraries.
11753 # Whether we need hard or soft links.
11756 # A BSD-compatible nm program.
11759 # A symbol stripping program
11762 # Used to examine libraries when file_magic_cmd begins "file"
11763 MAGIC_CMD=$MAGIC_CMD
11765 # Used on cygwin: DLL creation program.
11768 # Used on cygwin: object dumper.
11771 # Used on cygwin: assembler.
11774 # The name of the directory that contains temporary libtool files.
11777 # How to create reloadable object files.
11778 reload_flag=$lt_reload_flag
11779 reload_cmds=$lt_reload_cmds
11781 # How to pass a linker flag through the compiler.
11782 wl=$lt_lt_prog_compiler_wl
11784 # Object file suffix (normally "o").
11785 objext="$ac_objext"
11787 # Old archive suffix (normally "a").
11790 # Shared library suffix (normally ".so").
11791 shrext_cmds='$shrext_cmds'
11793 # Executable file suffix (normally "").
11796 # Additional compiler flags for building library objects.
11797 pic_flag=$lt_lt_prog_compiler_pic
11800 # What is the maximum length of a command?
11801 max_cmd_len=$lt_cv_sys_max_cmd_len
11803 # Does compiler simultaneously support -c and -o options?
11804 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11806 # Must we lock files when doing compilation?
11807 need_locks=$lt_need_locks
11809 # Do we need the lib prefix for modules?
11810 need_lib_prefix=$need_lib_prefix
11812 # Do we need a version for libraries?
11813 need_version=$need_version
11815 # Whether dlopen is supported.
11816 dlopen_support=$enable_dlopen
11818 # Whether dlopen of programs is supported.
11819 dlopen_self=$enable_dlopen_self
11821 # Whether dlopen of statically linked programs is supported.
11822 dlopen_self_static=$enable_dlopen_self_static
11824 # Compiler flag to prevent dynamic linking.
11825 link_static_flag=$lt_lt_prog_compiler_static
11827 # Compiler flag to turn off builtin functions.
11828 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11830 # Compiler flag to allow reflexive dlopens.
11831 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11833 # Compiler flag to generate shared objects directly from archives.
11834 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11836 # Compiler flag to generate thread-safe objects.
11837 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11839 # Library versioning type.
11840 version_type=$version_type
11842 # Format of library name prefix.
11843 libname_spec=$lt_libname_spec
11845 # List of archive names. First name is the real one, the rest are links.
11846 # The last name is the one that the linker finds with -lNAME.
11847 library_names_spec=$lt_library_names_spec
11849 # The coded name of the library, if different from the real name.
11850 soname_spec=$lt_soname_spec
11852 # Commands used to build and install an old-style archive.
11854 old_archive_cmds=$lt_old_archive_cmds
11855 old_postinstall_cmds=$lt_old_postinstall_cmds
11856 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11858 # Create an old-style archive from a shared archive.
11859 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11861 # Create a temporary old-style archive to link instead of a shared archive.
11862 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11864 # Commands used to build and install a shared archive.
11865 archive_cmds=$lt_archive_cmds
11866 archive_expsym_cmds=$lt_archive_expsym_cmds
11867 postinstall_cmds=$lt_postinstall_cmds
11868 postuninstall_cmds=$lt_postuninstall_cmds
11870 # Commands used to build a loadable module (assumed same as above if empty)
11871 module_cmds=$lt_module_cmds
11872 module_expsym_cmds=$lt_module_expsym_cmds
11874 # Commands to strip libraries.
11875 old_striplib=$lt_old_striplib
11876 striplib=$lt_striplib
11878 # Dependencies to place before the objects being linked to create a
11880 predep_objects=$lt_predep_objects
11882 # Dependencies to place after the objects being linked to create a
11884 postdep_objects=$lt_postdep_objects
11886 # Dependencies to place before the objects being linked to create a
11888 predeps=$lt_predeps
11890 # Dependencies to place after the objects being linked to create a
11892 postdeps=$lt_postdeps
11894 # The library search path used internally by the compiler when linking
11895 # a shared library.
11896 compiler_lib_search_path=$lt_compiler_lib_search_path
11898 # Method to check whether dependent libraries are shared objects.
11899 deplibs_check_method=$lt_deplibs_check_method
11901 # Command to use when deplibs_check_method == file_magic.
11902 file_magic_cmd=$lt_file_magic_cmd
11904 # Flag that allows shared libraries with undefined symbols to be built.
11905 allow_undefined_flag=$lt_allow_undefined_flag
11907 # Flag that forces no undefined symbols.
11908 no_undefined_flag=$lt_no_undefined_flag
11910 # Commands used to finish a libtool library installation in a directory.
11911 finish_cmds=$lt_finish_cmds
11913 # Same as above, but a single script fragment to be evaled but not shown.
11914 finish_eval=$lt_finish_eval
11916 # Take the output of nm and produce a listing of raw symbols and C names.
11917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11919 # Transform the output of nm in a proper C declaration
11920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11922 # Transform the output of nm in a C name address pair
11923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11925 # This is the shared library runtime path variable.
11926 runpath_var=$runpath_var
11928 # This is the shared library path variable.
11929 shlibpath_var=$shlibpath_var
11931 # Is shlibpath searched before the hard-coded library search path?
11932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11934 # How to hardcode a shared library path into an executable.
11935 hardcode_action=$hardcode_action
11937 # Whether we should hardcode library paths into libraries.
11938 hardcode_into_libs=$hardcode_into_libs
11940 # Flag to hardcode \$libdir into a binary during linking.
11941 # This must work even if \$libdir does not exist.
11942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11944 # If ld is used when linking, flag to hardcode \$libdir into
11945 # a binary during linking. This must work even if \$libdir does
11947 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11949 # Whether we need a single -rpath flag with a separated argument.
11950 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11952 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11953 # resulting binary.
11954 hardcode_direct=$hardcode_direct
11956 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11957 # resulting binary.
11958 hardcode_minus_L=$hardcode_minus_L
11960 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11961 # the resulting binary.
11962 hardcode_shlibpath_var=$hardcode_shlibpath_var
11964 # Set to yes if building a shared library automatically hardcodes DIR into the library
11965 # and all subsequent libraries and executables linked against it.
11966 hardcode_automatic=$hardcode_automatic
11968 # Variables whose values should be saved in libtool wrapper scripts and
11969 # restored at relink time.
11970 variables_saved_for_relink="$variables_saved_for_relink"
11972 # Whether libtool must link a program against all its dependency libraries.
11973 link_all_deplibs=$link_all_deplibs
11975 # Compile-time system search path for libraries
11976 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11978 # Run-time system search path for libraries
11979 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11981 # Fix the shell variable \$srcfile for the compiler.
11982 fix_srcfile_path="$fix_srcfile_path"
11984 # Set to yes if exported symbols are required.
11985 always_export_symbols=$always_export_symbols
11987 # The commands to list exported symbols.
11988 export_symbols_cmds=$lt_export_symbols_cmds
11990 # The commands to extract the exported symbol list from a shared archive.
11991 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11993 # Symbols that should not be listed in the preloaded symbols.
11994 exclude_expsyms=$lt_exclude_expsyms
11996 # Symbols that must always be exported.
11997 include_expsyms=$lt_include_expsyms
11999 # ### END LIBTOOL CONFIG
12006 cat <<\EOF >> "$cfgfile"
12008 # AIX sometimes has problems with the GCC collect2 program. For some
12009 # reason, if we set the COLLECT_NAMES environment variable, the problems
12010 # vanish in a puff of smoke.
12011 if test "X${COLLECT_NAMES+set}" != Xset; then
12013 export COLLECT_NAMES
12019 # We use sed instead of cat because bash on DJGPP gets confused if
12020 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12021 # text mode, it properly converts lines to CR/LF. This bash problem
12022 # is reportedly fixed, but why not run on old versions too?
12023 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12025 mv -f "$cfgfile" "$ofile" || \
12026 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12030 # If there is no Makefile yet, we rely on a make rule to execute
12031 # `config.status
--recheck' to rerun these tests and create the
12032 # libtool script then.
12033 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12034 if test -f "$ltmain_in"; then
12035 test -f Makefile && make "$ltmain"
12041 ac_cpp='$CPP $CPPFLAGS'
12042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12049 # Check whether --with-tags was given.
12050 if test "${with_tags+set}" = set; then
12051 withval=$with_tags; tagnames="$withval"
12055 if test -f "$ltmain" && test -n "$tagnames"; then
12056 if test ! -f "${ofile}"; then
12057 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12058 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12061 if test -z "$LTCC"; then
12062 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12063 if test -z "$LTCC"; then
12064 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12065 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12067 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12068 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12071 if test -z "$LTCFLAGS"; then
12072 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12075 # Extract list of available tagged configurations in $ofile.
12076 # Note that this assumes the entire list is on one line.
12077 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12079 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12080 for tagname in $tagnames; do
12082 # Check whether tagname contains only valid characters
12083 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12085 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12086 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12087 { (exit 1); exit 1; }; }
12091 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12093 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12094 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12095 { (exit 1); exit 1; }; }
12098 # Update the list of available tags.
12099 if test -n "$tagname"; then
12100 echo appending configuration tag \"$tagname\" to $ofile
12104 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12105 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12106 (test "X$CXX" != "Xg++"))) ; then
12108 ac_cpp='$CXXCPP $CPPFLAGS'
12109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12116 archive_cmds_need_lc_CXX=no
12117 allow_undefined_flag_CXX=
12118 always_export_symbols_CXX=no
12119 archive_expsym_cmds_CXX=
12120 export_dynamic_flag_spec_CXX=
12121 hardcode_direct_CXX=no
12122 hardcode_libdir_flag_spec_CXX=
12123 hardcode_libdir_flag_spec_ld_CXX=
12124 hardcode_libdir_separator_CXX=
12125 hardcode_minus_L_CXX=no
12126 hardcode_shlibpath_var_CXX=unsupported
12127 hardcode_automatic_CXX=no
12129 module_expsym_cmds_CXX=
12130 link_all_deplibs_CXX=unknown
12131 old_archive_cmds_CXX=$old_archive_cmds
12132 no_undefined_flag_CXX=
12133 whole_archive_flag_spec_CXX=
12134 enable_shared_with_static_runtimes_CXX=no
12136 # Dependencies to place before and after the object being linked:
12137 predep_objects_CXX=
12138 postdep_objects_CXX=
12141 compiler_lib_search_path_CXX=
12143 # Source file extension for C++ test sources.
12146 # Object file extension for compiled C++ test sources.
12150 # Code to be used in simple compile tests
12151 lt_simple_compile_test_code="int some_variable = 0;\n"
12153 # Code to be used in simple link tests
12154 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
12156 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12158 # If no C compiler was specified, use CC.
12161 # If no C compiler flags were specified, use CFLAGS.
12162 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12164 # Allow CC to be a program name with arguments.
12168 # save warnings/boilerplate of simple test code
12169 ac_outfile=conftest.$ac_objext
12170 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12171 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12172 _lt_compiler_boilerplate=`cat conftest.err
`
12175 ac_outfile=conftest.$ac_objext
12176 printf "$lt_simple_link_test_code" >conftest.$ac_ext
12177 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12178 _lt_linker_boilerplate=`cat conftest.err
`
12182 # Allow CC to be a program name with arguments.
12187 lt_save_with_gnu_ld=$with_gnu_ld
12188 lt_save_path_LD=$lt_cv_path_LD
12189 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12190 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12192 $as_unset lt_cv_prog_gnu_ld
12194 if test -n "${lt_cv_path_LDCXX+set}"; then
12195 lt_cv_path_LD=$lt_cv_path_LDCXX
12197 $as_unset lt_cv_path_LD
12199 test -z "${LDCXX+set}" || LD=$LDCXX
12203 for cc_temp in $compiler""; do
12205 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12206 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12211 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12214 # We don't want -fno-exception wen compiling C++ code, so set the
12215 # no_builtin_flag separately
12216 if test "$GXX" = yes; then
12217 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12219 lt_prog_compiler_no_builtin_flag_CXX=
12222 if test "$GXX" = yes; then
12223 # Set up default GNU C++ configuration
12226 # Check whether --with-gnu-ld was given.
12227 if test "${with_gnu_ld+set}" = set; then
12228 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12234 if test "$GCC" = yes; then
12235 # Check if gcc -print-prog-name=ld gives a path.
12236 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12237 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12240 # gcc leaves a trailing carriage return which upsets mingw
12241 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12243 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12246 # Accept absolute paths.
12248 re_direlt='/[^/][^/]*/\.\./'
12249 # Canonicalize the pathname of ld
12250 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12251 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12252 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12254 test -z "$LD" && LD="$ac_prog"
12257 # If it fails, then pretend we aren't using GCC.
12261 # If it is relative, then search for the first ld in PATH.
12262 with_gnu_ld=unknown
12265 elif test "$with_gnu_ld" = yes; then
12266 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12267 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12269 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12270 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12272 if test "${lt_cv_path_LD+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 if test -z "$LD"; then
12276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12277 for ac_dir in $PATH; do
12279 test -z "$ac_dir" && ac_dir=.
12280 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12281 lt_cv_path_LD="$ac_dir/$ac_prog"
12282 # Check to see if the program is GNU ld. I'd rather use --version,
12283 # but apparently some variants of GNU ld only accept -v.
12284 # Break only if it was the GNU/non-GNU ld that we prefer.
12285 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12286 *GNU* | *'with BFD'*)
12287 test "$with_gnu_ld" != no && break
12290 test "$with_gnu_ld" != yes && break
12297 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12301 LD="$lt_cv_path_LD"
12302 if test -n "$LD"; then
12303 { echo "$as_me:$LINENO: result: $LD" >&5
12304 echo "${ECHO_T}$LD" >&6; }
12306 { echo "$as_me:$LINENO: result: no" >&5
12307 echo "${ECHO_T}no" >&6; }
12309 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12310 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12311 { (exit 1); exit 1; }; }
12312 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12313 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12314 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12318 case `$LD -v 2>&1 </dev
/null
` in
12319 *GNU* | *'with BFD'*)
12320 lt_cv_prog_gnu_ld=yes
12323 lt_cv_prog_gnu_ld=no
12327 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12328 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12329 with_gnu_ld=$lt_cv_prog_gnu_ld
12333 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12334 # archiving commands below assume that GNU ld is being used.
12335 if test "$with_gnu_ld" = yes; then
12336 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12337 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'
12339 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12340 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12342 # If archive_cmds runs LD, not CC, wlarc should be empty
12343 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12344 # investigate it a little bit more. (MM)
12347 # ancient GNU ld didn't support --whole-archive et. al.
12348 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12349 grep 'no-whole-archive' > /dev/null; then
12350 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12352 whole_archive_flag_spec_CXX=
12358 # A generic and very simple default shared library creation
12359 # command for GNU C++ for the case where it uses the native
12360 # linker, instead of GNU ld. If possible, this setting should
12361 # overridden to take advantage of the native linker features on
12362 # the platform it is being used on.
12363 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12366 # Commands to make compiler produce verbose output that lists
12367 # what "hidden" libraries, object files and flags are used when
12368 # linking a shared library.
12369 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12377 # PORTME: fill in a description of your system's C++ link characteristics
12378 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12379 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12383 # FIXME: insert proper C++ library support
12387 if test "$host_cpu" = ia64; then
12388 # On IA64, the linker does run time linking by default, so we don't
12389 # have to do anything special.
12390 aix_use_runtimelinking=no
12391 exp_sym_flag='-Bexport'
12394 aix_use_runtimelinking=no
12396 # Test if we are trying to use run time linking or normal
12397 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12398 # need to do runtime linking.
12399 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12400 for ld_flag in $LDFLAGS; do
12403 aix_use_runtimelinking=yes
12411 exp_sym_flag='-bexport'
12412 no_entry_flag='-bnoentry'
12415 # When large executables or shared objects are built, AIX ld can
12416 # have problems creating the table of contents. If linking a library
12417 # or program results in "error TOC overflow" add -mminimal-toc to
12418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12421 archive_cmds_CXX=''
12422 hardcode_direct_CXX=yes
12423 hardcode_libdir_separator_CXX=':'
12424 link_all_deplibs_CXX=yes
12426 if test "$GXX" = yes; then
12427 case $host_os in aix4.[012]|aix4.[012].*)
12428 # We only want to do this on AIX 4.2 and lower, the check
12429 # below for broken collect2 doesn't work under 4.3+
12430 collect2name=`${CC} -print-prog-name=collect2
`
12431 if test -f "$collect2name" && \
12432 strings "$collect2name" | grep resolve_lib_name >/dev/null
12434 # We have reworked collect2
12435 hardcode_direct_CXX=yes
12437 # We have old collect2
12438 hardcode_direct_CXX=unsupported
12439 # It fails to find uninstalled libraries when the uninstalled
12440 # path is not listed in the libpath. Setting hardcode_minus_L
12441 # to unsupported forces relinking
12442 hardcode_minus_L_CXX=yes
12443 hardcode_libdir_flag_spec_CXX='-L$libdir'
12444 hardcode_libdir_separator_CXX=
12448 shared_flag='-shared'
12449 if test "$aix_use_runtimelinking" = yes; then
12450 shared_flag="$shared_flag "'${wl}-G'
12454 if test "$host_cpu" = ia64; then
12455 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12456 # chokes on -Wl,-G. The following line is correct:
12459 if test "$aix_use_runtimelinking" = yes; then
12460 shared_flag='${wl}-G'
12462 shared_flag='${wl}-bM:SRE'
12467 # It seems that -bexpall does not export symbols beginning with
12468 # underscore (_), so it is better to generate a list of symbols to export.
12469 always_export_symbols_CXX=yes
12470 if test "$aix_use_runtimelinking" = yes; then
12471 # Warning - without using the other runtime loading flags (-brtl),
12472 # -berok will link without error, but may produce a broken library.
12473 allow_undefined_flag_CXX='-berok'
12474 # Determine the default libpath from the value encoded in an empty executable.
12475 cat >conftest.$ac_ext <<_ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12490 rm -f conftest.$ac_objext conftest$ac_exeext
12491 if { (ac_try="$ac_link"
12492 case "(($ac_try" in
12493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12494 *) ac_try_echo
=$ac_try;;
12496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12497 (eval "$ac_link") 2>conftest.er1
12499 grep -v '^ *+' conftest.er1
>conftest.err
12501 cat conftest.err
>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } &&
12504 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12505 { (case "(($ac_try" in
12506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_try") 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; } &&
12514 { ac_try='test -s conftest$ac_exeext'
12515 { (case "(($ac_try" in
12516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12517 *) ac_try_echo
=$ac_try;;
12519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12520 (eval "$ac_try") 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then
12525 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12527 # Check for a 64-bit object if we didn't find anything.
12528 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; }
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.
$ac_ext >&5
12537 rm -f core conftest.err conftest.
$ac_objext \
12538 conftest
$ac_exeext conftest.
$ac_ext
12539 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12541 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12543 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"
12545 if test "$host_cpu" = ia64
; then
12546 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12547 allow_undefined_flag_CXX
="-z nodefs"
12548 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"
12550 # Determine the default libpath from the value encoded in an empty executable.
12551 cat >conftest.
$ac_ext <<_ACEOF
12554 cat confdefs.h
>>conftest.
$ac_ext
12555 cat >>conftest.
$ac_ext <<_ACEOF
12556 /* end confdefs.h. */
12566 rm -f conftest.
$ac_objext conftest
$ac_exeext
12567 if { (ac_try
="$ac_link"
12568 case "(($ac_try" in
12569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12570 *) ac_try_echo=$ac_try;;
12572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12573 (eval "$ac_link") 2>conftest.er1
12575 grep -v '^ *+' conftest.er1 >conftest.err
12577 cat conftest.err >&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12581 { (case "(($ac_try" in
12582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12583 *) ac_try_echo
=$ac_try;;
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_try") 2>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); }; } &&
12590 { ac_try
='test -s conftest$ac_exeext'
12591 { (case "(($ac_try" in
12592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12593 *) ac_try_echo=$ac_try;;
12595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12596 (eval "$ac_try") 2>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; }; then
12601 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12603 # Check for a 64-bit object if we didn't find anything.
12604 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; }
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12613 rm -f core conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12615 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12617 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12618 # Warning - without using the other run time loading flags,
12619 # -berok will link without error, but may produce a broken library.
12620 no_undefined_flag_CXX=' ${wl}-bernotok'
12621 allow_undefined_flag_CXX=' ${wl}-berok'
12622 # Exported symbols can be pulled into shared objects from archives
12623 whole_archive_flag_spec_CXX='$convenience'
12624 archive_cmds_need_lc_CXX=yes
12625 # This is similar to how AIX traditionally builds its shared libraries.
12626 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'
12632 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12633 allow_undefined_flag_CXX=unsupported
12634 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12635 # support --undefined. This deserves some investigation. FIXME
12636 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12643 case $cc_basename in
12645 # FIXME: insert proper C++ library support
12651 cygwin* | mingw* | pw32*)
12652 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12653 # as there is no search path for DLLs.
12654 hardcode_libdir_flag_spec_CXX='-L$libdir'
12655 allow_undefined_flag_CXX=unsupported
12656 always_export_symbols_CXX=no
12657 enable_shared_with_static_runtimes_CXX=yes
12659 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12660 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'
12661 # If the export-symbols file already is a .def file (1st line
12662 # is EXPORTS), use it as is; otherwise, prepend...
12663 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12664 cp $export_symbols $output_objdir/$soname.def;
12666 echo EXPORTS > $output_objdir/$soname.def;
12667 cat $export_symbols >> $output_objdir/$soname.def;
12669 $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'
12674 darwin* | rhapsody*)
12676 rhapsody* | darwin1.[012])
12677 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12680 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12681 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12683 case ${MACOSX_DEPLOYMENT_TARGET} in
12685 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12688 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12694 archive_cmds_need_lc_CXX=no
12695 hardcode_direct_CXX=no
12696 hardcode_automatic_CXX=yes
12697 hardcode_shlibpath_var_CXX=unsupported
12698 whole_archive_flag_spec_CXX=''
12699 link_all_deplibs_CXX=yes
12701 if test "$GXX" = yes ; then
12702 lt_int_apple_cc_single_mod=no
12703 output_verbose_link_cmd='echo'
12704 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12705 lt_int_apple_cc_single_mod=yes
12707 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12708 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12710 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'
12712 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12713 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12714 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12715 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}'
12717 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}'
12719 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}'
12721 case $cc_basename in
12723 output_verbose_link_cmd='echo'
12724 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'
12725 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12726 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12727 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}'
12728 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}'
12738 case $cc_basename in
12740 # FIXME: insert proper C++ library support
12744 # Green Hills C++ Compiler
12745 # FIXME: insert proper C++ library support
12749 # FIXME: insert proper C++ library support
12755 # C++ shared libraries reported to be fairly broken before switch to ELF
12759 archive_cmds_need_lc_CXX=no
12761 freebsd* | kfreebsd*-gnu | dragonfly*)
12762 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12769 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12770 hardcode_libdir_separator_CXX=:
12771 export_dynamic_flag_spec_CXX='${wl}-E'
12772 hardcode_direct_CXX=yes
12773 hardcode_minus_L_CXX=yes # Not in the search PATH,
12774 # but as the default
12775 # location of the library.
12777 case $cc_basename in
12779 # FIXME: insert proper C++ library support
12783 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'
12784 # Commands to make compiler produce verbose output that lists
12785 # what "hidden" libraries, object files and flags are used when
12786 # linking a shared library.
12788 # There doesn't appear to be a way to prevent this compiler from
12789 # explicitly linking system object files so we need to strip them
12790 # from the output so that they don't get included in the library
12792 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'
12795 if test "$GXX" = yes; then
12796 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'
12798 # FIXME: insert proper C++ library support
12805 if test $with_gnu_ld = no; then
12806 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12807 hardcode_libdir_separator_CXX=:
12811 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12814 export_dynamic_flag_spec_CXX='${wl}-E'
12820 hardcode_direct_CXX=no
12821 hardcode_shlibpath_var_CXX=no
12824 hardcode_direct_CXX=yes
12825 hardcode_minus_L_CXX=yes # Not in the search PATH,
12826 # but as the default
12827 # location of the library.
12831 case $cc_basename in
12833 # FIXME: insert proper C++ library support
12839 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12842 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12845 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12848 # Commands to make compiler produce verbose output that lists
12849 # what "hidden" libraries, object files and flags are used when
12850 # linking a shared library.
12852 # There doesn't appear to be a way to prevent this compiler from
12853 # explicitly linking system object files so we need to strip them
12854 # from the output so that they don't get included in the library
12856 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'
12859 if test "$GXX" = yes; then
12860 if test $with_gnu_ld = no; then
12863 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12866 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12869 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'
12874 # FIXME: insert proper C++ library support
12881 hardcode_direct_CXX=no
12882 hardcode_shlibpath_var_CXX=no
12883 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12884 export_dynamic_flag_spec_CXX='${wl}-E'
12885 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12886 # Instead, shared libraries are loaded at an image base (0x10000000 by
12887 # default) and relocated if they conflict, which is a slow very memory
12888 # consuming and fragmenting process. To avoid this, we pick a random,
12889 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12890 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12891 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'
12892 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'
12895 case $cc_basename in
12898 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'
12900 # Archives containing C++ object files must be created using
12901 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12902 # necessary to make sure instantiated templates are included
12904 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12907 if test "$GXX" = yes; then
12908 if test "$with_gnu_ld" = no; then
12909 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'
12911 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'
12914 link_all_deplibs_CXX=yes
12917 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12918 hardcode_libdir_separator_CXX=:
12921 case $cc_basename in
12923 # Kuck and Associates, Inc. (KAI) C++ Compiler
12925 # KCC will only create a shared library if the output file
12926 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12927 # to its proper name (with version) after linking.
12928 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'
12929 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'
12930 # Commands to make compiler produce verbose output that lists
12931 # what "hidden" libraries, object files and flags are used when
12932 # linking a shared library.
12934 # There doesn't appear to be a way to prevent this compiler from
12935 # explicitly linking system object files so we need to strip them
12936 # from the output so that they don't get included in the library
12938 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'
12940 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12941 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12943 # Archives containing C++ object files must be created using
12944 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12945 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12950 # version 8.0 and above of icpc choke on multiply defined symbols
12951 # if we add $predep_objects and $postdep_objects, however 7.1 and
12952 # earlier do not add the objects themselves.
12953 case `$CC -V 2>&1` in
12955 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12956 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'
12958 *) # Version 8.0 or newer
12961 ia64
*) tmp_idyn
=' -i_dynamic';;
12963 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12964 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'
12967 archive_cmds_need_lc_CXX
=no
12968 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12969 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12970 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12973 # Portland Group C++ compiler
12974 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12975 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'
12977 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12978 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12979 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'
12983 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12984 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'
12986 runpath_var
=LD_RUN_PATH
12987 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12988 hardcode_libdir_separator_CXX
=:
12990 # Commands to make compiler produce verbose output that lists
12991 # what "hidden" libraries, object files and flags are used when
12992 # linking a shared library.
12994 # There doesn't appear to be a way to prevent this compiler from
12995 # explicitly linking system object files so we need to strip them
12996 # from the output so that they don't get included in the library
12998 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'
13003 # FIXME: insert proper C++ library support
13007 # FIXME: insert proper C++ library support
13011 case $cc_basename in
13013 # FIXME: insert proper C++ library support
13017 # FIXME: insert proper C++ library support
13023 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13024 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13026 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13027 hardcode_direct_CXX
=yes
13028 hardcode_shlibpath_var_CXX
=no
13030 # Workaround some broken pre-1.5 toolchains
13031 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13034 # C++ shared libraries are fairly broken
13038 hardcode_direct_CXX
=yes
13039 hardcode_shlibpath_var_CXX
=no
13040 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13041 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13042 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13043 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13044 export_dynamic_flag_spec_CXX
='${wl}-E'
13045 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13047 output_verbose_link_cmd
='echo'
13050 case $cc_basename in
13052 # Kuck and Associates, Inc. (KAI) C++ Compiler
13054 # KCC will only create a shared library if the output file
13055 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13056 # to its proper name (with version) after linking.
13057 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'
13059 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13060 hardcode_libdir_separator_CXX
=:
13062 # Archives containing C++ object files must be created using
13063 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13064 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13068 # Rational C++ 2.4.1
13069 # FIXME: insert proper C++ library support
13073 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13074 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'
13076 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13077 hardcode_libdir_separator_CXX
=:
13079 # Commands to make compiler produce verbose output that lists
13080 # what "hidden" libraries, object files and flags are used when
13081 # linking a shared library.
13083 # There doesn't appear to be a way to prevent this compiler from
13084 # explicitly linking system object files so we need to strip them
13085 # from the output so that they don't get included in the library
13087 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'
13090 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13091 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13092 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'
13094 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13095 hardcode_libdir_separator_CXX
=:
13097 # Commands to make compiler produce verbose output that lists
13098 # what "hidden" libraries, object files and flags are used when
13099 # linking a shared library.
13100 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13103 # FIXME: insert proper C++ library support
13110 case $cc_basename in
13112 # Kuck and Associates, Inc. (KAI) C++ Compiler
13114 # KCC will only create a shared library if the output file
13115 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13116 # to its proper name (with version) after linking.
13117 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'
13119 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13120 hardcode_libdir_separator_CXX
=:
13122 # Archives containing C++ object files must be created using
13123 # the KAI C++ compiler.
13124 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13127 # Rational C++ 2.4.1
13128 # FIXME: insert proper C++ library support
13132 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13133 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'
13134 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13135 echo "-hidden">> $lib.exp~
13136 $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~
13139 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13140 hardcode_libdir_separator_CXX
=:
13142 # Commands to make compiler produce verbose output that lists
13143 # what "hidden" libraries, object files and flags are used when
13144 # linking a shared library.
13146 # There doesn't appear to be a way to prevent this compiler from
13147 # explicitly linking system object files so we need to strip them
13148 # from the output so that they don't get included in the library
13150 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'
13153 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13154 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13155 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'
13157 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13158 hardcode_libdir_separator_CXX
=:
13160 # Commands to make compiler produce verbose output that lists
13161 # what "hidden" libraries, object files and flags are used when
13162 # linking a shared library.
13163 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13166 # FIXME: insert proper C++ library support
13173 # FIXME: insert proper C++ library support
13177 case $cc_basename in
13180 # FIXME: insert proper C++ library support
13185 # FIXME: insert proper C++ library support
13189 # FIXME: insert proper C++ library support
13195 case $cc_basename in
13197 # Sun C++ 4.2, 5.x and Centerline C++
13198 archive_cmds_need_lc_CXX
=yes
13199 no_undefined_flag_CXX
=' -zdefs'
13200 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13201 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13202 $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'
13204 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13205 hardcode_shlibpath_var_CXX
=no
13207 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13209 # The C++ compiler is used as linker so we must use $wl
13210 # flag to pass the commands to the underlying system
13211 # linker. We must also pass each convience library through
13212 # to the system linker between allextract/defaultextract.
13213 # The C++ compiler will combine linker options so we
13214 # cannot just pass the convience library names through
13216 # Supported since Solaris 2.6 (maybe 2.5.1?)
13217 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'
13220 link_all_deplibs_CXX
=yes
13222 output_verbose_link_cmd
='echo'
13224 # Archives containing C++ object files must be created using
13225 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13226 # necessary to make sure instantiated templates are included
13228 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13231 # Green Hills C++ Compiler
13232 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13234 # The C++ compiler must be used to create the archive.
13235 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13238 # GNU C++ compiler with Solaris linker
13239 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13240 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13241 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13242 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13243 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13244 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13246 # Commands to make compiler produce verbose output that lists
13247 # what "hidden" libraries, object files and flags are used when
13248 # linking a shared library.
13249 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13251 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13253 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13254 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13255 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13257 # Commands to make compiler produce verbose output that lists
13258 # what "hidden" libraries, object files and flags are used when
13259 # linking a shared library.
13260 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13263 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13268 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13269 no_undefined_flag_CXX
='${wl}-z,text'
13270 archive_cmds_need_lc_CXX
=no
13271 hardcode_shlibpath_var_CXX
=no
13272 runpath_var
='LD_RUN_PATH'
13274 case $cc_basename in
13276 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13277 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13280 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13281 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13285 sysv5
* | sco3.2v5
* | sco5v6
*)
13286 # Note: We can NOT use -z defs as we might desire, because we do not
13287 # link with -lc, and that would cause any symbols used from libc to
13288 # always be unresolved, which means just about no library would
13289 # ever link correctly. If we're not using GNU ld we use -z text
13290 # though, which does catch some bad symbols but isn't as heavy-handed
13292 # For security reasons, it is highly recommended that you always
13293 # use absolute paths for naming shared libraries, and exclude the
13294 # DT_RUNPATH tag from executables and libraries. But doing so
13295 # requires that you compile everything twice, which is a pain.
13296 # So that behaviour is only enabled if SCOABSPATH is set to a
13297 # non-empty value in the environment. Most likely only useful for
13298 # creating official distributions of packages.
13299 # This is a hack until libtool officially supports absolute path
13300 # names for shared libraries.
13301 no_undefined_flag_CXX
='${wl}-z,text'
13302 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13303 archive_cmds_need_lc_CXX
=no
13304 hardcode_shlibpath_var_CXX
=no
13305 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13306 hardcode_libdir_separator_CXX
=':'
13307 link_all_deplibs_CXX
=yes
13308 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13309 runpath_var
='LD_RUN_PATH'
13311 case $cc_basename in
13313 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13314 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13317 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13318 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13323 case $cc_basename in
13325 # NonStop-UX NCC 3.20
13326 # FIXME: insert proper C++ library support
13330 # FIXME: insert proper C++ library support
13336 # FIXME: insert proper C++ library support
13340 # FIXME: insert proper C++ library support
13344 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13345 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13346 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13352 cat > conftest.
$ac_ext <<EOF
13356 Foo (void) { a = 0; }
13362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13363 (eval $ac_compile) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; then
13367 # Parse the compiler output and extract the necessary
13368 # objects, libraries and library flags.
13370 # Sentinel used to keep track of whether or not we are before
13371 # the conftest object file.
13372 pre_test_object_deps_done
=no
13374 # The `*' in the case matches for architectures that use `case' in
13375 # $output_verbose_cmd can trigger glob expansion during the loop
13376 # eval without this substitution.
13377 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13379 for p
in `eval $output_verbose_link_cmd`; do
13383 # Some compilers place space between "-{L,R}" and the path.
13384 # Remove the space.
13385 if test $p = "-L" \
13386 ||
test $p = "-R"; then
13393 if test "$pre_test_object_deps_done" = no
; then
13396 # Internal compiler library paths should come after those
13397 # provided the user. The postdeps already come after the
13398 # user supplied libs so there is no need to process them.
13399 if test -z "$compiler_lib_search_path_CXX"; then
13400 compiler_lib_search_path_CXX
="${prev}${p}"
13402 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13405 # The "-l" case would never come before the object being
13406 # linked, so don't bother handling this case.
13409 if test -z "$postdeps_CXX"; then
13410 postdeps_CXX
="${prev}${p}"
13412 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13418 # This assumes that the test object file only shows up
13419 # once in the compiler output.
13420 if test "$p" = "conftest.$objext"; then
13421 pre_test_object_deps_done
=yes
13425 if test "$pre_test_object_deps_done" = no
; then
13426 if test -z "$predep_objects_CXX"; then
13427 predep_objects_CXX
="$p"
13429 predep_objects_CXX
="$predep_objects_CXX $p"
13432 if test -z "$postdep_objects_CXX"; then
13433 postdep_objects_CXX
="$p"
13435 postdep_objects_CXX
="$postdep_objects_CXX $p"
13440 *) ;; # Ignore the rest.
13448 echo "libtool.m4: error: problem compiling CXX test program"
13451 $rm -f confest.
$objext
13453 # PORTME: override above test on systems where it is broken
13456 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13457 # hack all around it, let's just trust "g++" to DTRT.
13458 predep_objects_CXX
=
13459 postdep_objects_CXX
=
13464 case $cc_basename in
13466 # Adding this requires a known-good setup of shared libraries for
13467 # Sun compiler versions before 5.6, else PIC objects from an old
13468 # archive will be linked into the output, leading to subtle bugs.
13469 postdeps_CXX
='-lCstd -lCrun'
13476 case " $postdeps_CXX " in
13477 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13480 lt_prog_compiler_wl_CXX
=
13481 lt_prog_compiler_pic_CXX
=
13482 lt_prog_compiler_static_CXX
=
13484 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13485 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13487 # C++ specific cases for pic, static, wl, etc.
13488 if test "$GXX" = yes; then
13489 lt_prog_compiler_wl_CXX
='-Wl,'
13490 lt_prog_compiler_static_CXX
='-static'
13494 # All AIX code is PIC.
13495 if test "$host_cpu" = ia64
; then
13496 # AIX 5 now supports IA64 processor
13497 lt_prog_compiler_static_CXX
='-Bstatic'
13501 # FIXME: we need at least 68020 code to build shared libraries, but
13502 # adding the `-m68020' flag to GCC prevents building anything better,
13504 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13506 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13507 # PIC is the default for these OSes.
13509 mingw
* | os2
* | pw32
*)
13510 # This hack is so that the source file can tell whether it is being
13511 # built for inclusion in a dll (and should export symbols for example).
13512 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13514 darwin
* | rhapsody
*)
13515 # PIC is the default on this platform
13516 # Common symbols not allowed in MH_DYLIB files
13517 lt_prog_compiler_pic_CXX
='-fno-common'
13520 # DJGPP does not support shared libraries at all
13521 lt_prog_compiler_pic_CXX
=
13524 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13525 # Instead, we relocate shared libraries at runtime.
13528 if test -d /usr
/nec
; then
13529 lt_prog_compiler_pic_CXX
=-Kconform_pic
13533 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13534 # not for PA HP-UX.
13539 lt_prog_compiler_pic_CXX
='-fPIC'
13544 lt_prog_compiler_pic_CXX
='-fPIC'
13550 # All AIX code is PIC.
13551 if test "$host_cpu" = ia64
; then
13552 # AIX 5 now supports IA64 processor
13553 lt_prog_compiler_static_CXX
='-Bstatic'
13555 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13559 case $cc_basename in
13561 # Green Hills C++ Compiler
13562 # _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"
13567 # PIC is the default on this platform
13568 # Common symbols not allowed in MH_DYLIB files
13569 case $cc_basename in
13571 lt_prog_compiler_pic_CXX
='-qnocommon'
13572 lt_prog_compiler_wl_CXX
='-Wl,'
13577 case $cc_basename in
13579 lt_prog_compiler_pic_CXX
='-KPIC'
13582 # Green Hills C++ Compiler
13583 lt_prog_compiler_pic_CXX
='-pic'
13589 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
13590 # FreeBSD uses GNU C++
13592 hpux9
* | hpux10
* | hpux11
*)
13593 case $cc_basename in
13595 lt_prog_compiler_wl_CXX
='-Wl,'
13596 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13597 if test "$host_cpu" != ia64
; then
13598 lt_prog_compiler_pic_CXX
='+Z'
13602 lt_prog_compiler_wl_CXX
='-Wl,'
13603 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13609 lt_prog_compiler_pic_CXX
='+Z'
13618 # This is c89, which is MS Visual C++ (no shared libs)
13619 # Anyone wants to do a port?
13621 irix5
* | irix6
* | nonstopux
*)
13622 case $cc_basename in
13624 lt_prog_compiler_wl_CXX
='-Wl,'
13625 lt_prog_compiler_static_CXX
='-non_shared'
13626 # CC pic flag -KPIC is the default.
13633 case $cc_basename in
13636 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13637 lt_prog_compiler_pic_CXX
='-fPIC'
13641 lt_prog_compiler_wl_CXX
='-Wl,'
13642 lt_prog_compiler_pic_CXX
='-KPIC'
13643 lt_prog_compiler_static_CXX
='-static'
13646 # Portland Group C++ compiler.
13647 lt_prog_compiler_wl_CXX
='-Wl,'
13648 lt_prog_compiler_pic_CXX
='-fpic'
13649 lt_prog_compiler_static_CXX
='-Bstatic'
13653 # Make sure the PIC flag is empty. It appears that all Alpha
13654 # Linux and Compaq Tru64 Unix objects are PIC.
13655 lt_prog_compiler_pic_CXX
=
13656 lt_prog_compiler_static_CXX
='-non_shared'
13667 case $cc_basename in
13669 lt_prog_compiler_pic_CXX
='-W c,exportall'
13677 osf3
* | osf4
* | osf5
*)
13678 case $cc_basename in
13680 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13683 # Rational C++ 2.4.1
13684 lt_prog_compiler_pic_CXX
='-pic'
13687 # Digital/Compaq C++
13688 lt_prog_compiler_wl_CXX
='-Wl,'
13689 # Make sure the PIC flag is empty. It appears that all Alpha
13690 # Linux and Compaq Tru64 Unix objects are PIC.
13691 lt_prog_compiler_pic_CXX
=
13692 lt_prog_compiler_static_CXX
='-non_shared'
13701 case $cc_basename in
13703 # Sun C++ 4.2, 5.x and Centerline C++
13704 lt_prog_compiler_pic_CXX
='-KPIC'
13705 lt_prog_compiler_static_CXX
='-Bstatic'
13706 lt_prog_compiler_wl_CXX
='-Qoption ld '
13709 # Green Hills C++ Compiler
13710 lt_prog_compiler_pic_CXX
='-PIC'
13717 case $cc_basename in
13720 lt_prog_compiler_pic_CXX
='-pic'
13721 lt_prog_compiler_static_CXX
='-Bstatic'
13725 lt_prog_compiler_pic_CXX
='-pic'
13732 case $cc_basename in
13734 # NonStop-UX NCC 3.20
13735 lt_prog_compiler_pic_CXX
='-KPIC'
13741 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13742 case $cc_basename in
13744 lt_prog_compiler_wl_CXX
='-Wl,'
13745 lt_prog_compiler_pic_CXX
='-KPIC'
13746 lt_prog_compiler_static_CXX
='-Bstatic'
13753 lt_prog_compiler_can_build_shared_CXX
=no
13758 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13759 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13762 # Check to make sure the PIC flag actually works.
13764 if test -n "$lt_prog_compiler_pic_CXX"; then
13766 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13767 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13768 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13769 echo $ECHO_N "(cached) $ECHO_C" >&6
13771 lt_prog_compiler_pic_works_CXX
=no
13772 ac_outfile
=conftest.
$ac_objext
13773 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13774 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13775 # Insert the option either (1) after the last *FLAGS variable, or
13776 # (2) before a word containing "conftest.", or (3) at the end.
13777 # Note that $ac_compile itself does not contain backslashes and begins
13778 # with a dollar sign (not a hyphen), so the echo should work correctly.
13779 # The option is referenced via a variable to avoid confusing sed.
13780 lt_compile
=`echo "$ac_compile" | $SED \
13781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13783 -e 's:$: $lt_compiler_flag:'`
13784 (eval echo "\"\$as_me:13784: $lt_compile\"" >&5)
13785 (eval "$lt_compile" 2>conftest.err
)
13787 cat conftest.err
>&5
13788 echo "$as_me:13788: \$? = $ac_status" >&5
13789 if (exit $ac_status) && test -s "$ac_outfile"; then
13790 # The compiler can only warn and ignore the option if not recognized
13791 # So say no if there are warnings other than the usual output.
13792 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13793 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13794 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13795 lt_prog_compiler_pic_works_CXX
=yes
13801 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13802 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13804 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13805 case $lt_prog_compiler_pic_CXX in
13807 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13810 lt_prog_compiler_pic_CXX
=
13811 lt_prog_compiler_can_build_shared_CXX
=no
13816 # For platforms which do not support PIC, -DPIC is meaningless:
13818 lt_prog_compiler_pic_CXX
=
13821 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13826 # Check to make sure the static flag actually works.
13828 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13829 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13830 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13831 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 lt_prog_compiler_static_works_CXX
=no
13835 save_LDFLAGS
="$LDFLAGS"
13836 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13837 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13838 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13839 # The linker can only warn and ignore the option if not recognized
13840 # So say no if there are warnings
13841 if test -s conftest.err
; then
13842 # Append any errors to the config.log.
13843 cat conftest.err
1>&5
13844 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13845 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13846 if diff conftest.exp conftest.er2
>/dev
/null
; then
13847 lt_prog_compiler_static_works_CXX
=yes
13850 lt_prog_compiler_static_works_CXX
=yes
13854 LDFLAGS
="$save_LDFLAGS"
13857 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13858 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13860 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13863 lt_prog_compiler_static_CXX
=
13867 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13868 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13869 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 lt_cv_prog_compiler_c_o_CXX
=no
13873 $rm -r conftest
2>/dev
/null
13877 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13879 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13880 # Insert the option either (1) after the last *FLAGS variable, or
13881 # (2) before a word containing "conftest.", or (3) at the end.
13882 # Note that $ac_compile itself does not contain backslashes and begins
13883 # with a dollar sign (not a hyphen), so the echo should work correctly.
13884 lt_compile
=`echo "$ac_compile" | $SED \
13885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13887 -e 's:$: $lt_compiler_flag:'`
13888 (eval echo "\"\$as_me:13888: $lt_compile\"" >&5)
13889 (eval "$lt_compile" 2>out
/conftest.err
)
13891 cat out
/conftest.err
>&5
13892 echo "$as_me:13892: \$? = $ac_status" >&5
13893 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13895 # The compiler can only warn and ignore the option if not recognized
13896 # So say no if there are warnings
13897 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13898 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13899 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13900 lt_cv_prog_compiler_c_o_CXX
=yes
13905 # SGI C++ compiler will create directory out/ii_files/ for
13906 # template instantiation
13907 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13908 $rm out
/* && rmdir out
13914 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13915 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13918 hard_links
="nottested"
13919 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13920 # do not overwrite the value of need_locks provided by the user
13921 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13922 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13925 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13927 ln conftest.a conftest.b
2>&5 || hard_links
=no
13928 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13929 { echo "$as_me:$LINENO: result: $hard_links" >&5
13930 echo "${ECHO_T}$hard_links" >&6; }
13931 if test "$hard_links" = no
; then
13932 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13933 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13940 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13941 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13943 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13946 # If we're using GNU nm, then we don't want the "-C" option.
13947 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13948 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13949 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'
13951 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'
13955 export_symbols_cmds_CXX
="$ltdll_cmds"
13958 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'
13961 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13965 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13966 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13967 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13970 # Do we need to explicitly link libc?
13972 case "x$archive_cmds_need_lc_CXX" in
13974 # Assume -lc should be added
13975 archive_cmds_need_lc_CXX
=yes
13977 if test "$enable_shared" = yes && test "$GCC" = yes; then
13978 case $archive_cmds_CXX in
13980 # FIXME: we may have to deal with multi-command sequences.
13983 # Test whether the compiler implicitly links with -lc since on some
13984 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13985 # to ld, don't add -lc before -lgcc.
13986 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13987 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13989 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13992 (eval $ac_compile) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } 2>conftest.err
; then
13998 libobjs
=conftest.
$ac_objext
14000 wl
=$lt_prog_compiler_wl_CXX
14001 pic_flag
=$lt_prog_compiler_pic_CXX
14007 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14008 allow_undefined_flag_CXX
=
14009 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14010 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }
14015 archive_cmds_need_lc_CXX
=no
14017 archive_cmds_need_lc_CXX
=yes
14019 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14021 cat conftest.err
1>&5
14024 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14025 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14032 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14033 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14034 library_names_spec
=
14035 libname_spec
='lib$name'
14039 postuninstall_cmds
=
14043 shlibpath_overrides_runpath
=unknown
14045 dynamic_linker
="$host_os ld.so"
14046 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14047 if test "$GCC" = yes; then
14048 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14049 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14050 # if the path contains ";" then we assume it to be the separator
14051 # otherwise default to the standard path separator (i.e. ":") - it is
14052 # assumed that no part of a normal pathname contains ";" but that should
14053 # okay in the real world where ";" in dirpaths is itself problematic.
14054 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14056 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14059 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14061 need_lib_prefix
=unknown
14062 hardcode_into_libs
=no
14064 # when you set need_version to no, make sure it does not cause -set_version
14065 # flags to be left without arguments
14066 need_version
=unknown
14071 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14072 shlibpath_var
=LIBPATH
14074 # AIX 3 has no versioning support, so we append a major version to the name.
14075 soname_spec
='${libname}${release}${shared_ext}$major'
14082 hardcode_into_libs
=yes
14083 if test "$host_cpu" = ia64
; then
14084 # AIX 5 supports IA64
14085 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14086 shlibpath_var
=LD_LIBRARY_PATH
14088 # With GCC up to 2.95.x, collect2 would create an import file
14089 # for dependence libraries. The import file would start with
14090 # the line `#! .'. This would cause the generated library to
14091 # depend on `.', always an invalid library. This was fixed in
14092 # development snapshots of GCC prior to 3.0.
14094 aix4 | aix4.
[01] | aix4.
[01].
*)
14095 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14097 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14100 can_build_shared
=no
14104 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14105 # soname into executable. Probably we can add versioning support to
14106 # collect2, so additional links can be useful in future.
14107 if test "$aix_use_runtimelinking" = yes; then
14108 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14109 # instead of lib<name>.a to let people know that these are not
14110 # typical AIX shared libraries.
14111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14113 # We preserve .a as extension for shared libraries through AIX4.2
14114 # and later when we are not doing run time linking.
14115 library_names_spec
='${libname}${release}.a $libname.a'
14116 soname_spec
='${libname}${release}${shared_ext}$major'
14118 shlibpath_var
=LIBPATH
14123 library_names_spec
='$libname.ixlibrary $libname.a'
14124 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14125 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'
14129 library_names_spec
='${libname}${shared_ext}'
14130 dynamic_linker
="$host_os ld.so"
14131 shlibpath_var
=LIBRARY_PATH
14137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14138 soname_spec
='${libname}${release}${shared_ext}$major'
14139 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14140 shlibpath_var
=LD_LIBRARY_PATH
14141 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14142 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14143 # the default ld.so.conf also contains /usr/contrib/lib and
14144 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14145 # libtool to hard-code these into programs
14148 cygwin
* | mingw
* | pw32
*)
14149 version_type
=windows
14154 case $GCC,$host_os in
14155 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14156 library_names_spec
='$libname.dll.a'
14157 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14158 postinstall_cmds
='base_file=`basename \${file}`~
14159 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14160 dldir=$destdir/`dirname \$dlpath`~
14161 test -d \$dldir || mkdir -p \$dldir~
14162 $install_prog $dir/$dlname \$dldir/$dlname~
14163 chmod a+x \$dldir/$dlname'
14164 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14165 dlpath=$dir/\$dldll~
14167 shlibpath_overrides_runpath
=yes
14171 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14172 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14173 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14176 # MinGW DLLs use traditional 'lib' prefix
14177 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14178 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14179 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14180 # It is most probably a Windows format PATH printed by
14181 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14182 # path with ; separators, and with drive letters. We can handle the
14183 # drive letters (cygwin fileutils understands them), so leave them,
14184 # especially as we might pass files found there to a mingw objdump,
14185 # which wouldn't understand a cygwinified path. Ahh.
14186 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14188 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14192 # pw32 DLLs use 'pw' prefix rather than 'lib'
14193 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14199 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14202 dynamic_linker
='Win32 ld.exe'
14203 # FIXME: first we should search . and the directory the executable is in
14207 darwin
* | rhapsody
*)
14208 dynamic_linker
="$host_os dyld"
14209 version_type
=darwin
14212 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14213 soname_spec
='${libname}${release}${major}$shared_ext'
14214 shlibpath_overrides_runpath
=yes
14215 shlibpath_var
=DYLD_LIBRARY_PATH
14216 shrext_cmds
='.dylib'
14217 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14218 if test "$GCC" = yes; then
14219 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"`
14221 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14223 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14231 soname_spec
='${libname}${release}${shared_ext}$major'
14232 shlibpath_var
=LD_LIBRARY_PATH
14243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14244 soname_spec
='${libname}${release}${shared_ext}$major'
14245 shlibpath_var
=LD_LIBRARY_PATH
14246 shlibpath_overrides_runpath
=no
14247 hardcode_into_libs
=yes
14248 dynamic_linker
='GNU ld.so'
14251 freebsd
* | dragonfly
*)
14252 # DragonFly does not have aout. When/if they implement a new
14253 # versioning mechanism, adjust this.
14254 if test -x /usr
/bin
/objformat
; then
14255 objformat
=`/usr/bin/objformat`
14258 freebsd
[123]*) objformat
=aout
;;
14259 *) objformat
=elf
;;
14262 version_type
=freebsd-
$objformat
14263 case $version_type in
14265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14270 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14274 shlibpath_var
=LD_LIBRARY_PATH
14277 shlibpath_overrides_runpath
=yes
14279 freebsd3.
[01]* | freebsdelf3.
[01]*)
14280 shlibpath_overrides_runpath
=yes
14281 hardcode_into_libs
=yes
14283 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14284 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14285 shlibpath_overrides_runpath
=no
14286 hardcode_into_libs
=yes
14288 freebsd
*) # from 4.6 on
14289 shlibpath_overrides_runpath
=yes
14290 hardcode_into_libs
=yes
14299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14300 soname_spec
='${libname}${release}${shared_ext}$major'
14301 shlibpath_var
=LD_LIBRARY_PATH
14302 hardcode_into_libs
=yes
14305 hpux9
* | hpux10
* | hpux11
*)
14306 # Give a soname corresponding to the major version so that dld.sl refuses to
14307 # link against other versions.
14314 hardcode_into_libs
=yes
14315 dynamic_linker
="$host_os dld.so"
14316 shlibpath_var
=LD_LIBRARY_PATH
14317 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14319 soname_spec
='${libname}${release}${shared_ext}$major'
14320 if test "X$HPUX_IA64_MODE" = X32
; then
14321 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14323 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14325 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14329 hardcode_into_libs
=yes
14330 dynamic_linker
="$host_os dld.sl"
14331 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14332 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec
='${libname}${release}${shared_ext}$major'
14335 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14336 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14340 dynamic_linker
="$host_os dld.sl"
14341 shlibpath_var
=SHLIB_PATH
14342 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14344 soname_spec
='${libname}${release}${shared_ext}$major'
14347 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14348 postinstall_cmds
='chmod 555 $lib'
14355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14356 soname_spec
='${libname}${release}${shared_ext}$major'
14357 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14358 shlibpath_var
=LD_LIBRARY_PATH
14359 shlibpath_overrides_runpath
=no
14360 hardcode_into_libs
=yes
14363 irix5
* | irix6
* | nonstopux
*)
14365 nonstopux
*) version_type
=nonstopux
;;
14367 if test "$lt_cv_prog_gnu_ld" = yes; then
14375 soname_spec
='${libname}${release}${shared_ext}$major'
14376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14378 irix5
* | nonstopux
*)
14379 libsuff
= shlibsuff
=
14382 case $LD in # libtool.m4 will add one of these switches to LD
14383 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14384 libsuff
= shlibsuff
= libmagic
=32-bit;;
14385 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14386 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14387 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14388 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14389 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14393 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14394 shlibpath_overrides_runpath
=no
14395 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14396 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14397 hardcode_into_libs
=yes
14400 # No shared lib support for Linux oldld, aout, or coff.
14401 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14405 # This must be Linux ELF.
14410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14411 soname_spec
='${libname}${release}${shared_ext}$major'
14412 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14413 shlibpath_var
=LD_LIBRARY_PATH
14414 shlibpath_overrides_runpath
=no
14415 # This implies no fast_install, which is unacceptable.
14416 # Some rework will be needed to allow for fast_install
14417 # before this can be enabled.
14418 hardcode_into_libs
=yes
14420 # Append ld.so.conf contents to the search path
14421 if test -f /etc
/ld.so.conf
; then
14422 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' ' '`
14423 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14426 # We used to test for /lib/ld.so.1 and disable shared libraries on
14427 # powerpc, because MkLinux only supported shared libraries with the
14428 # GNU dynamic linker. Since this was broken with cross compilers,
14429 # most powerpc-linux boxes support dynamic linking these days and
14430 # people can always --disable-shared, the test was removed, and we
14431 # assume the GNU/Linux dynamic linker is in use.
14432 dynamic_linker
='GNU/Linux ld.so'
14439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14440 soname_spec
='${libname}${release}${shared_ext}$major'
14441 shlibpath_var
=LD_LIBRARY_PATH
14442 shlibpath_overrides_runpath
=no
14443 hardcode_into_libs
=yes
14444 dynamic_linker
='GNU ld.so'
14451 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14453 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14454 dynamic_linker
='NetBSD (a.out) ld.so'
14456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14457 soname_spec
='${libname}${release}${shared_ext}$major'
14458 dynamic_linker
='NetBSD ld.elf_so'
14460 shlibpath_var
=LD_LIBRARY_PATH
14461 shlibpath_overrides_runpath
=yes
14462 hardcode_into_libs
=yes
14467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14468 shlibpath_var
=LD_LIBRARY_PATH
14469 shlibpath_overrides_runpath
=yes
14476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14477 soname_spec
='${libname}${release}${shared_ext}$major'
14478 shlibpath_var
=LD_LIBRARY_PATH
14479 shlibpath_overrides_runpath
=yes
14484 sys_lib_dlsearch_path_spec
="/usr/lib"
14486 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14488 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14489 *) need_version
=no
;;
14491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14492 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14493 shlibpath_var
=LD_LIBRARY_PATH
14494 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14496 openbsd2.
[89] | openbsd2.
[89].
*)
14497 shlibpath_overrides_runpath
=no
14500 shlibpath_overrides_runpath
=yes
14504 shlibpath_overrides_runpath
=yes
14509 libname_spec
='$name'
14512 library_names_spec
='$libname${shared_ext} $libname.a'
14513 dynamic_linker
='OS/2 ld.exe'
14514 shlibpath_var
=LIBPATH
14517 osf3
* | osf4
* | osf5
*)
14521 soname_spec
='${libname}${release}${shared_ext}$major'
14522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 shlibpath_var
=LD_LIBRARY_PATH
14524 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14525 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14533 soname_spec
='${libname}${release}${shared_ext}$major'
14534 shlibpath_var
=LD_LIBRARY_PATH
14535 shlibpath_overrides_runpath
=yes
14536 hardcode_into_libs
=yes
14537 # ldd complains unless libraries are executable
14538 postinstall_cmds
='chmod +x $lib'
14543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14544 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14545 shlibpath_var
=LD_LIBRARY_PATH
14546 shlibpath_overrides_runpath
=yes
14547 if test "$with_gnu_ld" = yes; then
14555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14556 soname_spec
='${libname}${release}${shared_ext}$major'
14557 shlibpath_var
=LD_LIBRARY_PATH
14558 case $host_vendor in
14560 shlibpath_overrides_runpath
=no
14562 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14563 runpath_var
=LD_RUN_PATH
14571 shlibpath_overrides_runpath
=no
14572 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14578 if test -d /usr
/nec
;then
14580 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14581 soname_spec
='$libname${shared_ext}.$major'
14582 shlibpath_var
=LD_LIBRARY_PATH
14586 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14587 version_type
=freebsd-elf
14590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14591 soname_spec
='${libname}${release}${shared_ext}$major'
14592 shlibpath_var
=LD_LIBRARY_PATH
14593 hardcode_into_libs
=yes
14594 if test "$with_gnu_ld" = yes; then
14595 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14596 shlibpath_overrides_runpath
=no
14598 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14599 shlibpath_overrides_runpath
=yes
14602 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14606 sys_lib_dlsearch_path_spec
='/usr/lib'
14611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec
='${libname}${release}${shared_ext}$major'
14613 shlibpath_var
=LD_LIBRARY_PATH
14620 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14621 echo "${ECHO_T}$dynamic_linker" >&6; }
14622 test "$dynamic_linker" = no
&& can_build_shared
=no
14624 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14625 if test "$GCC" = yes; then
14626 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14629 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14630 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14631 hardcode_action_CXX
=
14632 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14633 test -n "$runpath_var_CXX" || \
14634 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14636 # We can hardcode non-existant directories.
14637 if test "$hardcode_direct_CXX" != no
&&
14638 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14639 # have to relink, otherwise we might link with an installed library
14640 # when we should be linking with a yet-to-be-installed one
14641 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14642 test "$hardcode_minus_L_CXX" != no
; then
14643 # Linking always hardcodes the temporary library directory.
14644 hardcode_action_CXX
=relink
14646 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14647 hardcode_action_CXX
=immediate
14650 # We cannot hardcode anything, or else we can only hardcode existing
14652 hardcode_action_CXX
=unsupported
14654 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14655 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14657 if test "$hardcode_action_CXX" = relink
; then
14658 # Fast installation is not supported
14659 enable_fast_install
=no
14660 elif test "$shlibpath_overrides_runpath" = yes ||
14661 test "$enable_shared" = no
; then
14662 # Fast installation is not necessary
14663 enable_fast_install
=needless
14667 # The else clause should only fire when bootstrapping the
14668 # libtool distribution, otherwise you forgot to ship ltmain.sh
14669 # with your package, and you will get complaints that there are
14670 # no rules to generate ltmain.sh.
14671 if test -f "$ltmain"; then
14672 # See if we are running on zsh, and set the options which allow our commands through
14673 # without removal of \ escapes.
14674 if test -n "${ZSH_VERSION+set}" ; then
14675 setopt NO_GLOB_SUBST
14677 # Now quote all the things that may contain metacharacters while being
14678 # careful not to overquote the AC_SUBSTed values. We take copies of the
14679 # variables and quote the copies for generation of the libtool script.
14680 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14682 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14683 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14684 deplibs_check_method reload_flag reload_cmds need_locks \
14685 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14686 lt_cv_sys_global_symbol_to_c_name_address \
14687 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14688 old_postinstall_cmds old_postuninstall_cmds \
14692 lt_prog_compiler_wl_CXX \
14693 lt_prog_compiler_pic_CXX \
14694 lt_prog_compiler_static_CXX \
14695 lt_prog_compiler_no_builtin_flag_CXX \
14696 export_dynamic_flag_spec_CXX \
14697 thread_safe_flag_spec_CXX \
14698 whole_archive_flag_spec_CXX \
14699 enable_shared_with_static_runtimes_CXX \
14700 old_archive_cmds_CXX \
14701 old_archive_from_new_cmds_CXX \
14702 predep_objects_CXX \
14703 postdep_objects_CXX \
14706 compiler_lib_search_path_CXX \
14708 archive_expsym_cmds_CXX \
14709 postinstall_cmds_CXX \
14710 postuninstall_cmds_CXX \
14711 old_archive_from_expsyms_cmds_CXX \
14712 allow_undefined_flag_CXX \
14713 no_undefined_flag_CXX \
14714 export_symbols_cmds_CXX \
14715 hardcode_libdir_flag_spec_CXX \
14716 hardcode_libdir_flag_spec_ld_CXX \
14717 hardcode_libdir_separator_CXX \
14718 hardcode_automatic_CXX \
14720 module_expsym_cmds_CXX \
14721 lt_cv_prog_compiler_c_o_CXX \
14722 exclude_expsyms_CXX \
14723 include_expsyms_CXX
; do
14726 old_archive_cmds_CXX | \
14727 old_archive_from_new_cmds_CXX | \
14728 archive_cmds_CXX | \
14729 archive_expsym_cmds_CXX | \
14730 module_cmds_CXX | \
14731 module_expsym_cmds_CXX | \
14732 old_archive_from_expsyms_cmds_CXX | \
14733 export_symbols_cmds_CXX | \
14734 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14735 postinstall_cmds | postuninstall_cmds | \
14736 old_postinstall_cmds | old_postuninstall_cmds | \
14737 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14738 # Double-quote double-evaled strings.
14739 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14742 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14748 *'\$0 --fallback-echo"')
14749 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14755 cat <<__EOF__ >> "$cfgfile"
14756 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14758 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14760 # Shell to use when invoking shell scripts.
14763 # Whether or not to build shared libraries.
14764 build_libtool_libs=$enable_shared
14766 # Whether or not to build static libraries.
14767 build_old_libs=$enable_static
14769 # Whether or not to add -lc for building shared libraries.
14770 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14772 # Whether or not to disallow shared libs when runtime libs are static
14773 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14775 # Whether or not to optimize for fast installation.
14776 fast_install=$enable_fast_install
14779 host_alias=$host_alias
14783 # The build system.
14784 build_alias=$build_alias
14788 # An echo program that does not interpret backslashes.
14793 AR_FLAGS=$lt_AR_FLAGS
14798 # LTCC compiler flags.
14799 LTCFLAGS=$lt_LTCFLAGS
14801 # A language-specific compiler.
14802 CC=$lt_compiler_CXX
14804 # Is the compiler the GNU C compiler?
14810 # The linker used to build libraries.
14813 # Whether we need hard or soft links.
14816 # A BSD-compatible nm program.
14819 # A symbol stripping program
14822 # Used to examine libraries when file_magic_cmd begins "file"
14823 MAGIC_CMD=$MAGIC_CMD
14825 # Used on cygwin: DLL creation program.
14828 # Used on cygwin: object dumper.
14831 # Used on cygwin: assembler.
14834 # The name of the directory that contains temporary libtool files.
14837 # How to create reloadable object files.
14838 reload_flag=$lt_reload_flag
14839 reload_cmds=$lt_reload_cmds
14841 # How to pass a linker flag through the compiler.
14842 wl=$lt_lt_prog_compiler_wl_CXX
14844 # Object file suffix (normally "o").
14845 objext="$ac_objext"
14847 # Old archive suffix (normally "a").
14850 # Shared library suffix (normally ".so").
14851 shrext_cmds='$shrext_cmds'
14853 # Executable file suffix (normally "").
14856 # Additional compiler flags for building library objects.
14857 pic_flag=$lt_lt_prog_compiler_pic_CXX
14860 # What is the maximum length of a command?
14861 max_cmd_len=$lt_cv_sys_max_cmd_len
14863 # Does compiler simultaneously support -c and -o options?
14864 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14866 # Must we lock files when doing compilation?
14867 need_locks=$lt_need_locks
14869 # Do we need the lib prefix for modules?
14870 need_lib_prefix=$need_lib_prefix
14872 # Do we need a version for libraries?
14873 need_version=$need_version
14875 # Whether dlopen is supported.
14876 dlopen_support=$enable_dlopen
14878 # Whether dlopen of programs is supported.
14879 dlopen_self=$enable_dlopen_self
14881 # Whether dlopen of statically linked programs is supported.
14882 dlopen_self_static=$enable_dlopen_self_static
14884 # Compiler flag to prevent dynamic linking.
14885 link_static_flag=$lt_lt_prog_compiler_static_CXX
14887 # Compiler flag to turn off builtin functions.
14888 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14890 # Compiler flag to allow reflexive dlopens.
14891 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14893 # Compiler flag to generate shared objects directly from archives.
14894 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14896 # Compiler flag to generate thread-safe objects.
14897 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14899 # Library versioning type.
14900 version_type=$version_type
14902 # Format of library name prefix.
14903 libname_spec=$lt_libname_spec
14905 # List of archive names. First name is the real one, the rest are links.
14906 # The last name is the one that the linker finds with -lNAME.
14907 library_names_spec=$lt_library_names_spec
14909 # The coded name of the library, if different from the real name.
14910 soname_spec=$lt_soname_spec
14912 # Commands used to build and install an old-style archive.
14914 old_archive_cmds=$lt_old_archive_cmds_CXX
14915 old_postinstall_cmds=$lt_old_postinstall_cmds
14916 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14918 # Create an old-style archive from a shared archive.
14919 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14921 # Create a temporary old-style archive to link instead of a shared archive.
14922 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14924 # Commands used to build and install a shared archive.
14925 archive_cmds=$lt_archive_cmds_CXX
14926 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14927 postinstall_cmds=$lt_postinstall_cmds
14928 postuninstall_cmds=$lt_postuninstall_cmds
14930 # Commands used to build a loadable module (assumed same as above if empty)
14931 module_cmds=$lt_module_cmds_CXX
14932 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14934 # Commands to strip libraries.
14935 old_striplib=$lt_old_striplib
14936 striplib=$lt_striplib
14938 # Dependencies to place before the objects being linked to create a
14940 predep_objects=$lt_predep_objects_CXX
14942 # Dependencies to place after the objects being linked to create a
14944 postdep_objects=$lt_postdep_objects_CXX
14946 # Dependencies to place before the objects being linked to create a
14948 predeps=$lt_predeps_CXX
14950 # Dependencies to place after the objects being linked to create a
14952 postdeps=$lt_postdeps_CXX
14954 # The library search path used internally by the compiler when linking
14955 # a shared library.
14956 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14958 # Method to check whether dependent libraries are shared objects.
14959 deplibs_check_method=$lt_deplibs_check_method
14961 # Command to use when deplibs_check_method == file_magic.
14962 file_magic_cmd=$lt_file_magic_cmd
14964 # Flag that allows shared libraries with undefined symbols to be built.
14965 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14967 # Flag that forces no undefined symbols.
14968 no_undefined_flag=$lt_no_undefined_flag_CXX
14970 # Commands used to finish a libtool library installation in a directory.
14971 finish_cmds=$lt_finish_cmds
14973 # Same as above, but a single script fragment to be evaled but not shown.
14974 finish_eval=$lt_finish_eval
14976 # Take the output of nm and produce a listing of raw symbols and C names.
14977 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14979 # Transform the output of nm in a proper C declaration
14980 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14982 # Transform the output of nm in a C name address pair
14983 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14985 # This is the shared library runtime path variable.
14986 runpath_var=$runpath_var
14988 # This is the shared library path variable.
14989 shlibpath_var=$shlibpath_var
14991 # Is shlibpath searched before the hard-coded library search path?
14992 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14994 # How to hardcode a shared library path into an executable.
14995 hardcode_action=$hardcode_action_CXX
14997 # Whether we should hardcode library paths into libraries.
14998 hardcode_into_libs=$hardcode_into_libs
15000 # Flag to hardcode \$libdir into a binary during linking.
15001 # This must work even if \$libdir does not exist.
15002 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15004 # If ld is used when linking, flag to hardcode \$libdir into
15005 # a binary during linking. This must work even if \$libdir does
15007 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15009 # Whether we need a single -rpath flag with a separated argument.
15010 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15012 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15013 # resulting binary.
15014 hardcode_direct=$hardcode_direct_CXX
15016 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15017 # resulting binary.
15018 hardcode_minus_L=$hardcode_minus_L_CXX
15020 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15021 # the resulting binary.
15022 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15024 # Set to yes if building a shared library automatically hardcodes DIR into the library
15025 # and all subsequent libraries and executables linked against it.
15026 hardcode_automatic=$hardcode_automatic_CXX
15028 # Variables whose values should be saved in libtool wrapper scripts and
15029 # restored at relink time.
15030 variables_saved_for_relink="$variables_saved_for_relink"
15032 # Whether libtool must link a program against all its dependency libraries.
15033 link_all_deplibs=$link_all_deplibs_CXX
15035 # Compile-time system search path for libraries
15036 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15038 # Run-time system search path for libraries
15039 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15041 # Fix the shell variable \$srcfile for the compiler.
15042 fix_srcfile_path="$fix_srcfile_path_CXX"
15044 # Set to yes if exported symbols are required.
15045 always_export_symbols=$always_export_symbols_CXX
15047 # The commands to list exported symbols.
15048 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15050 # The commands to extract the exported symbol list from a shared archive.
15051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15053 # Symbols that should not be listed in the preloaded symbols.
15054 exclude_expsyms=$lt_exclude_expsyms_CXX
15056 # Symbols that must always be exported.
15057 include_expsyms=$lt_include_expsyms_CXX
15059 # ### END LIBTOOL TAG CONFIG: $tagname
15065 # If there is no Makefile yet, we rely on a make rule to execute
15066 # `config.status --recheck' to rerun these tests and create the
15067 # libtool script then.
15068 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15069 if test -f "$ltmain_in"; then
15070 test -f Makefile
&& make "$ltmain"
15076 ac_cpp
='$CPP $CPPFLAGS'
15077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15085 with_gnu_ldcxx
=$with_gnu_ld
15086 with_gnu_ld
=$lt_save_with_gnu_ld
15087 lt_cv_path_LDCXX
=$lt_cv_path_LD
15088 lt_cv_path_LD
=$lt_save_path_LD
15089 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15090 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15098 if test -n "$F77" && test "X$F77" != "Xno"; then
15101 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15102 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15106 archive_cmds_need_lc_F77
=no
15107 allow_undefined_flag_F77
=
15108 always_export_symbols_F77
=no
15109 archive_expsym_cmds_F77
=
15110 export_dynamic_flag_spec_F77
=
15111 hardcode_direct_F77
=no
15112 hardcode_libdir_flag_spec_F77
=
15113 hardcode_libdir_flag_spec_ld_F77
=
15114 hardcode_libdir_separator_F77
=
15115 hardcode_minus_L_F77
=no
15116 hardcode_automatic_F77
=no
15118 module_expsym_cmds_F77
=
15119 link_all_deplibs_F77
=unknown
15120 old_archive_cmds_F77
=$old_archive_cmds
15121 no_undefined_flag_F77
=
15122 whole_archive_flag_spec_F77
=
15123 enable_shared_with_static_runtimes_F77
=no
15125 # Source file extension for f77 test sources.
15128 # Object file extension for compiled f77 test sources.
15132 # Code to be used in simple compile tests
15133 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
15135 # Code to be used in simple link tests
15136 lt_simple_link_test_code
=" program t\n end\n"
15138 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15140 # If no C compiler was specified, use CC.
15143 # If no C compiler flags were specified, use CFLAGS.
15144 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15146 # Allow CC to be a program name with arguments.
15150 # save warnings/boilerplate of simple test code
15151 ac_outfile
=conftest.
$ac_objext
15152 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15153 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15154 _lt_compiler_boilerplate
=`cat conftest.err`
15157 ac_outfile
=conftest.
$ac_objext
15158 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15159 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15160 _lt_linker_boilerplate
=`cat conftest.err`
15164 # Allow CC to be a program name with arguments.
15169 for cc_temp
in $compiler""; do
15171 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15172 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15177 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15180 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15181 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15182 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15183 echo "${ECHO_T}$can_build_shared" >&6; }
15185 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15186 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15187 test "$can_build_shared" = "no" && enable_shared
=no
15189 # On AIX, shared libraries and static libraries use the same namespace, and
15190 # are all built from PIC.
15193 test "$enable_shared" = yes && enable_static
=no
15194 if test -n "$RANLIB"; then
15195 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15196 postinstall_cmds
='$RANLIB $lib'
15200 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15201 test "$enable_shared" = yes && enable_static
=no
15205 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15206 echo "${ECHO_T}$enable_shared" >&6; }
15208 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15209 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15210 # Make sure either enable_shared or enable_static is yes.
15211 test "$enable_shared" = yes || enable_static
=yes
15212 { echo "$as_me:$LINENO: result: $enable_static" >&5
15213 echo "${ECHO_T}$enable_static" >&6; }
15218 lt_prog_compiler_wl_F77
=
15219 lt_prog_compiler_pic_F77
=
15220 lt_prog_compiler_static_F77
=
15222 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15223 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15225 if test "$GCC" = yes; then
15226 lt_prog_compiler_wl_F77
='-Wl,'
15227 lt_prog_compiler_static_F77
='-static'
15231 # All AIX code is PIC.
15232 if test "$host_cpu" = ia64
; then
15233 # AIX 5 now supports IA64 processor
15234 lt_prog_compiler_static_F77
='-Bstatic'
15239 # FIXME: we need at least 68020 code to build shared libraries, but
15240 # adding the `-m68020' flag to GCC prevents building anything better,
15242 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15245 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15246 # PIC is the default for these OSes.
15249 mingw
* | pw32
* | os2
*)
15250 # This hack is so that the source file can tell whether it is being
15251 # built for inclusion in a dll (and should export symbols for example).
15252 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15255 darwin
* | rhapsody
*)
15256 # PIC is the default on this platform
15257 # Common symbols not allowed in MH_DYLIB files
15258 lt_prog_compiler_pic_F77
='-fno-common'
15262 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15263 # Instead, we relocate shared libraries at runtime.
15267 # Just because we use GCC doesn't mean we suddenly get shared libraries
15268 # on systems that don't support them.
15269 lt_prog_compiler_can_build_shared_F77
=no
15274 if test -d /usr
/nec
; then
15275 lt_prog_compiler_pic_F77
=-Kconform_pic
15280 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15281 # not for PA HP-UX.
15287 lt_prog_compiler_pic_F77
='-fPIC'
15293 lt_prog_compiler_pic_F77
='-fPIC'
15297 # PORTME Check for flag to pass linker flags through the system compiler.
15300 lt_prog_compiler_wl_F77
='-Wl,'
15301 if test "$host_cpu" = ia64
; then
15302 # AIX 5 now supports IA64 processor
15303 lt_prog_compiler_static_F77
='-Bstatic'
15305 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15309 # PIC is the default on this platform
15310 # Common symbols not allowed in MH_DYLIB files
15311 case $cc_basename in
15313 lt_prog_compiler_pic_F77
='-qnocommon'
15314 lt_prog_compiler_wl_F77
='-Wl,'
15319 mingw
* | pw32
* | os2
*)
15320 # This hack is so that the source file can tell whether it is being
15321 # built for inclusion in a dll (and should export symbols for example).
15322 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15325 hpux9
* | hpux10
* | hpux11
*)
15326 lt_prog_compiler_wl_F77
='-Wl,'
15327 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15328 # not for PA HP-UX.
15334 lt_prog_compiler_pic_F77
='+Z'
15337 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15338 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15341 irix5
* | irix6
* | nonstopux
*)
15342 lt_prog_compiler_wl_F77
='-Wl,'
15343 # PIC (with -KPIC) is the default.
15344 lt_prog_compiler_static_F77
='-non_shared'
15348 lt_prog_compiler_pic_F77
='-KPIC'
15349 lt_prog_compiler_static_F77
='-Bstatic'
15353 case $cc_basename in
15355 lt_prog_compiler_wl_F77
='-Wl,'
15356 lt_prog_compiler_pic_F77
='-KPIC'
15357 lt_prog_compiler_static_F77
='-static'
15359 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15360 # Portland Group compilers (*not* the Pentium gcc compiler,
15361 # which looks to be a dead project)
15362 lt_prog_compiler_wl_F77
='-Wl,'
15363 lt_prog_compiler_pic_F77
='-fpic'
15364 lt_prog_compiler_static_F77
='-Bstatic'
15367 lt_prog_compiler_wl_F77
='-Wl,'
15368 # All Alpha code is PIC.
15369 lt_prog_compiler_static_F77
='-non_shared'
15374 osf3
* | osf4
* | osf5
*)
15375 lt_prog_compiler_wl_F77
='-Wl,'
15376 # All OSF/1 code is PIC.
15377 lt_prog_compiler_static_F77
='-non_shared'
15381 lt_prog_compiler_pic_F77
='-KPIC'
15382 lt_prog_compiler_static_F77
='-Bstatic'
15383 case $cc_basename in
15384 f77
* | f90
* | f95
*)
15385 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15387 lt_prog_compiler_wl_F77
='-Wl,';;
15392 lt_prog_compiler_wl_F77
='-Qoption ld '
15393 lt_prog_compiler_pic_F77
='-PIC'
15394 lt_prog_compiler_static_F77
='-Bstatic'
15397 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15398 lt_prog_compiler_wl_F77
='-Wl,'
15399 lt_prog_compiler_pic_F77
='-KPIC'
15400 lt_prog_compiler_static_F77
='-Bstatic'
15404 if test -d /usr
/nec
;then
15405 lt_prog_compiler_pic_F77
='-Kconform_pic'
15406 lt_prog_compiler_static_F77
='-Bstatic'
15410 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15411 lt_prog_compiler_wl_F77
='-Wl,'
15412 lt_prog_compiler_pic_F77
='-KPIC'
15413 lt_prog_compiler_static_F77
='-Bstatic'
15417 lt_prog_compiler_wl_F77
='-Wl,'
15418 lt_prog_compiler_can_build_shared_F77
=no
15422 lt_prog_compiler_pic_F77
='-pic'
15423 lt_prog_compiler_static_F77
='-Bstatic'
15427 lt_prog_compiler_can_build_shared_F77
=no
15432 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15433 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15436 # Check to make sure the PIC flag actually works.
15438 if test -n "$lt_prog_compiler_pic_F77"; then
15440 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15441 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15442 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 lt_prog_compiler_pic_works_F77
=no
15446 ac_outfile
=conftest.
$ac_objext
15447 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15448 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15449 # Insert the option either (1) after the last *FLAGS variable, or
15450 # (2) before a word containing "conftest.", or (3) at the end.
15451 # Note that $ac_compile itself does not contain backslashes and begins
15452 # with a dollar sign (not a hyphen), so the echo should work correctly.
15453 # The option is referenced via a variable to avoid confusing sed.
15454 lt_compile
=`echo "$ac_compile" | $SED \
15455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15457 -e 's:$: $lt_compiler_flag:'`
15458 (eval echo "\"\$as_me:15458: $lt_compile\"" >&5)
15459 (eval "$lt_compile" 2>conftest.err
)
15461 cat conftest.err
>&5
15462 echo "$as_me:15462: \$? = $ac_status" >&5
15463 if (exit $ac_status) && test -s "$ac_outfile"; then
15464 # The compiler can only warn and ignore the option if not recognized
15465 # So say no if there are warnings other than the usual output.
15466 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15468 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15469 lt_prog_compiler_pic_works_F77
=yes
15475 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15476 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15478 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15479 case $lt_prog_compiler_pic_F77 in
15481 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15484 lt_prog_compiler_pic_F77
=
15485 lt_prog_compiler_can_build_shared_F77
=no
15490 # For platforms which do not support PIC, -DPIC is meaningless:
15492 lt_prog_compiler_pic_F77
=
15495 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15500 # Check to make sure the static flag actually works.
15502 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15503 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15504 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15505 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 lt_prog_compiler_static_works_F77
=no
15509 save_LDFLAGS
="$LDFLAGS"
15510 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15511 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15512 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15513 # The linker can only warn and ignore the option if not recognized
15514 # So say no if there are warnings
15515 if test -s conftest.err
; then
15516 # Append any errors to the config.log.
15517 cat conftest.err
1>&5
15518 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15519 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15520 if diff conftest.exp conftest.er2
>/dev
/null
; then
15521 lt_prog_compiler_static_works_F77
=yes
15524 lt_prog_compiler_static_works_F77
=yes
15528 LDFLAGS
="$save_LDFLAGS"
15531 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15532 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15534 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15537 lt_prog_compiler_static_F77
=
15541 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15542 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15543 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 lt_cv_prog_compiler_c_o_F77
=no
15547 $rm -r conftest
2>/dev
/null
15551 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15553 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15554 # Insert the option either (1) after the last *FLAGS variable, or
15555 # (2) before a word containing "conftest.", or (3) at the end.
15556 # Note that $ac_compile itself does not contain backslashes and begins
15557 # with a dollar sign (not a hyphen), so the echo should work correctly.
15558 lt_compile
=`echo "$ac_compile" | $SED \
15559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15561 -e 's:$: $lt_compiler_flag:'`
15562 (eval echo "\"\$as_me:15562: $lt_compile\"" >&5)
15563 (eval "$lt_compile" 2>out
/conftest.err
)
15565 cat out
/conftest.err
>&5
15566 echo "$as_me:15566: \$? = $ac_status" >&5
15567 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15569 # The compiler can only warn and ignore the option if not recognized
15570 # So say no if there are warnings
15571 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15572 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15573 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15574 lt_cv_prog_compiler_c_o_F77
=yes
15579 # SGI C++ compiler will create directory out/ii_files/ for
15580 # template instantiation
15581 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15582 $rm out
/* && rmdir out
15588 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15589 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15592 hard_links
="nottested"
15593 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15594 # do not overwrite the value of need_locks provided by the user
15595 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15596 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15599 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15601 ln conftest.a conftest.b
2>&5 || hard_links
=no
15602 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15603 { echo "$as_me:$LINENO: result: $hard_links" >&5
15604 echo "${ECHO_T}$hard_links" >&6; }
15605 if test "$hard_links" = no
; then
15606 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15607 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15614 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15615 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15618 allow_undefined_flag_F77
=
15619 enable_shared_with_static_runtimes_F77
=no
15621 archive_expsym_cmds_F77
=
15622 old_archive_From_new_cmds_F77
=
15623 old_archive_from_expsyms_cmds_F77
=
15624 export_dynamic_flag_spec_F77
=
15625 whole_archive_flag_spec_F77
=
15626 thread_safe_flag_spec_F77
=
15627 hardcode_libdir_flag_spec_F77
=
15628 hardcode_libdir_flag_spec_ld_F77
=
15629 hardcode_libdir_separator_F77
=
15630 hardcode_direct_F77
=no
15631 hardcode_minus_L_F77
=no
15632 hardcode_shlibpath_var_F77
=unsupported
15633 link_all_deplibs_F77
=unknown
15634 hardcode_automatic_F77
=no
15636 module_expsym_cmds_F77
=
15637 always_export_symbols_F77
=no
15638 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15639 # include_expsyms should be a list of space-separated symbols to be *always*
15640 # included in the symbol list
15641 include_expsyms_F77
=
15642 # exclude_expsyms can be an extended regexp of symbols to exclude
15643 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15644 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15645 # as well as any symbol that contains `d'.
15646 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15647 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15648 # platforms (ab)use it in PIC code, but their linkers get confused if
15649 # the symbol is explicitly referenced. Since portable code cannot
15650 # rely on this symbol name, it's probably fine to never include it in
15651 # preloaded symbol tables.
15652 extract_expsyms_cmds
=
15653 # Just being paranoid about ensuring that cc_basename is set.
15654 for cc_temp
in $compiler""; do
15656 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15657 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15662 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15665 cygwin
* | mingw
* | pw32
*)
15666 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15667 # When not using gcc, we currently assume that we are using
15668 # Microsoft Visual C++.
15669 if test "$GCC" != yes; then
15674 # we just hope/assume this is gcc and not c89 (= MSVC++)
15683 if test "$with_gnu_ld" = yes; then
15684 # If archive_cmds runs LD, not CC, wlarc should be empty
15687 # Set some defaults for GNU ld with shared library support. These
15688 # are reset later if shared libraries are not supported. Putting them
15689 # here allows them to be overridden if necessary.
15690 runpath_var
=LD_RUN_PATH
15691 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15692 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15693 # ancient GNU ld didn't support --whole-archive et. al.
15694 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15695 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15697 whole_archive_flag_spec_F77
=
15699 supports_anon_versioning
=no
15700 case `$LD -v 2>/dev/null` in
15701 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15702 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15703 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15704 *\
2.11.
*) ;; # other 2.11 versions
15705 *) supports_anon_versioning
=yes ;;
15708 # See if GNU ld supports shared libraries.
15710 aix3
* | aix4
* | aix5
*)
15711 # On AIX/PPC, the GNU linker is very broken
15712 if test "$host_cpu" != ia64
; then
15716 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15717 *** to be unable to reliably create shared libraries on AIX.
15718 *** Therefore, libtool is disabling shared libraries support. If you
15719 *** really care for shared libraries, you may want to modify your PATH
15720 *** so that a non-GNU linker is found, and then restart.
15727 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)'
15728 hardcode_libdir_flag_spec_F77
='-L$libdir'
15729 hardcode_minus_L_F77
=yes
15731 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15732 # that the semantics of dynamic libraries on AmigaOS, at least up
15733 # to version 4, is to share data among multiple programs linked
15734 # with the same dynamic library. Since this doesn't match the
15735 # behavior of shared libraries on other platforms, we can't use
15741 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15742 allow_undefined_flag_F77
=unsupported
15743 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15744 # support --undefined. This deserves some investigation. FIXME
15745 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15751 cygwin
* | mingw
* | pw32
*)
15752 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15753 # as there is no search path for DLLs.
15754 hardcode_libdir_flag_spec_F77
='-L$libdir'
15755 allow_undefined_flag_F77
=unsupported
15756 always_export_symbols_F77
=no
15757 enable_shared_with_static_runtimes_F77
=yes
15758 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15760 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15761 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15762 # If the export-symbols file already is a .def file (1st line
15763 # is EXPORTS), use it as is; otherwise, prepend...
15764 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15765 cp $export_symbols $output_objdir/$soname.def;
15767 echo EXPORTS > $output_objdir/$soname.def;
15768 cat $export_symbols >> $output_objdir/$soname.def;
15770 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15777 hardcode_direct_F77
=no
15778 hardcode_shlibpath_var_F77
=no
15779 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15780 export_dynamic_flag_spec_F77
='${wl}-E'
15781 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15782 # Instead, shared libraries are loaded at an image base (0x10000000 by
15783 # default) and relocated if they conflict, which is a slow very memory
15784 # consuming and fragmenting process. To avoid this, we pick a random,
15785 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15786 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15787 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'
15788 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'
15792 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15794 case $cc_basename,$host_cpu in
15795 pgcc
*) # Portland Group C compiler
15796 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'
15797 tmp_addflag
=' $pic_flag'
15799 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15800 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'
15801 tmp_addflag
=' $pic_flag -Mnomain' ;;
15802 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15803 tmp_addflag
=' -i_dynamic' ;;
15804 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15805 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15806 ifc
* | ifort
*) # Intel Fortran compiler
15807 tmp_addflag
=' -nofor_main' ;;
15809 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15811 if test $supports_anon_versioning = yes; then
15812 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15813 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15814 $echo "local: *; };" >> $output_objdir/$libname.ver~
15815 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15823 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15824 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15827 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15828 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15833 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15837 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15838 *** create shared libraries on Solaris systems. Therefore, libtool
15839 *** is disabling shared libraries support. We urge you to upgrade GNU
15840 *** binutils to release 2.9.1 or newer. Another option is to modify
15841 *** your PATH or compiler configuration so that the native linker is
15842 *** used, and then restart.
15845 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15846 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15847 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15853 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15854 case `$LD -v 2>&1` in
15855 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15859 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15860 *** reliably create shared libraries on SCO systems. Therefore, libtool
15861 *** is disabling shared libraries support. We urge you to upgrade GNU
15862 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15863 *** your PATH or compiler configuration so that the native linker is
15864 *** used, and then restart.
15869 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15870 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15871 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15872 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15881 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15883 hardcode_direct_F77
=yes
15884 hardcode_shlibpath_var_F77
=no
15888 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15889 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15890 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15897 if test "$ld_shlibs_F77" = no
; then
15899 hardcode_libdir_flag_spec_F77
=
15900 export_dynamic_flag_spec_F77
=
15901 whole_archive_flag_spec_F77
=
15904 # PORTME fill in a description of your system's linker (not GNU ld)
15907 allow_undefined_flag_F77
=unsupported
15908 always_export_symbols_F77
=yes
15909 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'
15910 # Note: this linker hardcodes the directories in LIBPATH if there
15911 # are no directories specified by -L.
15912 hardcode_minus_L_F77
=yes
15913 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15914 # Neither direct hardcoding nor static linking is supported with a
15916 hardcode_direct_F77
=unsupported
15921 if test "$host_cpu" = ia64
; then
15922 # On IA64, the linker does run time linking by default, so we don't
15923 # have to do anything special.
15924 aix_use_runtimelinking
=no
15925 exp_sym_flag
='-Bexport'
15928 # If we're using GNU nm, then we don't want the "-C" option.
15929 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15930 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15931 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'
15933 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'
15935 aix_use_runtimelinking
=no
15937 # Test if we are trying to use run time linking or normal
15938 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15939 # need to do runtime linking.
15940 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15941 for ld_flag
in $LDFLAGS; do
15942 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15943 aix_use_runtimelinking
=yes
15950 exp_sym_flag
='-bexport'
15951 no_entry_flag
='-bnoentry'
15954 # When large executables or shared objects are built, AIX ld can
15955 # have problems creating the table of contents. If linking a library
15956 # or program results in "error TOC overflow" add -mminimal-toc to
15957 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15958 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15960 archive_cmds_F77
=''
15961 hardcode_direct_F77
=yes
15962 hardcode_libdir_separator_F77
=':'
15963 link_all_deplibs_F77
=yes
15965 if test "$GCC" = yes; then
15966 case $host_os in aix4.
[012]|aix4.
[012].
*)
15967 # We only want to do this on AIX 4.2 and lower, the check
15968 # below for broken collect2 doesn't work under 4.3+
15969 collect2name
=`${CC} -print-prog-name=collect2`
15970 if test -f "$collect2name" && \
15971 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15973 # We have reworked collect2
15974 hardcode_direct_F77
=yes
15976 # We have old collect2
15977 hardcode_direct_F77
=unsupported
15978 # It fails to find uninstalled libraries when the uninstalled
15979 # path is not listed in the libpath. Setting hardcode_minus_L
15980 # to unsupported forces relinking
15981 hardcode_minus_L_F77
=yes
15982 hardcode_libdir_flag_spec_F77
='-L$libdir'
15983 hardcode_libdir_separator_F77
=
15987 shared_flag
='-shared'
15988 if test "$aix_use_runtimelinking" = yes; then
15989 shared_flag
="$shared_flag "'${wl}-G'
15993 if test "$host_cpu" = ia64
; then
15994 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15995 # chokes on -Wl,-G. The following line is correct:
15998 if test "$aix_use_runtimelinking" = yes; then
15999 shared_flag
='${wl}-G'
16001 shared_flag
='${wl}-bM:SRE'
16006 # It seems that -bexpall does not export symbols beginning with
16007 # underscore (_), so it is better to generate a list of symbols to export.
16008 always_export_symbols_F77
=yes
16009 if test "$aix_use_runtimelinking" = yes; then
16010 # Warning - without using the other runtime loading flags (-brtl),
16011 # -berok will link without error, but may produce a broken library.
16012 allow_undefined_flag_F77
='-berok'
16013 # Determine the default libpath from the value encoded in an empty executable.
16014 cat >conftest.
$ac_ext <<_ACEOF
16019 rm -f conftest.
$ac_objext conftest
$ac_exeext
16020 if { (ac_try
="$ac_link"
16021 case "(($ac_try" in
16022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_link") 2>conftest.er1
16028 grep -v '^ *+' conftest.er1 >conftest.err
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } &&
16033 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
16034 { (case "(($ac_try" in
16035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16036 *) ac_try_echo
=$ac_try;;
16038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16039 (eval "$ac_try") 2>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; } &&
16043 { ac_try
='test -s conftest$ac_exeext'
16044 { (case "(($ac_try" in
16045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16046 *) ac_try_echo=$ac_try;;
16048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16049 (eval "$ac_try") 2>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; }; then
16054 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16056 # Check for a 64-bit object if we didn't find anything.
16057 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; }
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.$ac_ext >&5
16066 rm -f core conftest.err conftest.$ac_objext \
16067 conftest$ac_exeext conftest.$ac_ext
16068 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16070 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16071 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"
16073 if test "$host_cpu" = ia64; then
16074 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16075 allow_undefined_flag_F77="-z nodefs"
16076 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"
16078 # Determine the default libpath from the value encoded in an empty executable.
16079 cat >conftest.$ac_ext <<_ACEOF
16084 rm -f conftest.$ac_objext conftest$ac_exeext
16085 if { (ac_try="$ac_link"
16086 case "(($ac_try" in
16087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16088 *) ac_try_echo
=$ac_try;;
16090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16091 (eval "$ac_link") 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
16099 { (case "(($ac_try" in
16100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16101 *) ac_try_echo=$ac_try;;
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_try") 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try='test -s conftest$ac_exeext'
16109 { (case "(($ac_try" in
16110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16111 *) ac_try_echo
=$ac_try;;
16113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16114 (eval "$ac_try") 2>&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); }; }; then
16119 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16121 # Check for a 64-bit object if we didn't find anything.
16122 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; }
16125 echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.
$ac_ext >&5
16131 rm -f core conftest.err conftest.
$ac_objext \
16132 conftest
$ac_exeext conftest.
$ac_ext
16133 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16135 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16136 # Warning - without using the other run time loading flags,
16137 # -berok will link without error, but may produce a broken library.
16138 no_undefined_flag_F77
=' ${wl}-bernotok'
16139 allow_undefined_flag_F77
=' ${wl}-berok'
16140 # Exported symbols can be pulled into shared objects from archives
16141 whole_archive_flag_spec_F77
='$convenience'
16142 archive_cmds_need_lc_F77
=yes
16143 # This is similar to how AIX traditionally builds its shared libraries.
16144 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'
16150 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)'
16151 hardcode_libdir_flag_spec_F77
='-L$libdir'
16152 hardcode_minus_L_F77
=yes
16153 # see comment about different semantics on the GNU ld section
16158 export_dynamic_flag_spec_F77
=-rdynamic
16161 cygwin
* | mingw
* | pw32
*)
16162 # When not using gcc, we currently assume that we are using
16163 # Microsoft Visual C++.
16164 # hardcode_libdir_flag_spec is actually meaningless, as there is
16165 # no search path for DLLs.
16166 hardcode_libdir_flag_spec_F77
=' '
16167 allow_undefined_flag_F77
=unsupported
16168 # Tell ltmain to make .lib files, not .a files.
16170 # Tell ltmain to make .dll files, not .so files.
16172 # FIXME: Setting linknames here is a bad hack.
16173 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16174 # The linker will automatically build a .lib file if we build a DLL.
16175 old_archive_From_new_cmds_F77
='true'
16176 # FIXME: Should let the user specify the lib program.
16177 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16178 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16179 enable_shared_with_static_runtimes_F77
=yes
16182 darwin
* | rhapsody
*)
16184 rhapsody
* | darwin1.
[012])
16185 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16188 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16189 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16191 case ${MACOSX_DEPLOYMENT_TARGET} in
16193 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16196 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16202 archive_cmds_need_lc_F77
=no
16203 hardcode_direct_F77
=no
16204 hardcode_automatic_F77
=yes
16205 hardcode_shlibpath_var_F77
=unsupported
16206 whole_archive_flag_spec_F77
=''
16207 link_all_deplibs_F77
=yes
16208 if test "$GCC" = yes ; then
16209 output_verbose_link_cmd
='echo'
16210 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16211 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16212 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16213 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}'
16214 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}'
16216 case $cc_basename in
16218 output_verbose_link_cmd
='echo'
16219 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16220 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16221 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16222 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}'
16223 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}'
16233 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16234 hardcode_libdir_flag_spec_F77
='-L$libdir'
16235 hardcode_shlibpath_var_F77
=no
16242 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16243 # support. Future versions do this automatically, but an explicit c++rt0.o
16244 # does not break anything, and helps significantly (at the cost of a little
16247 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16248 hardcode_libdir_flag_spec_F77
='-R$libdir'
16249 hardcode_direct_F77
=yes
16250 hardcode_shlibpath_var_F77
=no
16253 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16255 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16256 hardcode_direct_F77
=yes
16257 hardcode_minus_L_F77
=yes
16258 hardcode_shlibpath_var_F77
=no
16261 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16262 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16263 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16264 hardcode_libdir_flag_spec_F77
='-R$libdir'
16265 hardcode_direct_F77
=yes
16266 hardcode_shlibpath_var_F77
=no
16270 if test "$GCC" = yes; then
16271 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'
16273 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'
16275 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16276 hardcode_libdir_separator_F77
=:
16277 hardcode_direct_F77
=yes
16279 # hardcode_minus_L: Not really in the search PATH,
16280 # but as the default location of the library.
16281 hardcode_minus_L_F77
=yes
16282 export_dynamic_flag_spec_F77
='${wl}-E'
16286 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16287 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16289 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16291 if test "$with_gnu_ld" = no
; then
16292 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16293 hardcode_libdir_separator_F77
=:
16295 hardcode_direct_F77
=yes
16296 export_dynamic_flag_spec_F77
='${wl}-E'
16298 # hardcode_minus_L: Not really in the search PATH,
16299 # but as the default location of the library.
16300 hardcode_minus_L_F77
=yes
16305 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16308 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16311 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16314 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16320 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16323 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16326 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16330 if test "$with_gnu_ld" = no
; then
16331 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16332 hardcode_libdir_separator_F77
=:
16336 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16337 hardcode_direct_F77
=no
16338 hardcode_shlibpath_var_F77
=no
16341 hardcode_direct_F77
=yes
16342 export_dynamic_flag_spec_F77
='${wl}-E'
16344 # hardcode_minus_L: Not really in the search PATH,
16345 # but as the default location of the library.
16346 hardcode_minus_L_F77
=yes
16352 irix5
* | irix6
* | nonstopux
*)
16353 if test "$GCC" = yes; then
16354 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'
16356 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'
16357 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16359 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16360 hardcode_libdir_separator_F77
=:
16361 link_all_deplibs_F77
=yes
16365 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16366 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16368 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16370 hardcode_libdir_flag_spec_F77
='-R$libdir'
16371 hardcode_direct_F77
=yes
16372 hardcode_shlibpath_var_F77
=no
16376 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16377 hardcode_direct_F77
=yes
16378 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16379 hardcode_libdir_separator_F77
=:
16380 hardcode_shlibpath_var_F77
=no
16384 hardcode_direct_F77
=yes
16385 hardcode_shlibpath_var_F77
=no
16386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16387 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16388 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16389 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16390 export_dynamic_flag_spec_F77
='${wl}-E'
16393 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16394 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16395 hardcode_libdir_flag_spec_F77
='-R$libdir'
16398 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16399 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16406 hardcode_libdir_flag_spec_F77
='-L$libdir'
16407 hardcode_minus_L_F77
=yes
16408 allow_undefined_flag_F77
=unsupported
16409 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'
16410 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16414 if test "$GCC" = yes; then
16415 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16416 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'
16418 allow_undefined_flag_F77
=' -expect_unresolved \*'
16419 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'
16421 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16422 hardcode_libdir_separator_F77
=:
16425 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16426 if test "$GCC" = yes; then
16427 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16428 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'
16429 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16431 allow_undefined_flag_F77
=' -expect_unresolved \*'
16432 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'
16433 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~
16434 $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'
16436 # Both c and cxx compiler support -rpath directly
16437 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16439 hardcode_libdir_separator_F77
=:
16443 no_undefined_flag_F77
=' -z text'
16444 if test "$GCC" = yes; then
16446 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16447 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16448 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16451 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16452 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16453 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16455 hardcode_libdir_flag_spec_F77
='-R$libdir'
16456 hardcode_shlibpath_var_F77
=no
16458 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16460 # The compiler driver will combine linker options so we
16461 # cannot just pass the convience library names through
16462 # without $wl, iff we do not link with $LD.
16463 # Luckily, gcc supports the same syntax we need for Sun Studio.
16464 # Supported since Solaris 2.6 (maybe 2.5.1?)
16467 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
16469 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' ;;
16472 link_all_deplibs_F77
=yes
16476 if test "x$host_vendor" = xsequent
; then
16477 # Use $CC to link under sequent, because it throws in some extra .o
16478 # files that make .init and .fini sections work.
16479 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16481 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16483 hardcode_libdir_flag_spec_F77
='-L$libdir'
16484 hardcode_direct_F77
=yes
16485 hardcode_minus_L_F77
=yes
16486 hardcode_shlibpath_var_F77
=no
16490 case $host_vendor in
16492 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16493 hardcode_direct_F77
=yes # is this really true???
16496 ## LD is ld it makes a PLAMLIB
16497 ## CC just makes a GrossModule.
16498 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16499 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16500 hardcode_direct_F77
=no
16503 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16504 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16507 runpath_var
='LD_RUN_PATH'
16508 hardcode_shlibpath_var_F77
=no
16512 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16513 hardcode_shlibpath_var_F77
=no
16514 export_dynamic_flag_spec_F77
='-Bexport'
16518 if test -d /usr
/nec
; then
16519 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16520 hardcode_shlibpath_var_F77
=no
16521 runpath_var
=LD_RUN_PATH
16522 hardcode_runpath_var
=yes
16527 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16528 no_undefined_flag_F77
='${wl}-z,text'
16529 archive_cmds_need_lc_F77
=no
16530 hardcode_shlibpath_var_F77
=no
16531 runpath_var
='LD_RUN_PATH'
16533 if test "$GCC" = yes; then
16534 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16535 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16537 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16538 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16542 sysv5
* | sco3.2v5
* | sco5v6
*)
16543 # Note: We can NOT use -z defs as we might desire, because we do not
16544 # link with -lc, and that would cause any symbols used from libc to
16545 # always be unresolved, which means just about no library would
16546 # ever link correctly. If we're not using GNU ld we use -z text
16547 # though, which does catch some bad symbols but isn't as heavy-handed
16549 no_undefined_flag_F77
='${wl}-z,text'
16550 allow_undefined_flag_F77
='${wl}-z,nodefs'
16551 archive_cmds_need_lc_F77
=no
16552 hardcode_shlibpath_var_F77
=no
16553 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16554 hardcode_libdir_separator_F77
=':'
16555 link_all_deplibs_F77
=yes
16556 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16557 runpath_var
='LD_RUN_PATH'
16559 if test "$GCC" = yes; then
16560 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16561 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16563 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16564 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16569 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16570 hardcode_libdir_flag_spec_F77
='-L$libdir'
16571 hardcode_shlibpath_var_F77
=no
16580 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16581 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16582 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16585 # Do we need to explicitly link libc?
16587 case "x$archive_cmds_need_lc_F77" in
16589 # Assume -lc should be added
16590 archive_cmds_need_lc_F77
=yes
16592 if test "$enable_shared" = yes && test "$GCC" = yes; then
16593 case $archive_cmds_F77 in
16595 # FIXME: we may have to deal with multi-command sequences.
16598 # Test whether the compiler implicitly links with -lc since on some
16599 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16600 # to ld, don't add -lc before -lgcc.
16601 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16602 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16604 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); } 2>conftest.err
; then
16613 libobjs
=conftest.
$ac_objext
16615 wl
=$lt_prog_compiler_wl_F77
16616 pic_flag
=$lt_prog_compiler_pic_F77
16622 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16623 allow_undefined_flag_F77
=
16624 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16625 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }
16630 archive_cmds_need_lc_F77
=no
16632 archive_cmds_need_lc_F77
=yes
16634 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16636 cat conftest.err
1>&5
16639 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16640 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16647 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16648 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16649 library_names_spec
=
16650 libname_spec
='lib$name'
16654 postuninstall_cmds
=
16658 shlibpath_overrides_runpath
=unknown
16660 dynamic_linker
="$host_os ld.so"
16661 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16662 if test "$GCC" = yes; then
16663 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16664 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16665 # if the path contains ";" then we assume it to be the separator
16666 # otherwise default to the standard path separator (i.e. ":") - it is
16667 # assumed that no part of a normal pathname contains ";" but that should
16668 # okay in the real world where ";" in dirpaths is itself problematic.
16669 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16671 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16674 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16676 need_lib_prefix
=unknown
16677 hardcode_into_libs
=no
16679 # when you set need_version to no, make sure it does not cause -set_version
16680 # flags to be left without arguments
16681 need_version
=unknown
16686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16687 shlibpath_var
=LIBPATH
16689 # AIX 3 has no versioning support, so we append a major version to the name.
16690 soname_spec
='${libname}${release}${shared_ext}$major'
16697 hardcode_into_libs
=yes
16698 if test "$host_cpu" = ia64
; then
16699 # AIX 5 supports IA64
16700 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16701 shlibpath_var
=LD_LIBRARY_PATH
16703 # With GCC up to 2.95.x, collect2 would create an import file
16704 # for dependence libraries. The import file would start with
16705 # the line `#! .'. This would cause the generated library to
16706 # depend on `.', always an invalid library. This was fixed in
16707 # development snapshots of GCC prior to 3.0.
16709 aix4 | aix4.
[01] | aix4.
[01].
*)
16710 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16712 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16715 can_build_shared
=no
16719 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16720 # soname into executable. Probably we can add versioning support to
16721 # collect2, so additional links can be useful in future.
16722 if test "$aix_use_runtimelinking" = yes; then
16723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16724 # instead of lib<name>.a to let people know that these are not
16725 # typical AIX shared libraries.
16726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16728 # We preserve .a as extension for shared libraries through AIX4.2
16729 # and later when we are not doing run time linking.
16730 library_names_spec
='${libname}${release}.a $libname.a'
16731 soname_spec
='${libname}${release}${shared_ext}$major'
16733 shlibpath_var
=LIBPATH
16738 library_names_spec
='$libname.ixlibrary $libname.a'
16739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16740 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'
16744 library_names_spec
='${libname}${shared_ext}'
16745 dynamic_linker
="$host_os ld.so"
16746 shlibpath_var
=LIBRARY_PATH
16752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 soname_spec
='${libname}${release}${shared_ext}$major'
16754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16755 shlibpath_var
=LD_LIBRARY_PATH
16756 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16757 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16758 # the default ld.so.conf also contains /usr/contrib/lib and
16759 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16760 # libtool to hard-code these into programs
16763 cygwin
* | mingw
* | pw32
*)
16764 version_type
=windows
16769 case $GCC,$host_os in
16770 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16771 library_names_spec
='$libname.dll.a'
16772 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16773 postinstall_cmds
='base_file=`basename \${file}`~
16774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16775 dldir=$destdir/`dirname \$dlpath`~
16776 test -d \$dldir || mkdir -p \$dldir~
16777 $install_prog $dir/$dlname \$dldir/$dlname~
16778 chmod a+x \$dldir/$dlname'
16779 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16780 dlpath=$dir/\$dldll~
16782 shlibpath_overrides_runpath
=yes
16786 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16787 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16788 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16791 # MinGW DLLs use traditional 'lib' prefix
16792 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16793 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16794 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16795 # It is most probably a Windows format PATH printed by
16796 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16797 # path with ; separators, and with drive letters. We can handle the
16798 # drive letters (cygwin fileutils understands them), so leave them,
16799 # especially as we might pass files found there to a mingw objdump,
16800 # which wouldn't understand a cygwinified path. Ahh.
16801 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16803 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16807 # pw32 DLLs use 'pw' prefix rather than 'lib'
16808 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16814 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16817 dynamic_linker
='Win32 ld.exe'
16818 # FIXME: first we should search . and the directory the executable is in
16822 darwin
* | rhapsody
*)
16823 dynamic_linker
="$host_os dyld"
16824 version_type
=darwin
16827 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16828 soname_spec
='${libname}${release}${major}$shared_ext'
16829 shlibpath_overrides_runpath
=yes
16830 shlibpath_var
=DYLD_LIBRARY_PATH
16831 shrext_cmds
='.dylib'
16832 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16833 if test "$GCC" = yes; then
16834 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"`
16836 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16838 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16846 soname_spec
='${libname}${release}${shared_ext}$major'
16847 shlibpath_var
=LD_LIBRARY_PATH
16858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16859 soname_spec
='${libname}${release}${shared_ext}$major'
16860 shlibpath_var
=LD_LIBRARY_PATH
16861 shlibpath_overrides_runpath
=no
16862 hardcode_into_libs
=yes
16863 dynamic_linker
='GNU ld.so'
16866 freebsd
* | dragonfly
*)
16867 # DragonFly does not have aout. When/if they implement a new
16868 # versioning mechanism, adjust this.
16869 if test -x /usr
/bin
/objformat
; then
16870 objformat
=`/usr/bin/objformat`
16873 freebsd
[123]*) objformat
=aout
;;
16874 *) objformat
=elf
;;
16877 version_type
=freebsd-
$objformat
16878 case $version_type in
16880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16885 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16889 shlibpath_var
=LD_LIBRARY_PATH
16892 shlibpath_overrides_runpath
=yes
16894 freebsd3.
[01]* | freebsdelf3.
[01]*)
16895 shlibpath_overrides_runpath
=yes
16896 hardcode_into_libs
=yes
16898 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16899 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16900 shlibpath_overrides_runpath
=no
16901 hardcode_into_libs
=yes
16903 freebsd
*) # from 4.6 on
16904 shlibpath_overrides_runpath
=yes
16905 hardcode_into_libs
=yes
16914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16915 soname_spec
='${libname}${release}${shared_ext}$major'
16916 shlibpath_var
=LD_LIBRARY_PATH
16917 hardcode_into_libs
=yes
16920 hpux9
* | hpux10
* | hpux11
*)
16921 # Give a soname corresponding to the major version so that dld.sl refuses to
16922 # link against other versions.
16929 hardcode_into_libs
=yes
16930 dynamic_linker
="$host_os dld.so"
16931 shlibpath_var
=LD_LIBRARY_PATH
16932 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16934 soname_spec
='${libname}${release}${shared_ext}$major'
16935 if test "X$HPUX_IA64_MODE" = X32
; then
16936 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16938 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16940 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16944 hardcode_into_libs
=yes
16945 dynamic_linker
="$host_os dld.sl"
16946 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16947 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16949 soname_spec
='${libname}${release}${shared_ext}$major'
16950 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16951 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16955 dynamic_linker
="$host_os dld.sl"
16956 shlibpath_var
=SHLIB_PATH
16957 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16959 soname_spec
='${libname}${release}${shared_ext}$major'
16962 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16963 postinstall_cmds
='chmod 555 $lib'
16970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16971 soname_spec
='${libname}${release}${shared_ext}$major'
16972 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16973 shlibpath_var
=LD_LIBRARY_PATH
16974 shlibpath_overrides_runpath
=no
16975 hardcode_into_libs
=yes
16978 irix5
* | irix6
* | nonstopux
*)
16980 nonstopux
*) version_type
=nonstopux
;;
16982 if test "$lt_cv_prog_gnu_ld" = yes; then
16990 soname_spec
='${libname}${release}${shared_ext}$major'
16991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16993 irix5
* | nonstopux
*)
16994 libsuff
= shlibsuff
=
16997 case $LD in # libtool.m4 will add one of these switches to LD
16998 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16999 libsuff
= shlibsuff
= libmagic
=32-bit;;
17000 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17001 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17002 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17003 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17004 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17008 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17009 shlibpath_overrides_runpath
=no
17010 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17011 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17012 hardcode_into_libs
=yes
17015 # No shared lib support for Linux oldld, aout, or coff.
17016 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17020 # This must be Linux ELF.
17025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17026 soname_spec
='${libname}${release}${shared_ext}$major'
17027 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17028 shlibpath_var
=LD_LIBRARY_PATH
17029 shlibpath_overrides_runpath
=no
17030 # This implies no fast_install, which is unacceptable.
17031 # Some rework will be needed to allow for fast_install
17032 # before this can be enabled.
17033 hardcode_into_libs
=yes
17035 # Append ld.so.conf contents to the search path
17036 if test -f /etc
/ld.so.conf
; then
17037 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' ' '`
17038 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17041 # We used to test for /lib/ld.so.1 and disable shared libraries on
17042 # powerpc, because MkLinux only supported shared libraries with the
17043 # GNU dynamic linker. Since this was broken with cross compilers,
17044 # most powerpc-linux boxes support dynamic linking these days and
17045 # people can always --disable-shared, the test was removed, and we
17046 # assume the GNU/Linux dynamic linker is in use.
17047 dynamic_linker
='GNU/Linux ld.so'
17054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17055 soname_spec
='${libname}${release}${shared_ext}$major'
17056 shlibpath_var
=LD_LIBRARY_PATH
17057 shlibpath_overrides_runpath
=no
17058 hardcode_into_libs
=yes
17059 dynamic_linker
='GNU ld.so'
17066 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17069 dynamic_linker
='NetBSD (a.out) ld.so'
17071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17072 soname_spec
='${libname}${release}${shared_ext}$major'
17073 dynamic_linker
='NetBSD ld.elf_so'
17075 shlibpath_var
=LD_LIBRARY_PATH
17076 shlibpath_overrides_runpath
=yes
17077 hardcode_into_libs
=yes
17082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17083 shlibpath_var
=LD_LIBRARY_PATH
17084 shlibpath_overrides_runpath
=yes
17091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17092 soname_spec
='${libname}${release}${shared_ext}$major'
17093 shlibpath_var
=LD_LIBRARY_PATH
17094 shlibpath_overrides_runpath
=yes
17099 sys_lib_dlsearch_path_spec
="/usr/lib"
17101 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17103 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17104 *) need_version
=no
;;
17106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17108 shlibpath_var
=LD_LIBRARY_PATH
17109 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17111 openbsd2.
[89] | openbsd2.
[89].
*)
17112 shlibpath_overrides_runpath
=no
17115 shlibpath_overrides_runpath
=yes
17119 shlibpath_overrides_runpath
=yes
17124 libname_spec
='$name'
17127 library_names_spec
='$libname${shared_ext} $libname.a'
17128 dynamic_linker
='OS/2 ld.exe'
17129 shlibpath_var
=LIBPATH
17132 osf3
* | osf4
* | osf5
*)
17136 soname_spec
='${libname}${release}${shared_ext}$major'
17137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17138 shlibpath_var
=LD_LIBRARY_PATH
17139 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17140 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17148 soname_spec
='${libname}${release}${shared_ext}$major'
17149 shlibpath_var
=LD_LIBRARY_PATH
17150 shlibpath_overrides_runpath
=yes
17151 hardcode_into_libs
=yes
17152 # ldd complains unless libraries are executable
17153 postinstall_cmds
='chmod +x $lib'
17158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17159 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17160 shlibpath_var
=LD_LIBRARY_PATH
17161 shlibpath_overrides_runpath
=yes
17162 if test "$with_gnu_ld" = yes; then
17170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17171 soname_spec
='${libname}${release}${shared_ext}$major'
17172 shlibpath_var
=LD_LIBRARY_PATH
17173 case $host_vendor in
17175 shlibpath_overrides_runpath
=no
17177 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17178 runpath_var
=LD_RUN_PATH
17186 shlibpath_overrides_runpath
=no
17187 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17193 if test -d /usr
/nec
;then
17195 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17196 soname_spec
='$libname${shared_ext}.$major'
17197 shlibpath_var
=LD_LIBRARY_PATH
17201 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17202 version_type
=freebsd-elf
17205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17206 soname_spec
='${libname}${release}${shared_ext}$major'
17207 shlibpath_var
=LD_LIBRARY_PATH
17208 hardcode_into_libs
=yes
17209 if test "$with_gnu_ld" = yes; then
17210 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17211 shlibpath_overrides_runpath
=no
17213 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17214 shlibpath_overrides_runpath
=yes
17217 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17221 sys_lib_dlsearch_path_spec
='/usr/lib'
17226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17227 soname_spec
='${libname}${release}${shared_ext}$major'
17228 shlibpath_var
=LD_LIBRARY_PATH
17235 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17236 echo "${ECHO_T}$dynamic_linker" >&6; }
17237 test "$dynamic_linker" = no
&& can_build_shared
=no
17239 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17240 if test "$GCC" = yes; then
17241 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17244 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17245 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17246 hardcode_action_F77
=
17247 if test -n "$hardcode_libdir_flag_spec_F77" || \
17248 test -n "$runpath_var_F77" || \
17249 test "X$hardcode_automatic_F77" = "Xyes" ; then
17251 # We can hardcode non-existant directories.
17252 if test "$hardcode_direct_F77" != no
&&
17253 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17254 # have to relink, otherwise we might link with an installed library
17255 # when we should be linking with a yet-to-be-installed one
17256 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17257 test "$hardcode_minus_L_F77" != no
; then
17258 # Linking always hardcodes the temporary library directory.
17259 hardcode_action_F77
=relink
17261 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17262 hardcode_action_F77
=immediate
17265 # We cannot hardcode anything, or else we can only hardcode existing
17267 hardcode_action_F77
=unsupported
17269 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17270 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17272 if test "$hardcode_action_F77" = relink
; then
17273 # Fast installation is not supported
17274 enable_fast_install
=no
17275 elif test "$shlibpath_overrides_runpath" = yes ||
17276 test "$enable_shared" = no
; then
17277 # Fast installation is not necessary
17278 enable_fast_install
=needless
17282 # The else clause should only fire when bootstrapping the
17283 # libtool distribution, otherwise you forgot to ship ltmain.sh
17284 # with your package, and you will get complaints that there are
17285 # no rules to generate ltmain.sh.
17286 if test -f "$ltmain"; then
17287 # See if we are running on zsh, and set the options which allow our commands through
17288 # without removal of \ escapes.
17289 if test -n "${ZSH_VERSION+set}" ; then
17290 setopt NO_GLOB_SUBST
17292 # Now quote all the things that may contain metacharacters while being
17293 # careful not to overquote the AC_SUBSTed values. We take copies of the
17294 # variables and quote the copies for generation of the libtool script.
17295 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17297 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17298 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17299 deplibs_check_method reload_flag reload_cmds need_locks \
17300 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17301 lt_cv_sys_global_symbol_to_c_name_address \
17302 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17303 old_postinstall_cmds old_postuninstall_cmds \
17307 lt_prog_compiler_wl_F77 \
17308 lt_prog_compiler_pic_F77 \
17309 lt_prog_compiler_static_F77 \
17310 lt_prog_compiler_no_builtin_flag_F77 \
17311 export_dynamic_flag_spec_F77 \
17312 thread_safe_flag_spec_F77 \
17313 whole_archive_flag_spec_F77 \
17314 enable_shared_with_static_runtimes_F77 \
17315 old_archive_cmds_F77 \
17316 old_archive_from_new_cmds_F77 \
17317 predep_objects_F77 \
17318 postdep_objects_F77 \
17321 compiler_lib_search_path_F77 \
17323 archive_expsym_cmds_F77 \
17324 postinstall_cmds_F77 \
17325 postuninstall_cmds_F77 \
17326 old_archive_from_expsyms_cmds_F77 \
17327 allow_undefined_flag_F77 \
17328 no_undefined_flag_F77 \
17329 export_symbols_cmds_F77 \
17330 hardcode_libdir_flag_spec_F77 \
17331 hardcode_libdir_flag_spec_ld_F77 \
17332 hardcode_libdir_separator_F77 \
17333 hardcode_automatic_F77 \
17335 module_expsym_cmds_F77 \
17336 lt_cv_prog_compiler_c_o_F77 \
17337 exclude_expsyms_F77 \
17338 include_expsyms_F77
; do
17341 old_archive_cmds_F77 | \
17342 old_archive_from_new_cmds_F77 | \
17343 archive_cmds_F77 | \
17344 archive_expsym_cmds_F77 | \
17345 module_cmds_F77 | \
17346 module_expsym_cmds_F77 | \
17347 old_archive_from_expsyms_cmds_F77 | \
17348 export_symbols_cmds_F77 | \
17349 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17350 postinstall_cmds | postuninstall_cmds | \
17351 old_postinstall_cmds | old_postuninstall_cmds | \
17352 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17353 # Double-quote double-evaled strings.
17354 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17357 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17363 *'\$0 --fallback-echo"')
17364 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17370 cat <<__EOF__ >> "$cfgfile"
17371 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17373 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17375 # Shell to use when invoking shell scripts.
17378 # Whether or not to build shared libraries.
17379 build_libtool_libs=$enable_shared
17381 # Whether or not to build static libraries.
17382 build_old_libs=$enable_static
17384 # Whether or not to add -lc for building shared libraries.
17385 build_libtool_need_lc=$archive_cmds_need_lc_F77
17387 # Whether or not to disallow shared libs when runtime libs are static
17388 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17390 # Whether or not to optimize for fast installation.
17391 fast_install=$enable_fast_install
17394 host_alias=$host_alias
17398 # The build system.
17399 build_alias=$build_alias
17403 # An echo program that does not interpret backslashes.
17408 AR_FLAGS=$lt_AR_FLAGS
17413 # LTCC compiler flags.
17414 LTCFLAGS=$lt_LTCFLAGS
17416 # A language-specific compiler.
17417 CC=$lt_compiler_F77
17419 # Is the compiler the GNU C compiler?
17425 # The linker used to build libraries.
17428 # Whether we need hard or soft links.
17431 # A BSD-compatible nm program.
17434 # A symbol stripping program
17437 # Used to examine libraries when file_magic_cmd begins "file"
17438 MAGIC_CMD=$MAGIC_CMD
17440 # Used on cygwin: DLL creation program.
17443 # Used on cygwin: object dumper.
17446 # Used on cygwin: assembler.
17449 # The name of the directory that contains temporary libtool files.
17452 # How to create reloadable object files.
17453 reload_flag=$lt_reload_flag
17454 reload_cmds=$lt_reload_cmds
17456 # How to pass a linker flag through the compiler.
17457 wl=$lt_lt_prog_compiler_wl_F77
17459 # Object file suffix (normally "o").
17460 objext="$ac_objext"
17462 # Old archive suffix (normally "a").
17465 # Shared library suffix (normally ".so").
17466 shrext_cmds='$shrext_cmds'
17468 # Executable file suffix (normally "").
17471 # Additional compiler flags for building library objects.
17472 pic_flag=$lt_lt_prog_compiler_pic_F77
17475 # What is the maximum length of a command?
17476 max_cmd_len=$lt_cv_sys_max_cmd_len
17478 # Does compiler simultaneously support -c and -o options?
17479 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17481 # Must we lock files when doing compilation?
17482 need_locks=$lt_need_locks
17484 # Do we need the lib prefix for modules?
17485 need_lib_prefix=$need_lib_prefix
17487 # Do we need a version for libraries?
17488 need_version=$need_version
17490 # Whether dlopen is supported.
17491 dlopen_support=$enable_dlopen
17493 # Whether dlopen of programs is supported.
17494 dlopen_self=$enable_dlopen_self
17496 # Whether dlopen of statically linked programs is supported.
17497 dlopen_self_static=$enable_dlopen_self_static
17499 # Compiler flag to prevent dynamic linking.
17500 link_static_flag=$lt_lt_prog_compiler_static_F77
17502 # Compiler flag to turn off builtin functions.
17503 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17505 # Compiler flag to allow reflexive dlopens.
17506 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17508 # Compiler flag to generate shared objects directly from archives.
17509 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17511 # Compiler flag to generate thread-safe objects.
17512 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17514 # Library versioning type.
17515 version_type=$version_type
17517 # Format of library name prefix.
17518 libname_spec=$lt_libname_spec
17520 # List of archive names. First name is the real one, the rest are links.
17521 # The last name is the one that the linker finds with -lNAME.
17522 library_names_spec=$lt_library_names_spec
17524 # The coded name of the library, if different from the real name.
17525 soname_spec=$lt_soname_spec
17527 # Commands used to build and install an old-style archive.
17529 old_archive_cmds=$lt_old_archive_cmds_F77
17530 old_postinstall_cmds=$lt_old_postinstall_cmds
17531 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17533 # Create an old-style archive from a shared archive.
17534 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17536 # Create a temporary old-style archive to link instead of a shared archive.
17537 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17539 # Commands used to build and install a shared archive.
17540 archive_cmds=$lt_archive_cmds_F77
17541 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17542 postinstall_cmds=$lt_postinstall_cmds
17543 postuninstall_cmds=$lt_postuninstall_cmds
17545 # Commands used to build a loadable module (assumed same as above if empty)
17546 module_cmds=$lt_module_cmds_F77
17547 module_expsym_cmds=$lt_module_expsym_cmds_F77
17549 # Commands to strip libraries.
17550 old_striplib=$lt_old_striplib
17551 striplib=$lt_striplib
17553 # Dependencies to place before the objects being linked to create a
17555 predep_objects=$lt_predep_objects_F77
17557 # Dependencies to place after the objects being linked to create a
17559 postdep_objects=$lt_postdep_objects_F77
17561 # Dependencies to place before the objects being linked to create a
17563 predeps=$lt_predeps_F77
17565 # Dependencies to place after the objects being linked to create a
17567 postdeps=$lt_postdeps_F77
17569 # The library search path used internally by the compiler when linking
17570 # a shared library.
17571 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17573 # Method to check whether dependent libraries are shared objects.
17574 deplibs_check_method=$lt_deplibs_check_method
17576 # Command to use when deplibs_check_method == file_magic.
17577 file_magic_cmd=$lt_file_magic_cmd
17579 # Flag that allows shared libraries with undefined symbols to be built.
17580 allow_undefined_flag=$lt_allow_undefined_flag_F77
17582 # Flag that forces no undefined symbols.
17583 no_undefined_flag=$lt_no_undefined_flag_F77
17585 # Commands used to finish a libtool library installation in a directory.
17586 finish_cmds=$lt_finish_cmds
17588 # Same as above, but a single script fragment to be evaled but not shown.
17589 finish_eval=$lt_finish_eval
17591 # Take the output of nm and produce a listing of raw symbols and C names.
17592 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17594 # Transform the output of nm in a proper C declaration
17595 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17597 # Transform the output of nm in a C name address pair
17598 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17600 # This is the shared library runtime path variable.
17601 runpath_var=$runpath_var
17603 # This is the shared library path variable.
17604 shlibpath_var=$shlibpath_var
17606 # Is shlibpath searched before the hard-coded library search path?
17607 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17609 # How to hardcode a shared library path into an executable.
17610 hardcode_action=$hardcode_action_F77
17612 # Whether we should hardcode library paths into libraries.
17613 hardcode_into_libs=$hardcode_into_libs
17615 # Flag to hardcode \$libdir into a binary during linking.
17616 # This must work even if \$libdir does not exist.
17617 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17619 # If ld is used when linking, flag to hardcode \$libdir into
17620 # a binary during linking. This must work even if \$libdir does
17622 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17624 # Whether we need a single -rpath flag with a separated argument.
17625 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17627 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17628 # resulting binary.
17629 hardcode_direct=$hardcode_direct_F77
17631 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17632 # resulting binary.
17633 hardcode_minus_L=$hardcode_minus_L_F77
17635 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17636 # the resulting binary.
17637 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17639 # Set to yes if building a shared library automatically hardcodes DIR into the library
17640 # and all subsequent libraries and executables linked against it.
17641 hardcode_automatic=$hardcode_automatic_F77
17643 # Variables whose values should be saved in libtool wrapper scripts and
17644 # restored at relink time.
17645 variables_saved_for_relink="$variables_saved_for_relink"
17647 # Whether libtool must link a program against all its dependency libraries.
17648 link_all_deplibs=$link_all_deplibs_F77
17650 # Compile-time system search path for libraries
17651 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17653 # Run-time system search path for libraries
17654 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17656 # Fix the shell variable \$srcfile for the compiler.
17657 fix_srcfile_path="$fix_srcfile_path_F77"
17659 # Set to yes if exported symbols are required.
17660 always_export_symbols=$always_export_symbols_F77
17662 # The commands to list exported symbols.
17663 export_symbols_cmds=$lt_export_symbols_cmds_F77
17665 # The commands to extract the exported symbol list from a shared archive.
17666 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17668 # Symbols that should not be listed in the preloaded symbols.
17669 exclude_expsyms=$lt_exclude_expsyms_F77
17671 # Symbols that must always be exported.
17672 include_expsyms=$lt_include_expsyms_F77
17674 # ### END LIBTOOL TAG CONFIG: $tagname
17680 # If there is no Makefile yet, we rely on a make rule to execute
17681 # `config.status --recheck' to rerun these tests and create the
17682 # libtool script then.
17683 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17684 if test -f "$ltmain_in"; then
17685 test -f Makefile
&& make "$ltmain"
17691 ac_cpp
='$CPP $CPPFLAGS'
17692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17704 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17706 ac_cpp
='$CPP $CPPFLAGS'
17707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17712 # Source file extension for Java test sources.
17715 # Object file extension for compiled Java test sources.
17719 # Code to be used in simple compile tests
17720 lt_simple_compile_test_code
="class foo {}\n"
17722 # Code to be used in simple link tests
17723 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
17725 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17727 # If no C compiler was specified, use CC.
17730 # If no C compiler flags were specified, use CFLAGS.
17731 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17733 # Allow CC to be a program name with arguments.
17737 # save warnings/boilerplate of simple test code
17738 ac_outfile
=conftest.
$ac_objext
17739 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
17740 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17741 _lt_compiler_boilerplate
=`cat conftest.err`
17744 ac_outfile
=conftest.
$ac_objext
17745 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
17746 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17747 _lt_linker_boilerplate
=`cat conftest.err`
17751 # Allow CC to be a program name with arguments.
17756 for cc_temp
in $compiler""; do
17758 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17759 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17764 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17767 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17768 archive_cmds_need_lc_GCJ
=no
17770 old_archive_cmds_GCJ
=$old_archive_cmds
17773 lt_prog_compiler_no_builtin_flag_GCJ
=
17775 if test "$GCC" = yes; then
17776 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17779 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17780 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17781 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 lt_cv_prog_compiler_rtti_exceptions
=no
17785 ac_outfile
=conftest.
$ac_objext
17786 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17787 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17788 # Insert the option either (1) after the last *FLAGS variable, or
17789 # (2) before a word containing "conftest.", or (3) at the end.
17790 # Note that $ac_compile itself does not contain backslashes and begins
17791 # with a dollar sign (not a hyphen), so the echo should work correctly.
17792 # The option is referenced via a variable to avoid confusing sed.
17793 lt_compile
=`echo "$ac_compile" | $SED \
17794 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17795 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17796 -e 's:$: $lt_compiler_flag:'`
17797 (eval echo "\"\$as_me:17797: $lt_compile\"" >&5)
17798 (eval "$lt_compile" 2>conftest.err
)
17800 cat conftest.err
>&5
17801 echo "$as_me:17801: \$? = $ac_status" >&5
17802 if (exit $ac_status) && test -s "$ac_outfile"; then
17803 # The compiler can only warn and ignore the option if not recognized
17804 # So say no if there are warnings other than the usual output.
17805 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17806 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17807 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17808 lt_cv_prog_compiler_rtti_exceptions
=yes
17814 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17815 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17817 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17818 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17825 lt_prog_compiler_wl_GCJ
=
17826 lt_prog_compiler_pic_GCJ
=
17827 lt_prog_compiler_static_GCJ
=
17829 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17830 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17832 if test "$GCC" = yes; then
17833 lt_prog_compiler_wl_GCJ
='-Wl,'
17834 lt_prog_compiler_static_GCJ
='-static'
17838 # All AIX code is PIC.
17839 if test "$host_cpu" = ia64
; then
17840 # AIX 5 now supports IA64 processor
17841 lt_prog_compiler_static_GCJ
='-Bstatic'
17846 # FIXME: we need at least 68020 code to build shared libraries, but
17847 # adding the `-m68020' flag to GCC prevents building anything better,
17849 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17852 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17853 # PIC is the default for these OSes.
17856 mingw
* | pw32
* | os2
*)
17857 # This hack is so that the source file can tell whether it is being
17858 # built for inclusion in a dll (and should export symbols for example).
17859 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17862 darwin
* | rhapsody
*)
17863 # PIC is the default on this platform
17864 # Common symbols not allowed in MH_DYLIB files
17865 lt_prog_compiler_pic_GCJ
='-fno-common'
17869 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17870 # Instead, we relocate shared libraries at runtime.
17874 # Just because we use GCC doesn't mean we suddenly get shared libraries
17875 # on systems that don't support them.
17876 lt_prog_compiler_can_build_shared_GCJ
=no
17881 if test -d /usr
/nec
; then
17882 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17887 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17888 # not for PA HP-UX.
17894 lt_prog_compiler_pic_GCJ
='-fPIC'
17900 lt_prog_compiler_pic_GCJ
='-fPIC'
17904 # PORTME Check for flag to pass linker flags through the system compiler.
17907 lt_prog_compiler_wl_GCJ
='-Wl,'
17908 if test "$host_cpu" = ia64
; then
17909 # AIX 5 now supports IA64 processor
17910 lt_prog_compiler_static_GCJ
='-Bstatic'
17912 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17916 # PIC is the default on this platform
17917 # Common symbols not allowed in MH_DYLIB files
17918 case $cc_basename in
17920 lt_prog_compiler_pic_GCJ
='-qnocommon'
17921 lt_prog_compiler_wl_GCJ
='-Wl,'
17926 mingw
* | pw32
* | os2
*)
17927 # This hack is so that the source file can tell whether it is being
17928 # built for inclusion in a dll (and should export symbols for example).
17929 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17932 hpux9
* | hpux10
* | hpux11
*)
17933 lt_prog_compiler_wl_GCJ
='-Wl,'
17934 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17935 # not for PA HP-UX.
17941 lt_prog_compiler_pic_GCJ
='+Z'
17944 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17945 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17948 irix5
* | irix6
* | nonstopux
*)
17949 lt_prog_compiler_wl_GCJ
='-Wl,'
17950 # PIC (with -KPIC) is the default.
17951 lt_prog_compiler_static_GCJ
='-non_shared'
17955 lt_prog_compiler_pic_GCJ
='-KPIC'
17956 lt_prog_compiler_static_GCJ
='-Bstatic'
17960 case $cc_basename in
17962 lt_prog_compiler_wl_GCJ
='-Wl,'
17963 lt_prog_compiler_pic_GCJ
='-KPIC'
17964 lt_prog_compiler_static_GCJ
='-static'
17966 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17967 # Portland Group compilers (*not* the Pentium gcc compiler,
17968 # which looks to be a dead project)
17969 lt_prog_compiler_wl_GCJ
='-Wl,'
17970 lt_prog_compiler_pic_GCJ
='-fpic'
17971 lt_prog_compiler_static_GCJ
='-Bstatic'
17974 lt_prog_compiler_wl_GCJ
='-Wl,'
17975 # All Alpha code is PIC.
17976 lt_prog_compiler_static_GCJ
='-non_shared'
17981 osf3
* | osf4
* | osf5
*)
17982 lt_prog_compiler_wl_GCJ
='-Wl,'
17983 # All OSF/1 code is PIC.
17984 lt_prog_compiler_static_GCJ
='-non_shared'
17988 lt_prog_compiler_pic_GCJ
='-KPIC'
17989 lt_prog_compiler_static_GCJ
='-Bstatic'
17990 case $cc_basename in
17991 f77
* | f90
* | f95
*)
17992 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17994 lt_prog_compiler_wl_GCJ
='-Wl,';;
17999 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18000 lt_prog_compiler_pic_GCJ
='-PIC'
18001 lt_prog_compiler_static_GCJ
='-Bstatic'
18004 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18005 lt_prog_compiler_wl_GCJ
='-Wl,'
18006 lt_prog_compiler_pic_GCJ
='-KPIC'
18007 lt_prog_compiler_static_GCJ
='-Bstatic'
18011 if test -d /usr
/nec
;then
18012 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18013 lt_prog_compiler_static_GCJ
='-Bstatic'
18017 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18018 lt_prog_compiler_wl_GCJ
='-Wl,'
18019 lt_prog_compiler_pic_GCJ
='-KPIC'
18020 lt_prog_compiler_static_GCJ
='-Bstatic'
18024 lt_prog_compiler_wl_GCJ
='-Wl,'
18025 lt_prog_compiler_can_build_shared_GCJ
=no
18029 lt_prog_compiler_pic_GCJ
='-pic'
18030 lt_prog_compiler_static_GCJ
='-Bstatic'
18034 lt_prog_compiler_can_build_shared_GCJ
=no
18039 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18040 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18043 # Check to make sure the PIC flag actually works.
18045 if test -n "$lt_prog_compiler_pic_GCJ"; then
18047 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18048 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18049 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 lt_prog_compiler_pic_works_GCJ
=no
18053 ac_outfile
=conftest.
$ac_objext
18054 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18055 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18056 # Insert the option either (1) after the last *FLAGS variable, or
18057 # (2) before a word containing "conftest.", or (3) at the end.
18058 # Note that $ac_compile itself does not contain backslashes and begins
18059 # with a dollar sign (not a hyphen), so the echo should work correctly.
18060 # The option is referenced via a variable to avoid confusing sed.
18061 lt_compile
=`echo "$ac_compile" | $SED \
18062 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18064 -e 's:$: $lt_compiler_flag:'`
18065 (eval echo "\"\$as_me:18065: $lt_compile\"" >&5)
18066 (eval "$lt_compile" 2>conftest.err
)
18068 cat conftest.err
>&5
18069 echo "$as_me:18069: \$? = $ac_status" >&5
18070 if (exit $ac_status) && test -s "$ac_outfile"; then
18071 # The compiler can only warn and ignore the option if not recognized
18072 # So say no if there are warnings other than the usual output.
18073 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18074 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18075 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18076 lt_prog_compiler_pic_works_GCJ
=yes
18082 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18083 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18085 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
18086 case $lt_prog_compiler_pic_GCJ in
18088 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18091 lt_prog_compiler_pic_GCJ
=
18092 lt_prog_compiler_can_build_shared_GCJ
=no
18097 # For platforms which do not support PIC, -DPIC is meaningless:
18099 lt_prog_compiler_pic_GCJ
=
18102 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18107 # Check to make sure the static flag actually works.
18109 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18110 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18111 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18112 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 lt_prog_compiler_static_works_GCJ
=no
18116 save_LDFLAGS
="$LDFLAGS"
18117 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18118 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
18119 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18120 # The linker can only warn and ignore the option if not recognized
18121 # So say no if there are warnings
18122 if test -s conftest.err
; then
18123 # Append any errors to the config.log.
18124 cat conftest.err
1>&5
18125 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18126 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18127 if diff conftest.exp conftest.er2
>/dev
/null
; then
18128 lt_prog_compiler_static_works_GCJ
=yes
18131 lt_prog_compiler_static_works_GCJ
=yes
18135 LDFLAGS
="$save_LDFLAGS"
18138 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18139 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18141 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
18144 lt_prog_compiler_static_GCJ
=
18148 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18149 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18150 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18151 echo $ECHO_N "(cached) $ECHO_C" >&6
18153 lt_cv_prog_compiler_c_o_GCJ
=no
18154 $rm -r conftest
2>/dev
/null
18158 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18160 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18161 # Insert the option either (1) after the last *FLAGS variable, or
18162 # (2) before a word containing "conftest.", or (3) at the end.
18163 # Note that $ac_compile itself does not contain backslashes and begins
18164 # with a dollar sign (not a hyphen), so the echo should work correctly.
18165 lt_compile
=`echo "$ac_compile" | $SED \
18166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18168 -e 's:$: $lt_compiler_flag:'`
18169 (eval echo "\"\$as_me:18169: $lt_compile\"" >&5)
18170 (eval "$lt_compile" 2>out
/conftest.err
)
18172 cat out
/conftest.err
>&5
18173 echo "$as_me:18173: \$? = $ac_status" >&5
18174 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18176 # The compiler can only warn and ignore the option if not recognized
18177 # So say no if there are warnings
18178 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18179 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18180 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18181 lt_cv_prog_compiler_c_o_GCJ
=yes
18186 # SGI C++ compiler will create directory out/ii_files/ for
18187 # template instantiation
18188 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18189 $rm out
/* && rmdir out
18195 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18196 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18199 hard_links
="nottested"
18200 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18201 # do not overwrite the value of need_locks provided by the user
18202 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18203 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18206 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18208 ln conftest.a conftest.b
2>&5 || hard_links
=no
18209 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18210 { echo "$as_me:$LINENO: result: $hard_links" >&5
18211 echo "${ECHO_T}$hard_links" >&6; }
18212 if test "$hard_links" = no
; then
18213 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18214 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18221 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18222 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18225 allow_undefined_flag_GCJ
=
18226 enable_shared_with_static_runtimes_GCJ
=no
18228 archive_expsym_cmds_GCJ
=
18229 old_archive_From_new_cmds_GCJ
=
18230 old_archive_from_expsyms_cmds_GCJ
=
18231 export_dynamic_flag_spec_GCJ
=
18232 whole_archive_flag_spec_GCJ
=
18233 thread_safe_flag_spec_GCJ
=
18234 hardcode_libdir_flag_spec_GCJ
=
18235 hardcode_libdir_flag_spec_ld_GCJ
=
18236 hardcode_libdir_separator_GCJ
=
18237 hardcode_direct_GCJ
=no
18238 hardcode_minus_L_GCJ
=no
18239 hardcode_shlibpath_var_GCJ
=unsupported
18240 link_all_deplibs_GCJ
=unknown
18241 hardcode_automatic_GCJ
=no
18243 module_expsym_cmds_GCJ
=
18244 always_export_symbols_GCJ
=no
18245 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18246 # include_expsyms should be a list of space-separated symbols to be *always*
18247 # included in the symbol list
18248 include_expsyms_GCJ
=
18249 # exclude_expsyms can be an extended regexp of symbols to exclude
18250 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18251 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18252 # as well as any symbol that contains `d'.
18253 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
18254 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18255 # platforms (ab)use it in PIC code, but their linkers get confused if
18256 # the symbol is explicitly referenced. Since portable code cannot
18257 # rely on this symbol name, it's probably fine to never include it in
18258 # preloaded symbol tables.
18259 extract_expsyms_cmds
=
18260 # Just being paranoid about ensuring that cc_basename is set.
18261 for cc_temp
in $compiler""; do
18263 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18264 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18269 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18272 cygwin
* | mingw
* | pw32
*)
18273 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18274 # When not using gcc, we currently assume that we are using
18275 # Microsoft Visual C++.
18276 if test "$GCC" != yes; then
18281 # we just hope/assume this is gcc and not c89 (= MSVC++)
18290 if test "$with_gnu_ld" = yes; then
18291 # If archive_cmds runs LD, not CC, wlarc should be empty
18294 # Set some defaults for GNU ld with shared library support. These
18295 # are reset later if shared libraries are not supported. Putting them
18296 # here allows them to be overridden if necessary.
18297 runpath_var
=LD_RUN_PATH
18298 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18299 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18300 # ancient GNU ld didn't support --whole-archive et. al.
18301 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
18302 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18304 whole_archive_flag_spec_GCJ
=
18306 supports_anon_versioning
=no
18307 case `$LD -v 2>/dev/null` in
18308 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
18309 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18310 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18311 *\
2.11.
*) ;; # other 2.11 versions
18312 *) supports_anon_versioning
=yes ;;
18315 # See if GNU ld supports shared libraries.
18317 aix3
* | aix4
* | aix5
*)
18318 # On AIX/PPC, the GNU linker is very broken
18319 if test "$host_cpu" != ia64
; then
18323 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18324 *** to be unable to reliably create shared libraries on AIX.
18325 *** Therefore, libtool is disabling shared libraries support. If you
18326 *** really care for shared libraries, you may want to modify your PATH
18327 *** so that a non-GNU linker is found, and then restart.
18334 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)'
18335 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18336 hardcode_minus_L_GCJ
=yes
18338 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18339 # that the semantics of dynamic libraries on AmigaOS, at least up
18340 # to version 4, is to share data among multiple programs linked
18341 # with the same dynamic library. Since this doesn't match the
18342 # behavior of shared libraries on other platforms, we can't use
18348 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18349 allow_undefined_flag_GCJ
=unsupported
18350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18351 # support --undefined. This deserves some investigation. FIXME
18352 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18358 cygwin
* | mingw
* | pw32
*)
18359 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18360 # as there is no search path for DLLs.
18361 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18362 allow_undefined_flag_GCJ
=unsupported
18363 always_export_symbols_GCJ
=no
18364 enable_shared_with_static_runtimes_GCJ
=yes
18365 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18367 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
18368 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18369 # If the export-symbols file already is a .def file (1st line
18370 # is EXPORTS), use it as is; otherwise, prepend...
18371 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18372 cp $export_symbols $output_objdir/$soname.def;
18374 echo EXPORTS > $output_objdir/$soname.def;
18375 cat $export_symbols >> $output_objdir/$soname.def;
18377 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18384 hardcode_direct_GCJ
=no
18385 hardcode_shlibpath_var_GCJ
=no
18386 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18387 export_dynamic_flag_spec_GCJ
='${wl}-E'
18388 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18389 # Instead, shared libraries are loaded at an image base (0x10000000 by
18390 # default) and relocated if they conflict, which is a slow very memory
18391 # consuming and fragmenting process. To avoid this, we pick a random,
18392 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18393 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18394 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'
18395 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'
18399 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18401 case $cc_basename,$host_cpu in
18402 pgcc
*) # Portland Group C compiler
18403 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'
18404 tmp_addflag
=' $pic_flag'
18406 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18407 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'
18408 tmp_addflag
=' $pic_flag -Mnomain' ;;
18409 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18410 tmp_addflag
=' -i_dynamic' ;;
18411 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18412 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18413 ifc
* | ifort
*) # Intel Fortran compiler
18414 tmp_addflag
=' -nofor_main' ;;
18416 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18418 if test $supports_anon_versioning = yes; then
18419 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18420 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18421 $echo "local: *; };" >> $output_objdir/$libname.ver~
18422 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18430 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18431 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18434 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18435 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18440 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18444 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18445 *** create shared libraries on Solaris systems. Therefore, libtool
18446 *** is disabling shared libraries support. We urge you to upgrade GNU
18447 *** binutils to release 2.9.1 or newer. Another option is to modify
18448 *** your PATH or compiler configuration so that the native linker is
18449 *** used, and then restart.
18452 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18453 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18454 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18460 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18461 case `$LD -v 2>&1` in
18462 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18466 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18467 *** reliably create shared libraries on SCO systems. Therefore, libtool
18468 *** is disabling shared libraries support. We urge you to upgrade GNU
18469 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18470 *** your PATH or compiler configuration so that the native linker is
18471 *** used, and then restart.
18476 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18477 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18478 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18479 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18488 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18490 hardcode_direct_GCJ
=yes
18491 hardcode_shlibpath_var_GCJ
=no
18495 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18496 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18497 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18504 if test "$ld_shlibs_GCJ" = no
; then
18506 hardcode_libdir_flag_spec_GCJ
=
18507 export_dynamic_flag_spec_GCJ
=
18508 whole_archive_flag_spec_GCJ
=
18511 # PORTME fill in a description of your system's linker (not GNU ld)
18514 allow_undefined_flag_GCJ
=unsupported
18515 always_export_symbols_GCJ
=yes
18516 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'
18517 # Note: this linker hardcodes the directories in LIBPATH if there
18518 # are no directories specified by -L.
18519 hardcode_minus_L_GCJ
=yes
18520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18521 # Neither direct hardcoding nor static linking is supported with a
18523 hardcode_direct_GCJ
=unsupported
18528 if test "$host_cpu" = ia64
; then
18529 # On IA64, the linker does run time linking by default, so we don't
18530 # have to do anything special.
18531 aix_use_runtimelinking
=no
18532 exp_sym_flag
='-Bexport'
18535 # If we're using GNU nm, then we don't want the "-C" option.
18536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18537 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18538 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'
18540 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'
18542 aix_use_runtimelinking
=no
18544 # Test if we are trying to use run time linking or normal
18545 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18546 # need to do runtime linking.
18547 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18548 for ld_flag
in $LDFLAGS; do
18549 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18550 aix_use_runtimelinking
=yes
18557 exp_sym_flag
='-bexport'
18558 no_entry_flag
='-bnoentry'
18561 # When large executables or shared objects are built, AIX ld can
18562 # have problems creating the table of contents. If linking a library
18563 # or program results in "error TOC overflow" add -mminimal-toc to
18564 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18565 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18567 archive_cmds_GCJ
=''
18568 hardcode_direct_GCJ
=yes
18569 hardcode_libdir_separator_GCJ
=':'
18570 link_all_deplibs_GCJ
=yes
18572 if test "$GCC" = yes; then
18573 case $host_os in aix4.
[012]|aix4.
[012].
*)
18574 # We only want to do this on AIX 4.2 and lower, the check
18575 # below for broken collect2 doesn't work under 4.3+
18576 collect2name
=`${CC} -print-prog-name=collect2`
18577 if test -f "$collect2name" && \
18578 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18580 # We have reworked collect2
18581 hardcode_direct_GCJ
=yes
18583 # We have old collect2
18584 hardcode_direct_GCJ
=unsupported
18585 # It fails to find uninstalled libraries when the uninstalled
18586 # path is not listed in the libpath. Setting hardcode_minus_L
18587 # to unsupported forces relinking
18588 hardcode_minus_L_GCJ
=yes
18589 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18590 hardcode_libdir_separator_GCJ
=
18594 shared_flag
='-shared'
18595 if test "$aix_use_runtimelinking" = yes; then
18596 shared_flag
="$shared_flag "'${wl}-G'
18600 if test "$host_cpu" = ia64
; then
18601 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18602 # chokes on -Wl,-G. The following line is correct:
18605 if test "$aix_use_runtimelinking" = yes; then
18606 shared_flag
='${wl}-G'
18608 shared_flag
='${wl}-bM:SRE'
18613 # It seems that -bexpall does not export symbols beginning with
18614 # underscore (_), so it is better to generate a list of symbols to export.
18615 always_export_symbols_GCJ
=yes
18616 if test "$aix_use_runtimelinking" = yes; then
18617 # Warning - without using the other runtime loading flags (-brtl),
18618 # -berok will link without error, but may produce a broken library.
18619 allow_undefined_flag_GCJ
='-berok'
18620 # Determine the default libpath from the value encoded in an empty executable.
18621 cat >conftest.
$ac_ext <<_ACEOF
18624 cat confdefs.h
>>conftest.
$ac_ext
18625 cat >>conftest.
$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18636 rm -f conftest.
$ac_objext conftest
$ac_exeext
18637 if { (ac_try
="$ac_link"
18638 case "(($ac_try" in
18639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18640 *) ac_try_echo=$ac_try;;
18642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18643 (eval "$ac_link") 2>conftest.er1
18645 grep -v '^ *+' conftest.er1 >conftest.err
18647 cat conftest.err >&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18651 { (case "(($ac_try" in
18652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18653 *) ac_try_echo
=$ac_try;;
18655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_try") 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try
='test -s conftest$ac_exeext'
18661 { (case "(($ac_try" in
18662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_try") 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18671 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18673 # Check for a 64-bit object if we didn't find anything.
18674 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; }
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18683 rm -f core conftest.err conftest.$ac_objext \
18684 conftest$ac_exeext conftest.$ac_ext
18685 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18687 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18688 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"
18690 if test "$host_cpu" = ia64; then
18691 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18692 allow_undefined_flag_GCJ="-z nodefs"
18693 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"
18695 # Determine the default libpath from the value encoded in an empty executable.
18696 cat >conftest.$ac_ext <<_ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18711 rm -f conftest.$ac_objext conftest$ac_exeext
18712 if { (ac_try="$ac_link"
18713 case "(($ac_try" in
18714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18715 *) ac_try_echo
=$ac_try;;
18717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18718 (eval "$ac_link") 2>conftest.er1
18720 grep -v '^ *+' conftest.er1
>conftest.err
18722 cat conftest.err
>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } &&
18725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18726 { (case "(($ac_try" in
18727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_try") 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest$ac_exeext'
18736 { (case "(($ac_try" in
18737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18738 *) ac_try_echo
=$ac_try;;
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_try") 2>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); }; }; then
18746 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18748 # Check for a 64-bit object if we didn't find anything.
18749 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; }
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.
$ac_ext >&5
18758 rm -f core conftest.err conftest.
$ac_objext \
18759 conftest
$ac_exeext conftest.
$ac_ext
18760 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18762 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18763 # Warning - without using the other run time loading flags,
18764 # -berok will link without error, but may produce a broken library.
18765 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18766 allow_undefined_flag_GCJ
=' ${wl}-berok'
18767 # Exported symbols can be pulled into shared objects from archives
18768 whole_archive_flag_spec_GCJ
='$convenience'
18769 archive_cmds_need_lc_GCJ
=yes
18770 # This is similar to how AIX traditionally builds its shared libraries.
18771 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'
18777 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)'
18778 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18779 hardcode_minus_L_GCJ
=yes
18780 # see comment about different semantics on the GNU ld section
18785 export_dynamic_flag_spec_GCJ
=-rdynamic
18788 cygwin
* | mingw
* | pw32
*)
18789 # When not using gcc, we currently assume that we are using
18790 # Microsoft Visual C++.
18791 # hardcode_libdir_flag_spec is actually meaningless, as there is
18792 # no search path for DLLs.
18793 hardcode_libdir_flag_spec_GCJ
=' '
18794 allow_undefined_flag_GCJ
=unsupported
18795 # Tell ltmain to make .lib files, not .a files.
18797 # Tell ltmain to make .dll files, not .so files.
18799 # FIXME: Setting linknames here is a bad hack.
18800 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18801 # The linker will automatically build a .lib file if we build a DLL.
18802 old_archive_From_new_cmds_GCJ
='true'
18803 # FIXME: Should let the user specify the lib program.
18804 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
18805 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18806 enable_shared_with_static_runtimes_GCJ
=yes
18809 darwin
* | rhapsody
*)
18811 rhapsody
* | darwin1.
[012])
18812 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18815 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18816 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18818 case ${MACOSX_DEPLOYMENT_TARGET} in
18820 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18823 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18829 archive_cmds_need_lc_GCJ
=no
18830 hardcode_direct_GCJ
=no
18831 hardcode_automatic_GCJ
=yes
18832 hardcode_shlibpath_var_GCJ
=unsupported
18833 whole_archive_flag_spec_GCJ
=''
18834 link_all_deplibs_GCJ
=yes
18835 if test "$GCC" = yes ; then
18836 output_verbose_link_cmd
='echo'
18837 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18838 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18839 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18840 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}'
18841 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}'
18843 case $cc_basename in
18845 output_verbose_link_cmd
='echo'
18846 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18847 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18848 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18849 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}'
18850 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}'
18860 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18861 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18862 hardcode_shlibpath_var_GCJ
=no
18869 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18870 # support. Future versions do this automatically, but an explicit c++rt0.o
18871 # does not break anything, and helps significantly (at the cost of a little
18874 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18875 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18876 hardcode_direct_GCJ
=yes
18877 hardcode_shlibpath_var_GCJ
=no
18880 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18882 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18883 hardcode_direct_GCJ
=yes
18884 hardcode_minus_L_GCJ
=yes
18885 hardcode_shlibpath_var_GCJ
=no
18888 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18889 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
18890 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18891 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18892 hardcode_direct_GCJ
=yes
18893 hardcode_shlibpath_var_GCJ
=no
18897 if test "$GCC" = yes; then
18898 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'
18900 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'
18902 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18903 hardcode_libdir_separator_GCJ
=:
18904 hardcode_direct_GCJ
=yes
18906 # hardcode_minus_L: Not really in the search PATH,
18907 # but as the default location of the library.
18908 hardcode_minus_L_GCJ
=yes
18909 export_dynamic_flag_spec_GCJ
='${wl}-E'
18913 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18914 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18916 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18918 if test "$with_gnu_ld" = no
; then
18919 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18920 hardcode_libdir_separator_GCJ
=:
18922 hardcode_direct_GCJ
=yes
18923 export_dynamic_flag_spec_GCJ
='${wl}-E'
18925 # hardcode_minus_L: Not really in the search PATH,
18926 # but as the default location of the library.
18927 hardcode_minus_L_GCJ
=yes
18932 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18935 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18938 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18941 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18947 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18950 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18953 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18957 if test "$with_gnu_ld" = no
; then
18958 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18959 hardcode_libdir_separator_GCJ
=:
18963 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18964 hardcode_direct_GCJ
=no
18965 hardcode_shlibpath_var_GCJ
=no
18968 hardcode_direct_GCJ
=yes
18969 export_dynamic_flag_spec_GCJ
='${wl}-E'
18971 # hardcode_minus_L: Not really in the search PATH,
18972 # but as the default location of the library.
18973 hardcode_minus_L_GCJ
=yes
18979 irix5
* | irix6
* | nonstopux
*)
18980 if test "$GCC" = yes; then
18981 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'
18983 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'
18984 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18986 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18987 hardcode_libdir_separator_GCJ
=:
18988 link_all_deplibs_GCJ
=yes
18992 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18993 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18995 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18997 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18998 hardcode_direct_GCJ
=yes
18999 hardcode_shlibpath_var_GCJ
=no
19003 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19004 hardcode_direct_GCJ
=yes
19005 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19006 hardcode_libdir_separator_GCJ
=:
19007 hardcode_shlibpath_var_GCJ
=no
19011 hardcode_direct_GCJ
=yes
19012 hardcode_shlibpath_var_GCJ
=no
19013 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19014 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19015 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19016 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19017 export_dynamic_flag_spec_GCJ
='${wl}-E'
19020 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19021 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19022 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19025 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19026 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19033 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19034 hardcode_minus_L_GCJ
=yes
19035 allow_undefined_flag_GCJ
=unsupported
19036 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'
19037 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19041 if test "$GCC" = yes; then
19042 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19043 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'
19045 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19046 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'
19048 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19049 hardcode_libdir_separator_GCJ
=:
19052 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19053 if test "$GCC" = yes; then
19054 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19055 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'
19056 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19058 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19059 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'
19060 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~
19061 $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'
19063 # Both c and cxx compiler support -rpath directly
19064 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19066 hardcode_libdir_separator_GCJ
=:
19070 no_undefined_flag_GCJ
=' -z text'
19071 if test "$GCC" = yes; then
19073 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19074 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19075 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19078 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19079 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19080 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19082 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19083 hardcode_shlibpath_var_GCJ
=no
19085 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19087 # The compiler driver will combine linker options so we
19088 # cannot just pass the convience library names through
19089 # without $wl, iff we do not link with $LD.
19090 # Luckily, gcc supports the same syntax we need for Sun Studio.
19091 # Supported since Solaris 2.6 (maybe 2.5.1?)
19094 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
19096 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' ;;
19099 link_all_deplibs_GCJ
=yes
19103 if test "x$host_vendor" = xsequent
; then
19104 # Use $CC to link under sequent, because it throws in some extra .o
19105 # files that make .init and .fini sections work.
19106 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19108 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19110 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19111 hardcode_direct_GCJ
=yes
19112 hardcode_minus_L_GCJ
=yes
19113 hardcode_shlibpath_var_GCJ
=no
19117 case $host_vendor in
19119 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19120 hardcode_direct_GCJ
=yes # is this really true???
19123 ## LD is ld it makes a PLAMLIB
19124 ## CC just makes a GrossModule.
19125 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19126 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19127 hardcode_direct_GCJ
=no
19130 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19131 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19134 runpath_var
='LD_RUN_PATH'
19135 hardcode_shlibpath_var_GCJ
=no
19139 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19140 hardcode_shlibpath_var_GCJ
=no
19141 export_dynamic_flag_spec_GCJ
='-Bexport'
19145 if test -d /usr
/nec
; then
19146 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19147 hardcode_shlibpath_var_GCJ
=no
19148 runpath_var
=LD_RUN_PATH
19149 hardcode_runpath_var
=yes
19154 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
19155 no_undefined_flag_GCJ
='${wl}-z,text'
19156 archive_cmds_need_lc_GCJ
=no
19157 hardcode_shlibpath_var_GCJ
=no
19158 runpath_var
='LD_RUN_PATH'
19160 if test "$GCC" = yes; then
19161 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19162 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19164 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19165 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19169 sysv5
* | sco3.2v5
* | sco5v6
*)
19170 # Note: We can NOT use -z defs as we might desire, because we do not
19171 # link with -lc, and that would cause any symbols used from libc to
19172 # always be unresolved, which means just about no library would
19173 # ever link correctly. If we're not using GNU ld we use -z text
19174 # though, which does catch some bad symbols but isn't as heavy-handed
19176 no_undefined_flag_GCJ
='${wl}-z,text'
19177 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19178 archive_cmds_need_lc_GCJ
=no
19179 hardcode_shlibpath_var_GCJ
=no
19180 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19181 hardcode_libdir_separator_GCJ
=':'
19182 link_all_deplibs_GCJ
=yes
19183 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19184 runpath_var
='LD_RUN_PATH'
19186 if test "$GCC" = yes; then
19187 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19188 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19190 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19191 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19196 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19197 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19198 hardcode_shlibpath_var_GCJ
=no
19207 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19208 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19209 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19212 # Do we need to explicitly link libc?
19214 case "x$archive_cmds_need_lc_GCJ" in
19216 # Assume -lc should be added
19217 archive_cmds_need_lc_GCJ
=yes
19219 if test "$enable_shared" = yes && test "$GCC" = yes; then
19220 case $archive_cmds_GCJ in
19222 # FIXME: we may have to deal with multi-command sequences.
19225 # Test whether the compiler implicitly links with -lc since on some
19226 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19227 # to ld, don't add -lc before -lgcc.
19228 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19229 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19231 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19234 (eval $ac_compile) 2>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } 2>conftest.err
; then
19240 libobjs
=conftest.
$ac_objext
19242 wl
=$lt_prog_compiler_wl_GCJ
19243 pic_flag
=$lt_prog_compiler_pic_GCJ
19249 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19250 allow_undefined_flag_GCJ
=
19251 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19252 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }
19257 archive_cmds_need_lc_GCJ
=no
19259 archive_cmds_need_lc_GCJ
=yes
19261 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19263 cat conftest.err
1>&5
19266 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19267 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19274 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19275 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19276 library_names_spec
=
19277 libname_spec
='lib$name'
19281 postuninstall_cmds
=
19285 shlibpath_overrides_runpath
=unknown
19287 dynamic_linker
="$host_os ld.so"
19288 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19289 if test "$GCC" = yes; then
19290 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19291 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19292 # if the path contains ";" then we assume it to be the separator
19293 # otherwise default to the standard path separator (i.e. ":") - it is
19294 # assumed that no part of a normal pathname contains ";" but that should
19295 # okay in the real world where ";" in dirpaths is itself problematic.
19296 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19298 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19301 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19303 need_lib_prefix
=unknown
19304 hardcode_into_libs
=no
19306 # when you set need_version to no, make sure it does not cause -set_version
19307 # flags to be left without arguments
19308 need_version
=unknown
19313 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19314 shlibpath_var
=LIBPATH
19316 # AIX 3 has no versioning support, so we append a major version to the name.
19317 soname_spec
='${libname}${release}${shared_ext}$major'
19324 hardcode_into_libs
=yes
19325 if test "$host_cpu" = ia64
; then
19326 # AIX 5 supports IA64
19327 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19328 shlibpath_var
=LD_LIBRARY_PATH
19330 # With GCC up to 2.95.x, collect2 would create an import file
19331 # for dependence libraries. The import file would start with
19332 # the line `#! .'. This would cause the generated library to
19333 # depend on `.', always an invalid library. This was fixed in
19334 # development snapshots of GCC prior to 3.0.
19336 aix4 | aix4.
[01] | aix4.
[01].
*)
19337 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19339 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19342 can_build_shared
=no
19346 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19347 # soname into executable. Probably we can add versioning support to
19348 # collect2, so additional links can be useful in future.
19349 if test "$aix_use_runtimelinking" = yes; then
19350 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19351 # instead of lib<name>.a to let people know that these are not
19352 # typical AIX shared libraries.
19353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19355 # We preserve .a as extension for shared libraries through AIX4.2
19356 # and later when we are not doing run time linking.
19357 library_names_spec
='${libname}${release}.a $libname.a'
19358 soname_spec
='${libname}${release}${shared_ext}$major'
19360 shlibpath_var
=LIBPATH
19365 library_names_spec
='$libname.ixlibrary $libname.a'
19366 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19367 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'
19371 library_names_spec
='${libname}${shared_ext}'
19372 dynamic_linker
="$host_os ld.so"
19373 shlibpath_var
=LIBRARY_PATH
19379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19380 soname_spec
='${libname}${release}${shared_ext}$major'
19381 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19382 shlibpath_var
=LD_LIBRARY_PATH
19383 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19384 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19385 # the default ld.so.conf also contains /usr/contrib/lib and
19386 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19387 # libtool to hard-code these into programs
19390 cygwin
* | mingw
* | pw32
*)
19391 version_type
=windows
19396 case $GCC,$host_os in
19397 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19398 library_names_spec
='$libname.dll.a'
19399 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19400 postinstall_cmds
='base_file=`basename \${file}`~
19401 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19402 dldir=$destdir/`dirname \$dlpath`~
19403 test -d \$dldir || mkdir -p \$dldir~
19404 $install_prog $dir/$dlname \$dldir/$dlname~
19405 chmod a+x \$dldir/$dlname'
19406 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19407 dlpath=$dir/\$dldll~
19409 shlibpath_overrides_runpath
=yes
19413 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19414 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19415 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19418 # MinGW DLLs use traditional 'lib' prefix
19419 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19420 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19421 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19422 # It is most probably a Windows format PATH printed by
19423 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19424 # path with ; separators, and with drive letters. We can handle the
19425 # drive letters (cygwin fileutils understands them), so leave them,
19426 # especially as we might pass files found there to a mingw objdump,
19427 # which wouldn't understand a cygwinified path. Ahh.
19428 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19430 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19434 # pw32 DLLs use 'pw' prefix rather than 'lib'
19435 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19441 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19444 dynamic_linker
='Win32 ld.exe'
19445 # FIXME: first we should search . and the directory the executable is in
19449 darwin
* | rhapsody
*)
19450 dynamic_linker
="$host_os dyld"
19451 version_type
=darwin
19454 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19455 soname_spec
='${libname}${release}${major}$shared_ext'
19456 shlibpath_overrides_runpath
=yes
19457 shlibpath_var
=DYLD_LIBRARY_PATH
19458 shrext_cmds
='.dylib'
19459 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19460 if test "$GCC" = yes; then
19461 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"`
19463 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19465 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19473 soname_spec
='${libname}${release}${shared_ext}$major'
19474 shlibpath_var
=LD_LIBRARY_PATH
19485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19486 soname_spec
='${libname}${release}${shared_ext}$major'
19487 shlibpath_var
=LD_LIBRARY_PATH
19488 shlibpath_overrides_runpath
=no
19489 hardcode_into_libs
=yes
19490 dynamic_linker
='GNU ld.so'
19493 freebsd
* | dragonfly
*)
19494 # DragonFly does not have aout. When/if they implement a new
19495 # versioning mechanism, adjust this.
19496 if test -x /usr
/bin
/objformat
; then
19497 objformat
=`/usr/bin/objformat`
19500 freebsd
[123]*) objformat
=aout
;;
19501 *) objformat
=elf
;;
19504 version_type
=freebsd-
$objformat
19505 case $version_type in
19507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19512 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19516 shlibpath_var
=LD_LIBRARY_PATH
19519 shlibpath_overrides_runpath
=yes
19521 freebsd3.
[01]* | freebsdelf3.
[01]*)
19522 shlibpath_overrides_runpath
=yes
19523 hardcode_into_libs
=yes
19525 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19526 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19527 shlibpath_overrides_runpath
=no
19528 hardcode_into_libs
=yes
19530 freebsd
*) # from 4.6 on
19531 shlibpath_overrides_runpath
=yes
19532 hardcode_into_libs
=yes
19541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19542 soname_spec
='${libname}${release}${shared_ext}$major'
19543 shlibpath_var
=LD_LIBRARY_PATH
19544 hardcode_into_libs
=yes
19547 hpux9
* | hpux10
* | hpux11
*)
19548 # Give a soname corresponding to the major version so that dld.sl refuses to
19549 # link against other versions.
19556 hardcode_into_libs
=yes
19557 dynamic_linker
="$host_os dld.so"
19558 shlibpath_var
=LD_LIBRARY_PATH
19559 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19561 soname_spec
='${libname}${release}${shared_ext}$major'
19562 if test "X$HPUX_IA64_MODE" = X32
; then
19563 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19565 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19567 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19571 hardcode_into_libs
=yes
19572 dynamic_linker
="$host_os dld.sl"
19573 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19574 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19576 soname_spec
='${libname}${release}${shared_ext}$major'
19577 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19578 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19582 dynamic_linker
="$host_os dld.sl"
19583 shlibpath_var
=SHLIB_PATH
19584 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19586 soname_spec
='${libname}${release}${shared_ext}$major'
19589 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19590 postinstall_cmds
='chmod 555 $lib'
19597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19598 soname_spec
='${libname}${release}${shared_ext}$major'
19599 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19600 shlibpath_var
=LD_LIBRARY_PATH
19601 shlibpath_overrides_runpath
=no
19602 hardcode_into_libs
=yes
19605 irix5
* | irix6
* | nonstopux
*)
19607 nonstopux
*) version_type
=nonstopux
;;
19609 if test "$lt_cv_prog_gnu_ld" = yes; then
19617 soname_spec
='${libname}${release}${shared_ext}$major'
19618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19620 irix5
* | nonstopux
*)
19621 libsuff
= shlibsuff
=
19624 case $LD in # libtool.m4 will add one of these switches to LD
19625 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19626 libsuff
= shlibsuff
= libmagic
=32-bit;;
19627 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19628 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19629 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19630 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19631 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19635 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19636 shlibpath_overrides_runpath
=no
19637 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19638 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19639 hardcode_into_libs
=yes
19642 # No shared lib support for Linux oldld, aout, or coff.
19643 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19647 # This must be Linux ELF.
19652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19653 soname_spec
='${libname}${release}${shared_ext}$major'
19654 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19655 shlibpath_var
=LD_LIBRARY_PATH
19656 shlibpath_overrides_runpath
=no
19657 # This implies no fast_install, which is unacceptable.
19658 # Some rework will be needed to allow for fast_install
19659 # before this can be enabled.
19660 hardcode_into_libs
=yes
19662 # Append ld.so.conf contents to the search path
19663 if test -f /etc
/ld.so.conf
; then
19664 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' ' '`
19665 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19668 # We used to test for /lib/ld.so.1 and disable shared libraries on
19669 # powerpc, because MkLinux only supported shared libraries with the
19670 # GNU dynamic linker. Since this was broken with cross compilers,
19671 # most powerpc-linux boxes support dynamic linking these days and
19672 # people can always --disable-shared, the test was removed, and we
19673 # assume the GNU/Linux dynamic linker is in use.
19674 dynamic_linker
='GNU/Linux ld.so'
19681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19682 soname_spec
='${libname}${release}${shared_ext}$major'
19683 shlibpath_var
=LD_LIBRARY_PATH
19684 shlibpath_overrides_runpath
=no
19685 hardcode_into_libs
=yes
19686 dynamic_linker
='GNU ld.so'
19693 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19696 dynamic_linker
='NetBSD (a.out) ld.so'
19698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19699 soname_spec
='${libname}${release}${shared_ext}$major'
19700 dynamic_linker
='NetBSD ld.elf_so'
19702 shlibpath_var
=LD_LIBRARY_PATH
19703 shlibpath_overrides_runpath
=yes
19704 hardcode_into_libs
=yes
19709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19710 shlibpath_var
=LD_LIBRARY_PATH
19711 shlibpath_overrides_runpath
=yes
19718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19719 soname_spec
='${libname}${release}${shared_ext}$major'
19720 shlibpath_var
=LD_LIBRARY_PATH
19721 shlibpath_overrides_runpath
=yes
19726 sys_lib_dlsearch_path_spec
="/usr/lib"
19728 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19730 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19731 *) need_version
=no
;;
19733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19734 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19735 shlibpath_var
=LD_LIBRARY_PATH
19736 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19738 openbsd2.
[89] | openbsd2.
[89].
*)
19739 shlibpath_overrides_runpath
=no
19742 shlibpath_overrides_runpath
=yes
19746 shlibpath_overrides_runpath
=yes
19751 libname_spec
='$name'
19754 library_names_spec
='$libname${shared_ext} $libname.a'
19755 dynamic_linker
='OS/2 ld.exe'
19756 shlibpath_var
=LIBPATH
19759 osf3
* | osf4
* | osf5
*)
19763 soname_spec
='${libname}${release}${shared_ext}$major'
19764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19765 shlibpath_var
=LD_LIBRARY_PATH
19766 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19767 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19775 soname_spec
='${libname}${release}${shared_ext}$major'
19776 shlibpath_var
=LD_LIBRARY_PATH
19777 shlibpath_overrides_runpath
=yes
19778 hardcode_into_libs
=yes
19779 # ldd complains unless libraries are executable
19780 postinstall_cmds
='chmod +x $lib'
19785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19786 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19787 shlibpath_var
=LD_LIBRARY_PATH
19788 shlibpath_overrides_runpath
=yes
19789 if test "$with_gnu_ld" = yes; then
19797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19798 soname_spec
='${libname}${release}${shared_ext}$major'
19799 shlibpath_var
=LD_LIBRARY_PATH
19800 case $host_vendor in
19802 shlibpath_overrides_runpath
=no
19804 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19805 runpath_var
=LD_RUN_PATH
19813 shlibpath_overrides_runpath
=no
19814 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19820 if test -d /usr
/nec
;then
19822 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19823 soname_spec
='$libname${shared_ext}.$major'
19824 shlibpath_var
=LD_LIBRARY_PATH
19828 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19829 version_type
=freebsd-elf
19832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19833 soname_spec
='${libname}${release}${shared_ext}$major'
19834 shlibpath_var
=LD_LIBRARY_PATH
19835 hardcode_into_libs
=yes
19836 if test "$with_gnu_ld" = yes; then
19837 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19838 shlibpath_overrides_runpath
=no
19840 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19841 shlibpath_overrides_runpath
=yes
19844 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19848 sys_lib_dlsearch_path_spec
='/usr/lib'
19853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19854 soname_spec
='${libname}${release}${shared_ext}$major'
19855 shlibpath_var
=LD_LIBRARY_PATH
19862 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19863 echo "${ECHO_T}$dynamic_linker" >&6; }
19864 test "$dynamic_linker" = no
&& can_build_shared
=no
19866 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19867 if test "$GCC" = yes; then
19868 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19871 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19872 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19873 hardcode_action_GCJ
=
19874 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19875 test -n "$runpath_var_GCJ" || \
19876 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19878 # We can hardcode non-existant directories.
19879 if test "$hardcode_direct_GCJ" != no
&&
19880 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19881 # have to relink, otherwise we might link with an installed library
19882 # when we should be linking with a yet-to-be-installed one
19883 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19884 test "$hardcode_minus_L_GCJ" != no
; then
19885 # Linking always hardcodes the temporary library directory.
19886 hardcode_action_GCJ
=relink
19888 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19889 hardcode_action_GCJ
=immediate
19892 # We cannot hardcode anything, or else we can only hardcode existing
19894 hardcode_action_GCJ
=unsupported
19896 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19897 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19899 if test "$hardcode_action_GCJ" = relink
; then
19900 # Fast installation is not supported
19901 enable_fast_install
=no
19902 elif test "$shlibpath_overrides_runpath" = yes ||
19903 test "$enable_shared" = no
; then
19904 # Fast installation is not necessary
19905 enable_fast_install
=needless
19909 # The else clause should only fire when bootstrapping the
19910 # libtool distribution, otherwise you forgot to ship ltmain.sh
19911 # with your package, and you will get complaints that there are
19912 # no rules to generate ltmain.sh.
19913 if test -f "$ltmain"; then
19914 # See if we are running on zsh, and set the options which allow our commands through
19915 # without removal of \ escapes.
19916 if test -n "${ZSH_VERSION+set}" ; then
19917 setopt NO_GLOB_SUBST
19919 # Now quote all the things that may contain metacharacters while being
19920 # careful not to overquote the AC_SUBSTed values. We take copies of the
19921 # variables and quote the copies for generation of the libtool script.
19922 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19924 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19925 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19926 deplibs_check_method reload_flag reload_cmds need_locks \
19927 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19928 lt_cv_sys_global_symbol_to_c_name_address \
19929 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19930 old_postinstall_cmds old_postuninstall_cmds \
19934 lt_prog_compiler_wl_GCJ \
19935 lt_prog_compiler_pic_GCJ \
19936 lt_prog_compiler_static_GCJ \
19937 lt_prog_compiler_no_builtin_flag_GCJ \
19938 export_dynamic_flag_spec_GCJ \
19939 thread_safe_flag_spec_GCJ \
19940 whole_archive_flag_spec_GCJ \
19941 enable_shared_with_static_runtimes_GCJ \
19942 old_archive_cmds_GCJ \
19943 old_archive_from_new_cmds_GCJ \
19944 predep_objects_GCJ \
19945 postdep_objects_GCJ \
19948 compiler_lib_search_path_GCJ \
19950 archive_expsym_cmds_GCJ \
19951 postinstall_cmds_GCJ \
19952 postuninstall_cmds_GCJ \
19953 old_archive_from_expsyms_cmds_GCJ \
19954 allow_undefined_flag_GCJ \
19955 no_undefined_flag_GCJ \
19956 export_symbols_cmds_GCJ \
19957 hardcode_libdir_flag_spec_GCJ \
19958 hardcode_libdir_flag_spec_ld_GCJ \
19959 hardcode_libdir_separator_GCJ \
19960 hardcode_automatic_GCJ \
19962 module_expsym_cmds_GCJ \
19963 lt_cv_prog_compiler_c_o_GCJ \
19964 exclude_expsyms_GCJ \
19965 include_expsyms_GCJ
; do
19968 old_archive_cmds_GCJ | \
19969 old_archive_from_new_cmds_GCJ | \
19970 archive_cmds_GCJ | \
19971 archive_expsym_cmds_GCJ | \
19972 module_cmds_GCJ | \
19973 module_expsym_cmds_GCJ | \
19974 old_archive_from_expsyms_cmds_GCJ | \
19975 export_symbols_cmds_GCJ | \
19976 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19977 postinstall_cmds | postuninstall_cmds | \
19978 old_postinstall_cmds | old_postuninstall_cmds | \
19979 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19980 # Double-quote double-evaled strings.
19981 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19984 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19990 *'\$0 --fallback-echo"')
19991 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19997 cat <<__EOF__ >> "$cfgfile"
19998 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20002 # Shell to use when invoking shell scripts.
20005 # Whether or not to build shared libraries.
20006 build_libtool_libs=$enable_shared
20008 # Whether or not to build static libraries.
20009 build_old_libs=$enable_static
20011 # Whether or not to add -lc for building shared libraries.
20012 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20014 # Whether or not to disallow shared libs when runtime libs are static
20015 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20017 # Whether or not to optimize for fast installation.
20018 fast_install=$enable_fast_install
20021 host_alias=$host_alias
20025 # The build system.
20026 build_alias=$build_alias
20030 # An echo program that does not interpret backslashes.
20035 AR_FLAGS=$lt_AR_FLAGS
20040 # LTCC compiler flags.
20041 LTCFLAGS=$lt_LTCFLAGS
20043 # A language-specific compiler.
20044 CC=$lt_compiler_GCJ
20046 # Is the compiler the GNU C compiler?
20052 # The linker used to build libraries.
20055 # Whether we need hard or soft links.
20058 # A BSD-compatible nm program.
20061 # A symbol stripping program
20064 # Used to examine libraries when file_magic_cmd begins "file"
20065 MAGIC_CMD=$MAGIC_CMD
20067 # Used on cygwin: DLL creation program.
20070 # Used on cygwin: object dumper.
20073 # Used on cygwin: assembler.
20076 # The name of the directory that contains temporary libtool files.
20079 # How to create reloadable object files.
20080 reload_flag=$lt_reload_flag
20081 reload_cmds=$lt_reload_cmds
20083 # How to pass a linker flag through the compiler.
20084 wl=$lt_lt_prog_compiler_wl_GCJ
20086 # Object file suffix (normally "o").
20087 objext="$ac_objext"
20089 # Old archive suffix (normally "a").
20092 # Shared library suffix (normally ".so").
20093 shrext_cmds='$shrext_cmds'
20095 # Executable file suffix (normally "").
20098 # Additional compiler flags for building library objects.
20099 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20102 # What is the maximum length of a command?
20103 max_cmd_len=$lt_cv_sys_max_cmd_len
20105 # Does compiler simultaneously support -c and -o options?
20106 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20108 # Must we lock files when doing compilation?
20109 need_locks=$lt_need_locks
20111 # Do we need the lib prefix for modules?
20112 need_lib_prefix=$need_lib_prefix
20114 # Do we need a version for libraries?
20115 need_version=$need_version
20117 # Whether dlopen is supported.
20118 dlopen_support=$enable_dlopen
20120 # Whether dlopen of programs is supported.
20121 dlopen_self=$enable_dlopen_self
20123 # Whether dlopen of statically linked programs is supported.
20124 dlopen_self_static=$enable_dlopen_self_static
20126 # Compiler flag to prevent dynamic linking.
20127 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20129 # Compiler flag to turn off builtin functions.
20130 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20132 # Compiler flag to allow reflexive dlopens.
20133 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20135 # Compiler flag to generate shared objects directly from archives.
20136 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20138 # Compiler flag to generate thread-safe objects.
20139 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20141 # Library versioning type.
20142 version_type=$version_type
20144 # Format of library name prefix.
20145 libname_spec=$lt_libname_spec
20147 # List of archive names. First name is the real one, the rest are links.
20148 # The last name is the one that the linker finds with -lNAME.
20149 library_names_spec=$lt_library_names_spec
20151 # The coded name of the library, if different from the real name.
20152 soname_spec=$lt_soname_spec
20154 # Commands used to build and install an old-style archive.
20156 old_archive_cmds=$lt_old_archive_cmds_GCJ
20157 old_postinstall_cmds=$lt_old_postinstall_cmds
20158 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20160 # Create an old-style archive from a shared archive.
20161 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20163 # Create a temporary old-style archive to link instead of a shared archive.
20164 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20166 # Commands used to build and install a shared archive.
20167 archive_cmds=$lt_archive_cmds_GCJ
20168 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20169 postinstall_cmds=$lt_postinstall_cmds
20170 postuninstall_cmds=$lt_postuninstall_cmds
20172 # Commands used to build a loadable module (assumed same as above if empty)
20173 module_cmds=$lt_module_cmds_GCJ
20174 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20176 # Commands to strip libraries.
20177 old_striplib=$lt_old_striplib
20178 striplib=$lt_striplib
20180 # Dependencies to place before the objects being linked to create a
20182 predep_objects=$lt_predep_objects_GCJ
20184 # Dependencies to place after the objects being linked to create a
20186 postdep_objects=$lt_postdep_objects_GCJ
20188 # Dependencies to place before the objects being linked to create a
20190 predeps=$lt_predeps_GCJ
20192 # Dependencies to place after the objects being linked to create a
20194 postdeps=$lt_postdeps_GCJ
20196 # The library search path used internally by the compiler when linking
20197 # a shared library.
20198 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20200 # Method to check whether dependent libraries are shared objects.
20201 deplibs_check_method=$lt_deplibs_check_method
20203 # Command to use when deplibs_check_method == file_magic.
20204 file_magic_cmd=$lt_file_magic_cmd
20206 # Flag that allows shared libraries with undefined symbols to be built.
20207 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20209 # Flag that forces no undefined symbols.
20210 no_undefined_flag=$lt_no_undefined_flag_GCJ
20212 # Commands used to finish a libtool library installation in a directory.
20213 finish_cmds=$lt_finish_cmds
20215 # Same as above, but a single script fragment to be evaled but not shown.
20216 finish_eval=$lt_finish_eval
20218 # Take the output of nm and produce a listing of raw symbols and C names.
20219 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20221 # Transform the output of nm in a proper C declaration
20222 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20224 # Transform the output of nm in a C name address pair
20225 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20227 # This is the shared library runtime path variable.
20228 runpath_var=$runpath_var
20230 # This is the shared library path variable.
20231 shlibpath_var=$shlibpath_var
20233 # Is shlibpath searched before the hard-coded library search path?
20234 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20236 # How to hardcode a shared library path into an executable.
20237 hardcode_action=$hardcode_action_GCJ
20239 # Whether we should hardcode library paths into libraries.
20240 hardcode_into_libs=$hardcode_into_libs
20242 # Flag to hardcode \$libdir into a binary during linking.
20243 # This must work even if \$libdir does not exist.
20244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20246 # If ld is used when linking, flag to hardcode \$libdir into
20247 # a binary during linking. This must work even if \$libdir does
20249 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20251 # Whether we need a single -rpath flag with a separated argument.
20252 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20254 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20255 # resulting binary.
20256 hardcode_direct=$hardcode_direct_GCJ
20258 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20259 # resulting binary.
20260 hardcode_minus_L=$hardcode_minus_L_GCJ
20262 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20263 # the resulting binary.
20264 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20266 # Set to yes if building a shared library automatically hardcodes DIR into the library
20267 # and all subsequent libraries and executables linked against it.
20268 hardcode_automatic=$hardcode_automatic_GCJ
20270 # Variables whose values should be saved in libtool wrapper scripts and
20271 # restored at relink time.
20272 variables_saved_for_relink="$variables_saved_for_relink"
20274 # Whether libtool must link a program against all its dependency libraries.
20275 link_all_deplibs=$link_all_deplibs_GCJ
20277 # Compile-time system search path for libraries
20278 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20280 # Run-time system search path for libraries
20281 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20283 # Fix the shell variable \$srcfile for the compiler.
20284 fix_srcfile_path="$fix_srcfile_path_GCJ"
20286 # Set to yes if exported symbols are required.
20287 always_export_symbols=$always_export_symbols_GCJ
20289 # The commands to list exported symbols.
20290 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20292 # The commands to extract the exported symbol list from a shared archive.
20293 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20295 # Symbols that should not be listed in the preloaded symbols.
20296 exclude_expsyms=$lt_exclude_expsyms_GCJ
20298 # Symbols that must always be exported.
20299 include_expsyms=$lt_include_expsyms_GCJ
20301 # ### END LIBTOOL TAG CONFIG: $tagname
20307 # If there is no Makefile yet, we rely on a make rule to execute
20308 # `config.status --recheck' to rerun these tests and create the
20309 # libtool script then.
20310 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20311 if test -f "$ltmain_in"; then
20312 test -f Makefile
&& make "$ltmain"
20318 ac_cpp
='$CPP $CPPFLAGS'
20319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20332 ac_cpp
='$CPP $CPPFLAGS'
20333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20338 # Source file extension for RC test sources.
20341 # Object file extension for compiled RC test sources.
20345 # Code to be used in simple compile tests
20346 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20348 # Code to be used in simple link tests
20349 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20351 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20353 # If no C compiler was specified, use CC.
20356 # If no C compiler flags were specified, use CFLAGS.
20357 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20359 # Allow CC to be a program name with arguments.
20363 # save warnings/boilerplate of simple test code
20364 ac_outfile
=conftest.
$ac_objext
20365 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20366 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20367 _lt_compiler_boilerplate
=`cat conftest.err`
20370 ac_outfile
=conftest.
$ac_objext
20371 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20372 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20373 _lt_linker_boilerplate
=`cat conftest.err`
20377 # Allow CC to be a program name with arguments.
20382 for cc_temp
in $compiler""; do
20384 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20385 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20390 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20392 lt_cv_prog_compiler_c_o_RC
=yes
20394 # The else clause should only fire when bootstrapping the
20395 # libtool distribution, otherwise you forgot to ship ltmain.sh
20396 # with your package, and you will get complaints that there are
20397 # no rules to generate ltmain.sh.
20398 if test -f "$ltmain"; then
20399 # See if we are running on zsh, and set the options which allow our commands through
20400 # without removal of \ escapes.
20401 if test -n "${ZSH_VERSION+set}" ; then
20402 setopt NO_GLOB_SUBST
20404 # Now quote all the things that may contain metacharacters while being
20405 # careful not to overquote the AC_SUBSTed values. We take copies of the
20406 # variables and quote the copies for generation of the libtool script.
20407 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20409 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20410 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20411 deplibs_check_method reload_flag reload_cmds need_locks \
20412 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20413 lt_cv_sys_global_symbol_to_c_name_address \
20414 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20415 old_postinstall_cmds old_postuninstall_cmds \
20419 lt_prog_compiler_wl_RC \
20420 lt_prog_compiler_pic_RC \
20421 lt_prog_compiler_static_RC \
20422 lt_prog_compiler_no_builtin_flag_RC \
20423 export_dynamic_flag_spec_RC \
20424 thread_safe_flag_spec_RC \
20425 whole_archive_flag_spec_RC \
20426 enable_shared_with_static_runtimes_RC \
20427 old_archive_cmds_RC \
20428 old_archive_from_new_cmds_RC \
20429 predep_objects_RC \
20430 postdep_objects_RC \
20433 compiler_lib_search_path_RC \
20435 archive_expsym_cmds_RC \
20436 postinstall_cmds_RC \
20437 postuninstall_cmds_RC \
20438 old_archive_from_expsyms_cmds_RC \
20439 allow_undefined_flag_RC \
20440 no_undefined_flag_RC \
20441 export_symbols_cmds_RC \
20442 hardcode_libdir_flag_spec_RC \
20443 hardcode_libdir_flag_spec_ld_RC \
20444 hardcode_libdir_separator_RC \
20445 hardcode_automatic_RC \
20447 module_expsym_cmds_RC \
20448 lt_cv_prog_compiler_c_o_RC \
20449 exclude_expsyms_RC \
20450 include_expsyms_RC
; do
20453 old_archive_cmds_RC | \
20454 old_archive_from_new_cmds_RC | \
20455 archive_cmds_RC | \
20456 archive_expsym_cmds_RC | \
20458 module_expsym_cmds_RC | \
20459 old_archive_from_expsyms_cmds_RC | \
20460 export_symbols_cmds_RC | \
20461 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20462 postinstall_cmds | postuninstall_cmds | \
20463 old_postinstall_cmds | old_postuninstall_cmds | \
20464 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20465 # Double-quote double-evaled strings.
20466 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20469 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20475 *'\$0 --fallback-echo"')
20476 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20482 cat <<__EOF__ >> "$cfgfile"
20483 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20485 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20487 # Shell to use when invoking shell scripts.
20490 # Whether or not to build shared libraries.
20491 build_libtool_libs=$enable_shared
20493 # Whether or not to build static libraries.
20494 build_old_libs=$enable_static
20496 # Whether or not to add -lc for building shared libraries.
20497 build_libtool_need_lc=$archive_cmds_need_lc_RC
20499 # Whether or not to disallow shared libs when runtime libs are static
20500 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20502 # Whether or not to optimize for fast installation.
20503 fast_install=$enable_fast_install
20506 host_alias=$host_alias
20510 # The build system.
20511 build_alias=$build_alias
20515 # An echo program that does not interpret backslashes.
20520 AR_FLAGS=$lt_AR_FLAGS
20525 # LTCC compiler flags.
20526 LTCFLAGS=$lt_LTCFLAGS
20528 # A language-specific compiler.
20531 # Is the compiler the GNU C compiler?
20537 # The linker used to build libraries.
20540 # Whether we need hard or soft links.
20543 # A BSD-compatible nm program.
20546 # A symbol stripping program
20549 # Used to examine libraries when file_magic_cmd begins "file"
20550 MAGIC_CMD=$MAGIC_CMD
20552 # Used on cygwin: DLL creation program.
20555 # Used on cygwin: object dumper.
20558 # Used on cygwin: assembler.
20561 # The name of the directory that contains temporary libtool files.
20564 # How to create reloadable object files.
20565 reload_flag=$lt_reload_flag
20566 reload_cmds=$lt_reload_cmds
20568 # How to pass a linker flag through the compiler.
20569 wl=$lt_lt_prog_compiler_wl_RC
20571 # Object file suffix (normally "o").
20572 objext="$ac_objext"
20574 # Old archive suffix (normally "a").
20577 # Shared library suffix (normally ".so").
20578 shrext_cmds='$shrext_cmds'
20580 # Executable file suffix (normally "").
20583 # Additional compiler flags for building library objects.
20584 pic_flag=$lt_lt_prog_compiler_pic_RC
20587 # What is the maximum length of a command?
20588 max_cmd_len=$lt_cv_sys_max_cmd_len
20590 # Does compiler simultaneously support -c and -o options?
20591 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20593 # Must we lock files when doing compilation?
20594 need_locks=$lt_need_locks
20596 # Do we need the lib prefix for modules?
20597 need_lib_prefix=$need_lib_prefix
20599 # Do we need a version for libraries?
20600 need_version=$need_version
20602 # Whether dlopen is supported.
20603 dlopen_support=$enable_dlopen
20605 # Whether dlopen of programs is supported.
20606 dlopen_self=$enable_dlopen_self
20608 # Whether dlopen of statically linked programs is supported.
20609 dlopen_self_static=$enable_dlopen_self_static
20611 # Compiler flag to prevent dynamic linking.
20612 link_static_flag=$lt_lt_prog_compiler_static_RC
20614 # Compiler flag to turn off builtin functions.
20615 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20617 # Compiler flag to allow reflexive dlopens.
20618 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20620 # Compiler flag to generate shared objects directly from archives.
20621 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20623 # Compiler flag to generate thread-safe objects.
20624 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20626 # Library versioning type.
20627 version_type=$version_type
20629 # Format of library name prefix.
20630 libname_spec=$lt_libname_spec
20632 # List of archive names. First name is the real one, the rest are links.
20633 # The last name is the one that the linker finds with -lNAME.
20634 library_names_spec=$lt_library_names_spec
20636 # The coded name of the library, if different from the real name.
20637 soname_spec=$lt_soname_spec
20639 # Commands used to build and install an old-style archive.
20641 old_archive_cmds=$lt_old_archive_cmds_RC
20642 old_postinstall_cmds=$lt_old_postinstall_cmds
20643 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20645 # Create an old-style archive from a shared archive.
20646 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20648 # Create a temporary old-style archive to link instead of a shared archive.
20649 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20651 # Commands used to build and install a shared archive.
20652 archive_cmds=$lt_archive_cmds_RC
20653 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20654 postinstall_cmds=$lt_postinstall_cmds
20655 postuninstall_cmds=$lt_postuninstall_cmds
20657 # Commands used to build a loadable module (assumed same as above if empty)
20658 module_cmds=$lt_module_cmds_RC
20659 module_expsym_cmds=$lt_module_expsym_cmds_RC
20661 # Commands to strip libraries.
20662 old_striplib=$lt_old_striplib
20663 striplib=$lt_striplib
20665 # Dependencies to place before the objects being linked to create a
20667 predep_objects=$lt_predep_objects_RC
20669 # Dependencies to place after the objects being linked to create a
20671 postdep_objects=$lt_postdep_objects_RC
20673 # Dependencies to place before the objects being linked to create a
20675 predeps=$lt_predeps_RC
20677 # Dependencies to place after the objects being linked to create a
20679 postdeps=$lt_postdeps_RC
20681 # The library search path used internally by the compiler when linking
20682 # a shared library.
20683 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20685 # Method to check whether dependent libraries are shared objects.
20686 deplibs_check_method=$lt_deplibs_check_method
20688 # Command to use when deplibs_check_method == file_magic.
20689 file_magic_cmd=$lt_file_magic_cmd
20691 # Flag that allows shared libraries with undefined symbols to be built.
20692 allow_undefined_flag=$lt_allow_undefined_flag_RC
20694 # Flag that forces no undefined symbols.
20695 no_undefined_flag=$lt_no_undefined_flag_RC
20697 # Commands used to finish a libtool library installation in a directory.
20698 finish_cmds=$lt_finish_cmds
20700 # Same as above, but a single script fragment to be evaled but not shown.
20701 finish_eval=$lt_finish_eval
20703 # Take the output of nm and produce a listing of raw symbols and C names.
20704 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20706 # Transform the output of nm in a proper C declaration
20707 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20709 # Transform the output of nm in a C name address pair
20710 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20712 # This is the shared library runtime path variable.
20713 runpath_var=$runpath_var
20715 # This is the shared library path variable.
20716 shlibpath_var=$shlibpath_var
20718 # Is shlibpath searched before the hard-coded library search path?
20719 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20721 # How to hardcode a shared library path into an executable.
20722 hardcode_action=$hardcode_action_RC
20724 # Whether we should hardcode library paths into libraries.
20725 hardcode_into_libs=$hardcode_into_libs
20727 # Flag to hardcode \$libdir into a binary during linking.
20728 # This must work even if \$libdir does not exist.
20729 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20731 # If ld is used when linking, flag to hardcode \$libdir into
20732 # a binary during linking. This must work even if \$libdir does
20734 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20736 # Whether we need a single -rpath flag with a separated argument.
20737 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20739 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20740 # resulting binary.
20741 hardcode_direct=$hardcode_direct_RC
20743 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20744 # resulting binary.
20745 hardcode_minus_L=$hardcode_minus_L_RC
20747 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20748 # the resulting binary.
20749 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20751 # Set to yes if building a shared library automatically hardcodes DIR into the library
20752 # and all subsequent libraries and executables linked against it.
20753 hardcode_automatic=$hardcode_automatic_RC
20755 # Variables whose values should be saved in libtool wrapper scripts and
20756 # restored at relink time.
20757 variables_saved_for_relink="$variables_saved_for_relink"
20759 # Whether libtool must link a program against all its dependency libraries.
20760 link_all_deplibs=$link_all_deplibs_RC
20762 # Compile-time system search path for libraries
20763 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20765 # Run-time system search path for libraries
20766 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20768 # Fix the shell variable \$srcfile for the compiler.
20769 fix_srcfile_path="$fix_srcfile_path_RC"
20771 # Set to yes if exported symbols are required.
20772 always_export_symbols=$always_export_symbols_RC
20774 # The commands to list exported symbols.
20775 export_symbols_cmds=$lt_export_symbols_cmds_RC
20777 # The commands to extract the exported symbol list from a shared archive.
20778 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20780 # Symbols that should not be listed in the preloaded symbols.
20781 exclude_expsyms=$lt_exclude_expsyms_RC
20783 # Symbols that must always be exported.
20784 include_expsyms=$lt_include_expsyms_RC
20786 # ### END LIBTOOL TAG CONFIG: $tagname
20792 # If there is no Makefile yet, we rely on a make rule to execute
20793 # `config.status --recheck' to rerun these tests and create the
20794 # libtool script then.
20795 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20796 if test -f "$ltmain_in"; then
20797 test -f Makefile
&& make "$ltmain"
20803 ac_cpp
='$CPP $CPPFLAGS'
20804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20813 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20814 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20815 { (exit 1); exit 1; }; }
20819 # Append the new tag name to the list of available tags.
20820 if test -n "$tagname" ; then
20821 available_tags
="$available_tags $tagname"
20827 # Now substitute the updated list of available tags.
20828 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20829 mv "${ofile}T" "$ofile"
20833 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20834 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20835 { (exit 1); exit 1; }; }
20841 # This can be used to rebuild libtool when needed
20842 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20844 # Always use our own libtool.
20845 LIBTOOL
='$(SHELL) $(top_builddir)/mklib'
20847 # Prevent multiple expansion
20871 { echo "$as_me:$LINENO: checking for f2c bin/lib/include locations" >&5
20872 echo $ECHO_N "checking for f2c bin/lib/include locations... $ECHO_C" >&6; }
20874 # Check whether --with-f2c was given.
20875 if test "${with_f2c+set}" = set; then
20876 withval
=$with_f2c; f2cpfxdir
=$withval
20882 # Check whether --with-f2c-bin was given.
20883 if test "${with_f2c_bin+set}" = set; then
20884 withval
=$with_f2c_bin; f2cbindir
=$withval
20890 # Check whether --with-f2c-lib was given.
20891 if test "${with_f2c_lib+set}" = set; then
20892 withval
=$with_f2c_lib; f2clibdir
=$withval
20898 # Check whether --with-f2c-inc was given.
20899 if test "${with_f2c_inc+set}" = set; then
20900 withval
=$with_f2c_inc; f2cincdir
=$withval
20905 eval pfxval
=\$\
{f2cpfxdir\
}
20906 eval binval
=\$\
{f2cbindir\
}
20907 eval incval
=\$\
{f2cincdir\
}
20908 eval libval
=\$\
{f2clibdir\
}
20909 if test "${pfxval}" != "nada" ; then
20911 if test -n "${pfxval}" -a -d "${pfxval}" -a -n "f2c" -a -d "${pfxval}/bin" -a -x "${pfxval}/bin/f2c" ; then
20912 USE_F2C
="USE_F2C = 1"
20914 F2C
=${pfxval}/bin
/f2c
20916 F2C_BIN
=${pfxval}/bin
20920 if test -n "f2c.h" -a -d "${pfxval}/include" -a -f "${pfxval}/include/f2c.h" ; then
20921 F2C_INC
=${pfxval}/include
20924 if test -n "libf2c.a" -a -d "${pfxval}/lib" -a -f "${pfxval}/lib/libf2c.a" ; then
20925 F2C_LIB
=${pfxval}/lib
20930 elif test "${binval}" != "nada" ; then
20931 if test "${libval}" != "nada" ; then
20932 if test "${incval}" != "nada" ; then
20933 if test -d "${binval}" ; then
20934 if test -d "${incval}" ; then
20935 if test -d "${libval}" ; then
20944 USE_F2C
="USE_F2C = 1"
20946 { echo "$as_me:$LINENO: result: found via --with options" >&5
20947 echo "${ECHO_T}found via --with options" >&6; }
20949 { echo "$as_me:$LINENO: result: failed" >&5
20950 echo "${ECHO_T}failed" >&6; }
20951 { { echo "$as_me:$LINENO: error: The --with-f2c-libdir value must be a directory" >&5
20952 echo "$as_me: error: The --with-f2c-libdir value must be a directory" >&2;}
20953 { (exit 1); exit 1; }; }
20956 { echo "$as_me:$LINENO: result: failed" >&5
20957 echo "${ECHO_T}failed" >&6; }
20958 { { echo "$as_me:$LINENO: error: The --with-f2c-incdir value must be a directory" >&5
20959 echo "$as_me: error: The --with-f2c-incdir value must be a directory" >&2;}
20960 { (exit 1); exit 1; }; }
20963 { echo "$as_me:$LINENO: result: failed" >&5
20964 echo "${ECHO_T}failed" >&6; }
20965 { { echo "$as_me:$LINENO: error: The --with-f2c-bindir value must be a directory" >&5
20966 echo "$as_me: error: The --with-f2c-bindir value must be a directory" >&2;}
20967 { (exit 1); exit 1; }; }
20970 { echo "$as_me:$LINENO: result: failed" >&5
20971 echo "${ECHO_T}failed" >&6; }
20972 { { echo "$as_me:$LINENO: error: The --with-f2c-incdir option must be specified" >&5
20973 echo "$as_me: error: The --with-f2c-incdir option must be specified" >&2;}
20974 { (exit 1); exit 1; }; }
20977 { echo "$as_me:$LINENO: result: failed" >&5
20978 echo "${ECHO_T}failed" >&6; }
20979 { { echo "$as_me:$LINENO: error: The --with-f2c-libdir option must be specified" >&5
20980 echo "$as_me: error: The --with-f2c-libdir option must be specified" >&2;}
20981 { (exit 1); exit 1; }; }
20984 tmppfxdir
=`which f2c 2>&1`
20985 if test -n "$tmppfxdir" -a -d "${tmppfxdir%*f2c}" -a \
20986 -d "${tmppfxdir%*f2c}/.." ; then
20987 tmppfxdir
=`cd "${tmppfxdir%*f2c}/.." ; pwd`
20989 if test -n "$tmppfxdir" -a -d "$tmppfxdir" -a -n "f2c" -a -d "$tmppfxdir/bin" -a -x "$tmppfxdir/bin/f2c" ; then
20990 USE_F2C
="USE_F2C = 1"
20992 F2C
=$tmppfxdir/bin
/f2c
20994 F2C_BIN
=$tmppfxdir/bin
20998 if test -n "f2c.h" -a -d "$tmppfxdir/include" -a -f "$tmppfxdir/include/f2c.h" ; then
20999 F2C_INC
=$tmppfxdir/include
21002 if test -n "libf2c.a" -a -d "$tmppfxdir/lib" -a -f "$tmppfxdir/lib/libf2c.a" ; then
21003 F2C_LIB
=$tmppfxdir/lib
21008 { echo "$as_me:$LINENO: result: found in PATH at $tmppfxdir" >&5
21009 echo "${ECHO_T}found in PATH at $tmppfxdir" >&6; }
21012 eval checkval
=\$\
{"USE_"F2C\
}
21014 if test -n "/usr" -a -d "/usr" -a -n "f2c" -a -d "/usr/bin" -a -x "/usr/bin/f2c" ; then
21015 USE_F2C
="USE_F2C = 1"
21023 if test -n "f2c.h" -a -d "/usr/include" -a -f "/usr/include/f2c.h" ; then
21024 F2C_INC
=/usr
/include
21027 if test -n "libf2c.a" -a -d "/usr/lib" -a -f "/usr/lib/libf2c.a" ; then
21033 if test -z "${checkval}" ; then
21035 if test -n "/usr/local" -a -d "/usr/local" -a -n "f2c" -a -d "/usr/local/bin" -a -x "/usr/local/bin/f2c" ; then
21036 USE_F2C
="USE_F2C = 1"
21038 F2C
=/usr
/local
/bin
/f2c
21040 F2C_BIN
=/usr
/local
/bin
21044 if test -n "f2c.h" -a -d "/usr/local/include" -a -f "/usr/local/include/f2c.h" ; then
21045 F2C_INC
=/usr
/local
/include
21048 if test -n "libf2c.a" -a -d "/usr/local/lib" -a -f "/usr/local/lib/libf2c.a" ; then
21049 F2C_LIB
=/usr
/local
/lib
21054 if test -z "${checkval}" ; then
21056 if test -n "/sw" -a -d "/sw" -a -n "f2c" -a -d "/sw/bin" -a -x "/sw/bin/f2c" ; then
21057 USE_F2C
="USE_F2C = 1"
21065 if test -n "f2c.h" -a -d "/sw/include" -a -f "/sw/include/f2c.h" ; then
21066 F2C_INC
=/sw
/include
21069 if test -n "libf2c.a" -a -d "/sw/lib" -a -f "/sw/lib/libf2c.a" ; then
21075 if test -z "${checkval}" ; then
21077 if test -n "/opt" -a -d "/opt" -a -n "f2c" -a -d "/opt/bin" -a -x "/opt/bin/f2c" ; then
21078 USE_F2C
="USE_F2C = 1"
21086 if test -n "f2c.h" -a -d "/opt/include" -a -f "/opt/include/f2c.h" ; then
21087 F2C_INC
=/opt
/include
21090 if test -n "libf2c.a" -a -d "/opt/lib" -a -f "/opt/lib/libf2c.a" ; then
21096 if test -z "${checkval}" ; then
21098 if test -n "/" -a -d "/" -a -n "f2c" -a -d "//bin" -a -x "//bin/f2c" ; then
21099 USE_F2C
="USE_F2C = 1"
21107 if test -n "f2c.h" -a -d "//include" -a -f "//include/f2c.h" ; then
21111 if test -n "libf2c.a" -a -d "//lib" -a -f "//lib/libf2c.a" ; then
21117 if test -z "${checkval}" ; then
21124 { echo "$as_me:$LINENO: result: $checkresult" >&5
21125 echo "${ECHO_T}$checkresult" >&6; }
21131 { echo "$as_me:$LINENO: checking for nag-fortran bin/lib/include locations" >&5
21132 echo $ECHO_N "checking for nag-fortran bin/lib/include locations... $ECHO_C" >&6; }
21134 # Check whether --with-f95 was given.
21135 if test "${with_f95+set}" = set; then
21136 withval
=$with_f95; f95pfxdir
=$withval
21142 # Check whether --with-f95-bin was given.
21143 if test "${with_f95_bin+set}" = set; then
21144 withval
=$with_f95_bin; f95bindir
=$withval
21150 # Check whether --with-f95-lib was given.
21151 if test "${with_f95_lib+set}" = set; then
21152 withval
=$with_f95_lib; f95libdir
=$withval
21158 # Check whether --with-f95-inc was given.
21159 if test "${with_f95_inc+set}" = set; then
21160 withval
=$with_f95_inc; f95incdir
=$withval
21165 eval pfxval
=\$\
{f95pfxdir\
}
21166 eval binval
=\$\
{f95bindir\
}
21167 eval incval
=\$\
{f95incdir\
}
21168 eval libval
=\$\
{f95libdir\
}
21169 if test "${pfxval}" != "nada" ; then
21171 if test -n "${pfxval}" -a -d "${pfxval}" -a -n "f95" -a -d "${pfxval}/bin" -a -x "${pfxval}/bin/f95" ; then
21172 USE_F95
="USE_F95 = 1"
21174 F95
=${pfxval}/bin
/f95
21176 F95_BIN
=${pfxval}/bin
21180 if test -n "" -a -d "${pfxval}/include" -a -f "${pfxval}/include/" ; then
21181 F95_INC
=${pfxval}/include
21184 if test -n "libf97.dylib" -a -d "${pfxval}/lib" -a -f "${pfxval}/lib/libf97.dylib" ; then
21185 F95_LIB
=${pfxval}/lib
21190 elif test "${binval}" != "nada" ; then
21191 if test "${libval}" != "nada" ; then
21192 if test "${incval}" != "nada" ; then
21193 if test -d "${binval}" ; then
21194 if test -d "${incval}" ; then
21195 if test -d "${libval}" ; then
21204 USE_F95
="USE_F95 = 1"
21206 { echo "$as_me:$LINENO: result: found via --with options" >&5
21207 echo "${ECHO_T}found via --with options" >&6; }
21209 { echo "$as_me:$LINENO: result: failed" >&5
21210 echo "${ECHO_T}failed" >&6; }
21211 { { echo "$as_me:$LINENO: error: The --with-f95-libdir value must be a directory" >&5
21212 echo "$as_me: error: The --with-f95-libdir value must be a directory" >&2;}
21213 { (exit 1); exit 1; }; }
21216 { echo "$as_me:$LINENO: result: failed" >&5
21217 echo "${ECHO_T}failed" >&6; }
21218 { { echo "$as_me:$LINENO: error: The --with-f95-incdir value must be a directory" >&5
21219 echo "$as_me: error: The --with-f95-incdir value must be a directory" >&2;}
21220 { (exit 1); exit 1; }; }
21223 { echo "$as_me:$LINENO: result: failed" >&5
21224 echo "${ECHO_T}failed" >&6; }
21225 { { echo "$as_me:$LINENO: error: The --with-f95-bindir value must be a directory" >&5
21226 echo "$as_me: error: The --with-f95-bindir value must be a directory" >&2;}
21227 { (exit 1); exit 1; }; }
21230 { echo "$as_me:$LINENO: result: failed" >&5
21231 echo "${ECHO_T}failed" >&6; }
21232 { { echo "$as_me:$LINENO: error: The --with-f95-incdir option must be specified" >&5
21233 echo "$as_me: error: The --with-f95-incdir option must be specified" >&2;}
21234 { (exit 1); exit 1; }; }
21237 { echo "$as_me:$LINENO: result: failed" >&5
21238 echo "${ECHO_T}failed" >&6; }
21239 { { echo "$as_me:$LINENO: error: The --with-f95-libdir option must be specified" >&5
21240 echo "$as_me: error: The --with-f95-libdir option must be specified" >&2;}
21241 { (exit 1); exit 1; }; }
21244 tmppfxdir
=`which f95 2>&1`
21245 if test -n "$tmppfxdir" -a -d "${tmppfxdir%*f95}" -a \
21246 -d "${tmppfxdir%*f95}/.." ; then
21247 tmppfxdir
=`cd "${tmppfxdir%*f95}/.." ; pwd`
21249 if test -n "$tmppfxdir" -a -d "$tmppfxdir" -a -n "f95" -a -d "$tmppfxdir/bin" -a -x "$tmppfxdir/bin/f95" ; then
21250 USE_F95
="USE_F95 = 1"
21252 F95
=$tmppfxdir/bin
/f95
21254 F95_BIN
=$tmppfxdir/bin
21258 if test -n "" -a -d "$tmppfxdir/include" -a -f "$tmppfxdir/include/" ; then
21259 F95_INC
=$tmppfxdir/include
21262 if test -n "libf97.dylib" -a -d "$tmppfxdir/lib" -a -f "$tmppfxdir/lib/libf97.dylib" ; then
21263 F95_LIB
=$tmppfxdir/lib
21268 { echo "$as_me:$LINENO: result: found in PATH at $tmppfxdir" >&5
21269 echo "${ECHO_T}found in PATH at $tmppfxdir" >&6; }
21272 eval checkval
=\$\
{"USE_"F95\
}
21274 if test -n "/usr" -a -d "/usr" -a -n "f95" -a -d "/usr/bin" -a -x "/usr/bin/f95" ; then
21275 USE_F95
="USE_F95 = 1"
21283 if test -n "" -a -d "/usr/include" -a -f "/usr/include/" ; then
21284 F95_INC
=/usr
/include
21287 if test -n "libf97.dylib" -a -d "/usr/lib" -a -f "/usr/lib/libf97.dylib" ; then
21293 if test -z "${checkval}" ; then
21295 if test -n "/usr/local" -a -d "/usr/local" -a -n "f95" -a -d "/usr/local/bin" -a -x "/usr/local/bin/f95" ; then
21296 USE_F95
="USE_F95 = 1"
21298 F95
=/usr
/local
/bin
/f95
21300 F95_BIN
=/usr
/local
/bin
21304 if test -n "" -a -d "/usr/local/include" -a -f "/usr/local/include/" ; then
21305 F95_INC
=/usr
/local
/include
21308 if test -n "libf97.dylib" -a -d "/usr/local/lib" -a -f "/usr/local/lib/libf97.dylib" ; then
21309 F95_LIB
=/usr
/local
/lib
21314 if test -z "${checkval}" ; then
21316 if test -n "/sw" -a -d "/sw" -a -n "f95" -a -d "/sw/bin" -a -x "/sw/bin/f95" ; then
21317 USE_F95
="USE_F95 = 1"
21325 if test -n "" -a -d "/sw/include" -a -f "/sw/include/" ; then
21326 F95_INC
=/sw
/include
21329 if test -n "libf97.dylib" -a -d "/sw/lib" -a -f "/sw/lib/libf97.dylib" ; then
21335 if test -z "${checkval}" ; then
21337 if test -n "/opt" -a -d "/opt" -a -n "f95" -a -d "/opt/bin" -a -x "/opt/bin/f95" ; then
21338 USE_F95
="USE_F95 = 1"
21346 if test -n "" -a -d "/opt/include" -a -f "/opt/include/" ; then
21347 F95_INC
=/opt
/include
21350 if test -n "libf97.dylib" -a -d "/opt/lib" -a -f "/opt/lib/libf97.dylib" ; then
21356 if test -z "${checkval}" ; then
21358 if test -n "/" -a -d "/" -a -n "f95" -a -d "//bin" -a -x "//bin/f95" ; then
21359 USE_F95
="USE_F95 = 1"
21367 if test -n "" -a -d "//include" -a -f "//include/" ; then
21371 if test -n "libf97.dylib" -a -d "//lib" -a -f "//lib/libf97.dylib" ; then
21377 if test -z "${checkval}" ; then
21384 { echo "$as_me:$LINENO: result: $checkresult" >&5
21385 echo "${ECHO_T}$checkresult" >&6; }
21390 { echo "$as_me:$LINENO: checking sanity for program f95" >&5
21391 echo $ECHO_N "checking sanity for program f95... $ECHO_C" >&6; }
21393 sanity_path
=`which f95 2>/dev/null`
21394 if test "$?" -eq 0 -a -x "$sanity_path" ; then
21395 sanity
=`f95 -V 2>&1 | grep "NAGWare Fortran 95"`
21396 if test -z "$sanity" ; then
21397 { echo "$as_me:$LINENO: result: no" >&5
21398 echo "${ECHO_T}no" >&6; }
21400 if test "1" -eq 1 ; then
21401 { echo "$as_me:$LINENO: WARNING: Program f95 failed to pass sanity check." >&5
21402 echo "$as_me: WARNING: Program f95 failed to pass sanity check." >&2;}
21404 { { echo "$as_me:$LINENO: error: Program f95 failed to pass sanity check." >&5
21405 echo "$as_me: error: Program f95 failed to pass sanity check." >&2;}
21406 { (exit 1); exit 1; }; }
21409 { echo "$as_me:$LINENO: result: yes" >&5
21410 echo "${ECHO_T}yes" >&6; }
21414 { echo "$as_me:$LINENO: result: not found" >&5
21415 echo "${ECHO_T}not found" >&6; }
21418 if test -z "$sanity" ; then
21422 if test "$sanity" -eq "0" ; then
21431 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21432 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21433 if test "${ac_cv_header_stdc+set}" = set; then
21434 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 cat >conftest.
$ac_ext <<_ACEOF
21439 cat confdefs.h
>>conftest.
$ac_ext
21440 cat >>conftest.
$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21442 #include <stdlib.h>
21443 #include <stdarg.h>
21444 #include <string.h>
21455 rm -f conftest.
$ac_objext
21456 if { (ac_try
="$ac_compile"
21457 case "(($ac_try" in
21458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21459 *) ac_try_echo=$ac_try;;
21461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21462 (eval "$ac_compile") 2>conftest.er1
21464 grep -v '^ *+' conftest.er1 >conftest.err
21466 cat conftest.err >&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21470 { (case "(($ac_try" in
21471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21472 *) ac_try_echo
=$ac_try;;
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_try") 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; } &&
21479 { ac_try
='test -s conftest.$ac_objext'
21480 { (case "(($ac_try" in
21481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21482 *) ac_try_echo=$ac_try;;
21484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21485 (eval "$ac_try") 2>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21489 ac_cv_header_stdc=yes
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21494 ac_cv_header_stdc=no
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 if test $ac_cv_header_stdc = yes; then
21500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21501 cat >conftest.$ac_ext <<_ACEOF
21504 cat confdefs.h >>conftest.$ac_ext
21505 cat >>conftest.$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21507 #include <string.h>
21510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21511 $EGREP "memchr" >/dev/null 2>&1; then
21514 ac_cv_header_stdc=no
21520 if test $ac_cv_header_stdc = yes; then
21521 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21522 cat >conftest.$ac_ext <<_ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 #include <stdlib.h>
21531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21532 $EGREP "free" >/dev/null 2>&1; then
21535 ac_cv_header_stdc=no
21541 if test $ac_cv_header_stdc = yes; then
21542 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21543 if test "$cross_compiling" = yes; then
21546 cat >conftest.$ac_ext <<_ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21553 #include <stdlib.h>
21554 #if ((' ' & 0x0FF) == 0x020)
21555 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21556 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21558 # define ISLOWER(c) \
21559 (('a' <= (c) && (c) <= 'i') \
21560 || ('j' <= (c) && (c) <= 'r') \
21561 || ('s' <= (c) && (c) <= 'z'))
21562 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21565 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21570 for (i = 0; i < 256; i++)
21571 if (XOR (islower (i), ISLOWER (i))
21572 || toupper (i) != TOUPPER (i))
21577 rm -f conftest$ac_exeext
21578 if { (ac_try="$ac_link"
21579 case "(($ac_try" in
21580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21581 *) ac_try_echo
=$ac_try;;
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_link") 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21588 { (case "(($ac_try" in
21589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_try") 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; }; then
21599 echo "$as_me: program exited with status $ac_status" >&5
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21603 ( exit $ac_status )
21604 ac_cv_header_stdc=no
21606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21612 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21613 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21614 if test $ac_cv_header_stdc = yes; then
21616 cat >>confdefs.h <<\_ACEOF
21617 #define STDC_HEADERS 1
21622 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
21623 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
21624 if test "${ac_cv_header_sys_wait_h+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 cat >conftest.$ac_ext <<_ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 #include <sys/types.h>
21634 #include <sys/wait.h>
21635 #ifndef WEXITSTATUS
21636 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
21639 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
21647 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
21652 rm -f conftest.$ac_objext
21653 if { (ac_try="$ac_compile"
21654 case "(($ac_try" in
21655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21656 *) ac_try_echo
=$ac_try;;
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_compile") 2>conftest.er1
21661 grep -v '^ *+' conftest.er1
>conftest.err
21663 cat conftest.err
>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21667 { (case "(($ac_try" in
21668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21669 *) ac_try_echo=$ac_try;;
21671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21672 (eval "$ac_try") 2>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; } &&
21676 { ac_try='test -s conftest.$ac_objext'
21677 { (case "(($ac_try" in
21678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21679 *) ac_try_echo
=$ac_try;;
21681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21682 (eval "$ac_try") 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 ac_cv_header_sys_wait_h
=yes
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.
$ac_ext >&5
21691 ac_cv_header_sys_wait_h
=no
21694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21696 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
21697 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
21698 if test $ac_cv_header_sys_wait_h = yes; then
21700 cat >>confdefs.h
<<\_ACEOF
21701 #define HAVE_SYS_WAIT_H 1
21707 { echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
21708 echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6; }
21709 if test "${llvm_cv_link_use_r+set}" = set; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 ac_cpp
='$CPP $CPPFLAGS'
21714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21718 oldcflags
="$CFLAGS"
21719 CFLAGS
="$CFLAGS -Wl,-R."
21720 cat >conftest.
$ac_ext <<_ACEOF
21723 cat confdefs.h
>>conftest.
$ac_ext
21724 cat >>conftest.
$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21735 rm -f conftest.
$ac_objext conftest
$ac_exeext
21736 if { (ac_try
="$ac_link"
21737 case "(($ac_try" in
21738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_link") 2>conftest.er1
21744 grep -v '^ *+' conftest.er1 >conftest.err
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21750 { (case "(($ac_try" in
21751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21752 *) ac_try_echo
=$ac_try;;
21754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21755 (eval "$ac_try") 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; } &&
21759 { ac_try
='test -s conftest$ac_exeext'
21760 { (case "(($ac_try" in
21761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_try") 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; }; then
21769 llvm_cv_link_use_r=yes
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.$ac_ext >&5
21774 llvm_cv_link_use_r=no
21777 rm -f core conftest.err conftest.$ac_objext \
21778 conftest$ac_exeext conftest.$ac_ext
21779 CFLAGS="$oldcflags"
21781 ac_cpp='$CPP $CPPFLAGS'
21782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21788 { echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
21789 echo "${ECHO_T}$llvm_cv_link_use_r" >&6; }
21790 if test "$llvm_cv_link_use_r" = yes ; then
21792 cat >>confdefs.h <<\_ACEOF
21793 #define HAVE_LINK_R 1
21799 { echo "$as_me:$LINENO: checking for re_comp" >&5
21800 echo $ECHO_N "checking for re_comp... $ECHO_C" >&6; }
21801 if test "${ac_cv_func_re_comp+set}" = set; then
21802 echo $ECHO_N "(cached) $ECHO_C" >&6
21804 cat >conftest.$ac_ext <<_ACEOF
21807 cat confdefs.h >>conftest.$ac_ext
21808 cat >>conftest.$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21810 /* Define re_comp to an innocuous variant, in case <limits.h> declares re_comp.
21811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21812 #define re_comp innocuous_re_comp
21814 /* System header to define __stub macros and hopefully few prototypes,
21815 which can conflict with char re_comp (); below.
21816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21817 <limits.h> exists even on freestanding compilers. */
21820 # include <limits.h>
21822 # include <assert.h>
21827 /* Override any GCC internal prototype to avoid an error.
21828 Use char because int might match the return type of a GCC
21829 builtin and then its argument prototype would still apply. */
21834 /* The GNU C library defines this for functions which it implements
21835 to always fail with ENOSYS. Some functions are actually named
21836 something starting with __ and the normal name is an alias. */
21837 #if defined __stub_re_comp || defined __stub___re_comp
21849 rm -f conftest.$ac_objext conftest$ac_exeext
21850 if { (ac_try="$ac_link"
21851 case "(($ac_try" in
21852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21853 *) ac_try_echo
=$ac_try;;
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_link") 2>conftest.er1
21858 grep -v '^ *+' conftest.er1
>conftest.err
21860 cat conftest.err
>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } &&
21863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21864 { (case "(($ac_try" in
21865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; } &&
21873 { ac_try='test -s conftest$ac_exeext'
21874 { (case "(($ac_try" in
21875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21876 *) ac_try_echo
=$ac_try;;
21878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21879 (eval "$ac_try") 2>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); }; }; then
21883 ac_cv_func_re_comp
=yes
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.
$ac_ext >&5
21888 ac_cv_func_re_comp
=no
21891 rm -f core conftest.err conftest.
$ac_objext \
21892 conftest
$ac_exeext conftest.
$ac_ext
21894 { echo "$as_me:$LINENO: result: $ac_cv_func_re_comp" >&5
21895 echo "${ECHO_T}$ac_cv_func_re_comp" >&6; }
21896 if test $ac_cv_func_re_comp = yes; then
21897 HAVE_RE_COMP
=HAVE_RE_COMP
:=1
21906 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
21907 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
21908 if test "${libltdl_cv_shlibext+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21913 eval libltdl_cv_shlibext
=$shrext_cmds
21916 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
21917 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
21918 if test -n "$libltdl_cv_shlibext"; then
21920 cat >>confdefs.h
<<_ACEOF
21921 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
21926 SHLIBEXT
=$libltdl_cv_shlibext
21929 cat >confcache
<<\_ACEOF
21930 # This file is a shell script that caches the results of configure
21931 # tests run on this system so they can be shared between configure
21932 # scripts and configure runs, see configure's option --config-cache.
21933 # It is not useful on other systems. If it contains results you don't
21934 # want to keep, you may remove or edit it.
21936 # config.status only pays attention to the cache file if you give it
21937 # the --recheck option to rerun configure.
21939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21941 # following values.
21945 # The following way of writing the cache mishandles newlines in values,
21946 # but we know of no workaround that is simple, portable, and efficient.
21947 # So, we kill variables containing newlines.
21948 # Ultrix sh set writes to stderr and can't be redirected directly,
21949 # and sets the high bit in the cache file unless we assign to the vars.
21951 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21952 eval ac_val
=\$
$ac_var
21956 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21957 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21960 _ | IFS | as_nl
) ;; #(
21961 *) $as_unset $ac_var ;;
21967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21968 *${as_nl}ac_space
=\
*)
21969 # `set' does not quote correctly, so add quotes (double-quote
21970 # substitution turns \\\\ into \\, and sed turns \\ into \).
21973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21976 # `set' quotes correctly as required by POSIX, so do not add quotes.
21977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21990 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21991 if test -w "$cache_file"; then
21992 test "x$cache_file" != "x/dev/null" &&
21993 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21994 echo "$as_me: updating cache $cache_file" >&6;}
21995 cat confcache
>$cache_file
21997 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21998 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22003 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22004 # Let make expand exec_prefix.
22005 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22007 # Transform confdefs.h into DEFS.
22008 # Protect against shell expansion while executing Makefile rules.
22009 # Protect against Makefile macro expansion.
22011 # If the first sed substitution is executed (which looks for macros that
22012 # take arguments), then branch to the quote section. Otherwise,
22013 # look for a macro that doesn't take arguments.
22017 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
22019 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
22023 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22036 DEFS
=`sed -n "$ac_script" confdefs.h`
22041 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22042 # 1. Remove the extension, and $U if already installed.
22043 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22044 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22045 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22046 # will be set to the directory where LIBOBJS objects are built.
22047 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22048 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22050 LIBOBJS
=$ac_libobjs
22052 LTLIBOBJS
=$ac_ltlibobjs
22056 : ${CONFIG_STATUS=./config.status}
22057 ac_clean_files_save
=$ac_clean_files
22058 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22059 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22060 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22061 cat >$CONFIG_STATUS <<_ACEOF
22063 # Generated by $as_me.
22064 # Run this file to recreate the current configuration.
22065 # Compiler output produced by configure, useful for debugging
22066 # configure, is in config.log if it exists.
22069 ac_cs_recheck=false
22071 SHELL=\${CONFIG_SHELL-$SHELL}
22074 cat >>$CONFIG_STATUS <<\_ACEOF
22075 ## --------------------- ##
22076 ## M4sh Initialization. ##
22077 ## --------------------- ##
22079 # Be Bourne compatible
22080 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22083 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22084 # is contrary to our usage. Disable this feature.
22085 alias -g '${1+"$@"}'='"$@"'
22086 setopt NO_GLOB_SUBST
22088 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
22090 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
22091 DUALCASE
=1; export DUALCASE
# for MKS sh
22095 # Avoid depending upon Character Ranges.
22096 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22097 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22098 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22099 as_cr_digits
='0123456789'
22100 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22102 # The user is always right.
22103 if test "${PATH_SEPARATOR+set}" != set; then
22104 echo "#! /bin/sh" >conf$$.sh
22105 echo "exit 0" >>conf$$.sh
22107 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22115 # Support unset when possible.
22116 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22124 # We need space, tab and new line, in precisely that order. Quoting is
22125 # there to prevent editors from complaining about space-tab.
22126 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22127 # splitting by setting IFS to empty value.)
22132 # Find who we are. Look in the path if we contain no directory separator.
22134 *[\\/]* ) as_myself
=$0 ;;
22135 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22136 for as_dir
in $PATH
22139 test -z "$as_dir" && as_dir
=.
22140 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22146 # We did not find ourselves, most probably we were run as `sh COMMAND'
22147 # in which case we are not to be found in the path.
22148 if test "x$as_myself" = x
; then
22151 if test ! -f "$as_myself"; then
22152 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22153 { (exit 1); exit 1; }
22156 # Work around bugs in pre-3.0 UWIN ksh.
22157 for as_var
in ENV MAIL MAILPATH
22158 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22166 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22167 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22168 LC_TELEPHONE LC_TIME
22170 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22171 eval $as_var=C
; export $as_var
22173 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22177 # Required to use basename.
22178 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22179 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22185 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22186 as_basename
=basename
22192 # Name of the executable.
22193 as_me
=`$as_basename -- "$0" ||
22194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22195 X"$0" : 'X\(//\)$' \| \
22196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22198 sed '/^.*\/\([^/][^/]*\)\/*$/{
22217 as_lineno_1
=$LINENO
22218 as_lineno_2
=$LINENO
22219 test "x$as_lineno_1" != "x$as_lineno_2" &&
22220 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22222 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22223 # uniformly replaced by the line number. The first 'sed' inserts a
22224 # line-number line after each line using $LINENO; the second 'sed'
22225 # does the real work. The second script uses 'N' to pair each
22226 # line-number line with the line containing $LINENO, and appends
22227 # trailing '-' during substitution so that $LINENO is not a special
22228 # case at line end.
22229 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22230 # scripts with optimization help from Paolo Bonzini. Blame Lee
22231 # E. McMahon (1931-1989) for sed's syntax. :-)
22243 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22246 ' >$as_me.lineno
&&
22247 chmod +x
"$as_me.lineno" ||
22248 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22249 { (exit 1); exit 1; }; }
22251 # Don't try to exec as it changes $[0], causing all sort of problems
22252 # (the dirname of $[0] is not the place where we might find the
22253 # original and so on. Autoconf is especially sensitive to this).
22254 .
"./$as_me.lineno"
22255 # Exit status is that of the last command.
22260 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22266 ECHO_C
= ECHO_N
= ECHO_T
=
22267 case `echo -n x` in
22269 case `echo 'x\c'` in
22270 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22277 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22278 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22284 rm -f conf$$ conf$$.exe conf$$.
file
22285 if test -d conf$$.dir
; then
22286 rm -f conf$$.dir
/conf$$.
file
22292 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22294 # ... but there are two gotchas:
22295 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22296 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22297 # In both cases, we have to default to `cp -p'.
22298 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22300 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22305 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22306 rmdir conf$$.dir
2>/dev
/null
22308 if mkdir
-p .
2>/dev
/null
; then
22311 test -d .
/-p && rmdir .
/-p
22315 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
22316 # systems may use methods other than mode bits to determine executability.
22317 cat >conf$$.
file <<_ASEOF
22321 chmod +x conf$$.
file
22322 if test -x conf$$.
file >/dev
/null
2>&1; then
22323 as_executable_p
="test -x"
22329 # Sed expression to map a string onto a valid CPP name.
22330 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22332 # Sed expression to map a string onto a valid variable name.
22333 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22338 # Save the log message, to keep $[0] and so on meaningful, and to
22339 # report actual input values of CONFIG_FILES etc. instead of their
22340 # values after options handling.
22342 This file was extended by LLVM-TEST $as_me 2.8svn, which was
22343 generated by GNU Autoconf 2.60. Invocation command line was
22345 CONFIG_FILES = $CONFIG_FILES
22346 CONFIG_HEADERS = $CONFIG_HEADERS
22347 CONFIG_LINKS = $CONFIG_LINKS
22348 CONFIG_COMMANDS = $CONFIG_COMMANDS
22351 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22356 cat >>$CONFIG_STATUS <<_ACEOF
22357 # Files that config.status was made for.
22358 config_files="$ac_config_files"
22359 config_commands="$ac_config_commands"
22363 cat >>$CONFIG_STATUS <<\_ACEOF
22365 \`$as_me' instantiates files from templates according to the
22366 current configuration.
22368 Usage: $0 [OPTIONS] [FILE]...
22370 -h, --help print this help, then exit
22371 -V, --version print version number, then exit
22372 -q, --quiet do not print progress messages
22373 -d, --debug don't remove temporary files
22374 --recheck update $as_me by reconfiguring in the same conditions
22375 --file=FILE[:TEMPLATE]
22376 instantiate the configuration file FILE
22378 Configuration files:
22381 Configuration commands:
22384 Report bugs to <bug-autoconf@gnu.org>."
22387 cat >>$CONFIG_STATUS <<_ACEOF
22389 LLVM-TEST config.status 2.8svn
22390 configured by $0, generated by GNU Autoconf 2.60,
22391 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22393 Copyright (C) 2006 Free Software Foundation, Inc.
22394 This config.status script is free software; the Free Software Foundation
22395 gives unlimited permission to copy, distribute and modify it."
22401 cat >>$CONFIG_STATUS <<\_ACEOF
22402 # If no file are specified by the user, then we need to provide default
22403 # value. By we need to know if files were specified by the user.
22409 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22410 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22421 # Handling of the options.
22422 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22424 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22425 echo "$ac_cs_version"; exit ;;
22426 --debug |
--debu |
--deb |
--de |
--d |
-d )
22428 --file |
--fil |
--fi |
--f )
22430 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22431 ac_need_defaults
=false
;;
22432 --he |
--h |
--help |
--hel |
-h )
22433 echo "$ac_cs_usage"; exit ;;
22434 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22435 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22438 # This is an error.
22439 -*) { echo "$as_me: error: unrecognized option: $1
22440 Try \`$0 --help' for more information." >&2
22441 { (exit 1); exit 1; }; } ;;
22443 *) ac_config_targets
="$ac_config_targets $1"
22444 ac_need_defaults
=false
;;
22450 ac_configure_extra_args
=
22452 if $ac_cs_silent; then
22454 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22458 cat >>$CONFIG_STATUS <<_ACEOF
22459 if \$ac_cs_recheck; then
22460 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22461 CONFIG_SHELL=$SHELL
22462 export CONFIG_SHELL
22463 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22467 cat >>$CONFIG_STATUS <<\_ACEOF
22471 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22472 ## Running $as_me. ##
22478 cat >>$CONFIG_STATUS <<_ACEOF
22482 llvm_src="${srcdir}"
22486 cat >>$CONFIG_STATUS <<\_ACEOF
22488 # Handling of arguments.
22489 for ac_config_target
in $ac_config_targets
22491 case $ac_config_target in
22492 "setup") CONFIG_COMMANDS
="$CONFIG_COMMANDS setup" ;;
22493 "Makefile.config") CONFIG_FILES
="$CONFIG_FILES Makefile.config" ;;
22494 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
22495 "Makefile.common") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.common" ;;
22496 "Makefile.nagfortran") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.nagfortran" ;;
22497 "Makefile.f2c") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.f2c" ;;
22498 "Makefile.programs") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.programs" ;;
22499 "Makefile.tests") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile.tests" ;;
22500 "TEST.aa.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.aa.Makefile" ;;
22501 "TEST.aa.report") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.aa.report" ;;
22502 "TEST.example.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.example.Makefile" ;;
22503 "TEST.nightly.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.nightly.Makefile" ;;
22504 "TEST.buildrepo.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.buildrepo.Makefile" ;;
22505 "TEST.jit.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.jit.Makefile" ;;
22506 "TEST.nightly.report") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.nightly.report" ;;
22507 "TEST.jit.report") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.jit.report" ;;
22508 "TEST.typesafe.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.typesafe.Makefile" ;;
22509 "TEST.vtl.Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS TEST.vtl.Makefile" ;;
22510 "External/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/Makefile" ;;
22511 "External/Makefile.external") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/Makefile.external" ;;
22512 "External/Povray/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/Povray/Makefile" ;;
22513 "External/SPEC/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/Makefile" ;;
22514 "External/SPEC/Makefile.spec") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/Makefile.spec" ;;
22515 "External/SPEC/Makefile.spec.config") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/Makefile.spec.config" ;;
22516 "External/SPEC/Makefile.spec2006") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/Makefile.spec2006" ;;
22517 "External/SPEC/Makefile.spec2000") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/Makefile.spec2000" ;;
22518 "External/SPEC/Makefile.spec95") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/Makefile.spec95" ;;
22519 "External/SPEC/CFP2006/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/CFP2006/Makefile" ;;
22520 "External/SPEC/CINT2006/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/CINT2006/Makefile" ;;
22521 "External/SPEC/CFP2000/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/CFP2000/Makefile" ;;
22522 "External/SPEC/CINT2000/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/CINT2000/Makefile" ;;
22523 "External/SPEC/CFP95/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/CFP95/Makefile" ;;
22524 "External/SPEC/CINT95/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/SPEC/CINT95/Makefile" ;;
22525 "External/skidmarks10/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS External/skidmarks10/Makefile" ;;
22526 "MultiSource/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS MultiSource/Makefile" ;;
22527 "MultiSource/Makefile.multisrc") CONFIG_COMMANDS
="$CONFIG_COMMANDS MultiSource/Makefile.multisrc" ;;
22528 "SingleSource/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS SingleSource/Makefile" ;;
22529 "SingleSource/Makefile.singlesrc") CONFIG_COMMANDS
="$CONFIG_COMMANDS SingleSource/Makefile.singlesrc" ;;
22530 "tools/Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/Makefile" ;;
22532 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22533 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22534 { (exit 1); exit 1; }; };;
22539 # If the user did not use the arguments to specify the items to instantiate,
22540 # then the envvar interface is used. Set only those that are not.
22541 # We use the long form for the default assignment because of an extremely
22542 # bizarre bug on SunOS 4.1.3.
22543 if $ac_need_defaults; then
22544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22545 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22548 # Have a temporary directory for convenience. Make it in the build tree
22549 # simply because there is no reason against having it here, and in addition,
22550 # creating and moving files from /tmp can sometimes cause problems.
22551 # Hook for its removal unless debugging.
22552 # Note that there is a small window in which the directory will not be cleaned:
22553 # after its creation but before its name has been assigned to `$tmp'.
22557 trap 'exit_status=$?
22558 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22560 trap '{ (exit 1); exit 1; }' 1 2 13 15
22562 # Create a (secure) tmp directory for tmp files.
22565 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22566 test -n "$tmp" && test -d "$tmp"
22569 tmp
=.
/conf$$
-$RANDOM
22570 (umask 077 && mkdir
"$tmp")
22573 echo "$me: cannot create a temporary directory in ." >&2
22574 { (exit 1); exit 1; }
22578 # Set up the sed scripts for CONFIG_FILES section.
22581 # No need to generate the scripts if there are no CONFIG_FILES.
22582 # This happens for instance when ./config.status config.h
22583 if test -n "$CONFIG_FILES"; then
22590 for ac_last_try
in false false false false false
:; do
22591 cat >conf$
$subs.
sed <<_ACEOF
22592 SHELL!$SHELL$ac_delim
22593 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22594 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22595 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22596 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22597 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22598 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22599 exec_prefix!$exec_prefix$ac_delim
22600 prefix!$prefix$ac_delim
22601 program_transform_name!$program_transform_name$ac_delim
22602 bindir!$bindir$ac_delim
22603 sbindir!$sbindir$ac_delim
22604 libexecdir!$libexecdir$ac_delim
22605 datarootdir!$datarootdir$ac_delim
22606 datadir!$datadir$ac_delim
22607 sysconfdir!$sysconfdir$ac_delim
22608 sharedstatedir!$sharedstatedir$ac_delim
22609 localstatedir!$localstatedir$ac_delim
22610 includedir!$includedir$ac_delim
22611 oldincludedir!$oldincludedir$ac_delim
22612 docdir!$docdir$ac_delim
22613 infodir!$infodir$ac_delim
22614 htmldir!$htmldir$ac_delim
22615 dvidir!$dvidir$ac_delim
22616 pdfdir!$pdfdir$ac_delim
22617 psdir!$psdir$ac_delim
22618 libdir!$libdir$ac_delim
22619 localedir!$localedir$ac_delim
22620 mandir!$mandir$ac_delim
22621 DEFS!$DEFS$ac_delim
22622 ECHO_C!$ECHO_C$ac_delim
22623 ECHO_N!$ECHO_N$ac_delim
22624 ECHO_T!$ECHO_T$ac_delim
22625 LIBS!$LIBS$ac_delim
22626 build_alias!$build_alias$ac_delim
22627 host_alias!$host_alias$ac_delim
22628 target_alias!$target_alias$ac_delim
22629 build!$build$ac_delim
22630 build_cpu!$build_cpu$ac_delim
22631 build_vendor!$build_vendor$ac_delim
22632 build_os!$build_os$ac_delim
22633 host!$host$ac_delim
22634 host_cpu!$host_cpu$ac_delim
22635 host_vendor!$host_vendor$ac_delim
22636 host_os!$host_os$ac_delim
22637 target!$target$ac_delim
22638 target_cpu!$target_cpu$ac_delim
22639 target_vendor!$target_vendor$ac_delim
22640 target_os!$target_os$ac_delim
22641 TARGET_OS!$TARGET_OS$ac_delim
22642 ARCH!$ARCH$ac_delim
22643 ENDIAN!$ENDIAN$ac_delim
22645 CFLAGS!$CFLAGS$ac_delim
22646 LDFLAGS!$LDFLAGS$ac_delim
22647 CPPFLAGS!$CPPFLAGS$ac_delim
22648 ac_ct_CC!$ac_ct_CC$ac_delim
22649 EXEEXT!$EXEEXT$ac_delim
22650 OBJEXT!$OBJEXT$ac_delim
22652 GREP!$GREP$ac_delim
22653 EGREP!$EGREP$ac_delim
22654 LLVM_SRC!$LLVM_SRC$ac_delim
22655 LLVM_OBJ!$LLVM_OBJ$ac_delim
22656 LLVM_EXTERNALS!$LLVM_EXTERNALS$ac_delim
22657 SPEC95_ROOT!$SPEC95_ROOT$ac_delim
22658 USE_SPEC95!$USE_SPEC95$ac_delim
22659 SPEC2000_ROOT!$SPEC2000_ROOT$ac_delim
22660 USE_SPEC2000!$USE_SPEC2000$ac_delim
22661 SPEC2006_ROOT!$SPEC2006_ROOT$ac_delim
22662 USE_SPEC2006!$USE_SPEC2006$ac_delim
22663 POVRAY_ROOT!$POVRAY_ROOT$ac_delim
22664 USE_POVRAY!$USE_POVRAY$ac_delim
22665 NAMD_ROOT!$NAMD_ROOT$ac_delim
22666 USE_NAMD!$USE_NAMD$ac_delim
22667 SWEEP3D_ROOT!$SWEEP3D_ROOT$ac_delim
22668 USE_SWEEP3D!$USE_SWEEP3D$ac_delim
22669 FPGROWTH_ROOT!$FPGROWTH_ROOT$ac_delim
22670 USE_FPGROWTH!$USE_FPGROWTH$ac_delim
22671 ALP_ROOT!$ALP_ROOT$ac_delim
22672 USE_ALP!$USE_ALP$ac_delim
22673 NURBS_ROOT!$NURBS_ROOT$ac_delim
22674 USE_NURBS!$USE_NURBS$ac_delim
22675 HMMER_ROOT!$HMMER_ROOT$ac_delim
22676 USE_HMMER!$USE_HMMER$ac_delim
22677 SKIDMARKS10_ROOT!$SKIDMARKS10_ROOT$ac_delim
22678 USE_SKIDMARKS10!$USE_SKIDMARKS10$ac_delim
22679 DISABLE_LLC_DIFFS!$DISABLE_LLC_DIFFS$ac_delim
22681 CXXFLAGS!$CXXFLAGS$ac_delim
22682 ac_ct_CXX!$ac_ct_CXX$ac_delim
22683 ifGNUmake!$ifGNUmake$ac_delim
22684 LN_S!$LN_S$ac_delim
22685 ECHO!$ECHO$ac_delim
22687 RANLIB!$RANLIB$ac_delim
22688 STRIP!$STRIP$ac_delim
22691 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22693 elif $ac_last_try; then
22694 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22695 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22696 { (exit 1); exit 1; }; }
22698 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22702 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22703 if test -n "$ac_eof"; then
22704 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22705 ac_eof
=`expr $ac_eof + 1`
22708 cat >>$CONFIG_STATUS <<_ACEOF
22709 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22710 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22713 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22714 s/^/s,@/; s/!/@,|#_!!_#|/
22717 s/'"$ac_delim"'$/,g/; t
22719 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22720 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22721 rm -f conf$
$subs.
sed
22722 cat >>$CONFIG_STATUS <<_ACEOF
22728 for ac_last_try
in false false false false false
:; do
22729 cat >conf$
$subs.
sed <<_ACEOF
22730 CXXCPP!$CXXCPP$ac_delim
22732 FFLAGS!$FFLAGS$ac_delim
22733 ac_ct_F77!$ac_ct_F77$ac_delim
22734 LIBTOOL!$LIBTOOL$ac_delim
22735 USE_F2C!$USE_F2C$ac_delim
22737 F2C_BIN!$F2C_BIN$ac_delim
22738 F2C_DIR!$F2C_DIR$ac_delim
22739 F2C_INC!$F2C_INC$ac_delim
22740 F2C_LIB!$F2C_LIB$ac_delim
22741 USE_F95!$USE_F95$ac_delim
22743 F95_BIN!$F95_BIN$ac_delim
22744 F95_DIR!$F95_DIR$ac_delim
22745 F95_INC!$F95_INC$ac_delim
22746 F95_LIB!$F95_LIB$ac_delim
22747 HAVE_RE_COMP!$HAVE_RE_COMP$ac_delim
22748 SHLIBEXT!$SHLIBEXT$ac_delim
22749 LIBOBJS!$LIBOBJS$ac_delim
22750 LTLIBOBJS!$LTLIBOBJS$ac_delim
22753 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
22755 elif $ac_last_try; then
22756 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22757 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22758 { (exit 1); exit 1; }; }
22760 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22764 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22765 if test -n "$ac_eof"; then
22766 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22767 ac_eof
=`expr $ac_eof + 1`
22770 cat >>$CONFIG_STATUS <<_ACEOF
22771 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22775 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22776 s/^/s,@/; s/!/@,|#_!!_#|/
22779 s/'"$ac_delim"'$/,g/; t
22781 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22782 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22783 rm -f conf$
$subs.
sed
22784 cat >>$CONFIG_STATUS <<_ACEOF
22791 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22792 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22793 # trailing colons and then remove the whole line if VPATH becomes empty
22794 # (actually we leave an empty line to preserve line numbers).
22795 if test "x$srcdir" = x.
; then
22796 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22797 s/:*\$(srcdir):*/:/
22798 s/:*\${srcdir}:*/:/
22800 s/^\([^=]*=[ ]*\):*/\1/
22806 cat >>$CONFIG_STATUS <<\_ACEOF
22807 fi # test -n "$CONFIG_FILES"
22810 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
22813 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22815 case $ac_mode$ac_tag in
22817 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22818 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22819 { (exit 1); exit 1; }; };;
22820 :[FH
]-) ac_tag
=-:-;;
22821 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22838 -) ac_f
="$tmp/stdin";;
22839 *) # Look for the file first in the build tree, then in the source tree
22840 # (if the path is not absolute). The absolute path cannot be DOS-style,
22841 # because $ac_f cannot contain `:'.
22845 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22847 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22848 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22849 { (exit 1); exit 1; }; };;
22851 ac_file_inputs
="$ac_file_inputs $ac_f"
22854 # Let's still pretend it is `configure' which instantiates (i.e., don't
22855 # use $as_me), people would be surprised to read:
22856 # /* config.h. Generated by config.status. */
22857 configure_input
="Generated from "`IFS=:
22858 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22859 if test x
"$ac_file" != x-
; then
22860 configure_input
="$ac_file. $configure_input"
22861 { echo "$as_me:$LINENO: creating $ac_file" >&5
22862 echo "$as_me: creating $ac_file" >&6;}
22866 *:-:* |
*:-) cat >"$tmp/stdin";;
22871 ac_dir
=`$as_dirname -- "$ac_file" ||
22872 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22873 X"$ac_file" : 'X\(//\)[^/]' \| \
22874 X"$ac_file" : 'X\(//\)$' \| \
22875 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22881 /^X\(\/\/\)[^/].*/{
22896 -*) as_dir
=.
/$as_dir;;
22898 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22902 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22903 *) as_qdir
=$as_dir;;
22905 as_dirs
="'$as_qdir' $as_dirs"
22906 as_dir
=`$as_dirname -- "$as_dir" ||
22907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22908 X"$as_dir" : 'X\(//\)[^/]' \| \
22909 X"$as_dir" : 'X\(//\)$' \| \
22910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22916 /^X\(\/\/\)[^/].*/{
22929 test -d "$as_dir" && break
22931 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22932 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22933 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22934 { (exit 1); exit 1; }; }; }
22938 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22940 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22941 # A ".." for each directory in $ac_dir_suffix.
22942 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22943 case $ac_top_builddir_sub in
22944 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22945 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22948 ac_abs_top_builddir
=$ac_pwd
22949 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22950 # for backward compatibility:
22951 ac_top_builddir
=$ac_top_build_prefix
22954 .
) # We are building in place.
22956 ac_top_srcdir
=$ac_top_builddir_sub
22957 ac_abs_top_srcdir
=$ac_pwd ;;
22958 [\\/]* | ?
:[\\/]* ) # Absolute name.
22959 ac_srcdir
=$srcdir$ac_dir_suffix;
22960 ac_top_srcdir
=$srcdir
22961 ac_abs_top_srcdir
=$srcdir ;;
22962 *) # Relative name.
22963 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22964 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22965 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22967 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22978 cat >>$CONFIG_STATUS <<\_ACEOF
22979 # If the template does not know about datarootdir, expand it.
22980 # FIXME: This hack should be removed a few years after 2.60.
22981 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22983 case `sed -n '/datarootdir/ {
22992 ' $ac_file_inputs` in
22993 *datarootdir
*) ac_datarootdir_seen
=yes;;
22994 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22995 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22996 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22998 cat >>$CONFIG_STATUS <<_ACEOF
22999 ac_datarootdir_hack='
23000 s&@datadir@&$datadir&g
23001 s&@docdir@&$docdir&g
23002 s&@infodir@&$infodir&g
23003 s&@localedir@&$localedir&g
23004 s&@mandir@&$mandir&g
23005 s&\\\${datarootdir}&$datarootdir&g' ;;
23009 # Neutralize VPATH when `$srcdir' = `.'.
23010 # Shell code in configure.ac might set extrasub.
23011 # FIXME: do we really want to maintain this feature?
23012 cat >>$CONFIG_STATUS <<_ACEOF
23016 cat >>$CONFIG_STATUS <<\_ACEOF
23018 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23019 s
&@configure_input@
&$configure_input&;t t
23020 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23021 s
&@srcdir@
&$ac_srcdir&;t t
23022 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23023 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23024 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23025 s
&@builddir@
&$ac_builddir&;t t
23026 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23027 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23028 $ac_datarootdir_hack
23029 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23031 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23032 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23033 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23034 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23035 which seems to be undefined. Please make sure it is defined." >&5
23036 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23037 which seems to be undefined. Please make sure it is defined." >&2;}
23041 -) cat "$tmp/out"; rm -f "$tmp/out";;
23042 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23047 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23048 echo "$as_me: executing $ac_file commands" >&6;}
23053 case $ac_file$ac_mode in
23054 "Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile`
23055 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile Makefile ;;
23056 "Makefile.common":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile.common`
23057 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.common Makefile.common ;;
23058 "Makefile.nagfortran":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile.nagfortran`
23059 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.nagfortran Makefile.nagfortran ;;
23060 "Makefile.f2c":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile.f2c`
23061 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.f2c Makefile.f2c ;;
23062 "Makefile.programs":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile.programs`
23063 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.programs Makefile.programs ;;
23064 "Makefile.tests":C) ${llvm_src}/autoconf/mkinstalldirs `dirname Makefile.tests`
23065 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/Makefile.tests Makefile.tests ;;
23066 "TEST.aa.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.aa.Makefile`
23067 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.aa.Makefile TEST.aa.Makefile ;;
23068 "TEST.aa.report":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.aa.report`
23069 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.aa.report TEST.aa.report ;;
23070 "TEST.example.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.example.Makefile`
23071 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.example.Makefile TEST.example.Makefile ;;
23072 "TEST.nightly.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.nightly.Makefile`
23073 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.nightly.Makefile TEST.nightly.Makefile ;;
23074 "TEST.buildrepo.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.buildrepo.Makefile`
23075 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.buildrepo.Makefile TEST.buildrepo.Makefile ;;
23076 "TEST.jit.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.jit.Makefile`
23077 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.jit.Makefile TEST.jit.Makefile ;;
23078 "TEST.nightly.report":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.nightly.report`
23079 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.nightly.report TEST.nightly.report ;;
23080 "TEST.jit.report":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.jit.report`
23081 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.jit.report TEST.jit.report ;;
23082 "TEST.typesafe.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.typesafe.Makefile`
23083 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.typesafe.Makefile TEST.typesafe.Makefile ;;
23084 "TEST.vtl.Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname TEST.vtl.Makefile`
23085 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/TEST.vtl.Makefile TEST.vtl.Makefile ;;
23086 "External/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/Makefile`
23087 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/Makefile External/Makefile ;;
23088 "External/Makefile.external":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/Makefile.external`
23089 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/Makefile.external External/Makefile.external ;;
23090 "External/Povray/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/Povray/Makefile`
23091 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/Povray/Makefile External/Povray/Makefile ;;
23092 "External/SPEC/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/Makefile`
23093 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/Makefile External/SPEC/Makefile ;;
23094 "External/SPEC/Makefile.spec":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/Makefile.spec`
23095 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/Makefile.spec External/SPEC/Makefile.spec ;;
23096 "External/SPEC/Makefile.spec.config":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/Makefile.spec.config`
23097 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/Makefile.spec.config External/SPEC/Makefile.spec.config ;;
23098 "External/SPEC/Makefile.spec2006":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/Makefile.spec2006`
23099 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/Makefile.spec2006 External/SPEC/Makefile.spec2006 ;;
23100 "External/SPEC/Makefile.spec2000":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/Makefile.spec2000`
23101 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/Makefile.spec2000 External/SPEC/Makefile.spec2000 ;;
23102 "External/SPEC/Makefile.spec95":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/Makefile.spec95`
23103 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/Makefile.spec95 External/SPEC/Makefile.spec95 ;;
23104 "External/SPEC/CFP2006/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/CFP2006/Makefile`
23105 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/CFP2006/Makefile External/SPEC/CFP2006/Makefile ;;
23106 "External/SPEC/CINT2006/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/CINT2006/Makefile`
23107 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/CINT2006/Makefile External/SPEC/CINT2006/Makefile ;;
23108 "External/SPEC/CFP2000/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/CFP2000/Makefile`
23109 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/CFP2000/Makefile External/SPEC/CFP2000/Makefile ;;
23110 "External/SPEC/CINT2000/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/CINT2000/Makefile`
23111 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/CINT2000/Makefile External/SPEC/CINT2000/Makefile ;;
23112 "External/SPEC/CFP95/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/CFP95/Makefile`
23113 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/CFP95/Makefile External/SPEC/CFP95/Makefile ;;
23114 "External/SPEC/CINT95/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/SPEC/CINT95/Makefile`
23115 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/SPEC/CINT95/Makefile External/SPEC/CINT95/Makefile ;;
23116 "External/skidmarks10/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname External/skidmarks10/Makefile`
23117 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/External/skidmarks10/Makefile External/skidmarks10/Makefile ;;
23118 "MultiSource/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname MultiSource/Makefile`
23119 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/MultiSource/Makefile MultiSource/Makefile ;;
23120 "MultiSource/Makefile.multisrc":C) ${llvm_src}/autoconf/mkinstalldirs `dirname MultiSource/Makefile.multisrc`
23121 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/MultiSource/Makefile.multisrc MultiSource/Makefile.multisrc ;;
23122 "SingleSource/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname SingleSource/Makefile`
23123 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/SingleSource/Makefile SingleSource/Makefile ;;
23124 "SingleSource/Makefile.singlesrc":C) ${llvm_src}/autoconf/mkinstalldirs `dirname SingleSource/Makefile.singlesrc`
23125 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/SingleSource/Makefile.singlesrc SingleSource/Makefile.singlesrc ;;
23126 "tools/Makefile":C) ${llvm_src}/autoconf/mkinstalldirs `dirname tools/Makefile`
23127 ${SHELL} ${llvm_src}/autoconf/install-sh -m 0644 -c ${srcdir}/tools/Makefile tools/Makefile ;;
23133 { (exit 0); exit 0; }
23135 chmod +x $CONFIG_STATUS
23136 ac_clean_files=$ac_clean_files_save
23139 # configure is writing to config.log, and then calls config.status.
23140 # config.status does its own redirection, appending to config.log.
23141 # Unfortunately, on DOS this fails, as config.log is still kept open
23142 # by configure, so config.status won't be able to
write to it
; its
23143 # output is simply discarded. So we exec the FD to /dev/null,
23144 # effectively closing config.log, so it can be properly (re)opened and
23145 # appended to by config.status. When coming back to configure, we
23146 # need to make the FD available again.
23147 if test "$no_create" != yes; then
23149 ac_config_status_args
=
23150 test "$silent" = yes &&
23151 ac_config_status_args
="$ac_config_status_args --quiet"
23153 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23155 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23156 # would make configure fail if this is the last instruction.
23157 $ac_cs_success ||
{ (exit 1); exit 1; }