2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="src/framing.c"
734 # Factoring default headers for most tests.
735 ac_includes_default
="\
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
747 # ifdef HAVE_STDLIB_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
779 program_transform_name
821 INSTALL_STRIP_PROGRAM
830 MAINTAINER_MODE_FALSE
892 ac_precious_vars
='build_alias
909 # Initialize some variables set by options.
911 ac_init_version
=false
912 # The variables have the same names as the options, with
913 # dashes changed to underlines.
921 program_transform_name
=s
,x
,x
,
929 # Installation directory options.
930 # These are left unexpanded so users can "make install exec_prefix=/foo"
931 # and all the variables that are supposed to be based on exec_prefix
932 # by default will actually change.
933 # Use braces instead of parens because sh, perl, etc. also accept them.
934 # (The list follows the same order as the GNU Coding Standards.)
935 bindir
='${exec_prefix}/bin'
936 sbindir
='${exec_prefix}/sbin'
937 libexecdir
='${exec_prefix}/libexec'
938 datarootdir
='${prefix}/share'
939 datadir
='${datarootdir}'
940 sysconfdir
='${prefix}/etc'
941 sharedstatedir
='${prefix}/com'
942 localstatedir
='${prefix}/var'
943 includedir
='${prefix}/include'
944 oldincludedir
='/usr/include'
945 docdir
='${datarootdir}/doc/${PACKAGE}'
946 infodir
='${datarootdir}/info'
951 libdir
='${exec_prefix}/lib'
952 localedir
='${datarootdir}/locale'
953 mandir
='${datarootdir}/man'
959 # If the previous option needs an argument, assign it.
960 if test -n "$ac_prev"; then
961 eval $ac_prev=\
$ac_option
967 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971 # Accept the important Cygnus configure options, so we can diagnose typos.
973 case $ac_dashdash$ac_option in
977 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
979 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
982 -build |
--build |
--buil |
--bui |
--bu)
983 ac_prev
=build_alias
;;
984 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
985 build_alias
=$ac_optarg ;;
987 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
988 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
989 ac_prev
=cache_file
;;
990 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
991 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
992 cache_file
=$ac_optarg ;;
995 cache_file
=config.cache
;;
997 -datadir |
--datadir |
--datadi |
--datad)
999 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1000 datadir
=$ac_optarg ;;
1002 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1003 |
--dataroo |
--dataro |
--datar)
1004 ac_prev
=datarootdir
;;
1005 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1006 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1007 datarootdir
=$ac_optarg ;;
1009 -disable-* |
--disable-*)
1010 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1013 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1016 eval enable_
$ac_feature=no
;;
1018 -docdir |
--docdir |
--docdi |
--doc |
--do)
1020 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1021 docdir
=$ac_optarg ;;
1023 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1025 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1026 dvidir
=$ac_optarg ;;
1028 -enable-* |
--enable-*)
1029 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1032 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1035 eval enable_
$ac_feature=\
$ac_optarg ;;
1037 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1038 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1039 |
--exec |
--exe |
--ex)
1040 ac_prev
=exec_prefix
;;
1041 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1042 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1043 |
--exec=* |
--exe=* |
--ex=*)
1044 exec_prefix
=$ac_optarg ;;
1046 -gas |
--gas |
--ga |
--g)
1047 # Obsolete; use --with-gas.
1050 -help |
--help |
--hel |
--he |
-h)
1051 ac_init_help
=long
;;
1052 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1053 ac_init_help
=recursive
;;
1054 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1055 ac_init_help
=short
;;
1057 -host |
--host |
--hos |
--ho)
1058 ac_prev
=host_alias
;;
1059 -host=* |
--host=* |
--hos=* |
--ho=*)
1060 host_alias
=$ac_optarg ;;
1062 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1064 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1066 htmldir
=$ac_optarg ;;
1068 -includedir |
--includedir |
--includedi |
--included |
--include \
1069 |
--includ |
--inclu |
--incl |
--inc)
1070 ac_prev
=includedir
;;
1071 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1072 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1073 includedir
=$ac_optarg ;;
1075 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1077 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1078 infodir
=$ac_optarg ;;
1080 -libdir |
--libdir |
--libdi |
--libd)
1082 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1083 libdir
=$ac_optarg ;;
1085 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1086 |
--libexe |
--libex |
--libe)
1087 ac_prev
=libexecdir
;;
1088 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1089 |
--libexe=* |
--libex=* |
--libe=*)
1090 libexecdir
=$ac_optarg ;;
1092 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1093 ac_prev
=localedir
;;
1094 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1095 localedir
=$ac_optarg ;;
1097 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1098 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1099 ac_prev
=localstatedir
;;
1100 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1101 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1102 localstatedir
=$ac_optarg ;;
1104 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1106 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1107 mandir
=$ac_optarg ;;
1109 -nfp |
--nfp |
--nf)
1110 # Obsolete; use --without-fp.
1113 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1114 |
--no-cr |
--no-c |
-n)
1117 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1118 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1121 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1122 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1123 |
--oldin |
--oldi |
--old |
--ol |
--o)
1124 ac_prev
=oldincludedir
;;
1125 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1126 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1127 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1128 oldincludedir
=$ac_optarg ;;
1130 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1132 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1133 prefix
=$ac_optarg ;;
1135 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1136 |
--program-pre |
--program-pr |
--program-p)
1137 ac_prev
=program_prefix
;;
1138 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1139 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1140 program_prefix
=$ac_optarg ;;
1142 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1143 |
--program-suf |
--program-su |
--program-s)
1144 ac_prev
=program_suffix
;;
1145 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1146 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1147 program_suffix
=$ac_optarg ;;
1149 -program-transform-name |
--program-transform-name \
1150 |
--program-transform-nam |
--program-transform-na \
1151 |
--program-transform-n |
--program-transform- \
1152 |
--program-transform |
--program-transfor \
1153 |
--program-transfo |
--program-transf \
1154 |
--program-trans |
--program-tran \
1155 |
--progr-tra |
--program-tr |
--program-t)
1156 ac_prev
=program_transform_name
;;
1157 -program-transform-name=* |
--program-transform-name=* \
1158 |
--program-transform-nam=* |
--program-transform-na=* \
1159 |
--program-transform-n=* |
--program-transform-=* \
1160 |
--program-transform=* |
--program-transfor=* \
1161 |
--program-transfo=* |
--program-transf=* \
1162 |
--program-trans=* |
--program-tran=* \
1163 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1164 program_transform_name
=$ac_optarg ;;
1166 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1168 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1169 pdfdir
=$ac_optarg ;;
1171 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1173 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1177 |
-silent |
--silent |
--silen |
--sile |
--sil)
1180 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1182 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1184 sbindir
=$ac_optarg ;;
1186 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1187 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1188 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1190 ac_prev
=sharedstatedir
;;
1191 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1192 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1193 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1195 sharedstatedir
=$ac_optarg ;;
1197 -site |
--site |
--sit)
1199 -site=* |
--site=* |
--sit=*)
1202 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1204 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1205 srcdir
=$ac_optarg ;;
1207 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1208 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1209 ac_prev
=sysconfdir
;;
1210 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1211 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1212 sysconfdir
=$ac_optarg ;;
1214 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1215 ac_prev
=target_alias
;;
1216 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1217 target_alias
=$ac_optarg ;;
1219 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1222 -version |
--version |
--versio |
--versi |
--vers |
-V)
1223 ac_init_version
=: ;;
1226 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1229 { echo "$as_me: error: invalid package name: $ac_package" >&2
1230 { (exit 1); exit 1; }; }
1231 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1232 eval with_
$ac_package=\
$ac_optarg ;;
1234 -without-* |
--without-*)
1235 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 { echo "$as_me: error: invalid package name: $ac_package" >&2
1239 { (exit 1); exit 1; }; }
1240 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1241 eval with_
$ac_package=no
;;
1244 # Obsolete; use --with-x.
1247 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1248 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1249 ac_prev
=x_includes
;;
1250 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1251 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1252 x_includes
=$ac_optarg ;;
1254 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1255 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1256 ac_prev
=x_libraries
;;
1257 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1258 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1259 x_libraries
=$ac_optarg ;;
1261 -*) { echo "$as_me: error: unrecognized option: $ac_option
1262 Try \`$0 --help' for more information." >&2
1263 { (exit 1); exit 1; }; }
1267 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1270 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1271 { (exit 1); exit 1; }; }
1272 eval $ac_envvar=\
$ac_optarg
1273 export $ac_envvar ;;
1276 # FIXME: should be removed in autoconf 3.0.
1277 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1279 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1280 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1286 if test -n "$ac_prev"; then
1287 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1288 { echo "$as_me: error: missing argument to $ac_option" >&2
1289 { (exit 1); exit 1; }; }
1292 # Be sure to have absolute directory names.
1293 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1294 datadir sysconfdir sharedstatedir localstatedir includedir \
1295 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1296 libdir localedir mandir
1298 eval ac_val
=\$
$ac_var
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1303 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1304 { (exit 1); exit 1; }; }
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1312 target
=$target_alias
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x
; then
1316 if test "x$build_alias" = x
; then
1317 cross_compiling
=maybe
1318 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1319 If a cross compiler is detected then cross compile mode will be used." >&2
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1328 test "$silent" = yes && exec 6>/dev
/null
1331 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di
=`ls -di .` &&
1333 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1334 { echo "$as_me: error: Working directory cannot be determined" >&2
1335 { (exit 1); exit 1; }; }
1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1337 { echo "$as_me: error: pwd does not report name of working directory" >&2
1338 { (exit 1); exit 1; }; }
1341 # Find the source files, if location was not specified.
1342 if test -z "$srcdir"; then
1343 ac_srcdir_defaulted
=yes
1344 # Try the directory containing this script, then the parent directory.
1345 ac_confdir
=`$as_dirname -- "$0" ||
1346 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1347 X"$0" : 'X\(//\)[^/]' \| \
1348 X"$0" : 'X\(//\)$' \| \
1349 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1373 ac_srcdir_defaulted
=no
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1376 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1377 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1378 { (exit 1); exit 1; }; }
1380 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1382 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1383 { (exit 1); exit 1; }; }
1385 # When building in place, set srcdir=.
1386 if test "$ac_abs_confdir" = "$ac_pwd"; then
1389 # Remove unnecessary trailing slashes from srcdir.
1390 # Double slashes in file names in object file debugging info
1391 # mess up M-x gdb in Emacs.
1393 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1395 for ac_var
in $ac_precious_vars; do
1396 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1397 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1398 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1399 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1403 # Report the --help message.
1405 if test "$ac_init_help" = "long"; then
1406 # Omit some internal or obsolete options to make the list less imposing.
1407 # This message is too long to be a string in the A/UX 3.1 sh.
1409 \`configure' configures this package to adapt to many kinds of systems.
1411 Usage: $0 [OPTION]... [VAR=VALUE]...
1413 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1414 VAR=VALUE. See below for descriptions of some of the useful variables.
1416 Defaults for the options are specified in brackets.
1419 -h, --help display this help and exit
1420 --help=short display options specific to this package
1421 --help=recursive display the short help of all the included packages
1422 -V, --version display version information and exit
1423 -q, --quiet, --silent do not print \`checking...' messages
1424 --cache-file=FILE cache test results in FILE [disabled]
1425 -C, --config-cache alias for \`--cache-file=config.cache'
1426 -n, --no-create do not create output files
1427 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1429 Installation directories:
1430 --prefix=PREFIX install architecture-independent files in PREFIX
1431 [$ac_default_prefix]
1432 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1435 By default, \`make install' will install all the files in
1436 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1437 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1438 for instance \`--prefix=\$HOME'.
1440 For better control, use the options below.
1442 Fine tuning of the installation directories:
1443 --bindir=DIR user executables [EPREFIX/bin]
1444 --sbindir=DIR system admin executables [EPREFIX/sbin]
1445 --libexecdir=DIR program executables [EPREFIX/libexec]
1446 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1447 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1448 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1449 --libdir=DIR object code libraries [EPREFIX/lib]
1450 --includedir=DIR C header files [PREFIX/include]
1451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1454 --infodir=DIR info documentation [DATAROOTDIR/info]
1455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1456 --mandir=DIR man documentation [DATAROOTDIR/man]
1457 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1458 --htmldir=DIR html documentation [DOCDIR]
1459 --dvidir=DIR dvi documentation [DOCDIR]
1460 --pdfdir=DIR pdf documentation [DOCDIR]
1461 --psdir=DIR ps documentation [DOCDIR]
1467 --program-prefix=PREFIX prepend PREFIX to installed program names
1468 --program-suffix=SUFFIX append SUFFIX to installed program names
1469 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1472 --build=BUILD configure
for building on BUILD
[guessed
]
1473 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1477 if test -n "$ac_init_help"; then
1482 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1483 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1484 --enable-maintainer-mode enable make rules and dependencies not useful
1485 (and sometimes confusing
) to the casual installer
1486 --disable-dependency-tracking speeds up one-time build
1487 --enable-dependency-tracking do not reject slow dependency extractors
1488 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1489 --enable-static[=PKGS
] build static libraries
[default
=yes]
1490 --enable-fast-install[=PKGS
]
1491 optimize
for fast installation
[default
=yes]
1492 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1495 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1496 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1497 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1498 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1500 --with-tags[=TAGS
] include additional configurations
[automatic
]
1502 Some influential environment variables
:
1503 CC C compiler
command
1504 CFLAGS C compiler flags
1505 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1506 nonstandard directory
<lib dir
>
1507 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1508 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1509 you have headers
in a nonstandard directory
<include dir
>
1511 CXX C
++ compiler
command
1512 CXXFLAGS C
++ compiler flags
1513 CXXCPP C
++ preprocessor
1514 F77 Fortran
77 compiler
command
1515 FFLAGS Fortran
77 compiler flags
1517 Use these variables to override the choices made by
`configure' or to help
1518 it to find libraries and programs with nonstandard names/locations.
1524 if test "$ac_init_help" = "recursive"; then
1525 # If there are subdirs, report their specific --help.
1526 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527 test -d "$ac_dir" || continue
1531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1534 # A ".." for each directory in $ac_dir_suffix.
1535 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1536 case $ac_top_builddir_sub in
1537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1541 ac_abs_top_builddir=$ac_pwd
1542 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1543 # for backward compatibility:
1544 ac_top_builddir=$ac_top_build_prefix
1547 .) # We are building in place.
1549 ac_top_srcdir=$ac_top_builddir_sub
1550 ac_abs_top_srcdir=$ac_pwd ;;
1551 [\\/]* | ?:[\\/]* ) # Absolute name.
1552 ac_srcdir=$srcdir$ac_dir_suffix;
1553 ac_top_srcdir=$srcdir
1554 ac_abs_top_srcdir=$srcdir ;;
1556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1557 ac_top_srcdir=$ac_top_build_prefix$srcdir
1558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1562 cd "$ac_dir" || { ac_status=$?; continue; }
1563 # Check for guested configure.
1564 if test -f "$ac_srcdir/configure.gnu"; then
1566 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1567 elif test -f "$ac_srcdir/configure"; then
1569 $SHELL "$ac_srcdir/configure" --help=recursive
1571 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1573 cd "$ac_pwd" || { ac_status=$?; break; }
1577 test -n "$ac_init_help" && exit $ac_status
1578 if $ac_init_version; then
1581 generated by GNU Autoconf 2.61
1583 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1584 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1585 This configure script is free software; the Free Software Foundation
1586 gives unlimited permission to copy, distribute and modify it.
1590 cat >config.log <<_ACEOF
1591 This file contains any messages produced by compilers while
1592 running configure, to aid debugging if configure makes a mistake.
1594 It was created by $as_me, which was
1595 generated by GNU Autoconf 2.61. Invocation command line was
1607 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1608 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1609 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1610 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1611 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1613 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1614 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1616 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1617 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1618 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1619 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1620 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1621 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1622 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir=.
1631 echo "PATH: $as_dir"
1647 # Keep a trace of the command line.
1648 # Strip out --no-create and --no-recursion so they do not pile up.
1649 # Strip out --silent because we don't want to record it for future runs.
1650 # Also quote any args containing shell meta-characters.
1651 # Make two passes to allow for proper duplicate-argument suppression.
1655 ac_must_keep_next=false
1661 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1662 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1663 | -silent | --silent | --silen | --sile | --sil)
1666 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1669 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1671 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1672 if test $ac_must_keep_next = true; then
1673 ac_must_keep_next=false # Got value, back to normal.
1676 *=* | --config-cache | -C | -disable-* | --disable-* \
1677 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1678 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1679 | -with-* | --with-* | -without-* | --without-* | --x)
1680 case "$ac_configure_args0 " in
1681 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1684 -* ) ac_must_keep_next=true ;;
1687 ac_configure_args="$ac_configure_args '$ac_arg'"
1692 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1693 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1695 # When interrupted or exit'd, cleanup temporary files, and complete
1696 # config.log. We remove comments because anyway the quotes in there
1697 # would cause problems or look ugly.
1698 # WARNING: Use '\'' to represent an apostrophe within the trap.
1699 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1700 trap 'exit_status=$?
1701 # Save into config.log some information that might help in debugging.
1706 ## ---------------- ##
1707 ## Cache variables. ##
1708 ## ---------------- ##
1711 # The following way of writing the cache mishandles newlines in values,
1713 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1714 eval ac_val=\$$ac_var
1718 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1722 _ | IFS | as_nl) ;; #(
1723 *) $as_unset $ac_var ;;
1728 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1729 *${as_nl}ac_space=\ *)
1731 "s/'\''/'\''\\\\'\'''\''/g;
1732 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1743 ## ----------------- ##
1744 ## Output variables. ##
1745 ## ----------------- ##
1748 for ac_var in $ac_subst_vars
1750 eval ac_val=\$$ac_var
1752 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1754 echo "$ac_var='\''$ac_val'\''"
1758 if test -n "$ac_subst_files"; then
1760 ## ------------------- ##
1761 ## File substitutions. ##
1762 ## ------------------- ##
1765 for ac_var in $ac_subst_files
1767 eval ac_val=\$$ac_var
1769 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1771 echo "$ac_var='\''$ac_val'\''"
1776 if test -s confdefs.h; then
1786 test "$ac_signal" != 0 &&
1787 echo "$as_me: caught signal $ac_signal"
1788 echo "$as_me: exit $exit_status"
1790 rm -f core *.core core.conftest.* &&
1791 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1794 for ac_signal in 1 2 13 15; do
1795 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1799 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1800 rm -f -r conftest* confdefs.h
1802 # Predefined preprocessor variables.
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_NAME "$PACKAGE_NAME"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_STRING "$PACKAGE_STRING"
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1829 # Let the site file select an alternate cache file if it wants to.
1830 # Prefer explicitly selected file to automatically selected ones.
1831 if test -n "$CONFIG_SITE"; then
1832 set x "$CONFIG_SITE"
1833 elif test "x$prefix" != xNONE; then
1834 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1836 set x "$ac_default_prefix/share/config.site" \
1837 "$ac_default_prefix/etc/config.site"
1842 if test -r "$ac_site_file"; then
1843 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1844 echo "$as_me: loading site script $ac_site_file" >&6;}
1845 sed 's/^/| /' "$ac_site_file" >&5
1850 if test -r "$cache_file"; then
1851 # Some versions of bash will fail to source /dev/null (special
1852 # files actually), so we avoid doing that.
1853 if test -f "$cache_file"; then
1854 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1855 echo "$as_me: loading cache $cache_file" >&6;}
1857 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1858 *) . "./$cache_file";;
1862 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1863 echo "$as_me: creating cache $cache_file" >&6;}
1867 # Check that the precious variables saved in the cache have kept the same
1869 ac_cache_corrupted=false
1870 for ac_var in $ac_precious_vars; do
1871 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1872 eval ac_new_set=\$ac_env_${ac_var}_set
1873 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1874 eval ac_new_val=\$ac_env_${ac_var}_value
1875 case $ac_old_set,$ac_new_set in
1877 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1878 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1879 ac_cache_corrupted=: ;;
1881 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1882 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1883 ac_cache_corrupted=: ;;
1886 if test "x$ac_old_val" != "x$ac_new_val"; then
1887 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1888 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1889 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1890 echo "$as_me: former value
: $ac_old_val" >&2;}
1891 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1892 echo "$as_me: current value
: $ac_new_val" >&2;}
1893 ac_cache_corrupted=:
1896 # Pass precious variables to config.status.
1897 if test "$ac_new_set" = set; then
1899 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1900 *) ac_arg=$ac_var=$ac_new_val ;;
1902 case " $ac_configure_args " in
1903 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1904 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1908 if $ac_cache_corrupted; then
1909 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1910 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1911 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1912 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1913 { (exit 1); exit 1; }; }
1933 ac_cpp='$CPP $CPPFLAGS'
1934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940 am__api_version='1.10'
1943 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1944 if test -f "$ac_dir/install-sh"; then
1946 ac_install_sh="$ac_aux_dir/install-sh -c"
1948 elif test -f "$ac_dir/install.sh"; then
1950 ac_install_sh="$ac_aux_dir/install.sh -c"
1952 elif test -f "$ac_dir/shtool"; then
1954 ac_install_sh="$ac_aux_dir/shtool install -c"
1958 if test -z "$ac_aux_dir"; then
1959 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1960 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Find a good install program. We prefer a C program (faster),
1974 # so one script is as good as another. But avoid the broken or
1975 # incompatible versions:
1976 # SysV /etc/install, /usr/sbin/install
1977 # SunOS /usr/etc/install
1978 # IRIX /sbin/install
1980 # AmigaOS /C/install, which installs bootblocks on floppy discs
1981 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1982 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1983 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1984 # OS/2's system install, which has a completely different semantic
1985 # ./install, which can be erroneously created by make from ./install.sh.
1986 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1987 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1988 if test -z "$INSTALL"; then
1989 if test "${ac_cv_path_install+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 # Account for people who put trailing slashes in PATH elements.
1999 ./ | .// | /cC/* | \
2000 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2001 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2004 # OSF1 and SCO ODT 3.0 have their own names for install.
2005 # Don't use installbsd from OSF since it installs stuff as root
2007 for ac_prog in ginstall scoinst install; do
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2010 if test $ac_prog = install &&
2011 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # AIX install. It has an incompatible calling convention.
2014 elif test $ac_prog = install &&
2015 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2016 # program-specific install script used by HP pwplus--don't use.
2019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2032 if test "${ac_cv_path_install+set}" = set; then
2033 INSTALL=$ac_cv_path_install
2035 # As a last resort, use the slow shell script. Don't cache a
2036 # value for INSTALL within a source directory, because that will
2037 # break other packages using the cache if that directory is
2038 # removed, or if the value is a relative name.
2039 INSTALL=$ac_install_sh
2042 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2043 echo "${ECHO_T}$INSTALL" >&6; }
2045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2046 # It thinks the first close brace ends the variable substitution.
2047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2051 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2053 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2057 echo timestamp > conftest.file
2058 # Do `set' in a subshell so we don't clobber the current shell
's
2059 # arguments. Must try -L first in case configure is actually a
2060 # symlink; some systems play weird games with the mod time of symlinks
2061 # (eg FreeBSD returns the mod time of the symlink's containing
2064 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2065 if test "$*" = "X"; then
2067 set X
`ls -t $srcdir/configure conftest.file`
2070 if test "$*" != "X $srcdir/configure conftest.file" \
2071 && test "$*" != "X conftest.file $srcdir/configure"; then
2073 # If neither matched, then we have a broken ls. This can happen
2074 # if, for instance, CONFIG_SHELL is bash and it inherits a
2075 # broken ls alias from the environment. This has actually
2076 # happened. Such a system could not be considered "sane".
2077 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2078 alias in your environment" >&5
2079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2080 alias in your environment" >&2;}
2081 { (exit 1); exit 1; }; }
2084 test "$2" = conftest.
file
2090 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2091 Check your system clock" >&5
2092 echo "$as_me: error: newly created file is older than distributed files!
2093 Check your system clock" >&2;}
2094 { (exit 1); exit 1; }; }
2096 { echo "$as_me:$LINENO: result: yes" >&5
2097 echo "${ECHO_T}yes" >&6; }
2098 test "$program_prefix" != NONE
&&
2099 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2100 # Use a double $ so make ignores it.
2101 test "$program_suffix" != NONE
&&
2102 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2103 # Double any \ or $. echo might interpret backslashes.
2104 # By default was `s,x,x', remove it if useless.
2105 cat <<\_ACEOF
>conftest.
sed
2106 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2108 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2111 # expand $ac_aux_dir to an absolute path
2112 am_aux_dir
=`cd $ac_aux_dir && pwd`
2114 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2115 # Use eval to expand $SHELL
2116 if eval "$MISSING --run true"; then
2117 am_missing_run
="$MISSING --run "
2120 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2124 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2125 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2126 if test -z "$MKDIR_P"; then
2127 if test "${ac_cv_path_mkdir+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_prog
in mkdir gmkdir
; do
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2138 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2139 'mkdir (GNU coreutils) '* | \
2140 'mkdir (coreutils) '* | \
2141 'mkdir (fileutils) '4.1*)
2142 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2152 if test "${ac_cv_path_mkdir+set}" = set; then
2153 MKDIR_P
="$ac_cv_path_mkdir -p"
2155 # As a last resort, use the slow shell script. Don't cache a
2156 # value for MKDIR_P within a source directory, because that will
2157 # break other packages using the cache if that directory is
2158 # removed, or if the value is a relative name.
2159 test -d .
/--version && rmdir .
/--version
2160 MKDIR_P
="$ac_install_sh -d"
2163 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2164 echo "${ECHO_T}$MKDIR_P" >&6; }
2168 [\\/$
]* | ?
:[\\/]*) ;;
2169 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2172 for ac_prog
in gawk mawk nawk
awk
2174 # Extract the first word of "$ac_prog", so it can be a program name with args.
2175 set dummy
$ac_prog; ac_word
=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_AWK+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$AWK"; then
2182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_AWK
="$ac_prog"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$AWK"; then
2203 { echo "$as_me:$LINENO: result: $AWK" >&5
2204 echo "${ECHO_T}$AWK" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2211 test -n "$AWK" && break
2214 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2215 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2216 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2217 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.
make <<\_ACEOF
2223 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2228 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2230 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2234 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2235 { echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2241 SET_MAKE
="MAKE=${MAKE-make}"
2244 rm -rf .tst
2>/dev
/null
2245 mkdir .tst
2>/dev
/null
2246 if test -d .tst
; then
2251 rmdir .tst
2>/dev
/null
2253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2255 # is not polluted with repeated "-I."
2256 am__isrc
=' -I$(srcdir)'
2257 # test to see if srcdir already configured
2258 if test -f $srcdir/config.status
; then
2259 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2260 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2261 { (exit 1); exit 1; }; }
2265 # test whether we have cygpath
2266 if test -z "$CYGPATH_W"; then
2267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2268 CYGPATH_W
='cygpath -w'
2275 # Define the identity of the package.
2280 cat >>confdefs.h
<<_ACEOF
2281 #define PACKAGE "$PACKAGE"
2285 cat >>confdefs.h
<<_ACEOF
2286 #define VERSION "$VERSION"
2289 # Some tools Automake needs.
2291 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2294 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2297 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2300 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2303 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2305 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2307 # Installed binaries are usually stripped using `strip' when the user
2308 # run `make install-strip'. However `strip' might not be the right
2309 # tool to use in cross-compilation environments, therefore Automake
2310 # will honor the `STRIP' environment variable to overrule this program.
2311 if test "$cross_compiling" != no
; then
2312 if test -n "$ac_tool_prefix"; then
2313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2314 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2317 if test "${ac_cv_prog_STRIP+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$STRIP"; then
2321 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir
=.
2328 for ac_exec_ext
in '' $ac_executable_extensions; do
2329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2330 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 STRIP
=$ac_cv_prog_STRIP
2341 if test -n "$STRIP"; then
2342 { echo "$as_me:$LINENO: result: $STRIP" >&5
2343 echo "${ECHO_T}$STRIP" >&6; }
2345 { echo "$as_me:$LINENO: result: no" >&5
2346 echo "${ECHO_T}no" >&6; }
2351 if test -z "$ac_cv_prog_STRIP"; then
2353 # Extract the first word of "strip", so it can be a program name with args.
2354 set dummy strip
; ac_word
=$2
2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2357 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 if test -n "$ac_ct_STRIP"; then
2361 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir
=.
2368 for ac_exec_ext
in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_ac_ct_STRIP
="strip"
2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2381 if test -n "$ac_ct_STRIP"; then
2382 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2383 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2385 { echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6; }
2389 if test "x$ac_ct_STRIP" = x
; then
2392 case $cross_compiling:$ac_tool_warned in
2394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2395 whose name does not start with the host triplet. If you think this
2396 configuration is useful to you, please write to autoconf@gnu.org." >&5
2397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2398 whose name does not start with the host triplet. If you think this
2399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2400 ac_tool_warned
=yes ;;
2405 STRIP
="$ac_cv_prog_STRIP"
2409 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2411 # We need awk for the "check" target. The system "awk" is bad on
2413 # Always define AMTAR for backward compatibility.
2415 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2417 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2423 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2424 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2425 # Check whether --enable-maintainer-mode was given.
2426 if test "${enable_maintainer_mode+set}" = set; then
2427 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2429 USE_MAINTAINER_MODE
=no
2432 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2433 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2434 if test $USE_MAINTAINER_MODE = yes; then
2435 MAINTAINER_MODE_TRUE
=
2436 MAINTAINER_MODE_FALSE
='#'
2438 MAINTAINER_MODE_TRUE
='#'
2439 MAINTAINER_MODE_FALSE
=
2442 MAINT
=$MAINTAINER_MODE_TRUE
2455 ac_cpp
='$CPP $CPPFLAGS'
2456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2459 if test -n "$ac_tool_prefix"; then
2460 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2461 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2464 if test "${ac_cv_prog_CC+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$CC"; then
2468 ac_cv_prog_CC
="$CC" # Let the user override the test.
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 for ac_exec_ext
in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 if test -n "$CC"; then
2489 { echo "$as_me:$LINENO: result: $CC" >&5
2490 echo "${ECHO_T}$CC" >&6; }
2492 { echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6; }
2498 if test -z "$ac_cv_prog_CC"; then
2500 # Extract the first word of "gcc", so it can be a program name with args.
2501 set dummy gcc
; ac_word
=$2
2502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test -n "$ac_ct_CC"; then
2508 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir
=.
2515 for ac_exec_ext
in '' $ac_executable_extensions; do
2516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2517 ac_cv_prog_ac_ct_CC
="gcc"
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2528 if test -n "$ac_ct_CC"; then
2529 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530 echo "${ECHO_T}$ac_ct_CC" >&6; }
2532 { echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6; }
2536 if test "x$ac_ct_CC" = x
; then
2539 case $cross_compiling:$ac_tool_warned in
2541 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2542 whose name does not start with the host triplet. If you think this
2543 configuration is useful to you, please write to autoconf@gnu.org." >&5
2544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2545 whose name does not start with the host triplet. If you think this
2546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2547 ac_tool_warned
=yes ;;
2555 if test -z "$CC"; then
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2558 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561 if test "${ac_cv_prog_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC
="$CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test -n "$CC"; then
2586 { echo "$as_me:$LINENO: result: $CC" >&5
2587 echo "${ECHO_T}$CC" >&6; }
2589 { echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6; }
2596 if test -z "$CC"; then
2597 # Extract the first word of "cc", so it can be a program name with args.
2598 set dummy cc
; ac_word
=$2
2599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2601 if test "${ac_cv_prog_CC+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 if test -n "$CC"; then
2605 ac_cv_prog_CC
="$CC" # Let the user override the test.
2608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir
=.
2613 for ac_exec_ext
in '' $ac_executable_extensions; do
2614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2616 ac_prog_rejected
=yes
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 if test $ac_prog_rejected = yes; then
2628 # We found a bogon in the path, so make sure we never use it.
2629 set dummy
$ac_cv_prog_CC
2631 if test $# != 0; then
2632 # We chose a different compiler from the bogus one.
2633 # However, it has the same basename, so the bogon will be chosen
2634 # first if we set CC to just the basename; use the full file name.
2636 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2642 if test -n "$CC"; then
2643 { echo "$as_me:$LINENO: result: $CC" >&5
2644 echo "${ECHO_T}$CC" >&6; }
2646 { echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6; }
2652 if test -z "$CC"; then
2653 if test -n "$ac_tool_prefix"; then
2654 for ac_prog
in cl.exe
2656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2657 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2660 if test "${ac_cv_prog_CC+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC
="$CC" # Let the user override the test.
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 if test -n "$CC"; then
2685 { echo "$as_me:$LINENO: result: $CC" >&5
2686 echo "${ECHO_T}$CC" >&6; }
2688 { echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6; }
2693 test -n "$CC" && break
2696 if test -z "$CC"; then
2698 for ac_prog
in cl.exe
2700 # Extract the first word of "$ac_prog", so it can be a program name with args.
2701 set dummy
$ac_prog; ac_word
=$2
2702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$ac_ct_CC"; then
2708 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_ac_ct_CC
="$ac_prog"
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2728 if test -n "$ac_ct_CC"; then
2729 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2730 echo "${ECHO_T}$ac_ct_CC" >&6; }
2732 { echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6; }
2737 test -n "$ac_ct_CC" && break
2740 if test "x$ac_ct_CC" = x
; then
2743 case $cross_compiling:$ac_tool_warned in
2745 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2746 whose name does not start with the host triplet. If you think this
2747 configuration is useful to you, please write to autoconf@gnu.org." >&5
2748 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2749 whose name does not start with the host triplet. If you think this
2750 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2751 ac_tool_warned
=yes ;;
2760 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2761 See \`config.log' for more details." >&5
2762 echo "$as_me: error: no acceptable C compiler found in \$PATH
2763 See \`config.log' for more details." >&2;}
2764 { (exit 1); exit 1; }; }
2766 # Provide some information about the compiler.
2767 echo "$as_me:$LINENO: checking for C compiler version" >&5
2768 ac_compiler
=`set X $ac_compile; echo $2`
2769 { (ac_try
="$ac_compiler --version >&5"
2771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compiler --version >&5") 2>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }
2779 { (ac_try="$ac_compiler -v >&5"
2781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2782 *) ac_try_echo
=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_compiler -v >&5") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }
2789 { (ac_try
="$ac_compiler -V >&5"
2791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compiler -V >&5") 2>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }
2800 cat >conftest.$ac_ext <<_ACEOF
2803 cat confdefs.h >>conftest.$ac_ext
2804 cat >>conftest.$ac_ext <<_ACEOF
2805 /* end confdefs.h. */
2815 ac_clean_files_save=$ac_clean_files
2816 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2817 # Try to create an executable without -o first, disregard a.out.
2818 # It will help us diagnose broken compilers, and finding out an intuition
2820 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2821 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2822 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2824 # List of possible output files, starting from the most likely.
2825 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2826 # only as a last resort. b.out is created by i960 compilers.
2827 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2829 # The IRIX 6 linker writes into existing files which may not be
2830 # executable, retaining their permissions. Remove them first so a
2831 # subsequent execution test works.
2833 for ac_file in $ac_files
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2837 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2842 if { (ac_try="$ac_link_default"
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2848 (eval "$ac_link_default") 2>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2852 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2853 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2854 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2855 # so that the user can short-circuit this test for compilers unknown to
2857 for ac_file
in $ac_files ''
2859 test -f "$ac_file" ||
continue
2861 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2864 # We found the default executable, but exeext='' is most
2868 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2870 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2872 # We set ac_cv_exeext here because the later test for it is not
2873 # safe: cross compilers may not add the suffix if given an `-o'
2874 # argument, so we may need to know it at that point already.
2875 # Even if this section looks crufty: it has the advantage of
2882 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2888 { echo "$as_me:$LINENO: result: $ac_file" >&5
2889 echo "${ECHO_T}$ac_file" >&6; }
2890 if test -z "$ac_file"; then
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.
$ac_ext >&5
2894 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2895 See \`config.log' for more details." >&5
2896 echo "$as_me: error: C compiler cannot create executables
2897 See \`config.log' for more details." >&2;}
2898 { (exit 77); exit 77; }; }
2901 ac_exeext
=$ac_cv_exeext
2903 # Check that the compiler produces executables we can run. If not, either
2904 # the compiler is broken, or we cross compile.
2905 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2906 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2907 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2908 # If not cross compiling, check that we can run a simple program.
2909 if test "$cross_compiling" != yes; then
2910 if { ac_try
='./$ac_file'
2911 { (case "(($ac_try" in
2912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_try") 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; }; then
2922 if test "$cross_compiling" = maybe; then
2925 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2926 If you meant to cross compile, use \`--host'.
2927 See \`config.log' for more details.
" >&5
2928 echo "$as_me: error
: cannot run C compiled programs.
2929 If you meant to cross compile
, use \
`--host'.
2930 See \`config.log
' for more details." >&2;}
2931 { (exit 1); exit 1; }; }
2935 { echo "$as_me:$LINENO: result: yes" >&5
2936 echo "${ECHO_T}yes" >&6; }
2938 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2939 ac_clean_files=$ac_clean_files_save
2940 # Check that the compiler produces executables we can run. If not, either
2941 # the compiler is broken, or we cross compile.
2942 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2943 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2944 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2945 echo "${ECHO_T}$cross_compiling" >&6; }
2947 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2948 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2949 if { (ac_try="$ac_link"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_link") 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; then
2959 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2960 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2961 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2963 for ac_file
in conftest.exe conftest conftest.
*; do
2964 test -f "$ac_file" ||
continue
2966 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2967 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2973 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2974 See \`config.log' for more details." >&5
2975 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details." >&2;}
2977 { (exit 1); exit 1; }; }
2980 rm -f conftest
$ac_cv_exeext
2981 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2982 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2984 rm -f conftest.
$ac_ext
2985 EXEEXT
=$ac_cv_exeext
2987 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2988 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2989 if test "${ac_cv_objext+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 cat >conftest.
$ac_ext <<_ACEOF
2995 cat confdefs.h
>>conftest.
$ac_ext
2996 cat >>conftest.
$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
3007 rm -f conftest.o conftest.obj
3008 if { (ac_try
="$ac_compile"
3010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compile") 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; then
3018 for ac_file in conftest.o conftest.obj conftest.*; do
3019 test -f "$ac_file" || continue;
3021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3022 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3030 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3031 See \`config.log
' for more details." >&5
3032 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3033 See \`config.log' for more details.
" >&2;}
3034 { (exit 1); exit 1; }; }
3037 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3039 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3040 echo "${ECHO_T}$ac_cv_objext" >&6; }
3041 OBJEXT=$ac_cv_objext
3043 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3044 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3045 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3046 echo $ECHO_N "(cached
) $ECHO_C" >&6
3048 cat >conftest.$ac_ext <<_ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3066 rm -f conftest.$ac_objext
3067 if { (ac_try="$ac_compile"
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_compile") 2>conftest.er1
3075 grep -v '^ *+' conftest.er1 >conftest.err
3077 cat conftest.err >&5
3078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3079 (exit $ac_status); } && {
3080 test -z "$ac_c_werror_flag" ||
3081 test ! -s conftest.err
3082 } && test -s conftest.$ac_objext; then
3085 echo "$as_me: failed program was
:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3095 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3096 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3097 GCC=`test $ac_compiler_gnu = yes && echo yes`
3098 ac_test_CFLAGS=${CFLAGS+set}
3099 ac_save_CFLAGS=$CFLAGS
3100 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3101 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3102 if test "${ac_cv_prog_cc_g+set}" = set; then
3103 echo $ECHO_N "(cached
) $ECHO_C" >&6
3105 ac_save_c_werror_flag=$ac_c_werror_flag
3106 ac_c_werror_flag=yes
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_compile") 2>conftest.er1
3133 grep -v '^ *+' conftest.er1 >conftest.err
3135 cat conftest.err >&5
3136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3137 (exit $ac_status); } && {
3138 test -z "$ac_c_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then
3143 echo "$as_me: failed program was
:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3147 cat >conftest.$ac_ext <<_ACEOF
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3169 (eval "$ac_compile") 2>conftest.er1
3171 grep -v '^ *+' conftest.er1 >conftest.err
3173 cat conftest.err >&5
3174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3175 (exit $ac_status); } && {
3176 test -z "$ac_c_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then
3181 echo "$as_me: failed program was
:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_c_werror_flag=$ac_save_c_werror_flag
3186 cat >conftest.$ac_ext <<_ACEOF
3189 cat confdefs.h >>conftest.$ac_ext
3190 cat >>conftest.$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3208 (eval "$ac_compile") 2>conftest.er1
3210 grep -v '^ *+' conftest.er1 >conftest.err
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3214 (exit $ac_status); } && {
3215 test -z "$ac_c_werror_flag" ||
3216 test ! -s conftest.err
3217 } && test -s conftest.$ac_objext; then
3220 echo "$as_me: failed program was
:" >&5
3221 sed 's/^/| /' conftest.$ac_ext >&5
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 ac_c_werror_flag=$ac_save_c_werror_flag
3235 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3236 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3237 if test "$ac_test_CFLAGS" = set; then
3238 CFLAGS=$ac_save_CFLAGS
3239 elif test $ac_cv_prog_cc_g = yes; then
3240 if test "$GCC" = yes; then
3246 if test "$GCC" = yes; then
3252 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3253 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3254 if test "${ac_cv_prog_cc_c89+set}" = set; then
3255 echo $ECHO_N "(cached
) $ECHO_C" >&6
3257 ac_cv_prog_cc_c89=no
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3267 #include <sys/types.h>
3268 #include <sys/stat.h>
3269 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3270 struct buf { int x; };
3271 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3272 static char *e (p, i)
3278 static char *f (char * (*g) (char **, int), char **p, ...)
3283 s = g (p, va_arg (v,int));
3288 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3289 function prototypes and stuff, but not '\xHH' hex character constants.
3290 These don't provoke an error unfortunately, instead are silently treated
3291 as 'x'. The following induces an error, until -std is added to get
3292 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3293 array size at least. It's necessary to write '\x00'==0 to get something
3294 that's true only with -std. */
3295 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3297 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3298 inside strings and character constants. */
3300 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3302 int test (int i, double x);
3303 struct s1 {int (*f) (int a);};
3304 struct s2 {int (*f) (double a);};
3305 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3311 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3316 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3317 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3319 CC="$ac_save_CC $ac_arg"
3320 rm -f conftest.$ac_objext
3321 if { (ac_try="$ac_compile"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compile") 2>conftest.er1
3329 grep -v '^ *+' conftest.er1 >conftest.err
3331 cat conftest.err >&5
3332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3333 (exit $ac_status); } && {
3334 test -z "$ac_c_werror_flag" ||
3335 test ! -s conftest.err
3336 } && test -s conftest.$ac_objext; then
3337 ac_cv_prog_cc_c89=$ac_arg
3339 echo "$as_me: failed program was
:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3345 rm -f core conftest.err conftest.$ac_objext
3346 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3348 rm -f conftest.$ac_ext
3353 case "x
$ac_cv_prog_cc_c89" in
3355 { echo "$as_me:$LINENO: result
: none needed
" >&5
3356 echo "${ECHO_T}none needed
" >&6; } ;;
3358 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3359 echo "${ECHO_T}unsupported
" >&6; } ;;
3361 CC="$CC $ac_cv_prog_cc_c89"
3362 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3363 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3368 ac_cpp='$CPP $CPPFLAGS'
3369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3372 DEPDIR="${am__leading_dot}deps
"
3374 ac_config_commands="$ac_config_commands depfiles
"
3377 am_make=${MAKE-make}
3378 cat > confinc << 'END'
3383 # If we don't find an include directive, just comment out the code.
3384 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3385 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3389 # First try GNU make style include.
3390 echo "include confinc" > confmf
3391 # We grep out `Entering directory' and `Leaving directory'
3392 # messages which can occur if `w' ends up in MAKEFLAGS.
3393 # In particular we don't look at `^make:' because GNU make might
3394 # be invoked under some other name (usually "gmake"), in which
3395 # case it prints its new name instead of `make'.
3396 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3401 # Now try BSD make style include.
3402 if test "$am__include" = "#"; then
3403 echo '.include "confinc"' > confmf
3404 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3405 am__include
=.include
3412 { echo "$as_me:$LINENO: result: $_am_result" >&5
3413 echo "${ECHO_T}$_am_result" >&6; }
3414 rm -f confinc confmf
3416 # Check whether --enable-dependency-tracking was given.
3417 if test "${enable_dependency_tracking+set}" = set; then
3418 enableval
=$enable_dependency_tracking;
3421 if test "x$enable_dependency_tracking" != xno
; then
3422 am_depcomp
="$ac_aux_dir/depcomp"
3425 if test "x$enable_dependency_tracking" != xno; then
3435 depcc
="$CC" am_compiler_list
=
3437 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3438 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3439 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3443 # We make a subdir and do the tests there. Otherwise we can end up
3444 # making bogus files that we don't know about and never remove. For
3445 # instance it was reported that on HP-UX the gcc test will end up
3446 # making a dummy file named `D' -- because `-MD' means `put the output
3449 # Copy depcomp to subdir because otherwise we won't find it if we're
3450 # using a relative directory.
3451 cp "$am_depcomp" conftest.dir
3453 # We will build objects and dependencies in a subdirectory because
3454 # it helps to detect inapplicable dependency modes. For instance
3455 # both Tru64's cc and ICC support -MD to output dependencies as a
3456 # side effect of compilation, but ICC will put the dependencies in
3457 # the current directory while Tru64 will put them in the object
3461 am_cv_CC_dependencies_compiler_type
=none
3462 if test "$am_compiler_list" = ""; then
3463 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3465 for depmode
in $am_compiler_list; do
3466 # Setup a source with many dependencies, because some compilers
3467 # like to wrap large dependency lists on column 80 (with \), and
3468 # we should not choose a depcomp mode which is confused by this.
3470 # We need to recreate these files for each test, as the compiler may
3471 # overwrite some of them when testing with obscure command lines.
3472 # This happens at least with the AIX C compiler.
3474 for i
in 1 2 3 4 5 6; do
3475 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3476 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3477 # Solaris 8's {/usr,}/bin/sh.
3478 touch sub
/conftst
$i.h
3480 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3484 # after this tag, mechanisms are not by side-effect, so they'll
3485 # only be used when explicitly requested
3486 if test "x$enable_dependency_tracking" = xyes
; then
3494 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3495 # mode. It turns out that the SunPro C++ compiler does not properly
3496 # handle `-M -o', and we need to detect this.
3497 if depmode
=$depmode \
3498 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3499 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3500 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3501 >/dev
/null
2>conftest.err
&&
3502 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3503 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3504 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3505 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3506 # icc doesn't choke on unknown options, it will just issue warnings
3507 # or remarks (even with -Werror). So we grep stderr for any message
3508 # that says an option was ignored or not supported.
3509 # When given -MP, icc 7.0 and 7.1 complain thusly:
3510 # icc: Command line warning: ignoring option '-M'; no argument required
3511 # The diagnosis changed in icc 8.0:
3512 # icc: Command line remark: option '-MP' not supported
3513 if (grep 'ignoring option' conftest.err ||
3514 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3515 am_cv_CC_dependencies_compiler_type
=$depmode
3524 am_cv_CC_dependencies_compiler_type
=none
3528 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3529 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3530 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3533 test "x$enable_dependency_tracking" != xno \
3534 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3536 am__fastdepCC_FALSE
='#'
3538 am__fastdepCC_TRUE
='#'
3539 am__fastdepCC_FALSE
=
3543 # Check whether --enable-shared was given.
3544 if test "${enable_shared+set}" = set; then
3545 enableval
=$enable_shared; p
=${PACKAGE-default}
3547 yes) enable_shared
=yes ;;
3548 no
) enable_shared
=no
;;
3551 # Look at the argument we got. We use all the common list separators.
3552 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3553 for pkg
in $enableval; do
3555 if test "X$pkg" = "X$p"; then
3567 # Check whether --enable-static was given.
3568 if test "${enable_static+set}" = set; then
3569 enableval
=$enable_static; p
=${PACKAGE-default}
3571 yes) enable_static
=yes ;;
3572 no
) enable_static
=no
;;
3575 # Look at the argument we got. We use all the common list separators.
3576 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3577 for pkg
in $enableval; do
3579 if test "X$pkg" = "X$p"; then
3591 # Check whether --enable-fast-install was given.
3592 if test "${enable_fast_install+set}" = set; then
3593 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3595 yes) enable_fast_install
=yes ;;
3596 no
) enable_fast_install
=no
;;
3598 enable_fast_install
=no
3599 # Look at the argument we got. We use all the common list separators.
3600 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3601 for pkg
in $enableval; do
3603 if test "X$pkg" = "X$p"; then
3604 enable_fast_install
=yes
3611 enable_fast_install
=yes
3615 # Make sure we can run config.sub.
3616 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3617 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3618 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3619 { (exit 1); exit 1; }; }
3621 { echo "$as_me:$LINENO: checking build system type" >&5
3622 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3623 if test "${ac_cv_build+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 ac_build_alias
=$build_alias
3627 test "x$ac_build_alias" = x
&&
3628 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3629 test "x$ac_build_alias" = x
&&
3630 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3631 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3632 { (exit 1); exit 1; }; }
3633 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3634 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3635 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3636 { (exit 1); exit 1; }; }
3639 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3640 echo "${ECHO_T}$ac_cv_build" >&6; }
3641 case $ac_cv_build in
3643 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3644 echo "$as_me: error: invalid value of canonical build" >&2;}
3645 { (exit 1); exit 1; }; };;
3648 ac_save_IFS
=$IFS; IFS
='-'
3654 # Remember, the first character of IFS is used to create $*,
3655 # except with old shells:
3658 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3661 { echo "$as_me:$LINENO: checking host system type" >&5
3662 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3663 if test "${ac_cv_host+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 if test "x$host_alias" = x
; then
3667 ac_cv_host
=$ac_cv_build
3669 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3670 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3671 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3672 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3677 echo "${ECHO_T}$ac_cv_host" >&6; }
3680 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3681 echo "$as_me: error: invalid value of canonical host" >&2;}
3682 { (exit 1); exit 1; }; };;
3685 ac_save_IFS
=$IFS; IFS
='-'
3691 # Remember, the first character of IFS is used to create $*,
3692 # except with old shells:
3695 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3698 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3699 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3700 if test "${lt_cv_path_SED+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 # Loop through the user's path and test for sed and gsed.
3704 # Then use that list of sed's as ones to test for truncation.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for lt_ac_prog
in sed gsed
; do
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3713 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3721 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3722 # along with /bin/sed that truncates output.
3723 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3724 test ! -f $lt_ac_sed && continue
3725 cat /dev
/null
> conftest.
in
3727 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3728 # Check for GNU sed and select it if it is found.
3729 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3730 lt_cv_path_SED
=$lt_ac_sed
3734 cat conftest.
in conftest.
in >conftest.tmp
3735 mv conftest.tmp conftest.
in
3736 cp conftest.
in conftest.
nl
3738 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3739 cmp -s conftest.out conftest.
nl ||
break
3740 # 10000 chars as input seems more than enough
3741 test $lt_ac_count -gt 10 && break
3742 lt_ac_count
=`expr $lt_ac_count + 1`
3743 if test $lt_ac_count -gt $lt_ac_max; then
3744 lt_ac_max
=$lt_ac_count
3745 lt_cv_path_SED
=$lt_ac_sed
3754 { echo "$as_me:$LINENO: result: $SED" >&5
3755 echo "${ECHO_T}$SED" >&6; }
3757 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3758 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3759 if test "${ac_cv_path_GREP+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 # Extract the first word of "grep ggrep" to use in msg output
3763 if test -z "$GREP"; then
3764 set dummy
grep ggrep
; ac_prog_name
=$2
3765 if test "${ac_cv_path_GREP+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 ac_path_GREP_found
=false
3769 # Loop through the user's path and test for each of PROGNAME-LIST
3770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3774 test -z "$as_dir" && as_dir
=.
3775 for ac_prog
in grep ggrep
; do
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3778 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3779 # Check for GNU ac_path_GREP and select it if it is found.
3780 # Check for GNU $ac_path_GREP
3781 case `"$ac_path_GREP" --version 2>&1` in
3783 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3786 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3789 cat "conftest.in" "conftest.in" >"conftest.tmp"
3790 mv "conftest.tmp" "conftest.in"
3791 cp "conftest.in" "conftest.nl"
3792 echo 'GREP' >> "conftest.nl"
3793 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3794 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3795 ac_count
=`expr $ac_count + 1`
3796 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3797 # Best one so far, save it but keep looking for a better one
3798 ac_cv_path_GREP
="$ac_path_GREP"
3799 ac_path_GREP_max
=$ac_count
3801 # 10*(2^10) chars as input seems more than enough
3802 test $ac_count -gt 10 && break
3804 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3808 $ac_path_GREP_found && break 3
3818 GREP
="$ac_cv_path_GREP"
3819 if test -z "$GREP"; then
3820 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3821 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3822 { (exit 1); exit 1; }; }
3826 ac_cv_path_GREP
=$GREP
3831 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3832 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3833 GREP
="$ac_cv_path_GREP"
3836 { echo "$as_me:$LINENO: checking for egrep" >&5
3837 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3838 if test "${ac_cv_path_EGREP+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3842 then ac_cv_path_EGREP
="$GREP -E"
3844 # Extract the first word of "egrep" to use in msg output
3845 if test -z "$EGREP"; then
3846 set dummy
egrep; ac_prog_name
=$2
3847 if test "${ac_cv_path_EGREP+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 ac_path_EGREP_found
=false
3851 # Loop through the user's path and test for each of PROGNAME-LIST
3852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3853 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3856 test -z "$as_dir" && as_dir
=.
3857 for ac_prog
in egrep; do
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3860 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3861 # Check for GNU ac_path_EGREP and select it if it is found.
3862 # Check for GNU $ac_path_EGREP
3863 case `"$ac_path_EGREP" --version 2>&1` in
3865 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3868 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3871 cat "conftest.in" "conftest.in" >"conftest.tmp"
3872 mv "conftest.tmp" "conftest.in"
3873 cp "conftest.in" "conftest.nl"
3874 echo 'EGREP' >> "conftest.nl"
3875 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3876 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3877 ac_count
=`expr $ac_count + 1`
3878 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3879 # Best one so far, save it but keep looking for a better one
3880 ac_cv_path_EGREP
="$ac_path_EGREP"
3881 ac_path_EGREP_max
=$ac_count
3883 # 10*(2^10) chars as input seems more than enough
3884 test $ac_count -gt 10 && break
3886 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3890 $ac_path_EGREP_found && break 3
3900 EGREP
="$ac_cv_path_EGREP"
3901 if test -z "$EGREP"; then
3902 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3903 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3904 { (exit 1); exit 1; }; }
3908 ac_cv_path_EGREP
=$EGREP
3914 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3915 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3916 EGREP
="$ac_cv_path_EGREP"
3920 # Check whether --with-gnu-ld was given.
3921 if test "${with_gnu_ld+set}" = set; then
3922 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3928 if test "$GCC" = yes; then
3929 # Check if gcc -print-prog-name=ld gives a path.
3930 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3931 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3934 # gcc leaves a trailing carriage return which upsets mingw
3935 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3937 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3940 # Accept absolute paths.
3942 re_direlt
='/[^/][^/]*/\.\./'
3943 # Canonicalize the pathname of ld
3944 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3945 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3946 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3948 test -z "$LD" && LD
="$ac_prog"
3951 # If it fails, then pretend we aren't using GCC.
3955 # If it is relative, then search for the first ld in PATH.
3959 elif test "$with_gnu_ld" = yes; then
3960 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3961 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3963 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3964 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3966 if test "${lt_cv_path_LD+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 if test -z "$LD"; then
3970 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
3971 for ac_dir
in $PATH; do
3973 test -z "$ac_dir" && ac_dir
=.
3974 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3975 lt_cv_path_LD
="$ac_dir/$ac_prog"
3976 # Check to see if the program is GNU ld. I'd rather use --version,
3977 # but apparently some variants of GNU ld only accept -v.
3978 # Break only if it was the GNU/non-GNU ld that we prefer.
3979 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3980 *GNU
* |
*'with BFD'*)
3981 test "$with_gnu_ld" != no
&& break
3984 test "$with_gnu_ld" != yes && break
3991 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3996 if test -n "$LD"; then
3997 { echo "$as_me:$LINENO: result: $LD" >&5
3998 echo "${ECHO_T}$LD" >&6; }
4000 { echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6; }
4003 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4004 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4005 { (exit 1); exit 1; }; }
4006 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4007 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4008 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4012 case `$LD -v 2>&1 </dev/null` in
4013 *GNU
* |
*'with BFD'*)
4014 lt_cv_prog_gnu_ld
=yes
4017 lt_cv_prog_gnu_ld
=no
4021 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4022 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4023 with_gnu_ld
=$lt_cv_prog_gnu_ld
4026 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4027 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4028 if test "${lt_cv_ld_reload_flag+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 lt_cv_ld_reload_flag
='-r'
4033 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4034 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4035 reload_flag
=$lt_cv_ld_reload_flag
4036 case $reload_flag in
4038 *) reload_flag
=" $reload_flag" ;;
4040 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4043 if test "$GCC" = yes; then
4044 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4046 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4051 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4052 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4053 if test "${lt_cv_path_NM+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 if test -n "$NM"; then
4057 # Let the user override the test.
4060 lt_nm_to_check
="${ac_tool_prefix}nm"
4061 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4062 lt_nm_to_check
="$lt_nm_to_check nm"
4064 for lt_tmp_nm
in $lt_nm_to_check; do
4065 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4066 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4068 test -z "$ac_dir" && ac_dir
=.
4069 tmp_nm
="$ac_dir/$lt_tmp_nm"
4070 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4071 # Check to see if the nm accepts a BSD-compat flag.
4072 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4073 # nm: unknown option "B" ignored
4074 # Tru64's nm complains that /dev/null is an invalid object file
4075 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4076 */dev
/null
* |
*'Invalid file or object type'*)
4077 lt_cv_path_NM
="$tmp_nm -B"
4081 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4083 lt_cv_path_NM
="$tmp_nm -p"
4087 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4088 continue # so that we can try to find one that supports BSD flags
4097 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4100 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4101 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4104 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4105 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4107 if test "$LN_S" = "ln -s"; then
4108 { echo "$as_me:$LINENO: result: yes" >&5
4109 echo "${ECHO_T}yes" >&6; }
4111 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4112 echo "${ECHO_T}no, using $LN_S" >&6; }
4115 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4116 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4117 if test "${lt_cv_deplibs_check_method+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4121 lt_cv_file_magic_test_file
=
4122 lt_cv_deplibs_check_method
='unknown'
4123 # Need to set the preceding variable on all platforms that support
4124 # interlibrary dependencies.
4125 # 'none' -- dependencies not supported.
4126 # `unknown' -- same as none, but documents that we really don't know.
4127 # 'pass_all' -- all dependencies passed with no checks.
4128 # 'test_compile' -- check by making test program.
4129 # 'file_magic [[regex]]' -- check by looking for files in library path
4130 # which responds to the $file_magic_cmd with a given extended regex.
4131 # If you have `file' or equivalent on your system and you're not sure
4132 # whether `pass_all' will *always* work, you probably want this one.
4136 lt_cv_deplibs_check_method
=pass_all
4140 lt_cv_deplibs_check_method
=pass_all
4144 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4145 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4146 lt_cv_file_magic_test_file
=/shlib
/libc.so
4150 # func_win32_libid is a shell function defined in ltmain.sh
4151 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4152 lt_cv_file_magic_cmd
='func_win32_libid'
4156 # Base MSYS/MinGW do not provide the 'file' command needed by
4157 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4158 # unless we find 'file', for example because we are cross-compiling.
4159 if ( file / ) >/dev
/null
2>&1; then
4160 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4161 lt_cv_file_magic_cmd
='func_win32_libid'
4163 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4164 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4168 darwin
* | rhapsody
*)
4169 lt_cv_deplibs_check_method
=pass_all
4172 freebsd
* | dragonfly
*)
4173 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4176 # Not sure whether the presence of OpenBSD here was a mistake.
4177 # Let's accept both of them until this is cleared up.
4178 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4179 lt_cv_file_magic_cmd
=/usr
/bin
/file
4180 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4184 lt_cv_deplibs_check_method
=pass_all
4189 lt_cv_deplibs_check_method
=pass_all
4192 hpux10.20
* | hpux11
*)
4193 lt_cv_file_magic_cmd
=/usr
/bin
/file
4196 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4197 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4200 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]'
4201 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4204 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4205 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4211 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4212 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4215 irix5
* | irix6
* | nonstopux
*)
4217 *-32|
*"-32 ") libmagic
=32-bit;;
4218 *-n32|
*"-n32 ") libmagic
=N32
;;
4219 *-64|
*"-64 ") libmagic
=64-bit;;
4220 *) libmagic
=never-match
;;
4222 lt_cv_deplibs_check_method
=pass_all
4225 # This must be Linux ELF.
4226 linux
* | k
*bsd
*-gnu)
4227 lt_cv_deplibs_check_method
=pass_all
4230 netbsd
* | netbsdelf
*-gnu)
4231 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4232 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4234 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4239 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4240 lt_cv_file_magic_cmd
=/usr
/bin
/file
4241 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4245 lt_cv_deplibs_check_method
=unknown
4249 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4250 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4252 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4256 osf3
* | osf4
* | osf5
*)
4257 lt_cv_deplibs_check_method
=pass_all
4261 lt_cv_deplibs_check_method
=pass_all
4265 lt_cv_deplibs_check_method
=pass_all
4269 case $host_vendor in
4271 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]'
4272 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4275 lt_cv_deplibs_check_method
=pass_all
4278 lt_cv_file_magic_cmd
='/bin/file'
4279 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4282 lt_cv_file_magic_cmd
='/bin/file'
4283 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4284 lt_cv_file_magic_test_file
=/lib
/libc.so
4287 lt_cv_deplibs_check_method
=pass_all
4290 lt_cv_deplibs_check_method
=pass_all
4295 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4296 lt_cv_deplibs_check_method
=pass_all
4301 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4302 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4303 file_magic_cmd
=$lt_cv_file_magic_cmd
4304 deplibs_check_method
=$lt_cv_deplibs_check_method
4305 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4310 # If no C compiler was specified, use CC.
4313 # If no C compiler flags were specified, use CFLAGS.
4314 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4316 # Allow CC to be a program name with arguments.
4320 # Check whether --enable-libtool-lock was given.
4321 if test "${enable_libtool_lock+set}" = set; then
4322 enableval
=$enable_libtool_lock;
4325 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4327 # Some flags need to be propagated to the compiler or linker for good
4331 # Find out which ABI we are using.
4332 echo 'int i;' > conftest.
$ac_ext
4333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4334 (eval $ac_compile) 2>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; then
4338 case `/usr/bin/file conftest.$ac_objext` in
4350 # Find out which ABI we are using.
4351 echo '#line 4351 "configure"' > conftest.
$ac_ext
4352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4353 (eval $ac_compile) 2>&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; then
4357 if test "$lt_cv_prog_gnu_ld" = yes; then
4358 case `/usr/bin/file conftest.$ac_objext` in
4360 LD
="${LD-ld} -melf32bsmip"
4363 LD
="${LD-ld} -melf32bmipn32"
4366 LD
="${LD-ld} -melf64bmip"
4370 case `/usr/bin/file conftest.$ac_objext` in
4386 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4387 s390
*-*linux
*|sparc
*-*linux
*)
4388 # Find out which ABI we are using.
4389 echo 'int i;' > conftest.
$ac_ext
4390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4391 (eval $ac_compile) 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; then
4395 case `/usr/bin/file conftest.o` in
4398 x86_64-
*kfreebsd
*-gnu)
4399 LD
="${LD-ld} -m elf_i386_fbsd"
4402 LD
="${LD-ld} -m elf_i386"
4404 ppc64-
*linux
*|powerpc64-
*linux
*)
4405 LD
="${LD-ld} -m elf32ppclinux"
4408 LD
="${LD-ld} -m elf_s390"
4411 LD
="${LD-ld} -m elf32_sparc"
4417 x86_64-
*kfreebsd
*-gnu)
4418 LD
="${LD-ld} -m elf_x86_64_fbsd"
4421 LD
="${LD-ld} -m elf_x86_64"
4423 ppc
*-*linux
*|powerpc
*-*linux
*)
4424 LD
="${LD-ld} -m elf64ppc"
4427 LD
="${LD-ld} -m elf64_s390"
4430 LD
="${LD-ld} -m elf64_sparc"
4440 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4441 SAVE_CFLAGS
="$CFLAGS"
4442 CFLAGS
="$CFLAGS -belf"
4443 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4444 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4445 if test "${lt_cv_cc_needs_belf+set}" = set; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 ac_cpp
='$CPP $CPPFLAGS'
4450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4454 cat >conftest.
$ac_ext <<_ACEOF
4457 cat confdefs.h
>>conftest.
$ac_ext
4458 cat >>conftest.
$ac_ext <<_ACEOF
4459 /* end confdefs.h. */
4469 rm -f conftest.
$ac_objext conftest
$ac_exeext
4470 if { (ac_try
="$ac_link"
4472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4473 *) ac_try_echo=$ac_try;;
4475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4476 (eval "$ac_link") 2>conftest.er1
4478 grep -v '^ *+' conftest.er1 >conftest.err
4480 cat conftest.err >&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); } && {
4483 test -z "$ac_c_werror_flag" ||
4484 test ! -s conftest.err
4485 } && test -s conftest$ac_exeext &&
4486 $as_test_x conftest$ac_exeext; then
4487 lt_cv_cc_needs_belf=yes
4489 echo "$as_me: failed program was:" >&5
4490 sed 's/^/| /' conftest.$ac_ext >&5
4492 lt_cv_cc_needs_belf=no
4495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4496 conftest$ac_exeext conftest.$ac_ext
4498 ac_cpp='$CPP $CPPFLAGS'
4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4504 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4505 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4506 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4507 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4508 CFLAGS="$SAVE_CFLAGS"
4512 # Find out which ABI we are using.
4513 echo 'int i;' > conftest.$ac_ext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515 (eval $ac_compile) 2>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; then
4519 case `/usr
/bin
/file conftest.o
` in
4521 case $lt_cv_prog_gnu_ld in
4522 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4524 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4538 need_locks="$enable_libtool_lock"
4542 ac_cpp='$CPP $CPPFLAGS'
4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4547 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4548 # On Suns, sometimes $CPP names a directory.
4549 if test -n "$CPP" && test -d "$CPP"; then
4552 if test -z "$CPP"; then
4553 if test "${ac_cv_prog_CPP+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 # Double quotes because CPP needs to be expanded
4557 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4560 for ac_c_preproc_warn_flag in '' yes
4562 # Use a header file that comes with gcc, so configuring glibc
4563 # with a fresh cross-compiler works.
4564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4565 # <limits.h> exists even on freestanding compilers.
4566 # On the NeXT, cc -E runs the code through the compiler's parser,
4567 # not just through cpp. "Syntax error" is here to catch this case.
4568 cat >conftest.$ac_ext <<_ACEOF
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4575 # include <limits.h>
4577 # include <assert.h>
4581 if { (ac_try="$ac_cpp conftest.$ac_ext"
4583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4584 *) ac_try_echo
=$ac_try;;
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4589 grep -v '^ *+' conftest.er1
>conftest.err
4591 cat conftest.err
>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } >/dev
/null
&& {
4594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4595 test ! -s conftest.err
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.
$ac_ext >&5
4602 # Broken: fails on valid input.
4606 rm -f conftest.err conftest.
$ac_ext
4608 # OK, works on sane cases. Now check whether nonexistent headers
4609 # can be detected and how.
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 #include <ac_nonexistent.h>
4618 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4621 *) ac_try_echo=$ac_try;;
4623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4626 grep -v '^ *+' conftest.er1 >conftest.err
4628 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } >/dev/null && {
4631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4632 test ! -s conftest.err
4634 # Broken: success on invalid input.
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.$ac_ext >&5
4640 # Passes both tests.
4645 rm -f conftest.err conftest.$ac_ext
4648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4649 rm -f conftest.err conftest.
$ac_ext
4650 if $ac_preproc_ok; then
4662 { echo "$as_me:$LINENO: result: $CPP" >&5
4663 echo "${ECHO_T}$CPP" >&6; }
4665 for ac_c_preproc_warn_flag
in '' yes
4667 # Use a header file that comes with gcc, so configuring glibc
4668 # with a fresh cross-compiler works.
4669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4670 # <limits.h> exists even on freestanding compilers.
4671 # On the NeXT, cc -E runs the code through the compiler's parser,
4672 # not just through cpp. "Syntax error" is here to catch this case.
4673 cat >conftest.
$ac_ext <<_ACEOF
4676 cat confdefs.h
>>conftest.
$ac_ext
4677 cat >>conftest.
$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4680 # include <limits.h>
4682 # include <assert.h>
4686 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4694 grep -v '^ *+' conftest.er1 >conftest.err
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } >/dev/null && {
4699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 # Broken: fails on valid input.
4711 rm -f conftest.err conftest.$ac_ext
4713 # OK, works on sane cases. Now check whether nonexistent headers
4714 # can be detected and how.
4715 cat >conftest.$ac_ext <<_ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4723 if { (ac_try="$ac_cpp conftest.$ac_ext"
4725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4726 *) ac_try_echo
=$ac_try;;
4728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4731 grep -v '^ *+' conftest.er1
>conftest.err
4733 cat conftest.err
>&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } >/dev
/null
&& {
4736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4737 test ! -s conftest.err
4739 # Broken: success on invalid input.
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.
$ac_ext >&5
4745 # Passes both tests.
4750 rm -f conftest.err conftest.
$ac_ext
4753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4754 rm -f conftest.err conftest.
$ac_ext
4755 if $ac_preproc_ok; then
4758 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4759 See \`config.log' for more details." >&5
4760 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4761 See \`config.log' for more details." >&2;}
4762 { (exit 1); exit 1; }; }
4766 ac_cpp
='$CPP $CPPFLAGS'
4767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4772 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4773 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4774 if test "${ac_cv_header_stdc+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4796 rm -f conftest.
$ac_objext
4797 if { (ac_try
="$ac_compile"
4799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4803 (eval "$ac_compile") 2>conftest.er1
4805 grep -v '^ *+' conftest.er1 >conftest.err
4807 cat conftest.err >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } && {
4810 test -z "$ac_c_werror_flag" ||
4811 test ! -s conftest.err
4812 } && test -s conftest.$ac_objext; then
4813 ac_cv_header_stdc=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_cv_header_stdc=no
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 if test $ac_cv_header_stdc = yes; then
4824 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4825 cat >conftest.$ac_ext <<_ACEOF
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4835 $EGREP "memchr" >/dev/null 2>&1; then
4838 ac_cv_header_stdc=no
4844 if test $ac_cv_header_stdc = yes; then
4845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4846 cat >conftest.$ac_ext <<_ACEOF
4849 cat confdefs.h >>conftest.$ac_ext
4850 cat >>conftest.$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4856 $EGREP "free" >/dev/null 2>&1; then
4859 ac_cv_header_stdc=no
4865 if test $ac_cv_header_stdc = yes; then
4866 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4867 if test "$cross_compiling" = yes; then
4870 cat >conftest.$ac_ext <<_ACEOF
4873 cat confdefs.h >>conftest.$ac_ext
4874 cat >>conftest.$ac_ext <<_ACEOF
4875 /* end confdefs.h. */
4878 #if ((' ' & 0x0FF) == 0x020)
4879 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4880 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4882 # define ISLOWER(c) \
4883 (('a' <= (c) && (c) <= 'i') \
4884 || ('j' <= (c) && (c) <= 'r') \
4885 || ('s' <= (c) && (c) <= 'z'))
4886 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4889 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4894 for (i = 0; i < 256; i++)
4895 if (XOR (islower (i), ISLOWER (i))
4896 || toupper (i) != TOUPPER (i))
4901 rm -f conftest$ac_exeext
4902 if { (ac_try="$ac_link"
4904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4905 *) ac_try_echo
=$ac_try;;
4907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4908 (eval "$ac_link") 2>&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4912 { (case "(($ac_try" in
4913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4917 (eval "$ac_try") 2>&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; }; then
4923 echo "$as_me: program exited with status $ac_status" >&5
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4928 ac_cv_header_stdc=no
4930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4936 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4937 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4938 if test $ac_cv_header_stdc = yes; then
4940 cat >>confdefs.h <<\_ACEOF
4941 #define STDC_HEADERS 1
4946 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4956 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4957 inttypes.h stdint.h unistd.h
4959 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 cat >conftest.$ac_ext <<_ACEOF
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 $ac_includes_default
4973 #include <$ac_header>
4975 rm -f conftest.$ac_objext
4976 if { (ac_try="$ac_compile"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_compile") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1
>conftest.err
4986 cat conftest.err
>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest.
$ac_objext; then
4992 eval "$as_ac_Header=yes"
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4997 eval "$as_ac_Header=no"
5000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5002 ac_res
=`eval echo '${'$as_ac_Header'}'`
5003 { echo "$as_me:$LINENO: result: $ac_res" >&5
5004 echo "${ECHO_T}$ac_res" >&6; }
5005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5006 cat >>confdefs.h
<<_ACEOF
5007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5016 for ac_header
in dlfcn.h
5018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5019 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5020 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5022 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 ac_res
=`eval echo '${'$as_ac_Header'}'`
5026 { echo "$as_me:$LINENO: result: $ac_res" >&5
5027 echo "${ECHO_T}$ac_res" >&6; }
5029 # Is the header compilable?
5030 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5032 cat >conftest.
$ac_ext <<_ACEOF
5035 cat confdefs.h
>>conftest.
$ac_ext
5036 cat >>conftest.
$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5038 $ac_includes_default
5039 #include <$ac_header>
5041 rm -f conftest.
$ac_objext
5042 if { (ac_try
="$ac_compile"
5044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest.$ac_objext; then
5058 ac_header_compiler=yes
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.$ac_ext >&5
5063 ac_header_compiler=no
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5068 echo "${ECHO_T}$ac_header_compiler" >&6; }
5070 # Is the header present?
5071 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5073 cat >conftest.$ac_ext <<_ACEOF
5076 cat confdefs.h >>conftest.$ac_ext
5077 cat >>conftest.$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 #include <$ac_header>
5081 if { (ac_try="$ac_cpp conftest.$ac_ext"
5083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5084 *) ac_try_echo
=$ac_try;;
5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5089 grep -v '^ *+' conftest.er1
>conftest.err
5091 cat conftest.err
>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } >/dev
/null
&& {
5094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5095 test ! -s conftest.err
5097 ac_header_preproc
=yes
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.
$ac_ext >&5
5102 ac_header_preproc
=no
5105 rm -f conftest.err conftest.
$ac_ext
5106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5107 echo "${ECHO_T}$ac_header_preproc" >&6; }
5109 # So? What about this header?
5110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5115 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5116 ac_header_preproc
=yes
5119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5123 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5124 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5125 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5126 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5134 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5136 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 eval "$as_ac_Header=\$ac_header_preproc"
5141 ac_res
=`eval echo '${'$as_ac_Header'}'`
5142 { echo "$as_me:$LINENO: result: $ac_res" >&5
5143 echo "${ECHO_T}$ac_res" >&6; }
5146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5147 cat >>confdefs.h
<<_ACEOF
5148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5156 ac_cpp
='$CXXCPP $CPPFLAGS'
5157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5160 if test -z "$CXX"; then
5161 if test -n "$CCC"; then
5164 if test -n "$ac_tool_prefix"; then
5165 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5168 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5171 if test "${ac_cv_prog_CXX+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 if test -n "$CXX"; then
5175 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_exec_ext
in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 if test -n "$CXX"; then
5196 { echo "$as_me:$LINENO: result: $CXX" >&5
5197 echo "${ECHO_T}$CXX" >&6; }
5199 { echo "$as_me:$LINENO: result: no" >&5
5200 echo "${ECHO_T}no" >&6; }
5204 test -n "$CXX" && break
5207 if test -z "$CXX"; then
5209 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy
$ac_prog; ac_word
=$2
5213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5215 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 if test -n "$ac_ct_CXX"; then
5219 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5239 if test -n "$ac_ct_CXX"; then
5240 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5241 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5243 { echo "$as_me:$LINENO: result: no" >&5
5244 echo "${ECHO_T}no" >&6; }
5248 test -n "$ac_ct_CXX" && break
5251 if test "x$ac_ct_CXX" = x
; then
5254 case $cross_compiling:$ac_tool_warned in
5256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5257 whose name does not start with the host triplet. If you think this
5258 configuration is useful to you, please write to autoconf@gnu.org." >&5
5259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5260 whose name does not start with the host triplet. If you think this
5261 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5262 ac_tool_warned
=yes ;;
5270 # Provide some information about the compiler.
5271 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5272 ac_compiler
=`set X $ac_compile; echo $2`
5273 { (ac_try
="$ac_compiler --version >&5"
5275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279 (eval "$ac_compiler --version >&5") 2>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }
5283 { (ac_try="$ac_compiler -v >&5"
5285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5286 *) ac_try_echo
=$ac_try;;
5288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5289 (eval "$ac_compiler -v >&5") 2>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); }
5293 { (ac_try
="$ac_compiler -V >&5"
5295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5299 (eval "$ac_compiler -V >&5") 2>&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }
5304 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5305 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5306 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 cat >conftest.$ac_ext <<_ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5327 rm -f conftest.$ac_objext
5328 if { (ac_try="$ac_compile"
5330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5331 *) ac_try_echo
=$ac_try;;
5333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334 (eval "$ac_compile") 2>conftest.er1
5336 grep -v '^ *+' conftest.er1
>conftest.err
5338 cat conftest.err
>&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } && {
5341 test -z "$ac_cxx_werror_flag" ||
5342 test ! -s conftest.err
5343 } && test -s conftest.
$ac_objext; then
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.
$ac_ext >&5
5352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5353 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5356 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5357 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5358 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5359 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5360 ac_save_CXXFLAGS
=$CXXFLAGS
5361 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5362 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5363 if test "${ac_cv_prog_cxx_g+set}" = set; then
5364 echo $ECHO_N "(cached) $ECHO_C" >&6
5366 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5367 ac_cxx_werror_flag
=yes
5370 cat >conftest.
$ac_ext <<_ACEOF
5373 cat confdefs.h
>>conftest.
$ac_ext
5374 cat >>conftest.
$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5385 rm -f conftest.
$ac_objext
5386 if { (ac_try
="$ac_compile"
5388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392 (eval "$ac_compile") 2>conftest.er1
5394 grep -v '^ *+' conftest.er1 >conftest.err
5396 cat conftest.err >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } && {
5399 test -z "$ac_cxx_werror_flag" ||
5400 test ! -s conftest.err
5401 } && test -s conftest.$ac_objext; then
5402 ac_cv_prog_cxx_g=yes
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5408 cat >conftest.$ac_ext <<_ACEOF
5411 cat confdefs.h >>conftest.$ac_ext
5412 cat >>conftest.$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5423 rm -f conftest.$ac_objext
5424 if { (ac_try="$ac_compile"
5426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5427 *) ac_try_echo
=$ac_try;;
5429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5430 (eval "$ac_compile") 2>conftest.er1
5432 grep -v '^ *+' conftest.er1
>conftest.err
5434 cat conftest.err
>&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } && {
5437 test -z "$ac_cxx_werror_flag" ||
5438 test ! -s conftest.err
5439 } && test -s conftest.
$ac_objext; then
5442 echo "$as_me: failed program was:" >&5
5443 sed 's/^/| /' conftest.
$ac_ext >&5
5445 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5462 rm -f conftest.
$ac_objext
5463 if { (ac_try
="$ac_compile"
5465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5469 (eval "$ac_compile") 2>conftest.er1
5471 grep -v '^ *+' conftest.er1 >conftest.err
5473 cat conftest.err >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && {
5476 test -z "$ac_cxx_werror_flag" ||
5477 test ! -s conftest.err
5478 } && test -s conftest.$ac_objext; then
5479 ac_cv_prog_cxx_g=yes
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.$ac_ext >&5
5487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5494 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5496 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5497 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5498 if test "$ac_test_CXXFLAGS" = set; then
5499 CXXFLAGS=$ac_save_CXXFLAGS
5500 elif test $ac_cv_prog_cxx_g = yes; then
5501 if test "$GXX" = yes; then
5507 if test "$GXX" = yes; then
5514 ac_cpp='$CXXCPP $CPPFLAGS'
5515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5519 depcc="$CXX" am_compiler_list=
5521 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5522 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5523 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5527 # We make a subdir and do the tests there. Otherwise we can end up
5528 # making bogus files that we don't know about and never remove. For
5529 # instance it was reported that on HP-UX the gcc test will end up
5530 # making a dummy file named `D
' -- because `-MD' means
`put the output
5533 # Copy depcomp to subdir because otherwise we won't find it if we're
5534 # using a relative directory.
5535 cp "$am_depcomp" conftest.dir
5537 # We will build objects and dependencies in a subdirectory because
5538 # it helps to detect inapplicable dependency modes. For instance
5539 # both Tru64's cc and ICC support -MD to output dependencies as a
5540 # side effect of compilation, but ICC will put the dependencies in
5541 # the current directory while Tru64 will put them in the object
5545 am_cv_CXX_dependencies_compiler_type=none
5546 if test "$am_compiler_list" = ""; then
5547 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5549 for depmode in $am_compiler_list; do
5550 # Setup a source with many dependencies, because some compilers
5551 # like to wrap large dependency lists on column 80 (with \), and
5552 # we should not choose a depcomp mode which is confused by this.
5554 # We need to recreate these files for each test, as the compiler may
5555 # overwrite some of them when testing with obscure command lines.
5556 # This happens at least with the AIX C compiler.
5558 for i in 1 2 3 4 5 6; do
5559 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5560 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5561 # Solaris 8's
{/usr
,}/bin
/sh.
5562 touch sub
/conftst
$i.h
5564 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5568 # after this tag, mechanisms are not by side-effect, so they'll
5569 # only be used when explicitly requested
5570 if test "x$enable_dependency_tracking" = xyes
; then
5578 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5579 # mode. It turns out that the SunPro C++ compiler does not properly
5580 # handle `-M -o', and we need to detect this.
5581 if depmode
=$depmode \
5582 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5583 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5584 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5585 >/dev
/null
2>conftest.err
&&
5586 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5587 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5588 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5589 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5590 # icc doesn't choke on unknown options, it will just issue warnings
5591 # or remarks (even with -Werror). So we grep stderr for any message
5592 # that says an option was ignored or not supported.
5593 # When given -MP, icc 7.0 and 7.1 complain thusly:
5594 # icc: Command line warning: ignoring option '-M'; no argument required
5595 # The diagnosis changed in icc 8.0:
5596 # icc: Command line remark: option '-MP' not supported
5597 if (grep 'ignoring option' conftest.err ||
5598 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5599 am_cv_CXX_dependencies_compiler_type
=$depmode
5608 am_cv_CXX_dependencies_compiler_type
=none
5612 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5613 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5614 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5617 test "x$enable_dependency_tracking" != xno \
5618 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5619 am__fastdepCXX_TRUE
=
5620 am__fastdepCXX_FALSE
='#'
5622 am__fastdepCXX_TRUE
='#'
5623 am__fastdepCXX_FALSE
=
5629 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5630 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5631 (test "X$CXX" != "Xg++"))) ; then
5633 ac_cpp
='$CXXCPP $CPPFLAGS'
5634 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5635 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5636 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5637 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5638 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5639 if test -z "$CXXCPP"; then
5640 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 # Double quotes because CXXCPP needs to be expanded
5644 for CXXCPP
in "$CXX -E" "/lib/cpp"
5647 for ac_cxx_preproc_warn_flag
in '' yes
5649 # Use a header file that comes with gcc, so configuring glibc
5650 # with a fresh cross-compiler works.
5651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5652 # <limits.h> exists even on freestanding compilers.
5653 # On the NeXT, cc -E runs the code through the compiler's parser,
5654 # not just through cpp. "Syntax error" is here to catch this case.
5655 cat >conftest.
$ac_ext <<_ACEOF
5658 cat confdefs.h
>>conftest.
$ac_ext
5659 cat >>conftest.
$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5662 # include <limits.h>
5664 # include <assert.h>
5668 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5671 *) ac_try_echo=$ac_try;;
5673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5676 grep -v '^ *+' conftest.er1 >conftest.err
5678 cat conftest.err >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } >/dev/null && {
5681 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5682 test ! -s conftest.err
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.$ac_ext >&5
5689 # Broken: fails on valid input.
5693 rm -f conftest.err conftest.$ac_ext
5695 # OK, works on sane cases. Now check whether nonexistent headers
5696 # can be detected and how.
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703 #include <ac_nonexistent.h>
5705 if { (ac_try="$ac_cpp conftest.$ac_ext"
5707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5708 *) ac_try_echo
=$ac_try;;
5710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5713 grep -v '^ *+' conftest.er1
>conftest.err
5715 cat conftest.err
>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } >/dev
/null
&& {
5718 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5719 test ! -s conftest.err
5721 # Broken: success on invalid input.
5724 echo "$as_me: failed program was:" >&5
5725 sed 's/^/| /' conftest.
$ac_ext >&5
5727 # Passes both tests.
5732 rm -f conftest.err conftest.
$ac_ext
5735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5736 rm -f conftest.err conftest.
$ac_ext
5737 if $ac_preproc_ok; then
5742 ac_cv_prog_CXXCPP
=$CXXCPP
5745 CXXCPP
=$ac_cv_prog_CXXCPP
5747 ac_cv_prog_CXXCPP
=$CXXCPP
5749 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5750 echo "${ECHO_T}$CXXCPP" >&6; }
5752 for ac_cxx_preproc_warn_flag
in '' yes
5754 # Use a header file that comes with gcc, so configuring glibc
5755 # with a fresh cross-compiler works.
5756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5757 # <limits.h> exists even on freestanding compilers.
5758 # On the NeXT, cc -E runs the code through the compiler's parser,
5759 # not just through cpp. "Syntax error" is here to catch this case.
5760 cat >conftest.
$ac_ext <<_ACEOF
5763 cat confdefs.h
>>conftest.
$ac_ext
5764 cat >>conftest.
$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5767 # include <limits.h>
5769 # include <assert.h>
5773 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5776 *) ac_try_echo=$ac_try;;
5778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5781 grep -v '^ *+' conftest.er1 >conftest.err
5783 cat conftest.err >&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } >/dev/null && {
5786 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5787 test ! -s conftest.err
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.$ac_ext >&5
5794 # Broken: fails on valid input.
5798 rm -f conftest.err conftest.$ac_ext
5800 # OK, works on sane cases. Now check whether nonexistent headers
5801 # can be detected and how.
5802 cat >conftest.$ac_ext <<_ACEOF
5805 cat confdefs.h >>conftest.$ac_ext
5806 cat >>conftest.$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5808 #include <ac_nonexistent.h>
5810 if { (ac_try="$ac_cpp conftest.$ac_ext"
5812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5813 *) ac_try_echo
=$ac_try;;
5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5818 grep -v '^ *+' conftest.er1
>conftest.err
5820 cat conftest.err
>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } >/dev
/null
&& {
5823 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5824 test ! -s conftest.err
5826 # Broken: success on invalid input.
5829 echo "$as_me: failed program was:" >&5
5830 sed 's/^/| /' conftest.
$ac_ext >&5
5832 # Passes both tests.
5837 rm -f conftest.err conftest.
$ac_ext
5840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5841 rm -f conftest.err conftest.
$ac_ext
5842 if $ac_preproc_ok; then
5845 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5846 See \`config.log' for more details." >&5
5847 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5848 See \`config.log' for more details." >&2;}
5849 { (exit 1); exit 1; }; }
5853 ac_cpp
='$CXXCPP $CPPFLAGS'
5854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5862 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5863 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5864 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5865 if test -n "$ac_tool_prefix"; then
5866 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5869 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_prog_F77+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 if test -n "$F77"; then
5876 ac_cv_prog_F77
="$F77" # Let the user override the test.
5878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir
=.
5883 for ac_exec_ext
in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 if test -n "$F77"; then
5897 { echo "$as_me:$LINENO: result: $F77" >&5
5898 echo "${ECHO_T}$F77" >&6; }
5900 { echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6; }
5905 test -n "$F77" && break
5908 if test -z "$F77"; then
5910 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5912 # Extract the first word of "$ac_prog", so it can be a program name with args.
5913 set dummy
$ac_prog; ac_word
=$2
5914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5916 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5917 echo $ECHO_N "(cached) $ECHO_C" >&6
5919 if test -n "$ac_ct_F77"; then
5920 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5926 test -z "$as_dir" && as_dir
=.
5927 for ac_exec_ext
in '' $ac_executable_extensions; do
5928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5929 ac_cv_prog_ac_ct_F77
="$ac_prog"
5930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5940 if test -n "$ac_ct_F77"; then
5941 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5942 echo "${ECHO_T}$ac_ct_F77" >&6; }
5944 { echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6; }
5949 test -n "$ac_ct_F77" && break
5952 if test "x$ac_ct_F77" = x
; then
5955 case $cross_compiling:$ac_tool_warned in
5957 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5958 whose name does not start with the host triplet. If you think this
5959 configuration is useful to you, please write to autoconf@gnu.org." >&5
5960 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5961 whose name does not start with the host triplet. If you think this
5962 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5963 ac_tool_warned
=yes ;;
5970 # Provide some information about the compiler.
5971 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5972 ac_compiler
=`set X $ac_compile; echo $2`
5973 { (ac_try
="$ac_compiler --version >&5"
5975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5976 *) ac_try_echo=$ac_try;;
5978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5979 (eval "$ac_compiler --version >&5") 2>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }
5983 { (ac_try="$ac_compiler -v >&5"
5985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5986 *) ac_try_echo
=$ac_try;;
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5989 (eval "$ac_compiler -v >&5") 2>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); }
5993 { (ac_try
="$ac_compiler -V >&5"
5995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5996 *) ac_try_echo=$ac_try;;
5998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5999 (eval "$ac_compiler -V >&5") 2>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }
6005 # If we don't use `.F
' as extension, the preprocessor is not run on the
6006 # input file. (Note that this only needs to work for GNU compilers.)
6009 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6010 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6011 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 cat >conftest.$ac_ext <<_ACEOF
6022 rm -f conftest.$ac_objext
6023 if { (ac_try="$ac_compile"
6025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6026 *) ac_try_echo=$ac_try;;
6028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6029 (eval "$ac_compile") 2>conftest.er1
6031 grep -v '^
*+' conftest.er1 >conftest.err
6033 cat conftest.err >&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); } && {
6036 test -z "$ac_f77_werror_flag" ||
6037 test ! -s conftest.err
6038 } && test -s conftest.$ac_objext; then
6041 echo "$as_me: failed program was:" >&5
6042 sed 's
/^
/|
/' conftest.$ac_ext >&5
6047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6048 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6051 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6052 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6054 ac_test_FFLAGS=${FFLAGS+set}
6055 ac_save_FFLAGS=$FFLAGS
6057 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6058 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6059 if test "${ac_cv_prog_f77_g+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 cat >conftest.$ac_ext <<_ACEOF
6068 rm -f conftest.$ac_objext
6069 if { (ac_try="$ac_compile"
6071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6072 *) ac_try_echo=$ac_try;;
6074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6075 (eval "$ac_compile") 2>conftest.er1
6077 grep -v '^
*+' conftest.er1 >conftest.err
6079 cat conftest.err >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } && {
6082 test -z "$ac_f77_werror_flag" ||
6083 test ! -s conftest.err
6084 } && test -s conftest.$ac_objext; then
6085 ac_cv_prog_f77_g=yes
6087 echo "$as_me: failed program was:" >&5
6088 sed 's
/^
/|
/' conftest.$ac_ext >&5
6093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6096 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6097 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6098 if test "$ac_test_FFLAGS" = set; then
6099 FFLAGS=$ac_save_FFLAGS
6100 elif test $ac_cv_prog_f77_g = yes; then
6101 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6107 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6114 G77=`test $ac_compiler_gnu = yes && echo yes`
6116 ac_cpp='$CPP $CPPFLAGS'
6117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6118 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6123 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6124 # find the maximum length of command line arguments
6125 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6126 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6127 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 # On DJGPP, this test can blow up pretty badly due to problems in libc
6136 # (any single argument exceeding 2000 bytes causes a buffer overrun
6137 # during glob expansion). Even if it were fixed, the result of this
6138 # check would be larger than it should be.
6139 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6143 # Under GNU Hurd, this test is not required because there is
6144 # no limit to the length of command line arguments.
6145 # Libtool will interpret -1 as no limit whatsoever
6146 lt_cv_sys_max_cmd_len
=-1;
6150 # On Win9x/ME, this test blows up -- it succeeds, but takes
6151 # about 5 minutes as the teststring grows exponentially.
6152 # Worse, since 9x/ME are not pre-emptively multitasking,
6153 # you end up with a "frozen" computer, even though with patience
6154 # the test eventually succeeds (with a max line length of 256k).
6155 # Instead, let's just punt: use the minimum linelength reported by
6156 # all of the supported platforms: 8192 (on NT/2K/XP).
6157 lt_cv_sys_max_cmd_len
=8192;
6161 # On AmigaOS with pdksh, this test takes hours, literally.
6162 # So we just punt and use a minimum line length of 8192.
6163 lt_cv_sys_max_cmd_len
=8192;
6166 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6167 # This has been around since 386BSD, at least. Likely further.
6168 if test -x /sbin
/sysctl
; then
6169 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6170 elif test -x /usr
/sbin
/sysctl
; then
6171 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6173 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6175 # And add a safety zone
6176 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6177 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6181 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6182 lt_cv_sys_max_cmd_len
=196608
6186 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6187 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6188 # nice to cause kernel panics so lets avoid the loop below.
6189 # First set a reasonable default.
6190 lt_cv_sys_max_cmd_len
=16384
6192 if test -x /sbin
/sysconfig
; then
6193 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6194 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6199 lt_cv_sys_max_cmd_len
=102400
6201 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6202 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6203 if test -n "$kargmax"; then
6204 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6206 lt_cv_sys_max_cmd_len
=32768
6210 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6211 if test -n "$lt_cv_sys_max_cmd_len"; then
6212 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6213 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6215 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6216 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6217 = "XX$teststring") >/dev
/null
2>&1 &&
6218 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6219 lt_cv_sys_max_cmd_len
=$new_result &&
6220 test $i != 17 # 1/2 MB should be enough
6223 teststring
=$teststring$teststring
6226 # Add a significant safety factor because C++ compilers can tack on massive
6227 # amounts of additional arguments before passing them to the linker.
6228 # It appears as though 1/2 is a usable value.
6229 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6236 if test -n $lt_cv_sys_max_cmd_len ; then
6237 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6238 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6240 { echo "$as_me:$LINENO: result: none" >&5
6241 echo "${ECHO_T}none" >&6; }
6248 # Check for command to grab the raw symbol name followed by C symbol from nm.
6249 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6250 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6251 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 # These are sane defaults that work on at least a few old systems.
6256 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6258 # Character class describing NM global symbol codes.
6259 symcode
='[BCDEGRST]'
6261 # Regexp to match symbols that can be accessed directly from C.
6262 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6264 # Transform an extracted symbol line into a proper C declaration
6265 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6267 # Transform an extracted symbol line into symbol name and symbol address
6268 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'"
6270 # Define system-specific variables.
6275 cygwin
* | mingw
* | pw32
*)
6276 symcode
='[ABCDGISTW]'
6278 hpux
*) # Its linker distinguishes data from code symbols
6279 if test "$host_cpu" = ia64
; then
6280 symcode
='[ABCDEGRST]'
6282 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6283 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'"
6285 linux
* | k
*bsd
*-gnu)
6286 if test "$host_cpu" = ia64
; then
6287 symcode
='[ABCDGIRSTW]'
6288 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6289 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'"
6293 symcode
='[BCDEGRST]'
6296 symcode
='[BCDEGQRST]'
6307 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6315 # Handle CRLF in mingw tool chain
6319 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6323 # If we're using GNU nm, then use its standard symbol codes.
6324 case `$NM -V 2>&1` in
6325 *GNU
* |
*'with BFD'*)
6326 symcode
='[ABCDGIRSTW]' ;;
6329 # Try without a prefix undercore, then with it.
6330 for ac_symprfx
in "" "_"; do
6332 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6333 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6335 # Write the raw and C identifiers.
6336 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6338 # Check to see that the pipe works correctly.
6342 cat > conftest.
$ac_ext <<EOF
6347 void nm_test_func(){}
6351 int main(){nm_test_var='a';nm_test_func();return(0);}
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; then
6359 # Now try to grab the symbols.
6361 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6362 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && test -s "$nlist"; then
6366 # Try sorting and uniquifying the output.
6367 if sort "$nlist" |
uniq > "$nlist"T
; then
6368 mv -f "$nlist"T
"$nlist"
6373 # Make sure that we snagged all the symbols we need.
6374 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6375 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6376 cat <<EOF > conftest.$ac_ext
6382 # Now generate the symbol file.
6383 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6385 cat <<EOF >> conftest.$ac_ext
6386 #if defined (__STDC__) && __STDC__
6387 # define lt_ptr_t void *
6389 # define lt_ptr_t char *
6393 /* The mapping between symbol names and symbols. */
6398 lt_preloaded_symbols[] =
6401 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6402 cat <<\EOF
>> conftest.
$ac_ext
6410 # Now try linking the two files.
6411 mv conftest.
$ac_objext conftstm.
$ac_objext
6412 lt_save_LIBS
="$LIBS"
6413 lt_save_CFLAGS
="$CFLAGS"
6414 LIBS
="conftstm.$ac_objext"
6415 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6417 (eval $ac_link) 2>&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6423 LIBS
="$lt_save_LIBS"
6424 CFLAGS
="$lt_save_CFLAGS"
6426 echo "cannot find nm_test_func in $nlist" >&5
6429 echo "cannot find nm_test_var in $nlist" >&5
6432 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6435 echo "$progname: failed program was:" >&5
6436 cat conftest.
$ac_ext >&5
6438 rm -rf conftest
* conftst
*
6440 # Do not use the global_symbol_pipe unless it works.
6441 if test "$pipe_works" = yes; then
6444 lt_cv_sys_global_symbol_pipe
=
6450 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6451 lt_cv_sys_global_symbol_to_cdecl
=
6453 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6454 { echo "$as_me:$LINENO: result: failed" >&5
6455 echo "${ECHO_T}failed" >&6; }
6457 { echo "$as_me:$LINENO: result: ok" >&5
6458 echo "${ECHO_T}ok" >&6; }
6461 { echo "$as_me:$LINENO: checking for objdir" >&5
6462 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6463 if test "${lt_cv_objdir+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 rm -f .libs
2>/dev
/null
6467 mkdir .libs
2>/dev
/null
6468 if test -d .libs
; then
6471 # MS-DOS does not allow filenames that begin with a dot.
6474 rmdir .libs
2>/dev
/null
6476 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6477 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6478 objdir
=$lt_cv_objdir
6486 # AIX sometimes has problems with the GCC collect2 program. For some
6487 # reason, if we set the COLLECT_NAMES environment variable, the problems
6488 # vanish in a puff of smoke.
6489 if test "X${COLLECT_NAMES+set}" != Xset
; then
6491 export COLLECT_NAMES
6496 # Sed substitution that helps us do robust quoting. It backslashifies
6497 # metacharacters that are still active within double-quoted strings.
6498 Xsed
='sed -e 1s/^X//'
6499 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6501 # Same as above, but do not quote variable references.
6502 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6504 # Sed substitution to delay expansion of an escaped shell variable in a
6505 # double_quote_subst'ed string.
6506 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6508 # Sed substitution to avoid accidental globbing in evaled expressions
6509 no_glob_subst
='s/\*/\\\*/g'
6515 default_ofile
=libtool
6516 can_build_shared
=yes
6518 # All known linkers require a `.a' archive for static linking (except MSVC,
6519 # which needs '.lib').
6521 ltmain
="$ac_aux_dir/ltmain.sh"
6522 ofile
="$default_ofile"
6523 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6525 if test -n "$ac_tool_prefix"; then
6526 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6527 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6530 if test "${ac_cv_prog_AR+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 if test -n "$AR"; then
6534 ac_cv_prog_AR
="$AR" # Let the user override the test.
6536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir
=.
6541 for ac_exec_ext
in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 if test -n "$AR"; then
6555 { echo "$as_me:$LINENO: result: $AR" >&5
6556 echo "${ECHO_T}$AR" >&6; }
6558 { echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6; }
6564 if test -z "$ac_cv_prog_AR"; then
6566 # Extract the first word of "ar", so it can be a program name with args.
6567 set dummy
ar; ac_word
=$2
6568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6570 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 if test -n "$ac_ct_AR"; then
6574 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6580 test -z "$as_dir" && as_dir
=.
6581 for ac_exec_ext
in '' $ac_executable_extensions; do
6582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6583 ac_cv_prog_ac_ct_AR
="ar"
6584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6594 if test -n "$ac_ct_AR"; then
6595 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6596 echo "${ECHO_T}$ac_ct_AR" >&6; }
6598 { echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6; }
6602 if test "x$ac_ct_AR" = x
; then
6605 case $cross_compiling:$ac_tool_warned in
6607 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6608 whose name does not start with the host triplet. If you think this
6609 configuration is useful to you, please write to autoconf@gnu.org." >&5
6610 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6611 whose name does not start with the host triplet. If you think this
6612 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6613 ac_tool_warned
=yes ;;
6621 if test -n "$ac_tool_prefix"; then
6622 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6623 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6626 if test "${ac_cv_prog_RANLIB+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 if test -n "$RANLIB"; then
6630 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir
=.
6637 for ac_exec_ext
in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 RANLIB
=$ac_cv_prog_RANLIB
6650 if test -n "$RANLIB"; then
6651 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6652 echo "${ECHO_T}$RANLIB" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6660 if test -z "$ac_cv_prog_RANLIB"; then
6661 ac_ct_RANLIB
=$RANLIB
6662 # Extract the first word of "ranlib", so it can be a program name with args.
6663 set dummy ranlib
; ac_word
=$2
6664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6666 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6669 if test -n "$ac_ct_RANLIB"; then
6670 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir
=.
6677 for ac_exec_ext
in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6690 if test -n "$ac_ct_RANLIB"; then
6691 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6692 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6694 { echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6; }
6698 if test "x$ac_ct_RANLIB" = x
; then
6701 case $cross_compiling:$ac_tool_warned in
6703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6704 whose name does not start with the host triplet. If you think this
6705 configuration is useful to you, please write to autoconf@gnu.org." >&5
6706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6707 whose name does not start with the host triplet. If you think this
6708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6709 ac_tool_warned
=yes ;;
6711 RANLIB
=$ac_ct_RANLIB
6714 RANLIB
="$ac_cv_prog_RANLIB"
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6719 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6722 if test "${ac_cv_prog_STRIP+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 if test -n "$STRIP"; then
6726 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir
=.
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 STRIP
=$ac_cv_prog_STRIP
6746 if test -n "$STRIP"; then
6747 { echo "$as_me:$LINENO: result: $STRIP" >&5
6748 echo "${ECHO_T}$STRIP" >&6; }
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6756 if test -z "$ac_cv_prog_STRIP"; then
6758 # Extract the first word of "strip", so it can be a program name with args.
6759 set dummy strip
; ac_word
=$2
6760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6762 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 if test -n "$ac_ct_STRIP"; then
6766 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir
=.
6773 for ac_exec_ext
in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_STRIP
="strip"
6776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6786 if test -n "$ac_ct_STRIP"; then
6787 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6788 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6790 { echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6; }
6794 if test "x$ac_ct_STRIP" = x
; then
6797 case $cross_compiling:$ac_tool_warned in
6799 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6800 whose name does not start with the host triplet. If you think this
6801 configuration is useful to you, please write to autoconf@gnu.org." >&5
6802 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6803 whose name does not start with the host triplet. If you think this
6804 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6805 ac_tool_warned
=yes ;;
6810 STRIP
="$ac_cv_prog_STRIP"
6815 old_CFLAGS
="$CFLAGS"
6817 # Set sane defaults for various variables
6818 test -z "$AR" && AR
=ar
6819 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6820 test -z "$AS" && AS
=as
6821 test -z "$CC" && CC
=cc
6822 test -z "$LTCC" && LTCC
=$CC
6823 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6824 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6825 test -z "$LD" && LD
=ld
6826 test -z "$LN_S" && LN_S
="ln -s"
6827 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6828 test -z "$NM" && NM
=nm
6829 test -z "$SED" && SED
=sed
6830 test -z "$OBJDUMP" && OBJDUMP
=objdump
6831 test -z "$RANLIB" && RANLIB
=:
6832 test -z "$STRIP" && STRIP
=:
6833 test -z "$ac_objext" && ac_objext
=o
6835 # Determine commands to create old-style static archives.
6836 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6837 old_postinstall_cmds
='chmod 644 $oldlib'
6838 old_postuninstall_cmds
=
6840 if test -n "$RANLIB"; then
6843 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6846 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6849 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6852 for cc_temp
in $compiler""; do
6854 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6855 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6860 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6863 # Only perform the check for file, if the check method requires it
6864 case $deplibs_check_method in
6866 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6867 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6868 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6869 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6877 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6878 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6879 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6880 for ac_dir
in $ac_dummy; do
6882 test -z "$ac_dir" && ac_dir
=.
6883 if test -f $ac_dir/${ac_tool_prefix}file; then
6884 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6885 if test -n "$file_magic_test_file"; then
6886 case $deplibs_check_method in
6888 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6889 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6890 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6891 $EGREP "$file_magic_regex" > /dev
/null
; then
6896 *** Warning: the command libtool uses to detect shared libraries,
6897 *** $file_magic_cmd, produces output that libtool cannot recognize.
6898 *** The result is that libtool may fail to recognize shared libraries
6899 *** as such. This will affect the creation of libtool libraries that
6900 *** depend on shared libraries, but programs linked with such libtool
6901 *** libraries will work regardless of this problem. Nevertheless, you
6902 *** may want to report the problem to your system manager and/or to
6903 *** bug-libtool@gnu.org
6913 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6918 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6919 if test -n "$MAGIC_CMD"; then
6920 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6921 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6923 { echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6; }
6927 if test -z "$lt_cv_path_MAGIC_CMD"; then
6928 if test -n "$ac_tool_prefix"; then
6929 { echo "$as_me:$LINENO: checking for file" >&5
6930 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6931 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6939 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6940 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6941 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6942 for ac_dir
in $ac_dummy; do
6944 test -z "$ac_dir" && ac_dir
=.
6945 if test -f $ac_dir/file; then
6946 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6947 if test -n "$file_magic_test_file"; then
6948 case $deplibs_check_method in
6950 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6951 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6952 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6953 $EGREP "$file_magic_regex" > /dev
/null
; then
6958 *** Warning: the command libtool uses to detect shared libraries,
6959 *** $file_magic_cmd, produces output that libtool cannot recognize.
6960 *** The result is that libtool may fail to recognize shared libraries
6961 *** as such. This will affect the creation of libtool libraries that
6962 *** depend on shared libraries, but programs linked with such libtool
6963 *** libraries will work regardless of this problem. Nevertheless, you
6964 *** may want to report the problem to your system manager and/or to
6965 *** bug-libtool@gnu.org
6975 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6980 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6981 if test -n "$MAGIC_CMD"; then
6982 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6983 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6985 { echo "$as_me:$LINENO: result: no" >&5
6986 echo "${ECHO_T}no" >&6; }
7000 rhapsody
* | darwin
*)
7001 if test -n "$ac_tool_prefix"; then
7002 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7003 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7006 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7007 echo $ECHO_N "(cached) $ECHO_C" >&6
7009 if test -n "$DSYMUTIL"; then
7010 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 test -z "$as_dir" && as_dir
=.
7017 for ac_exec_ext
in '' $ac_executable_extensions; do
7018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7029 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7030 if test -n "$DSYMUTIL"; then
7031 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7032 echo "${ECHO_T}$DSYMUTIL" >&6; }
7034 { echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6; }
7040 if test -z "$ac_cv_prog_DSYMUTIL"; then
7041 ac_ct_DSYMUTIL
=$DSYMUTIL
7042 # Extract the first word of "dsymutil", so it can be a program name with args.
7043 set dummy dsymutil
; ac_word
=$2
7044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7046 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7049 if test -n "$ac_ct_DSYMUTIL"; then
7050 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7056 test -z "$as_dir" && as_dir
=.
7057 for ac_exec_ext
in '' $ac_executable_extensions; do
7058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7070 if test -n "$ac_ct_DSYMUTIL"; then
7071 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7072 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7074 { echo "$as_me:$LINENO: result: no" >&5
7075 echo "${ECHO_T}no" >&6; }
7078 if test "x$ac_ct_DSYMUTIL" = x
; then
7081 case $cross_compiling:$ac_tool_warned in
7083 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7084 whose name does not start with the host triplet. If you think this
7085 configuration is useful to you, please write to autoconf@gnu.org." >&5
7086 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7087 whose name does not start with the host triplet. If you think this
7088 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7089 ac_tool_warned
=yes ;;
7091 DSYMUTIL
=$ac_ct_DSYMUTIL
7094 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7099 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7102 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 if test -n "$NMEDIT"; then
7106 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir
=.
7113 for ac_exec_ext
in '' $ac_executable_extensions; do
7114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7115 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 NMEDIT
=$ac_cv_prog_NMEDIT
7126 if test -n "$NMEDIT"; then
7127 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7128 echo "${ECHO_T}$NMEDIT" >&6; }
7130 { echo "$as_me:$LINENO: result: no" >&5
7131 echo "${ECHO_T}no" >&6; }
7136 if test -z "$ac_cv_prog_NMEDIT"; then
7137 ac_ct_NMEDIT
=$NMEDIT
7138 # Extract the first word of "nmedit", so it can be a program name with args.
7139 set dummy nmedit
; ac_word
=$2
7140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7142 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7145 if test -n "$ac_ct_NMEDIT"; then
7146 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir
=.
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7166 if test -n "$ac_ct_NMEDIT"; then
7167 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7168 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7170 { echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6; }
7174 if test "x$ac_ct_NMEDIT" = x
; then
7177 case $cross_compiling:$ac_tool_warned in
7179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7180 whose name does not start with the host triplet. If you think this
7181 configuration is useful to you, please write to autoconf@gnu.org." >&5
7182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7183 whose name does not start with the host triplet. If you think this
7184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7185 ac_tool_warned
=yes ;;
7187 NMEDIT
=$ac_ct_NMEDIT
7190 NMEDIT
="$ac_cv_prog_NMEDIT"
7194 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7195 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7196 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7199 lt_cv_apple_cc_single_mod
=no
7200 if test -z "${LT_MULTI_MODULE}"; then
7201 # By default we will add the -single_module flag. You can override
7202 # by either setting the environment variable LT_MULTI_MODULE
7203 # non-empty at configure time, or by adding -multi_module to the
7205 echo "int foo(void){return 1;}" > conftest.c
7206 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7207 -dynamiclib ${wl}-single_module conftest.c
7208 if test -f libconftest.dylib
; then
7209 lt_cv_apple_cc_single_mod
=yes
7210 rm -rf libconftest.dylib
*
7215 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7216 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7217 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7218 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7219 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7220 echo $ECHO_N "(cached) $ECHO_C" >&6
7222 lt_cv_ld_exported_symbols_list
=no
7223 save_LDFLAGS
=$LDFLAGS
7224 echo "_main" > conftest.sym
7225 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7241 rm -f conftest.
$ac_objext conftest
$ac_exeext
7242 if { (ac_try
="$ac_link"
7244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_link") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest$ac_exeext &&
7258 $as_test_x conftest$ac_exeext; then
7259 lt_cv_ld_exported_symbols_list=yes
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 lt_cv_ld_exported_symbols_list=no
7267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7268 conftest$ac_exeext conftest.$ac_ext
7269 LDFLAGS="$save_LDFLAGS"
7272 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7273 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7275 rhapsody* | darwin1.[0123])
7276 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7278 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7280 # if running on 10.5 or later, the deployment target defaults
7281 # to the OS version, if on x86, and 10.4, the deployment
7282 # target defaults to 10.4. Don't you love it?
7283 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7284 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7285 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7287 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7289 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7293 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7294 _lt_dar_single_mod='$single_module'
7296 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7297 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7299 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7301 if test "$DSYMUTIL" != ":"; then
7302 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7313 # Check whether --enable-libtool-lock was given.
7314 if test "${enable_libtool_lock+set}" = set; then
7315 enableval=$enable_libtool_lock;
7318 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7321 # Check whether --with-pic was given.
7322 if test "${with_pic+set}" = set; then
7323 withval=$with_pic; pic_mode="$withval"
7328 test -z "$pic_mode" && pic_mode=default
7330 # Use C for the default configuration in the libtool script
7334 ac_cpp='$CPP $CPPFLAGS'
7335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7340 # Source file extension for C test sources.
7343 # Object file extension for compiled C test sources.
7347 # Code to be used in simple compile tests
7348 lt_simple_compile_test_code="int some_variable = 0;"
7350 # Code to be used in simple link tests
7351 lt_simple_link_test_code='int main(){return(0);}'
7354 # If no C compiler was specified, use CC.
7357 # If no C compiler flags were specified, use CFLAGS.
7358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7360 # Allow CC to be a program name with arguments.
7364 # save warnings/boilerplate of simple test code
7365 ac_outfile=conftest.$ac_objext
7366 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7367 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7368 _lt_compiler_boilerplate=`cat conftest.err
`
7371 ac_outfile=conftest.$ac_objext
7372 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7373 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7374 _lt_linker_boilerplate=`cat conftest.err
`
7379 lt_prog_compiler_no_builtin_flag=
7381 if test "$GCC" = yes; then
7382 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7385 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7386 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7387 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 lt_cv_prog_compiler_rtti_exceptions=no
7391 ac_outfile=conftest.$ac_objext
7392 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7393 lt_compiler_flag="-fno-rtti -fno-exceptions"
7394 # Insert the option either (1) after the last *FLAGS variable, or
7395 # (2) before a word containing "conftest.", or (3) at the end.
7396 # Note that $ac_compile itself does not contain backslashes and begins
7397 # with a dollar sign (not a hyphen), so the echo should work correctly.
7398 # The option is referenced via a variable to avoid confusing sed.
7399 lt_compile=`echo "$ac_compile" |
$SED \
7400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7402 -e 's:$: $lt_compiler_flag:'`
7403 (eval echo "\"\$as_me:7403: $lt_compile\"" >&5)
7404 (eval "$lt_compile" 2>conftest.err)
7406 cat conftest.err >&5
7407 echo "$as_me:7407: \$? = $ac_status" >&5
7408 if (exit $ac_status) && test -s "$ac_outfile"; then
7409 # The compiler can only warn and ignore the option if not recognized
7410 # So say no if there are warnings other than the usual output.
7411 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7412 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7413 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7414 lt_cv_prog_compiler_rtti_exceptions=yes
7420 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7421 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7423 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7424 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7431 lt_prog_compiler_wl=
7432 lt_prog_compiler_pic=
7433 lt_prog_compiler_static=
7435 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7436 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7438 if test "$GCC" = yes; then
7439 lt_prog_compiler_wl='-Wl,'
7440 lt_prog_compiler_static='-static'
7444 # All AIX code is PIC.
7445 if test "$host_cpu" = ia64; then
7446 # AIX 5 now supports IA64 processor
7447 lt_prog_compiler_static='-Bstatic'
7452 # FIXME: we need at least 68020 code to build shared libraries, but
7453 # adding the `-m68020' flag to GCC prevents building anything better,
7455 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7458 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7459 # PIC is the default for these OSes.
7462 mingw
* | cygwin
* | pw32
* | os2
*)
7463 # This hack is so that the source file can tell whether it is being
7464 # built for inclusion in a dll (and should export symbols for example).
7465 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7466 # (--disable-auto-import) libraries
7467 lt_prog_compiler_pic
='-DDLL_EXPORT'
7470 darwin
* | rhapsody
*)
7471 # PIC is the default on this platform
7472 # Common symbols not allowed in MH_DYLIB files
7473 lt_prog_compiler_pic
='-fno-common'
7477 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7478 # Instead, we relocate shared libraries at runtime.
7482 # Just because we use GCC doesn't mean we suddenly get shared libraries
7483 # on systems that don't support them.
7484 lt_prog_compiler_can_build_shared
=no
7489 if test -d /usr
/nec
; then
7490 lt_prog_compiler_pic
=-Kconform_pic
7495 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7502 lt_prog_compiler_pic
='-fPIC'
7508 lt_prog_compiler_pic
='-fPIC'
7512 # PORTME Check for flag to pass linker flags through the system compiler.
7515 lt_prog_compiler_wl
='-Wl,'
7516 if test "$host_cpu" = ia64
; then
7517 # AIX 5 now supports IA64 processor
7518 lt_prog_compiler_static
='-Bstatic'
7520 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7524 # PIC is the default on this platform
7525 # Common symbols not allowed in MH_DYLIB files
7526 case $cc_basename in
7528 lt_prog_compiler_pic
='-qnocommon'
7529 lt_prog_compiler_wl
='-Wl,'
7534 mingw
* | cygwin
* | pw32
* | os2
*)
7535 # This hack is so that the source file can tell whether it is being
7536 # built for inclusion in a dll (and should export symbols for example).
7537 lt_prog_compiler_pic
='-DDLL_EXPORT'
7540 hpux9
* | hpux10
* | hpux11
*)
7541 lt_prog_compiler_wl
='-Wl,'
7542 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7549 lt_prog_compiler_pic
='+Z'
7552 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7553 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7556 irix5
* | irix6
* | nonstopux
*)
7557 lt_prog_compiler_wl
='-Wl,'
7558 # PIC (with -KPIC) is the default.
7559 lt_prog_compiler_static
='-non_shared'
7563 lt_prog_compiler_pic
='-KPIC'
7564 lt_prog_compiler_static
='-Bstatic'
7567 linux
* | k
*bsd
*-gnu)
7568 case $cc_basename in
7570 lt_prog_compiler_wl
='-Wl,'
7571 lt_prog_compiler_pic
='-KPIC'
7572 lt_prog_compiler_static
='-static'
7574 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7575 # Portland Group compilers (*not* the Pentium gcc compiler,
7576 # which looks to be a dead project)
7577 lt_prog_compiler_wl
='-Wl,'
7578 lt_prog_compiler_pic
='-fpic'
7579 lt_prog_compiler_static
='-Bstatic'
7582 lt_prog_compiler_wl
='-Wl,'
7583 # All Alpha code is PIC.
7584 lt_prog_compiler_static
='-non_shared'
7587 case `$CC -V 2>&1 | sed 5q` in
7590 lt_prog_compiler_pic
='-KPIC'
7591 lt_prog_compiler_static
='-Bstatic'
7592 lt_prog_compiler_wl
='-Wl,'
7595 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7596 lt_prog_compiler_pic
='-KPIC'
7597 lt_prog_compiler_static
='-Bstatic'
7598 lt_prog_compiler_wl
=''
7605 osf3
* | osf4
* | osf5
*)
7606 lt_prog_compiler_wl
='-Wl,'
7607 # All OSF/1 code is PIC.
7608 lt_prog_compiler_static
='-non_shared'
7612 lt_prog_compiler_static
='-non_shared'
7616 lt_prog_compiler_pic
='-KPIC'
7617 lt_prog_compiler_static
='-Bstatic'
7618 case $cc_basename in
7620 lt_prog_compiler_wl
='-Qoption ld ';;
7622 lt_prog_compiler_wl
='-Wl,';;
7627 lt_prog_compiler_wl
='-Qoption ld '
7628 lt_prog_compiler_pic
='-PIC'
7629 lt_prog_compiler_static
='-Bstatic'
7632 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7633 lt_prog_compiler_wl
='-Wl,'
7634 lt_prog_compiler_pic
='-KPIC'
7635 lt_prog_compiler_static
='-Bstatic'
7639 if test -d /usr
/nec
;then
7640 lt_prog_compiler_pic
='-Kconform_pic'
7641 lt_prog_compiler_static
='-Bstatic'
7645 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7646 lt_prog_compiler_wl
='-Wl,'
7647 lt_prog_compiler_pic
='-KPIC'
7648 lt_prog_compiler_static
='-Bstatic'
7652 lt_prog_compiler_wl
='-Wl,'
7653 lt_prog_compiler_can_build_shared
=no
7657 lt_prog_compiler_pic
='-pic'
7658 lt_prog_compiler_static
='-Bstatic'
7662 lt_prog_compiler_can_build_shared
=no
7667 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7668 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7671 # Check to make sure the PIC flag actually works.
7673 if test -n "$lt_prog_compiler_pic"; then
7675 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7676 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7677 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7680 lt_cv_prog_compiler_pic_works
=no
7681 ac_outfile
=conftest.
$ac_objext
7682 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7683 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7684 # Insert the option either (1) after the last *FLAGS variable, or
7685 # (2) before a word containing "conftest.", or (3) at the end.
7686 # Note that $ac_compile itself does not contain backslashes and begins
7687 # with a dollar sign (not a hyphen), so the echo should work correctly.
7688 # The option is referenced via a variable to avoid confusing sed.
7689 lt_compile
=`echo "$ac_compile" | $SED \
7690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7692 -e 's:$: $lt_compiler_flag:'`
7693 (eval echo "\"\$as_me:7693: $lt_compile\"" >&5)
7694 (eval "$lt_compile" 2>conftest.err
)
7696 cat conftest.err
>&5
7697 echo "$as_me:7697: \$? = $ac_status" >&5
7698 if (exit $ac_status) && test -s "$ac_outfile"; then
7699 # The compiler can only warn and ignore the option if not recognized
7700 # So say no if there are warnings other than the usual output.
7701 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7702 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7703 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7704 lt_cv_prog_compiler_pic_works
=yes
7710 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7711 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7713 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7714 case $lt_prog_compiler_pic in
7716 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7719 lt_prog_compiler_pic
=
7720 lt_prog_compiler_can_build_shared
=no
7725 # For platforms which do not support PIC, -DPIC is meaningless:
7727 lt_prog_compiler_pic
=
7730 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7735 # Check to make sure the static flag actually works.
7737 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7738 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7739 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7740 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7743 lt_cv_prog_compiler_static_works
=no
7744 save_LDFLAGS
="$LDFLAGS"
7745 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7746 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7747 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7748 # The linker can only warn and ignore the option if not recognized
7749 # So say no if there are warnings
7750 if test -s conftest.err
; then
7751 # Append any errors to the config.log.
7752 cat conftest.err
1>&5
7753 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7754 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7755 if diff conftest.exp conftest.er2
>/dev
/null
; then
7756 lt_cv_prog_compiler_static_works
=yes
7759 lt_cv_prog_compiler_static_works
=yes
7763 LDFLAGS
="$save_LDFLAGS"
7766 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7767 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7769 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7772 lt_prog_compiler_static
=
7776 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7777 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7778 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 lt_cv_prog_compiler_c_o
=no
7782 $rm -r conftest
2>/dev
/null
7786 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7788 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7789 # Insert the option either (1) after the last *FLAGS variable, or
7790 # (2) before a word containing "conftest.", or (3) at the end.
7791 # Note that $ac_compile itself does not contain backslashes and begins
7792 # with a dollar sign (not a hyphen), so the echo should work correctly.
7793 lt_compile
=`echo "$ac_compile" | $SED \
7794 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7795 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7796 -e 's:$: $lt_compiler_flag:'`
7797 (eval echo "\"\$as_me:7797: $lt_compile\"" >&5)
7798 (eval "$lt_compile" 2>out
/conftest.err
)
7800 cat out
/conftest.err
>&5
7801 echo "$as_me:7801: \$? = $ac_status" >&5
7802 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7804 # The compiler can only warn and ignore the option if not recognized
7805 # So say no if there are warnings
7806 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7807 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7808 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7809 lt_cv_prog_compiler_c_o
=yes
7814 # SGI C++ compiler will create directory out/ii_files/ for
7815 # template instantiation
7816 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7817 $rm out
/* && rmdir out
7823 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7824 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7827 hard_links
="nottested"
7828 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7829 # do not overwrite the value of need_locks provided by the user
7830 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7831 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7834 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7836 ln conftest.a conftest.b
2>&5 || hard_links
=no
7837 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7838 { echo "$as_me:$LINENO: result: $hard_links" >&5
7839 echo "${ECHO_T}$hard_links" >&6; }
7840 if test "$hard_links" = no
; then
7841 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7842 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7849 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7850 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7853 allow_undefined_flag
=
7854 enable_shared_with_static_runtimes
=no
7856 archive_expsym_cmds
=
7857 old_archive_From_new_cmds
=
7858 old_archive_from_expsyms_cmds
=
7859 export_dynamic_flag_spec
=
7860 whole_archive_flag_spec
=
7861 thread_safe_flag_spec
=
7862 hardcode_libdir_flag_spec
=
7863 hardcode_libdir_flag_spec_ld
=
7864 hardcode_libdir_separator
=
7867 hardcode_shlibpath_var
=unsupported
7868 link_all_deplibs
=unknown
7869 hardcode_automatic
=no
7872 always_export_symbols
=no
7873 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7874 # include_expsyms should be a list of space-separated symbols to be *always*
7875 # included in the symbol list
7877 # exclude_expsyms can be an extended regexp of symbols to exclude
7878 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7879 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7880 # as well as any symbol that contains `d'.
7881 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7882 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7883 # platforms (ab)use it in PIC code, but their linkers get confused if
7884 # the symbol is explicitly referenced. Since portable code cannot
7885 # rely on this symbol name, it's probably fine to never include it in
7886 # preloaded symbol tables.
7887 # Exclude shared library initialization/finalization symbols.
7888 extract_expsyms_cmds
=
7889 # Just being paranoid about ensuring that cc_basename is set.
7890 for cc_temp
in $compiler""; do
7892 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7893 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7898 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7901 cygwin
* | mingw
* | pw32
*)
7902 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7903 # When not using gcc, we currently assume that we are using
7904 # Microsoft Visual C++.
7905 if test "$GCC" != yes; then
7910 # we just hope/assume this is gcc and not c89 (= MSVC++)
7919 if test "$with_gnu_ld" = yes; then
7920 # If archive_cmds runs LD, not CC, wlarc should be empty
7923 # Set some defaults for GNU ld with shared library support. These
7924 # are reset later if shared libraries are not supported. Putting them
7925 # here allows them to be overridden if necessary.
7926 runpath_var
=LD_RUN_PATH
7927 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7928 export_dynamic_flag_spec
='${wl}--export-dynamic'
7929 # ancient GNU ld didn't support --whole-archive et. al.
7930 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7931 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7933 whole_archive_flag_spec
=
7935 supports_anon_versioning
=no
7936 case `$LD -v 2>/dev/null` in
7937 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7938 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7939 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7940 *\
2.11.
*) ;; # other 2.11 versions
7941 *) supports_anon_versioning
=yes ;;
7944 # See if GNU ld supports shared libraries.
7947 # On AIX/PPC, the GNU linker is very broken
7948 if test "$host_cpu" != ia64
; then
7952 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7953 *** to be unable to reliably create shared libraries on AIX.
7954 *** Therefore, libtool is disabling shared libraries support. If you
7955 *** really care for shared libraries, you may want to modify your PATH
7956 *** so that a non-GNU linker is found, and then restart.
7963 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)'
7964 hardcode_libdir_flag_spec
='-L$libdir'
7965 hardcode_minus_L
=yes
7967 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7968 # that the semantics of dynamic libraries on AmigaOS, at least up
7969 # to version 4, is to share data among multiple programs linked
7970 # with the same dynamic library. Since this doesn't match the
7971 # behavior of shared libraries on other platforms, we can't use
7977 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7978 allow_undefined_flag
=unsupported
7979 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7980 # support --undefined. This deserves some investigation. FIXME
7981 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7987 cygwin
* | mingw
* | pw32
*)
7988 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7989 # as there is no search path for DLLs.
7990 hardcode_libdir_flag_spec
='-L$libdir'
7991 allow_undefined_flag
=unsupported
7992 always_export_symbols
=no
7993 enable_shared_with_static_runtimes
=yes
7994 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7996 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7998 # If the export-symbols file already is a .def file (1st line
7999 # is EXPORTS), use it as is; otherwise, prepend...
8000 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8001 cp $export_symbols $output_objdir/$soname.def;
8003 echo EXPORTS > $output_objdir/$soname.def;
8004 cat $export_symbols >> $output_objdir/$soname.def;
8006 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8014 hardcode_shlibpath_var
=no
8015 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8016 export_dynamic_flag_spec
='${wl}-E'
8017 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8018 # Instead, shared libraries are loaded at an image base (0x10000000 by
8019 # default) and relocated if they conflict, which is a slow very memory
8020 # consuming and fragmenting process. To avoid this, we pick a random,
8021 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8022 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8023 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8024 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'
8027 gnu
* | linux
* | k
*bsd
*-gnu)
8028 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8030 case $cc_basename,$host_cpu in
8031 pgcc
*) # Portland Group C compiler
8032 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'
8033 tmp_addflag
=' $pic_flag'
8035 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8036 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'
8037 tmp_addflag
=' $pic_flag -Mnomain' ;;
8038 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8039 tmp_addflag
=' -i_dynamic' ;;
8040 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8041 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8042 ifc
* | ifort
*) # Intel Fortran compiler
8043 tmp_addflag
=' -nofor_main' ;;
8045 case `$CC -V 2>&1 | sed 5q` in
8046 *Sun\ C
*) # Sun C 5.9
8047 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8048 tmp_sharedflag
='-G' ;;
8049 *Sun\ F
*) # Sun Fortran 8.3
8050 tmp_sharedflag
='-G' ;;
8052 tmp_sharedflag
='-shared' ;;
8054 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8056 if test $supports_anon_versioning = yes; then
8057 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8058 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8059 $echo "local: *; };" >> $output_objdir/$libname.ver~
8060 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8068 netbsd
* | netbsdelf
*-gnu)
8069 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8070 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8073 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8074 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8079 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8083 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8084 *** create shared libraries on Solaris systems. Therefore, libtool
8085 *** is disabling shared libraries support. We urge you to upgrade GNU
8086 *** binutils to release 2.9.1 or newer. Another option is to modify
8087 *** your PATH or compiler configuration so that the native linker is
8088 *** used, and then restart.
8091 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8092 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8093 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8099 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8100 case `$LD -v 2>&1` in
8101 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8105 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8106 *** reliably create shared libraries on SCO systems. Therefore, libtool
8107 *** is disabling shared libraries support. We urge you to upgrade GNU
8108 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8109 *** your PATH or compiler configuration so that the native linker is
8110 *** used, and then restart.
8115 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8116 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8117 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8118 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8127 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8130 hardcode_shlibpath_var
=no
8134 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8135 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8136 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8143 if test "$ld_shlibs" = no
; then
8145 hardcode_libdir_flag_spec
=
8146 export_dynamic_flag_spec
=
8147 whole_archive_flag_spec
=
8150 # PORTME fill in a description of your system's linker (not GNU ld)
8153 allow_undefined_flag
=unsupported
8154 always_export_symbols
=yes
8155 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'
8156 # Note: this linker hardcodes the directories in LIBPATH if there
8157 # are no directories specified by -L.
8158 hardcode_minus_L
=yes
8159 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8160 # Neither direct hardcoding nor static linking is supported with a
8162 hardcode_direct
=unsupported
8167 if test "$host_cpu" = ia64
; then
8168 # On IA64, the linker does run time linking by default, so we don't
8169 # have to do anything special.
8170 aix_use_runtimelinking
=no
8171 exp_sym_flag
='-Bexport'
8174 # If we're using GNU nm, then we don't want the "-C" option.
8175 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8176 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8177 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'
8179 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'
8181 aix_use_runtimelinking
=no
8183 # Test if we are trying to use run time linking or normal
8184 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8185 # need to do runtime linking.
8186 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8187 for ld_flag
in $LDFLAGS; do
8188 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8189 aix_use_runtimelinking
=yes
8196 exp_sym_flag
='-bexport'
8197 no_entry_flag
='-bnoentry'
8200 # When large executables or shared objects are built, AIX ld can
8201 # have problems creating the table of contents. If linking a library
8202 # or program results in "error TOC overflow" add -mminimal-toc to
8203 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8204 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8208 hardcode_libdir_separator
=':'
8209 link_all_deplibs
=yes
8211 if test "$GCC" = yes; then
8212 case $host_os in aix4.
[012]|aix4.
[012].
*)
8213 # We only want to do this on AIX 4.2 and lower, the check
8214 # below for broken collect2 doesn't work under 4.3+
8215 collect2name
=`${CC} -print-prog-name=collect2`
8216 if test -f "$collect2name" && \
8217 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8219 # We have reworked collect2
8222 # We have old collect2
8223 hardcode_direct
=unsupported
8224 # It fails to find uninstalled libraries when the uninstalled
8225 # path is not listed in the libpath. Setting hardcode_minus_L
8226 # to unsupported forces relinking
8227 hardcode_minus_L
=yes
8228 hardcode_libdir_flag_spec
='-L$libdir'
8229 hardcode_libdir_separator
=
8233 shared_flag
='-shared'
8234 if test "$aix_use_runtimelinking" = yes; then
8235 shared_flag
="$shared_flag "'${wl}-G'
8239 if test "$host_cpu" = ia64
; then
8240 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8241 # chokes on -Wl,-G. The following line is correct:
8244 if test "$aix_use_runtimelinking" = yes; then
8245 shared_flag
='${wl}-G'
8247 shared_flag
='${wl}-bM:SRE'
8252 # It seems that -bexpall does not export symbols beginning with
8253 # underscore (_), so it is better to generate a list of symbols to export.
8254 always_export_symbols
=yes
8255 if test "$aix_use_runtimelinking" = yes; then
8256 # Warning - without using the other runtime loading flags (-brtl),
8257 # -berok will link without error, but may produce a broken library.
8258 allow_undefined_flag
='-berok'
8259 # Determine the default libpath from the value encoded in an empty executable.
8260 cat >conftest.
$ac_ext <<_ACEOF
8263 cat confdefs.h
>>conftest.
$ac_ext
8264 cat >>conftest.
$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8275 rm -f conftest.
$ac_objext conftest
$ac_exeext
8276 if { (ac_try
="$ac_link"
8278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8279 *) ac_try_echo=$ac_try;;
8281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8282 (eval "$ac_link") 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } && {
8289 test -z "$ac_c_werror_flag" ||
8290 test ! -s conftest.err
8291 } && test -s conftest$ac_exeext &&
8292 $as_test_x conftest$ac_exeext; then
8294 lt_aix_libpath_sed='
8295 /Import File Strings/,/^$/ {
8301 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8302 # Check for a 64-bit object if we didn't find anything.
8303 if test -z "$aix_libpath"; then
8304 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8307 echo "$as_me: failed program was:" >&5
8308 sed 's/^/| /' conftest.$ac_ext >&5
8313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8314 conftest$ac_exeext conftest.$ac_ext
8315 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8317 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8318 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"
8320 if test "$host_cpu" = ia64; then
8321 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8322 allow_undefined_flag="-z nodefs"
8323 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"
8325 # Determine the default libpath from the value encoded in an empty executable.
8326 cat >conftest.$ac_ext <<_ACEOF
8329 cat confdefs.h >>conftest.$ac_ext
8330 cat >>conftest.$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8341 rm -f conftest.$ac_objext conftest$ac_exeext
8342 if { (ac_try="$ac_link"
8344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8345 *) ac_try_echo
=$ac_try;;
8347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8348 (eval "$ac_link") 2>conftest.er1
8350 grep -v '^ *+' conftest.er1
>conftest.err
8352 cat conftest.err
>&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); } && {
8355 test -z "$ac_c_werror_flag" ||
8356 test ! -s conftest.err
8357 } && test -s conftest
$ac_exeext &&
8358 $as_test_x conftest
$ac_exeext; then
8360 lt_aix_libpath_sed
='
8361 /Import File Strings/,/^$/ {
8367 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8368 # Check for a 64-bit object if we didn't find anything.
8369 if test -z "$aix_libpath"; then
8370 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.
$ac_ext >&5
8379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8380 conftest
$ac_exeext conftest.
$ac_ext
8381 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8383 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8384 # Warning - without using the other run time loading flags,
8385 # -berok will link without error, but may produce a broken library.
8386 no_undefined_flag
=' ${wl}-bernotok'
8387 allow_undefined_flag
=' ${wl}-berok'
8388 # Exported symbols can be pulled into shared objects from archives
8389 whole_archive_flag_spec
='$convenience'
8390 archive_cmds_need_lc
=yes
8391 # This is similar to how AIX traditionally builds its shared libraries.
8392 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'
8398 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)'
8399 hardcode_libdir_flag_spec
='-L$libdir'
8400 hardcode_minus_L
=yes
8401 # see comment about different semantics on the GNU ld section
8406 export_dynamic_flag_spec
=-rdynamic
8409 cygwin
* | mingw
* | pw32
*)
8410 # When not using gcc, we currently assume that we are using
8411 # Microsoft Visual C++.
8412 # hardcode_libdir_flag_spec is actually meaningless, as there is
8413 # no search path for DLLs.
8414 hardcode_libdir_flag_spec
=' '
8415 allow_undefined_flag
=unsupported
8416 # Tell ltmain to make .lib files, not .a files.
8418 # Tell ltmain to make .dll files, not .so files.
8420 # FIXME: Setting linknames here is a bad hack.
8421 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8422 # The linker will automatically build a .lib file if we build a DLL.
8423 old_archive_From_new_cmds
='true'
8424 # FIXME: Should let the user specify the lib program.
8425 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8426 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8427 enable_shared_with_static_runtimes
=yes
8430 darwin
* | rhapsody
*)
8432 rhapsody
* | darwin1.
[012])
8433 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8436 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8437 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8439 case ${MACOSX_DEPLOYMENT_TARGET} in
8441 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8444 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8450 archive_cmds_need_lc
=no
8452 hardcode_automatic
=yes
8453 hardcode_shlibpath_var
=unsupported
8454 whole_archive_flag_spec
=''
8455 link_all_deplibs
=yes
8456 if test "$GCC" = yes ; then
8457 output_verbose_link_cmd
='echo'
8458 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8459 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8460 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8461 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8463 case $cc_basename in
8465 output_verbose_link_cmd
='echo'
8466 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8467 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8468 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8469 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8470 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}'
8480 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8481 hardcode_libdir_flag_spec
='-L$libdir'
8482 hardcode_shlibpath_var
=no
8489 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8490 # support. Future versions do this automatically, but an explicit c++rt0.o
8491 # does not break anything, and helps significantly (at the cost of a little
8494 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8495 hardcode_libdir_flag_spec
='-R$libdir'
8497 hardcode_shlibpath_var
=no
8500 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8502 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8504 hardcode_minus_L
=yes
8505 hardcode_shlibpath_var
=no
8508 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8509 freebsd
* | dragonfly
*)
8510 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8511 hardcode_libdir_flag_spec
='-R$libdir'
8513 hardcode_shlibpath_var
=no
8517 if test "$GCC" = yes; then
8518 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'
8520 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'
8522 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8523 hardcode_libdir_separator
=:
8526 # hardcode_minus_L: Not really in the search PATH,
8527 # but as the default location of the library.
8528 hardcode_minus_L
=yes
8529 export_dynamic_flag_spec
='${wl}-E'
8533 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8534 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8536 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8538 if test "$with_gnu_ld" = no
; then
8539 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8540 hardcode_libdir_separator
=:
8543 export_dynamic_flag_spec
='${wl}-E'
8545 # hardcode_minus_L: Not really in the search PATH,
8546 # but as the default location of the library.
8547 hardcode_minus_L
=yes
8552 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8555 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8558 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8561 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8567 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8570 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8573 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8577 if test "$with_gnu_ld" = no
; then
8578 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8579 hardcode_libdir_separator
=:
8583 hardcode_libdir_flag_spec_ld
='+b $libdir'
8585 hardcode_shlibpath_var
=no
8589 export_dynamic_flag_spec
='${wl}-E'
8591 # hardcode_minus_L: Not really in the search PATH,
8592 # but as the default location of the library.
8593 hardcode_minus_L
=yes
8599 irix5
* | irix6
* | nonstopux
*)
8600 if test "$GCC" = yes; then
8601 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'
8603 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'
8604 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8606 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8607 hardcode_libdir_separator
=:
8608 link_all_deplibs
=yes
8611 netbsd
* | netbsdelf
*-gnu)
8612 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8613 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8615 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8617 hardcode_libdir_flag_spec
='-R$libdir'
8619 hardcode_shlibpath_var
=no
8623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8625 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8626 hardcode_libdir_separator
=:
8627 hardcode_shlibpath_var
=no
8631 if test -f /usr
/libexec
/ld.so
; then
8633 hardcode_shlibpath_var
=no
8634 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8635 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8636 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8637 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8638 export_dynamic_flag_spec
='${wl}-E'
8641 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8642 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8643 hardcode_libdir_flag_spec
='-R$libdir'
8646 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8647 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8657 hardcode_libdir_flag_spec
='-L$libdir'
8658 hardcode_minus_L
=yes
8659 allow_undefined_flag
=unsupported
8660 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'
8661 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8665 if test "$GCC" = yes; then
8666 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8667 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'
8669 allow_undefined_flag
=' -expect_unresolved \*'
8670 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'
8672 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8673 hardcode_libdir_separator
=:
8676 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8677 if test "$GCC" = yes; then
8678 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8679 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'
8680 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8682 allow_undefined_flag
=' -expect_unresolved \*'
8683 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'
8684 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8685 $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'
8687 # Both c and cxx compiler support -rpath directly
8688 hardcode_libdir_flag_spec
='-rpath $libdir'
8690 hardcode_libdir_separator
=:
8694 no_undefined_flag
=' -z text'
8695 if test "$GCC" = yes; then
8697 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8698 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8699 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8702 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8703 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8704 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8706 hardcode_libdir_flag_spec
='-R$libdir'
8707 hardcode_shlibpath_var
=no
8709 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8711 # The compiler driver will combine and reorder linker options,
8712 # but understands `-z linker_flag'. GCC discards it without `$wl',
8713 # but is careful enough not to reorder.
8714 # Supported since Solaris 2.6 (maybe 2.5.1?)
8715 if test "$GCC" = yes; then
8716 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8718 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8722 link_all_deplibs
=yes
8726 if test "x$host_vendor" = xsequent
; then
8727 # Use $CC to link under sequent, because it throws in some extra .o
8728 # files that make .init and .fini sections work.
8729 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8731 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8733 hardcode_libdir_flag_spec
='-L$libdir'
8735 hardcode_minus_L
=yes
8736 hardcode_shlibpath_var
=no
8740 case $host_vendor in
8742 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8743 hardcode_direct
=yes # is this really true???
8746 ## LD is ld it makes a PLAMLIB
8747 ## CC just makes a GrossModule.
8748 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8749 reload_cmds
='$CC -r -o $output$reload_objs'
8753 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8754 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8757 runpath_var
='LD_RUN_PATH'
8758 hardcode_shlibpath_var
=no
8762 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8763 hardcode_shlibpath_var
=no
8764 export_dynamic_flag_spec
='-Bexport'
8768 if test -d /usr
/nec
; then
8769 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8770 hardcode_shlibpath_var
=no
8771 runpath_var
=LD_RUN_PATH
8772 hardcode_runpath_var
=yes
8777 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8778 no_undefined_flag
='${wl}-z,text'
8779 archive_cmds_need_lc
=no
8780 hardcode_shlibpath_var
=no
8781 runpath_var
='LD_RUN_PATH'
8783 if test "$GCC" = yes; then
8784 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8785 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8788 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8792 sysv5
* | sco3.2v5
* | sco5v6
*)
8793 # Note: We can NOT use -z defs as we might desire, because we do not
8794 # link with -lc, and that would cause any symbols used from libc to
8795 # always be unresolved, which means just about no library would
8796 # ever link correctly. If we're not using GNU ld we use -z text
8797 # though, which does catch some bad symbols but isn't as heavy-handed
8799 no_undefined_flag
='${wl}-z,text'
8800 allow_undefined_flag
='${wl}-z,nodefs'
8801 archive_cmds_need_lc
=no
8802 hardcode_shlibpath_var
=no
8803 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8804 hardcode_libdir_separator
=':'
8805 link_all_deplibs
=yes
8806 export_dynamic_flag_spec
='${wl}-Bexport'
8807 runpath_var
='LD_RUN_PATH'
8809 if test "$GCC" = yes; then
8810 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8811 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8814 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8819 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8820 hardcode_libdir_flag_spec
='-L$libdir'
8821 hardcode_shlibpath_var
=no
8830 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8831 echo "${ECHO_T}$ld_shlibs" >&6; }
8832 test "$ld_shlibs" = no
&& can_build_shared
=no
8835 # Do we need to explicitly link libc?
8837 case "x$archive_cmds_need_lc" in
8839 # Assume -lc should be added
8840 archive_cmds_need_lc
=yes
8842 if test "$enable_shared" = yes && test "$GCC" = yes; then
8843 case $archive_cmds in
8845 # FIXME: we may have to deal with multi-command sequences.
8848 # Test whether the compiler implicitly links with -lc since on some
8849 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8850 # to ld, don't add -lc before -lgcc.
8851 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8852 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8854 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8857 (eval $ac_compile) 2>&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } 2>conftest.err
; then
8863 libobjs
=conftest.
$ac_objext
8865 wl
=$lt_prog_compiler_wl
8866 pic_flag
=$lt_prog_compiler_pic
8872 lt_save_allow_undefined_flag
=$allow_undefined_flag
8873 allow_undefined_flag
=
8874 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8875 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }
8880 archive_cmds_need_lc
=no
8882 archive_cmds_need_lc
=yes
8884 allow_undefined_flag
=$lt_save_allow_undefined_flag
8886 cat conftest.err
1>&5
8889 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8890 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8897 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8898 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8900 libname_spec
='lib$name'
8908 shlibpath_overrides_runpath
=unknown
8910 dynamic_linker
="$host_os ld.so"
8911 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8913 if test "$GCC" = yes; then
8915 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8916 *) lt_awk_arg
="/^libraries:/" ;;
8918 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8919 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8920 # if the path contains ";" then we assume it to be the separator
8921 # otherwise default to the standard path separator (i.e. ":") - it is
8922 # assumed that no part of a normal pathname contains ";" but that should
8923 # okay in the real world where ";" in dirpaths is itself problematic.
8924 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8926 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8928 # Ok, now we have the path, separated by spaces, we can step through it
8929 # and add multilib dir if necessary.
8930 lt_tmp_lt_search_path_spec
=
8931 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8932 for lt_sys_path
in $lt_search_path_spec; do
8933 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8934 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8936 test -d "$lt_sys_path" && \
8937 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8940 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8941 BEGIN {RS=" "; FS="/|\n";} {
8944 for (lt_i = NF; lt_i > 0; lt_i--) {
8945 if ($lt_i != "" && $lt_i != ".") {
8946 if ($lt_i == "..") {
8949 if (lt_count == 0) {
8950 lt_foo="/" $lt_i lt_foo;
8957 if (lt_foo != "") { lt_freq[lt_foo]++; }
8958 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8960 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8962 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8964 need_lib_prefix
=unknown
8965 hardcode_into_libs
=no
8967 # when you set need_version to no, make sure it does not cause -set_version
8968 # flags to be left without arguments
8969 need_version
=unknown
8974 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8975 shlibpath_var
=LIBPATH
8977 # AIX 3 has no versioning support, so we append a major version to the name.
8978 soname_spec
='${libname}${release}${shared_ext}$major'
8985 hardcode_into_libs
=yes
8986 if test "$host_cpu" = ia64
; then
8987 # AIX 5 supports IA64
8988 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8989 shlibpath_var
=LD_LIBRARY_PATH
8991 # With GCC up to 2.95.x, collect2 would create an import file
8992 # for dependence libraries. The import file would start with
8993 # the line `#! .'. This would cause the generated library to
8994 # depend on `.', always an invalid library. This was fixed in
8995 # development snapshots of GCC prior to 3.0.
8997 aix4 | aix4.
[01] | aix4.
[01].
*)
8998 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9000 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9007 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9008 # soname into executable. Probably we can add versioning support to
9009 # collect2, so additional links can be useful in future.
9010 if test "$aix_use_runtimelinking" = yes; then
9011 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9012 # instead of lib<name>.a to let people know that these are not
9013 # typical AIX shared libraries.
9014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9016 # We preserve .a as extension for shared libraries through AIX4.2
9017 # and later when we are not doing run time linking.
9018 library_names_spec
='${libname}${release}.a $libname.a'
9019 soname_spec
='${libname}${release}${shared_ext}$major'
9021 shlibpath_var
=LIBPATH
9026 library_names_spec
='$libname.ixlibrary $libname.a'
9027 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9028 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'
9032 library_names_spec
='${libname}${shared_ext}'
9033 dynamic_linker
="$host_os ld.so"
9034 shlibpath_var
=LIBRARY_PATH
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9041 soname_spec
='${libname}${release}${shared_ext}$major'
9042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9043 shlibpath_var
=LD_LIBRARY_PATH
9044 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9045 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9046 # the default ld.so.conf also contains /usr/contrib/lib and
9047 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9048 # libtool to hard-code these into programs
9051 cygwin
* | mingw
* | pw32
*)
9052 version_type
=windows
9057 case $GCC,$host_os in
9058 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9059 library_names_spec
='$libname.dll.a'
9060 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9061 postinstall_cmds
='base_file=`basename \${file}`~
9062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9063 dldir=$destdir/`dirname \$dlpath`~
9064 test -d \$dldir || mkdir -p \$dldir~
9065 $install_prog $dir/$dlname \$dldir/$dlname~
9066 chmod a+x \$dldir/$dlname'
9067 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9068 dlpath=$dir/\$dldll~
9070 shlibpath_overrides_runpath
=yes
9074 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9075 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9076 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9079 # MinGW DLLs use traditional 'lib' prefix
9080 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9081 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9082 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9083 # It is most probably a Windows format PATH printed by
9084 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9085 # path with ; separators, and with drive letters. We can handle the
9086 # drive letters (cygwin fileutils understands them), so leave them,
9087 # especially as we might pass files found there to a mingw objdump,
9088 # which wouldn't understand a cygwinified path. Ahh.
9089 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9091 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9095 # pw32 DLLs use 'pw' prefix rather than 'lib'
9096 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9102 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9105 dynamic_linker
='Win32 ld.exe'
9106 # FIXME: first we should search . and the directory the executable is in
9110 darwin
* | rhapsody
*)
9111 dynamic_linker
="$host_os dyld"
9115 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9116 soname_spec
='${libname}${release}${major}$shared_ext'
9117 shlibpath_overrides_runpath
=yes
9118 shlibpath_var
=DYLD_LIBRARY_PATH
9119 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9121 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9122 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9130 soname_spec
='${libname}${release}${shared_ext}$major'
9131 shlibpath_var
=LD_LIBRARY_PATH
9138 freebsd
* | dragonfly
*)
9139 # DragonFly does not have aout. When/if they implement a new
9140 # versioning mechanism, adjust this.
9141 if test -x /usr
/bin
/objformat
; then
9142 objformat
=`/usr/bin/objformat`
9145 freebsd
[123]*) objformat
=aout
;;
9149 version_type
=freebsd-
$objformat
9150 case $version_type in
9152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9157 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9161 shlibpath_var
=LD_LIBRARY_PATH
9164 shlibpath_overrides_runpath
=yes
9166 freebsd3.
[01]* | freebsdelf3.
[01]*)
9167 shlibpath_overrides_runpath
=yes
9168 hardcode_into_libs
=yes
9170 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9171 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9172 shlibpath_overrides_runpath
=no
9173 hardcode_into_libs
=yes
9175 *) # from 4.6 on, and DragonFly
9176 shlibpath_overrides_runpath
=yes
9177 hardcode_into_libs
=yes
9186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9187 soname_spec
='${libname}${release}${shared_ext}$major'
9188 shlibpath_var
=LD_LIBRARY_PATH
9189 hardcode_into_libs
=yes
9192 hpux9
* | hpux10
* | hpux11
*)
9193 # Give a soname corresponding to the major version so that dld.sl refuses to
9194 # link against other versions.
9201 hardcode_into_libs
=yes
9202 dynamic_linker
="$host_os dld.so"
9203 shlibpath_var
=LD_LIBRARY_PATH
9204 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9206 soname_spec
='${libname}${release}${shared_ext}$major'
9207 if test "X$HPUX_IA64_MODE" = X32
; then
9208 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9210 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9212 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9216 hardcode_into_libs
=yes
9217 dynamic_linker
="$host_os dld.sl"
9218 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9219 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9221 soname_spec
='${libname}${release}${shared_ext}$major'
9222 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9223 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9227 dynamic_linker
="$host_os dld.sl"
9228 shlibpath_var
=SHLIB_PATH
9229 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9231 soname_spec
='${libname}${release}${shared_ext}$major'
9234 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9235 postinstall_cmds
='chmod 555 $lib'
9242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9243 soname_spec
='${libname}${release}${shared_ext}$major'
9244 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9245 shlibpath_var
=LD_LIBRARY_PATH
9246 shlibpath_overrides_runpath
=no
9247 hardcode_into_libs
=yes
9250 irix5
* | irix6
* | nonstopux
*)
9252 nonstopux
*) version_type
=nonstopux
;;
9254 if test "$lt_cv_prog_gnu_ld" = yes; then
9262 soname_spec
='${libname}${release}${shared_ext}$major'
9263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9265 irix5
* | nonstopux
*)
9269 case $LD in # libtool.m4 will add one of these switches to LD
9270 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9271 libsuff
= shlibsuff
= libmagic
=32-bit;;
9272 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9273 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9274 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9275 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9276 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9280 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9281 shlibpath_overrides_runpath
=no
9282 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9283 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9284 hardcode_into_libs
=yes
9287 # No shared lib support for Linux oldld, aout, or coff.
9288 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9292 # This must be Linux ELF.
9293 linux
* | k
*bsd
*-gnu)
9297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9298 soname_spec
='${libname}${release}${shared_ext}$major'
9299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9300 shlibpath_var
=LD_LIBRARY_PATH
9301 shlibpath_overrides_runpath
=no
9302 # This implies no fast_install, which is unacceptable.
9303 # Some rework will be needed to allow for fast_install
9304 # before this can be enabled.
9305 hardcode_into_libs
=yes
9307 # Append ld.so.conf contents to the search path
9308 if test -f /etc
/ld.so.conf
; then
9309 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9310 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9313 # We used to test for /lib/ld.so.1 and disable shared libraries on
9314 # powerpc, because MkLinux only supported shared libraries with the
9315 # GNU dynamic linker. Since this was broken with cross compilers,
9316 # most powerpc-linux boxes support dynamic linking these days and
9317 # people can always --disable-shared, the test was removed, and we
9318 # assume the GNU/Linux dynamic linker is in use.
9319 dynamic_linker
='GNU/Linux ld.so'
9326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9327 soname_spec
='${libname}${release}${shared_ext}$major'
9328 shlibpath_var
=LD_LIBRARY_PATH
9329 shlibpath_overrides_runpath
=no
9330 hardcode_into_libs
=yes
9331 dynamic_linker
='NetBSD ld.elf_so'
9338 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9340 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9341 dynamic_linker
='NetBSD (a.out) ld.so'
9343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9344 soname_spec
='${libname}${release}${shared_ext}$major'
9345 dynamic_linker
='NetBSD ld.elf_so'
9347 shlibpath_var
=LD_LIBRARY_PATH
9348 shlibpath_overrides_runpath
=yes
9349 hardcode_into_libs
=yes
9354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9355 shlibpath_var
=LD_LIBRARY_PATH
9356 shlibpath_overrides_runpath
=yes
9363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec
='${libname}${release}${shared_ext}$major'
9365 shlibpath_var
=LD_LIBRARY_PATH
9366 shlibpath_overrides_runpath
=yes
9371 sys_lib_dlsearch_path_spec
="/usr/lib"
9373 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9375 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9376 *) need_version
=no
;;
9378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9379 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9380 shlibpath_var
=LD_LIBRARY_PATH
9381 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9383 openbsd2.
[89] | openbsd2.
[89].
*)
9384 shlibpath_overrides_runpath
=no
9387 shlibpath_overrides_runpath
=yes
9391 shlibpath_overrides_runpath
=yes
9396 libname_spec
='$name'
9399 library_names_spec
='$libname${shared_ext} $libname.a'
9400 dynamic_linker
='OS/2 ld.exe'
9401 shlibpath_var
=LIBPATH
9404 osf3
* | osf4
* | osf5
*)
9408 soname_spec
='${libname}${release}${shared_ext}$major'
9409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9410 shlibpath_var
=LD_LIBRARY_PATH
9411 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9412 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9424 soname_spec
='${libname}${release}${shared_ext}$major'
9425 shlibpath_var
=LD_LIBRARY_PATH
9426 shlibpath_overrides_runpath
=yes
9427 hardcode_into_libs
=yes
9428 # ldd complains unless libraries are executable
9429 postinstall_cmds
='chmod +x $lib'
9434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9435 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9436 shlibpath_var
=LD_LIBRARY_PATH
9437 shlibpath_overrides_runpath
=yes
9438 if test "$with_gnu_ld" = yes; then
9446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9447 soname_spec
='${libname}${release}${shared_ext}$major'
9448 shlibpath_var
=LD_LIBRARY_PATH
9449 case $host_vendor in
9451 shlibpath_overrides_runpath
=no
9453 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9454 runpath_var
=LD_RUN_PATH
9462 shlibpath_overrides_runpath
=no
9463 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9469 if test -d /usr
/nec
;then
9471 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9472 soname_spec
='$libname${shared_ext}.$major'
9473 shlibpath_var
=LD_LIBRARY_PATH
9477 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9478 version_type
=freebsd-elf
9481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9482 soname_spec
='${libname}${release}${shared_ext}$major'
9483 shlibpath_var
=LD_LIBRARY_PATH
9484 hardcode_into_libs
=yes
9485 if test "$with_gnu_ld" = yes; then
9486 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9487 shlibpath_overrides_runpath
=no
9489 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9490 shlibpath_overrides_runpath
=yes
9493 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9497 sys_lib_dlsearch_path_spec
='/usr/lib'
9502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9503 soname_spec
='${libname}${release}${shared_ext}$major'
9504 shlibpath_var
=LD_LIBRARY_PATH
9511 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9512 echo "${ECHO_T}$dynamic_linker" >&6; }
9513 test "$dynamic_linker" = no
&& can_build_shared
=no
9515 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9521 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9522 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9523 echo $ECHO_N "(cached) $ECHO_C" >&6
9525 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9528 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9530 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9531 if test "$GCC" = yes; then
9532 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9535 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9536 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9538 if test -n "$hardcode_libdir_flag_spec" || \
9539 test -n "$runpath_var" || \
9540 test "X$hardcode_automatic" = "Xyes" ; then
9542 # We can hardcode non-existant directories.
9543 if test "$hardcode_direct" != no
&&
9544 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9545 # have to relink, otherwise we might link with an installed library
9546 # when we should be linking with a yet-to-be-installed one
9547 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9548 test "$hardcode_minus_L" != no
; then
9549 # Linking always hardcodes the temporary library directory.
9550 hardcode_action
=relink
9552 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9553 hardcode_action
=immediate
9556 # We cannot hardcode anything, or else we can only hardcode existing
9558 hardcode_action
=unsupported
9560 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9561 echo "${ECHO_T}$hardcode_action" >&6; }
9563 if test "$hardcode_action" = relink
; then
9564 # Fast installation is not supported
9565 enable_fast_install
=no
9566 elif test "$shlibpath_overrides_runpath" = yes ||
9567 test "$enable_shared" = no
; then
9568 # Fast installation is not necessary
9569 enable_fast_install
=needless
9574 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9575 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9576 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9577 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9578 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9579 { echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6; }
9582 # FIXME - insert some real tests, host_os isn't really good enough
9585 if test -n "$STRIP" ; then
9586 striplib
="$STRIP -x"
9587 old_striplib
="$STRIP -S"
9588 { echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6; }
9591 { echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6; }
9596 { echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6; }
9602 if test "x$enable_dlopen" != xyes
; then
9603 enable_dlopen
=unknown
9604 enable_dlopen_self
=unknown
9605 enable_dlopen_self_static
=unknown
9612 lt_cv_dlopen
="load_add_on"
9614 lt_cv_dlopen_self
=yes
9618 lt_cv_dlopen
="LoadLibrary"
9623 lt_cv_dlopen
="dlopen"
9628 # if libdl is installed we need to link against it
9629 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9630 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9631 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9632 echo $ECHO_N "(cached) $ECHO_C" >&6
9634 ac_check_lib_save_LIBS
=$LIBS
9636 cat >conftest.
$ac_ext <<_ACEOF
9639 cat confdefs.h
>>conftest.
$ac_ext
9640 cat >>conftest.
$ac_ext <<_ACEOF
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9658 rm -f conftest.
$ac_objext conftest
$ac_exeext
9659 if { (ac_try
="$ac_link"
9661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9662 *) ac_try_echo=$ac_try;;
9664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9665 (eval "$ac_link") 2>conftest.er1
9667 grep -v '^ *+' conftest.er1 >conftest.err
9669 cat conftest.err >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); } && {
9672 test -z "$ac_c_werror_flag" ||
9673 test ! -s conftest.err
9674 } && test -s conftest$ac_exeext &&
9675 $as_test_x conftest$ac_exeext; then
9676 ac_cv_lib_dl_dlopen=yes
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 ac_cv_lib_dl_dlopen=no
9684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9685 conftest$ac_exeext conftest.$ac_ext
9686 LIBS=$ac_check_lib_save_LIBS
9688 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9689 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9690 if test $ac_cv_lib_dl_dlopen = yes; then
9691 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9696 lt_cv_dlopen_self=yes
9703 { echo "$as_me:$LINENO: checking for shl_load" >&5
9704 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9705 if test "${ac_cv_func_shl_load+set}" = set; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 cat >conftest.$ac_ext <<_ACEOF
9711 cat confdefs.h >>conftest.$ac_ext
9712 cat >>conftest.$ac_ext <<_ACEOF
9713 /* end confdefs.h. */
9714 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9716 #define shl_load innocuous_shl_load
9718 /* System header to define __stub macros and hopefully few prototypes,
9719 which can conflict with char shl_load (); below.
9720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9721 <limits.h> exists even on freestanding compilers. */
9724 # include <limits.h>
9726 # include <assert.h>
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9738 /* The GNU C library defines this for functions which it implements
9739 to always fail with ENOSYS. Some functions are actually named
9740 something starting with __ and the normal name is an alias. */
9741 #if defined __stub_shl_load || defined __stub___shl_load
9753 rm -f conftest.$ac_objext conftest$ac_exeext
9754 if { (ac_try="$ac_link"
9756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9757 *) ac_try_echo
=$ac_try;;
9759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 (eval "$ac_link") 2>conftest.er1
9762 grep -v '^ *+' conftest.er1
>conftest.err
9764 cat conftest.err
>&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && {
9767 test -z "$ac_c_werror_flag" ||
9768 test ! -s conftest.err
9769 } && test -s conftest
$ac_exeext &&
9770 $as_test_x conftest
$ac_exeext; then
9771 ac_cv_func_shl_load
=yes
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.
$ac_ext >&5
9776 ac_cv_func_shl_load
=no
9779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9780 conftest
$ac_exeext conftest.
$ac_ext
9782 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9783 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9784 if test $ac_cv_func_shl_load = yes; then
9785 lt_cv_dlopen
="shl_load"
9787 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9788 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9789 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9790 echo $ECHO_N "(cached) $ECHO_C" >&6
9792 ac_check_lib_save_LIBS
=$LIBS
9794 cat >conftest.
$ac_ext <<_ACEOF
9797 cat confdefs.h
>>conftest.
$ac_ext
9798 cat >>conftest.
$ac_ext <<_ACEOF
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9816 rm -f conftest.
$ac_objext conftest
$ac_exeext
9817 if { (ac_try
="$ac_link"
9819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9820 *) ac_try_echo=$ac_try;;
9822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9823 (eval "$ac_link") 2>conftest.er1
9825 grep -v '^ *+' conftest.er1 >conftest.err
9827 cat conftest.err >&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } && {
9830 test -z "$ac_c_werror_flag" ||
9831 test ! -s conftest.err
9832 } && test -s conftest$ac_exeext &&
9833 $as_test_x conftest$ac_exeext; then
9834 ac_cv_lib_dld_shl_load=yes
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.$ac_ext >&5
9839 ac_cv_lib_dld_shl_load=no
9842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9843 conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_lib_save_LIBS
9846 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9847 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9848 if test $ac_cv_lib_dld_shl_load = yes; then
9849 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9851 { echo "$as_me:$LINENO: checking for dlopen" >&5
9852 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9853 if test "${ac_cv_func_dlopen+set}" = set; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 cat >conftest.$ac_ext <<_ACEOF
9859 cat confdefs.h >>conftest.$ac_ext
9860 cat >>conftest.$ac_ext <<_ACEOF
9861 /* end confdefs.h. */
9862 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9864 #define dlopen innocuous_dlopen
9866 /* System header to define __stub macros and hopefully few prototypes,
9867 which can conflict with char dlopen (); below.
9868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9869 <limits.h> exists even on freestanding compilers. */
9872 # include <limits.h>
9874 # include <assert.h>
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9886 /* The GNU C library defines this for functions which it implements
9887 to always fail with ENOSYS. Some functions are actually named
9888 something starting with __ and the normal name is an alias. */
9889 #if defined __stub_dlopen || defined __stub___dlopen
9901 rm -f conftest.$ac_objext conftest$ac_exeext
9902 if { (ac_try="$ac_link"
9904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9905 *) ac_try_echo
=$ac_try;;
9907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9908 (eval "$ac_link") 2>conftest.er1
9910 grep -v '^ *+' conftest.er1
>conftest.err
9912 cat conftest.err
>&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } && {
9915 test -z "$ac_c_werror_flag" ||
9916 test ! -s conftest.err
9917 } && test -s conftest
$ac_exeext &&
9918 $as_test_x conftest
$ac_exeext; then
9919 ac_cv_func_dlopen
=yes
9921 echo "$as_me: failed program was:" >&5
9922 sed 's/^/| /' conftest.
$ac_ext >&5
9924 ac_cv_func_dlopen
=no
9927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9928 conftest
$ac_exeext conftest.
$ac_ext
9930 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9931 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9932 if test $ac_cv_func_dlopen = yes; then
9933 lt_cv_dlopen
="dlopen"
9935 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9936 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9940 ac_check_lib_save_LIBS
=$LIBS
9942 cat >conftest.
$ac_ext <<_ACEOF
9945 cat confdefs.h
>>conftest.
$ac_ext
9946 cat >>conftest.
$ac_ext <<_ACEOF
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9964 rm -f conftest.
$ac_objext conftest
$ac_exeext
9965 if { (ac_try
="$ac_link"
9967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_link") 2>conftest.er1
9973 grep -v '^ *+' conftest.er1 >conftest.err
9975 cat conftest.err >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } && {
9978 test -z "$ac_c_werror_flag" ||
9979 test ! -s conftest.err
9980 } && test -s conftest$ac_exeext &&
9981 $as_test_x conftest$ac_exeext; then
9982 ac_cv_lib_dl_dlopen=yes
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9987 ac_cv_lib_dl_dlopen=no
9990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_lib_save_LIBS
9994 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9995 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9996 if test $ac_cv_lib_dl_dlopen = yes; then
9997 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9999 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10000 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10001 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 ac_check_lib_save_LIBS=$LIBS
10005 LIBS="-lsvld $LIBS"
10006 cat >conftest.$ac_ext <<_ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10028 rm -f conftest.$ac_objext conftest$ac_exeext
10029 if { (ac_try="$ac_link"
10030 case "(($ac_try" in
10031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10032 *) ac_try_echo
=$ac_try;;
10034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10035 (eval "$ac_link") 2>conftest.er1
10037 grep -v '^ *+' conftest.er1
>conftest.err
10039 cat conftest.err
>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } && {
10042 test -z "$ac_c_werror_flag" ||
10043 test ! -s conftest.err
10044 } && test -s conftest
$ac_exeext &&
10045 $as_test_x conftest
$ac_exeext; then
10046 ac_cv_lib_svld_dlopen
=yes
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.
$ac_ext >&5
10051 ac_cv_lib_svld_dlopen
=no
10054 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10055 conftest
$ac_exeext conftest.
$ac_ext
10056 LIBS
=$ac_check_lib_save_LIBS
10058 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10059 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10060 if test $ac_cv_lib_svld_dlopen = yes; then
10061 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10063 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10064 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10065 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 ac_check_lib_save_LIBS
=$LIBS
10070 cat >conftest.
$ac_ext <<_ACEOF
10073 cat confdefs.h
>>conftest.
$ac_ext
10074 cat >>conftest.
$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10087 return dld_link ();
10092 rm -f conftest.
$ac_objext conftest
$ac_exeext
10093 if { (ac_try
="$ac_link"
10094 case "(($ac_try" in
10095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10096 *) ac_try_echo=$ac_try;;
10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10099 (eval "$ac_link") 2>conftest.er1
10101 grep -v '^ *+' conftest.er1 >conftest.err
10103 cat conftest.err >&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } && {
10106 test -z "$ac_c_werror_flag" ||
10107 test ! -s conftest.err
10108 } && test -s conftest$ac_exeext &&
10109 $as_test_x conftest$ac_exeext; then
10110 ac_cv_lib_dld_dld_link=yes
10112 echo "$as_me: failed program was:" >&5
10113 sed 's/^/| /' conftest.$ac_ext >&5
10115 ac_cv_lib_dld_dld_link=no
10118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_lib_save_LIBS
10122 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10123 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10124 if test $ac_cv_lib_dld_dld_link = yes; then
10125 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10146 if test "x$lt_cv_dlopen" != xno; then
10152 case $lt_cv_dlopen in
10154 save_CPPFLAGS="$CPPFLAGS"
10155 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10157 save_LDFLAGS="$LDFLAGS"
10158 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10161 LIBS="$lt_cv_dlopen_libs $LIBS"
10163 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10164 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10165 if test "${lt_cv_dlopen_self+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 if test "$cross_compiling" = yes; then :
10169 lt_cv_dlopen_self=cross
10171 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10172 lt_status=$lt_dlunknown
10173 cat > conftest.$ac_ext <<EOF
10174 #line 10174 "configure"
10175 #include "confdefs.h"
10184 # define LT_DLGLOBAL RTLD_GLOBAL
10187 # define LT_DLGLOBAL DL_GLOBAL
10189 # define LT_DLGLOBAL 0
10193 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10194 find out it does not work in some platform. */
10195 #ifndef LT_DLLAZY_OR_NOW
10197 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10200 # define LT_DLLAZY_OR_NOW DL_LAZY
10203 # define LT_DLLAZY_OR_NOW RTLD_NOW
10206 # define LT_DLLAZY_OR_NOW DL_NOW
10208 # define LT_DLLAZY_OR_NOW 0
10216 extern "C" void exit (int);
10219 void fnord() { int i=42;}
10222 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10223 int status = $lt_dlunknown;
10227 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10228 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10229 /* dlclose (self); */
10237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10238 (eval $ac_link) 2>&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10242 (./conftest; exit; ) >&5 2>/dev/null
10244 case x$lt_status in
10245 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10246 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10247 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10250 # compilation failed
10251 lt_cv_dlopen_self=no
10258 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10259 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10261 if test "x$lt_cv_dlopen_self" = xyes; then
10262 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10263 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10264 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10265 if test "${lt_cv_dlopen_self_static+set}" = set; then
10266 echo $ECHO_N "(cached) $ECHO_C" >&6
10268 if test "$cross_compiling" = yes; then :
10269 lt_cv_dlopen_self_static=cross
10271 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10272 lt_status=$lt_dlunknown
10273 cat > conftest.$ac_ext <<EOF
10274 #line 10274 "configure"
10275 #include "confdefs.h"
10284 # define LT_DLGLOBAL RTLD_GLOBAL
10287 # define LT_DLGLOBAL DL_GLOBAL
10289 # define LT_DLGLOBAL 0
10293 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10294 find out it does not work in some platform. */
10295 #ifndef LT_DLLAZY_OR_NOW
10297 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10300 # define LT_DLLAZY_OR_NOW DL_LAZY
10303 # define LT_DLLAZY_OR_NOW RTLD_NOW
10306 # define LT_DLLAZY_OR_NOW DL_NOW
10308 # define LT_DLLAZY_OR_NOW 0
10316 extern "C" void exit (int);
10319 void fnord() { int i=42;}
10322 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10323 int status = $lt_dlunknown;
10327 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10328 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10329 /* dlclose (self); */
10337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10338 (eval $ac_link) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10342 (./conftest; exit; ) >&5 2>/dev/null
10344 case x$lt_status in
10345 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10346 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10347 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10350 # compilation failed
10351 lt_cv_dlopen_self_static=no
10358 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10359 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10362 CPPFLAGS="$save_CPPFLAGS"
10363 LDFLAGS="$save_LDFLAGS"
10368 case $lt_cv_dlopen_self in
10369 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10370 *) enable_dlopen_self=unknown ;;
10373 case $lt_cv_dlopen_self_static in
10374 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10375 *) enable_dlopen_self_static=unknown ;;
10380 # Report which library types will actually be built
10381 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10382 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10383 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10384 echo "${ECHO_T}$can_build_shared" >&6; }
10386 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10387 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10388 test "$can_build_shared" = "no" && enable_shared=no
10390 # On AIX, shared libraries and static libraries use the same namespace, and
10391 # are all built from PIC.
10394 test "$enable_shared" = yes && enable_static=no
10395 if test -n "$RANLIB"; then
10396 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10397 postinstall_cmds='$RANLIB $lib'
10402 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10403 test "$enable_shared" = yes && enable_static=no
10407 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10408 echo "${ECHO_T}$enable_shared" >&6; }
10410 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10411 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10412 # Make sure either enable_shared or enable_static is yes.
10413 test "$enable_shared" = yes || enable_static=yes
10414 { echo "$as_me:$LINENO: result: $enable_static" >&5
10415 echo "${ECHO_T}$enable_static" >&6; }
10417 # The else clause should only fire when bootstrapping the
10418 # libtool distribution, otherwise you forgot to ship ltmain.sh
10419 # with your package, and you will get complaints that there are
10420 # no rules to generate ltmain.sh.
10421 if test -f "$ltmain"; then
10422 # See if we are running on zsh, and set the options which allow our commands through
10423 # without removal of \ escapes.
10424 if test -n "${ZSH_VERSION+set}" ; then
10425 setopt NO_GLOB_SUBST
10427 # Now quote all the things that may contain metacharacters while being
10428 # careful not to overquote the AC_SUBSTed values. We take copies of the
10429 # variables and quote the copies for generation of the libtool script.
10430 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10432 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10433 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10434 deplibs_check_method reload_flag reload_cmds need_locks \
10435 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10436 lt_cv_sys_global_symbol_to_c_name_address \
10437 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10438 old_postinstall_cmds old_postuninstall_cmds \
10442 lt_prog_compiler_wl \
10443 lt_prog_compiler_pic \
10444 lt_prog_compiler_static \
10445 lt_prog_compiler_no_builtin_flag \
10446 export_dynamic_flag_spec \
10447 thread_safe_flag_spec \
10448 whole_archive_flag_spec \
10449 enable_shared_with_static_runtimes \
10451 old_archive_from_new_cmds \
10456 compiler_lib_search_path \
10457 compiler_lib_search_dirs \
10459 archive_expsym_cmds \
10461 postuninstall_cmds \
10462 old_archive_from_expsyms_cmds \
10463 allow_undefined_flag \
10464 no_undefined_flag \
10465 export_symbols_cmds \
10466 hardcode_libdir_flag_spec \
10467 hardcode_libdir_flag_spec_ld \
10468 hardcode_libdir_separator \
10469 hardcode_automatic \
10471 module_expsym_cmds \
10472 lt_cv_prog_compiler_c_o \
10475 include_expsyms; do
10478 old_archive_cmds | \
10479 old_archive_from_new_cmds | \
10481 archive_expsym_cmds | \
10483 module_expsym_cmds | \
10484 old_archive_from_expsyms_cmds | \
10485 export_symbols_cmds | \
10486 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10487 postinstall_cmds | postuninstall_cmds | \
10488 old_postinstall_cmds | old_postuninstall_cmds | \
10489 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10490 # Double-quote double-evaled strings.
10491 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10494 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10500 *'\$0 --fallback-echo"')
10501 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10505 cfgfile="${ofile}T"
10506 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10508 { echo "$as_me:$LINENO: creating $ofile" >&5
10509 echo "$as_me: creating $ofile" >&6;}
10511 cat <<__EOF__ >> "$cfgfile"
10514 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10515 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10516 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10518 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10519 # Free Software Foundation, Inc.
10521 # This file is part of GNU Libtool:
10522 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10524 # This program is free software; you can redistribute it and/or modify
10525 # it under the terms of the GNU General Public License as published by
10526 # the Free Software Foundation; either version 2 of the License, or
10527 # (at your option) any later version.
10529 # This program is distributed in the hope that it will be useful, but
10530 # WITHOUT ANY WARRANTY; without even the implied warranty of
10531 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10532 # General Public License for more details.
10534 # You should have received a copy of the GNU General Public License
10535 # along with this program; if not, write to the Free Software
10536 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10538 # As a special exception to the GNU General Public License, if you
10539 # distribute this file as part of a program that contains a
10540 # configuration script generated by Autoconf, you may include it under
10541 # the same distribution terms that you use for the rest of that program.
10543 # A sed program that does not truncate output.
10546 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10547 Xsed="$SED -e 1s/^X//"
10549 # The HP-UX ksh and POSIX shell print the target directory to stdout
10550 # if CDPATH is set.
10551 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10553 # The names of the tagged configurations supported by this script.
10556 # ### BEGIN LIBTOOL CONFIG
10558 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10560 # Shell to use when invoking shell scripts.
10563 # Whether or not to build shared libraries.
10564 build_libtool_libs=$enable_shared
10566 # Whether or not to build static libraries.
10567 build_old_libs=$enable_static
10569 # Whether or not to add -lc for building shared libraries.
10570 build_libtool_need_lc=$archive_cmds_need_lc
10572 # Whether or not to disallow shared libs when runtime libs are static
10573 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10575 # Whether or not to optimize for fast installation.
10576 fast_install=$enable_fast_install
10579 host_alias=$host_alias
10583 # The build system.
10584 build_alias=$build_alias
10588 # An echo program that does not interpret backslashes.
10593 AR_FLAGS=$lt_AR_FLAGS
10598 # LTCC compiler flags.
10599 LTCFLAGS=$lt_LTCFLAGS
10601 # A language-specific compiler.
10604 # Is the compiler the GNU C compiler?
10610 # The linker used to build libraries.
10613 # Whether we need hard or soft links.
10616 # A BSD-compatible nm program.
10619 # A symbol stripping program
10622 # Used to examine libraries when file_magic_cmd begins "file"
10623 MAGIC_CMD=$MAGIC_CMD
10625 # Used on cygwin: DLL creation program.
10628 # Used on cygwin: object dumper.
10631 # Used on cygwin: assembler.
10634 # The name of the directory that contains temporary libtool files.
10637 # How to create reloadable object files.
10638 reload_flag=$lt_reload_flag
10639 reload_cmds=$lt_reload_cmds
10641 # How to pass a linker flag through the compiler.
10642 wl=$lt_lt_prog_compiler_wl
10644 # Object file suffix (normally "o").
10645 objext="$ac_objext"
10647 # Old archive suffix (normally "a").
10650 # Shared library suffix (normally ".so").
10651 shrext_cmds='$shrext_cmds'
10653 # Executable file suffix (normally "").
10656 # Additional compiler flags for building library objects.
10657 pic_flag=$lt_lt_prog_compiler_pic
10660 # What is the maximum length of a command?
10661 max_cmd_len=$lt_cv_sys_max_cmd_len
10663 # Does compiler simultaneously support -c and -o options?
10664 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10666 # Must we lock files when doing compilation?
10667 need_locks=$lt_need_locks
10669 # Do we need the lib prefix for modules?
10670 need_lib_prefix=$need_lib_prefix
10672 # Do we need a version for libraries?
10673 need_version=$need_version
10675 # Whether dlopen is supported.
10676 dlopen_support=$enable_dlopen
10678 # Whether dlopen of programs is supported.
10679 dlopen_self=$enable_dlopen_self
10681 # Whether dlopen of statically linked programs is supported.
10682 dlopen_self_static=$enable_dlopen_self_static
10684 # Compiler flag to prevent dynamic linking.
10685 link_static_flag=$lt_lt_prog_compiler_static
10687 # Compiler flag to turn off builtin functions.
10688 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10690 # Compiler flag to allow reflexive dlopens.
10691 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10693 # Compiler flag to generate shared objects directly from archives.
10694 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10696 # Compiler flag to generate thread-safe objects.
10697 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10699 # Library versioning type.
10700 version_type=$version_type
10702 # Format of library name prefix.
10703 libname_spec=$lt_libname_spec
10705 # List of archive names. First name is the real one, the rest are links.
10706 # The last name is the one that the linker finds with -lNAME.
10707 library_names_spec=$lt_library_names_spec
10709 # The coded name of the library, if different from the real name.
10710 soname_spec=$lt_soname_spec
10712 # Commands used to build and install an old-style archive.
10714 old_archive_cmds=$lt_old_archive_cmds
10715 old_postinstall_cmds=$lt_old_postinstall_cmds
10716 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10718 # Create an old-style archive from a shared archive.
10719 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10721 # Create a temporary old-style archive to link instead of a shared archive.
10722 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10724 # Commands used to build and install a shared archive.
10725 archive_cmds=$lt_archive_cmds
10726 archive_expsym_cmds=$lt_archive_expsym_cmds
10727 postinstall_cmds=$lt_postinstall_cmds
10728 postuninstall_cmds=$lt_postuninstall_cmds
10730 # Commands used to build a loadable module (assumed same as above if empty)
10731 module_cmds=$lt_module_cmds
10732 module_expsym_cmds=$lt_module_expsym_cmds
10734 # Commands to strip libraries.
10735 old_striplib=$lt_old_striplib
10736 striplib=$lt_striplib
10738 # Dependencies to place before the objects being linked to create a
10740 predep_objects=$lt_predep_objects
10742 # Dependencies to place after the objects being linked to create a
10744 postdep_objects=$lt_postdep_objects
10746 # Dependencies to place before the objects being linked to create a
10748 predeps=$lt_predeps
10750 # Dependencies to place after the objects being linked to create a
10752 postdeps=$lt_postdeps
10754 # The directories searched by this compiler when creating a shared
10756 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10758 # The library search path used internally by the compiler when linking
10759 # a shared library.
10760 compiler_lib_search_path=$lt_compiler_lib_search_path
10762 # Method to check whether dependent libraries are shared objects.
10763 deplibs_check_method=$lt_deplibs_check_method
10765 # Command to use when deplibs_check_method == file_magic.
10766 file_magic_cmd=$lt_file_magic_cmd
10768 # Flag that allows shared libraries with undefined symbols to be built.
10769 allow_undefined_flag=$lt_allow_undefined_flag
10771 # Flag that forces no undefined symbols.
10772 no_undefined_flag=$lt_no_undefined_flag
10774 # Commands used to finish a libtool library installation in a directory.
10775 finish_cmds=$lt_finish_cmds
10777 # Same as above, but a single script fragment to be evaled but not shown.
10778 finish_eval=$lt_finish_eval
10780 # Take the output of nm and produce a listing of raw symbols and C names.
10781 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10783 # Transform the output of nm in a proper C declaration
10784 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10786 # Transform the output of nm in a C name address pair
10787 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10789 # This is the shared library runtime path variable.
10790 runpath_var=$runpath_var
10792 # This is the shared library path variable.
10793 shlibpath_var=$shlibpath_var
10795 # Is shlibpath searched before the hard-coded library search path?
10796 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10798 # How to hardcode a shared library path into an executable.
10799 hardcode_action=$hardcode_action
10801 # Whether we should hardcode library paths into libraries.
10802 hardcode_into_libs=$hardcode_into_libs
10804 # Flag to hardcode \$libdir into a binary during linking.
10805 # This must work even if \$libdir does not exist.
10806 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10808 # If ld is used when linking, flag to hardcode \$libdir into
10809 # a binary during linking. This must work even if \$libdir does
10811 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10813 # Whether we need a single -rpath flag with a separated argument.
10814 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10816 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10817 # resulting binary.
10818 hardcode_direct=$hardcode_direct
10820 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10821 # resulting binary.
10822 hardcode_minus_L=$hardcode_minus_L
10824 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10825 # the resulting binary.
10826 hardcode_shlibpath_var=$hardcode_shlibpath_var
10828 # Set to yes if building a shared library automatically hardcodes DIR into the library
10829 # and all subsequent libraries and executables linked against it.
10830 hardcode_automatic=$hardcode_automatic
10832 # Variables whose values should be saved in libtool wrapper scripts and
10833 # restored at relink time.
10834 variables_saved_for_relink="$variables_saved_for_relink"
10836 # Whether libtool must link a program against all its dependency libraries.
10837 link_all_deplibs=$link_all_deplibs
10839 # Compile-time system search path for libraries
10840 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10842 # Run-time system search path for libraries
10843 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10845 # Fix the shell variable \$srcfile for the compiler.
10846 fix_srcfile_path=$lt_fix_srcfile_path
10848 # Set to yes if exported symbols are required.
10849 always_export_symbols=$always_export_symbols
10851 # The commands to list exported symbols.
10852 export_symbols_cmds=$lt_export_symbols_cmds
10854 # The commands to extract the exported symbol list from a shared archive.
10855 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10857 # Symbols that should not be listed in the preloaded symbols.
10858 exclude_expsyms=$lt_exclude_expsyms
10860 # Symbols that must always be exported.
10861 include_expsyms=$lt_include_expsyms
10863 # ### END LIBTOOL CONFIG
10870 cat <<\EOF >> "$cfgfile"
10872 # AIX sometimes has problems with the GCC collect2 program. For some
10873 # reason, if we set the COLLECT_NAMES environment variable, the problems
10874 # vanish in a puff of smoke.
10875 if test "X${COLLECT_NAMES+set}" != Xset; then
10877 export COLLECT_NAMES
10883 # We use sed instead of cat because bash on DJGPP gets confused if
10884 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10885 # text mode, it properly converts lines to CR/LF. This bash problem
10886 # is reportedly fixed, but why not run on old versions too?
10887 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10889 mv -f "$cfgfile" "$ofile" || \
10890 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10894 # If there is no Makefile yet, we rely on a make rule to execute
10895 # `config.status
--recheck' to rerun these tests and create the
10896 # libtool script then.
10897 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10898 if test -f "$ltmain_in"; then
10899 test -f Makefile && make "$ltmain"
10905 ac_cpp='$CPP $CPPFLAGS'
10906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10907 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10913 # Check whether --with-tags was given.
10914 if test "${with_tags+set}" = set; then
10915 withval=$with_tags; tagnames="$withval"
10919 if test -f "$ltmain" && test -n "$tagnames"; then
10920 if test ! -f "${ofile}"; then
10921 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10922 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10925 if test -z "$LTCC"; then
10926 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10927 if test -z "$LTCC"; then
10928 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10929 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10931 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10932 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10935 if test -z "$LTCFLAGS"; then
10936 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10939 # Extract list of available tagged configurations in $ofile.
10940 # Note that this assumes the entire list is on one line.
10941 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10943 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10944 for tagname in $tagnames; do
10946 # Check whether tagname contains only valid characters
10947 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10949 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10950 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10951 { (exit 1); exit 1; }; }
10955 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10957 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10958 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10959 { (exit 1); exit 1; }; }
10962 # Update the list of available tags.
10963 if test -n "$tagname"; then
10964 echo appending configuration tag \"$tagname\" to $ofile
10968 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10969 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10970 (test "X$CXX" != "Xg++"))) ; then
10972 ac_cpp='$CXXCPP $CPPFLAGS'
10973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10980 archive_cmds_need_lc_CXX=no
10981 allow_undefined_flag_CXX=
10982 always_export_symbols_CXX=no
10983 archive_expsym_cmds_CXX=
10984 export_dynamic_flag_spec_CXX=
10985 hardcode_direct_CXX=no
10986 hardcode_libdir_flag_spec_CXX=
10987 hardcode_libdir_flag_spec_ld_CXX=
10988 hardcode_libdir_separator_CXX=
10989 hardcode_minus_L_CXX=no
10990 hardcode_shlibpath_var_CXX=unsupported
10991 hardcode_automatic_CXX=no
10993 module_expsym_cmds_CXX=
10994 link_all_deplibs_CXX=unknown
10995 old_archive_cmds_CXX=$old_archive_cmds
10996 no_undefined_flag_CXX=
10997 whole_archive_flag_spec_CXX=
10998 enable_shared_with_static_runtimes_CXX=no
11000 # Dependencies to place before and after the object being linked:
11001 predep_objects_CXX=
11002 postdep_objects_CXX=
11005 compiler_lib_search_path_CXX=
11006 compiler_lib_search_dirs_CXX=
11008 # Source file extension for C++ test sources.
11011 # Object file extension for compiled C++ test sources.
11015 # Code to be used in simple compile tests
11016 lt_simple_compile_test_code="int some_variable = 0;"
11018 # Code to be used in simple link tests
11019 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11021 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11023 # If no C compiler was specified, use CC.
11026 # If no C compiler flags were specified, use CFLAGS.
11027 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11029 # Allow CC to be a program name with arguments.
11033 # save warnings/boilerplate of simple test code
11034 ac_outfile=conftest.$ac_objext
11035 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11036 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11037 _lt_compiler_boilerplate=`cat conftest.err
`
11040 ac_outfile=conftest.$ac_objext
11041 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11042 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11043 _lt_linker_boilerplate=`cat conftest.err
`
11047 # Allow CC to be a program name with arguments.
11052 lt_save_with_gnu_ld=$with_gnu_ld
11053 lt_save_path_LD=$lt_cv_path_LD
11054 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11055 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11057 $as_unset lt_cv_prog_gnu_ld
11059 if test -n "${lt_cv_path_LDCXX+set}"; then
11060 lt_cv_path_LD=$lt_cv_path_LDCXX
11062 $as_unset lt_cv_path_LD
11064 test -z "${LDCXX+set}" || LD=$LDCXX
11068 for cc_temp in $compiler""; do
11070 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11071 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11076 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11079 # We don't want -fno-exception wen compiling C++ code, so set the
11080 # no_builtin_flag separately
11081 if test "$GXX" = yes; then
11082 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11084 lt_prog_compiler_no_builtin_flag_CXX=
11087 if test "$GXX" = yes; then
11088 # Set up default GNU C++ configuration
11091 # Check whether --with-gnu-ld was given.
11092 if test "${with_gnu_ld+set}" = set; then
11093 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11099 if test "$GCC" = yes; then
11100 # Check if gcc -print-prog-name=ld gives a path.
11101 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11102 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11105 # gcc leaves a trailing carriage return which upsets mingw
11106 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11108 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11111 # Accept absolute paths.
11113 re_direlt='/[^/][^/]*/\.\./'
11114 # Canonicalize the pathname of ld
11115 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11116 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11117 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11119 test -z "$LD" && LD="$ac_prog"
11122 # If it fails, then pretend we aren't using GCC.
11126 # If it is relative, then search for the first ld in PATH.
11127 with_gnu_ld=unknown
11130 elif test "$with_gnu_ld" = yes; then
11131 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11132 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11134 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11135 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11137 if test "${lt_cv_path_LD+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 if test -z "$LD"; then
11141 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11142 for ac_dir in $PATH; do
11144 test -z "$ac_dir" && ac_dir=.
11145 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11146 lt_cv_path_LD="$ac_dir/$ac_prog"
11147 # Check to see if the program is GNU ld. I'd rather use --version,
11148 # but apparently some variants of GNU ld only accept -v.
11149 # Break only if it was the GNU/non-GNU ld that we prefer.
11150 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11151 *GNU* | *'with BFD'*)
11152 test "$with_gnu_ld" != no && break
11155 test "$with_gnu_ld" != yes && break
11162 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11166 LD="$lt_cv_path_LD"
11167 if test -n "$LD"; then
11168 { echo "$as_me:$LINENO: result: $LD" >&5
11169 echo "${ECHO_T}$LD" >&6; }
11171 { echo "$as_me:$LINENO: result: no" >&5
11172 echo "${ECHO_T}no" >&6; }
11174 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11175 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11176 { (exit 1); exit 1; }; }
11177 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11178 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11179 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11183 case `$LD -v 2>&1 </dev
/null
` in
11184 *GNU* | *'with BFD'*)
11185 lt_cv_prog_gnu_ld=yes
11188 lt_cv_prog_gnu_ld=no
11192 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11193 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11194 with_gnu_ld=$lt_cv_prog_gnu_ld
11198 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11199 # archiving commands below assume that GNU ld is being used.
11200 if test "$with_gnu_ld" = yes; then
11201 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11202 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'
11204 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11205 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11207 # If archive_cmds runs LD, not CC, wlarc should be empty
11208 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11209 # investigate it a little bit more. (MM)
11212 # ancient GNU ld didn't support --whole-archive et. al.
11213 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11214 grep 'no-whole-archive' > /dev/null; then
11215 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11217 whole_archive_flag_spec_CXX=
11223 # A generic and very simple default shared library creation
11224 # command for GNU C++ for the case where it uses the native
11225 # linker, instead of GNU ld. If possible, this setting should
11226 # overridden to take advantage of the native linker features on
11227 # the platform it is being used on.
11228 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11231 # Commands to make compiler produce verbose output that lists
11232 # what "hidden" libraries, object files and flags are used when
11233 # linking a shared library.
11234 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11242 # PORTME: fill in a description of your system's C++ link characteristics
11243 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11244 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11248 # FIXME: insert proper C++ library support
11252 if test "$host_cpu" = ia64; then
11253 # On IA64, the linker does run time linking by default, so we don't
11254 # have to do anything special.
11255 aix_use_runtimelinking=no
11256 exp_sym_flag='-Bexport'
11259 aix_use_runtimelinking=no
11261 # Test if we are trying to use run time linking or normal
11262 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11263 # need to do runtime linking.
11264 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11265 for ld_flag in $LDFLAGS; do
11268 aix_use_runtimelinking=yes
11276 exp_sym_flag='-bexport'
11277 no_entry_flag='-bnoentry'
11280 # When large executables or shared objects are built, AIX ld can
11281 # have problems creating the table of contents. If linking a library
11282 # or program results in "error TOC overflow" add -mminimal-toc to
11283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11286 archive_cmds_CXX=''
11287 hardcode_direct_CXX=yes
11288 hardcode_libdir_separator_CXX=':'
11289 link_all_deplibs_CXX=yes
11291 if test "$GXX" = yes; then
11292 case $host_os in aix4.[012]|aix4.[012].*)
11293 # We only want to do this on AIX 4.2 and lower, the check
11294 # below for broken collect2 doesn't work under 4.3+
11295 collect2name=`${CC} -print-prog-name=collect2
`
11296 if test -f "$collect2name" && \
11297 strings "$collect2name" | grep resolve_lib_name >/dev/null
11299 # We have reworked collect2
11302 # We have old collect2
11303 hardcode_direct_CXX=unsupported
11304 # It fails to find uninstalled libraries when the uninstalled
11305 # path is not listed in the libpath. Setting hardcode_minus_L
11306 # to unsupported forces relinking
11307 hardcode_minus_L_CXX=yes
11308 hardcode_libdir_flag_spec_CXX='-L$libdir'
11309 hardcode_libdir_separator_CXX=
11313 shared_flag='-shared'
11314 if test "$aix_use_runtimelinking" = yes; then
11315 shared_flag="$shared_flag "'${wl}-G'
11319 if test "$host_cpu" = ia64; then
11320 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11321 # chokes on -Wl,-G. The following line is correct:
11324 if test "$aix_use_runtimelinking" = yes; then
11325 shared_flag='${wl}-G'
11327 shared_flag='${wl}-bM:SRE'
11332 # It seems that -bexpall does not export symbols beginning with
11333 # underscore (_), so it is better to generate a list of symbols to export.
11334 always_export_symbols_CXX=yes
11335 if test "$aix_use_runtimelinking" = yes; then
11336 # Warning - without using the other runtime loading flags (-brtl),
11337 # -berok will link without error, but may produce a broken library.
11338 allow_undefined_flag_CXX='-berok'
11339 # Determine the default libpath from the value encoded in an empty executable.
11340 cat >conftest.$ac_ext <<_ACEOF
11343 cat confdefs.h >>conftest.$ac_ext
11344 cat >>conftest.$ac_ext <<_ACEOF
11345 /* end confdefs.h. */
11355 rm -f conftest.$ac_objext conftest$ac_exeext
11356 if { (ac_try="$ac_link"
11357 case "(($ac_try" in
11358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11359 *) ac_try_echo
=$ac_try;;
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_link") 2>conftest.er1
11364 grep -v '^ *+' conftest.er1
>conftest.err
11366 cat conftest.err
>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && {
11369 test -z "$ac_cxx_werror_flag" ||
11370 test ! -s conftest.err
11371 } && test -s conftest
$ac_exeext &&
11372 $as_test_x conftest
$ac_exeext; then
11374 lt_aix_libpath_sed
='
11375 /Import File Strings/,/^$/ {
11381 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11382 # Check for a 64-bit object if we didn't find anything.
11383 if test -z "$aix_libpath"; then
11384 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11387 echo "$as_me: failed program was:" >&5
11388 sed 's/^/| /' conftest.
$ac_ext >&5
11393 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11394 conftest
$ac_exeext conftest.
$ac_ext
11395 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11397 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11399 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"
11401 if test "$host_cpu" = ia64
; then
11402 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11403 allow_undefined_flag_CXX
="-z nodefs"
11404 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"
11406 # Determine the default libpath from the value encoded in an empty executable.
11407 cat >conftest.
$ac_ext <<_ACEOF
11410 cat confdefs.h
>>conftest.
$ac_ext
11411 cat >>conftest.
$ac_ext <<_ACEOF
11412 /* end confdefs.h. */
11422 rm -f conftest.
$ac_objext conftest
$ac_exeext
11423 if { (ac_try
="$ac_link"
11424 case "(($ac_try" in
11425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11426 *) ac_try_echo=$ac_try;;
11428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11429 (eval "$ac_link") 2>conftest.er1
11431 grep -v '^ *+' conftest.er1 >conftest.err
11433 cat conftest.err >&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } && {
11436 test -z "$ac_cxx_werror_flag" ||
11437 test ! -s conftest.err
11438 } && test -s conftest$ac_exeext &&
11439 $as_test_x conftest$ac_exeext; then
11441 lt_aix_libpath_sed='
11442 /Import File Strings/,/^$/ {
11448 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11449 # Check for a 64-bit object if we didn't find anything.
11450 if test -z "$aix_libpath"; then
11451 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11461 conftest$ac_exeext conftest.$ac_ext
11462 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11464 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11465 # Warning - without using the other run time loading flags,
11466 # -berok will link without error, but may produce a broken library.
11467 no_undefined_flag_CXX=' ${wl}-bernotok'
11468 allow_undefined_flag_CXX=' ${wl}-berok'
11469 # Exported symbols can be pulled into shared objects from archives
11470 whole_archive_flag_spec_CXX='$convenience'
11471 archive_cmds_need_lc_CXX=yes
11472 # This is similar to how AIX traditionally builds its shared libraries.
11473 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'
11479 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11480 allow_undefined_flag_CXX=unsupported
11481 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11482 # support --undefined. This deserves some investigation. FIXME
11483 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11490 case $cc_basename in
11492 # FIXME: insert proper C++ library support
11498 cygwin* | mingw* | pw32*)
11499 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11500 # as there is no search path for DLLs.
11501 hardcode_libdir_flag_spec_CXX='-L$libdir'
11502 allow_undefined_flag_CXX=unsupported
11503 always_export_symbols_CXX=no
11504 enable_shared_with_static_runtimes_CXX=yes
11506 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11507 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'
11508 # If the export-symbols file already is a .def file (1st line
11509 # is EXPORTS), use it as is; otherwise, prepend...
11510 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11511 cp $export_symbols $output_objdir/$soname.def;
11513 echo EXPORTS > $output_objdir/$soname.def;
11514 cat $export_symbols >> $output_objdir/$soname.def;
11516 $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'
11521 darwin* | rhapsody*)
11522 archive_cmds_need_lc_CXX=no
11523 hardcode_direct_CXX=no
11524 hardcode_automatic_CXX=yes
11525 hardcode_shlibpath_var_CXX=unsupported
11526 whole_archive_flag_spec_CXX=''
11527 link_all_deplibs_CXX=yes
11528 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11529 if test "$GXX" = yes ; then
11530 output_verbose_link_cmd='echo'
11531 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11532 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11533 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11534 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11535 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11536 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${_lt_dsymutil}"
11537 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11540 case $cc_basename in
11542 output_verbose_link_cmd='echo'
11543 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11544 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11545 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11546 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11547 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}'
11557 case $cc_basename in
11559 # FIXME: insert proper C++ library support
11563 # Green Hills C++ Compiler
11564 # FIXME: insert proper C++ library support
11568 # FIXME: insert proper C++ library support
11574 # C++ shared libraries reported to be fairly broken before switch to ELF
11578 archive_cmds_need_lc_CXX=no
11580 freebsd* | dragonfly*)
11581 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11588 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11589 hardcode_libdir_separator_CXX=:
11590 export_dynamic_flag_spec_CXX='${wl}-E'
11591 hardcode_direct_CXX=yes
11592 hardcode_minus_L_CXX=yes # Not in the search PATH,
11593 # but as the default
11594 # location of the library.
11596 case $cc_basename in
11598 # FIXME: insert proper C++ library support
11602 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'
11603 # Commands to make compiler produce verbose output that lists
11604 # what "hidden" libraries, object files and flags are used when
11605 # linking a shared library.
11607 # There doesn't appear to be a way to prevent this compiler from
11608 # explicitly linking system object files so we need to strip them
11609 # from the output so that they don't get included in the library
11611 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'
11614 if test "$GXX" = yes; then
11615 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'
11617 # FIXME: insert proper C++ library support
11624 if test $with_gnu_ld = no; then
11625 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11626 hardcode_libdir_separator_CXX=:
11631 export_dynamic_flag_spec_CXX='${wl}-E'
11637 hardcode_direct_CXX=no
11638 hardcode_shlibpath_var_CXX=no
11641 hardcode_direct_CXX=yes
11642 hardcode_minus_L_CXX=yes # Not in the search PATH,
11643 # but as the default
11644 # location of the library.
11648 case $cc_basename in
11650 # FIXME: insert proper C++ library support
11656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11659 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11662 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11665 # Commands to make compiler produce verbose output that lists
11666 # what "hidden" libraries, object files and flags are used when
11667 # linking a shared library.
11669 # There doesn't appear to be a way to prevent this compiler from
11670 # explicitly linking system object files so we need to strip them
11671 # from the output so that they don't get included in the library
11673 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'
11676 if test "$GXX" = yes; then
11677 if test $with_gnu_ld = no; then
11680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11683 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11686 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'
11691 # FIXME: insert proper C++ library support
11698 hardcode_direct_CXX=no
11699 hardcode_shlibpath_var_CXX=no
11700 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11701 export_dynamic_flag_spec_CXX='${wl}-E'
11702 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11703 # Instead, shared libraries are loaded at an image base (0x10000000 by
11704 # default) and relocated if they conflict, which is a slow very memory
11705 # consuming and fragmenting process. To avoid this, we pick a random,
11706 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11707 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11708 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'
11709 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'
11712 case $cc_basename in
11715 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'
11717 # Archives containing C++ object files must be created using
11718 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11719 # necessary to make sure instantiated templates are included
11721 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11724 if test "$GXX" = yes; then
11725 if test "$with_gnu_ld" = no; then
11726 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'
11728 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'
11731 link_all_deplibs_CXX=yes
11734 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11735 hardcode_libdir_separator_CXX=:
11737 linux* | k*bsd*-gnu)
11738 case $cc_basename in
11740 # Kuck and Associates, Inc. (KAI) C++ Compiler
11742 # KCC will only create a shared library if the output file
11743 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11744 # to its proper name (with version) after linking.
11745 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'
11746 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'
11747 # Commands to make compiler produce verbose output that lists
11748 # what "hidden" libraries, object files and flags are used when
11749 # linking a shared library.
11751 # There doesn't appear to be a way to prevent this compiler from
11752 # explicitly linking system object files so we need to strip them
11753 # from the output so that they don't get included in the library
11755 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'
11757 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11758 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11760 # Archives containing C++ object files must be created using
11761 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11762 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11767 # version 8.0 and above of icpc choke on multiply defined symbols
11768 # if we add $predep_objects and $postdep_objects, however 7.1 and
11769 # earlier do not add the objects themselves.
11770 case `$CC -V 2>&1` in
11772 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11773 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'
11775 *) # Version 8.0 or newer
11778 ia64
*) tmp_idyn
=' -i_dynamic';;
11780 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11781 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'
11784 archive_cmds_need_lc_CXX
=no
11785 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11786 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11787 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11790 # Portland Group C++ compiler
11791 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11792 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'
11794 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11795 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11796 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'
11800 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11801 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'
11803 runpath_var
=LD_RUN_PATH
11804 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11805 hardcode_libdir_separator_CXX
=:
11807 # Commands to make compiler produce verbose output that lists
11808 # what "hidden" libraries, object files and flags are used when
11809 # linking a shared library.
11811 # There doesn't appear to be a way to prevent this compiler from
11812 # explicitly linking system object files so we need to strip them
11813 # from the output so that they don't get included in the library
11815 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'
11818 case `$CC -V 2>&1 | sed 5q` in
11821 no_undefined_flag_CXX
=' -zdefs'
11822 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11823 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11824 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11825 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11827 # Not sure whether something based on
11828 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11830 output_verbose_link_cmd
='echo'
11832 # Archives containing C++ object files must be created using
11833 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11834 # necessary to make sure instantiated templates are included
11836 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11843 # FIXME: insert proper C++ library support
11847 # FIXME: insert proper C++ library support
11851 case $cc_basename in
11853 # FIXME: insert proper C++ library support
11857 # FIXME: insert proper C++ library support
11862 netbsd
* | netbsdelf
*-gnu)
11863 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11864 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11866 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11867 hardcode_direct_CXX
=yes
11868 hardcode_shlibpath_var_CXX
=no
11870 # Workaround some broken pre-1.5 toolchains
11871 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11874 # C++ shared libraries are fairly broken
11878 if test -f /usr
/libexec
/ld.so
; then
11879 hardcode_direct_CXX
=yes
11880 hardcode_shlibpath_var_CXX
=no
11881 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11882 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11883 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11884 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11885 export_dynamic_flag_spec_CXX
='${wl}-E'
11886 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11888 output_verbose_link_cmd
='echo'
11894 case $cc_basename in
11896 # Kuck and Associates, Inc. (KAI) C++ Compiler
11898 # KCC will only create a shared library if the output file
11899 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11900 # to its proper name (with version) after linking.
11901 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'
11903 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11904 hardcode_libdir_separator_CXX
=:
11906 # Archives containing C++ object files must be created using
11907 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11908 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11912 # Rational C++ 2.4.1
11913 # FIXME: insert proper C++ library support
11917 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11918 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'
11920 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11921 hardcode_libdir_separator_CXX
=:
11923 # Commands to make compiler produce verbose output that lists
11924 # what "hidden" libraries, object files and flags are used when
11925 # linking a shared library.
11927 # There doesn't appear to be a way to prevent this compiler from
11928 # explicitly linking system object files so we need to strip them
11929 # from the output so that they don't get included in the library
11931 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'
11934 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11935 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11936 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'
11938 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11939 hardcode_libdir_separator_CXX
=:
11941 # Commands to make compiler produce verbose output that lists
11942 # what "hidden" libraries, object files and flags are used when
11943 # linking a shared library.
11944 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11947 # FIXME: insert proper C++ library support
11954 case $cc_basename in
11956 # Kuck and Associates, Inc. (KAI) C++ Compiler
11958 # KCC will only create a shared library if the output file
11959 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11960 # to its proper name (with version) after linking.
11961 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'
11963 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11964 hardcode_libdir_separator_CXX
=:
11966 # Archives containing C++ object files must be created using
11967 # the KAI C++ compiler.
11968 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11971 # Rational C++ 2.4.1
11972 # FIXME: insert proper C++ library support
11976 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11977 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'
11978 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11979 echo "-hidden">> $lib.exp~
11980 $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~
11983 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11984 hardcode_libdir_separator_CXX
=:
11986 # Commands to make compiler produce verbose output that lists
11987 # what "hidden" libraries, object files and flags are used when
11988 # linking a shared library.
11990 # There doesn't appear to be a way to prevent this compiler from
11991 # explicitly linking system object files so we need to strip them
11992 # from the output so that they don't get included in the library
11994 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'
11997 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11998 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11999 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'
12001 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12002 hardcode_libdir_separator_CXX
=:
12004 # Commands to make compiler produce verbose output that lists
12005 # what "hidden" libraries, object files and flags are used when
12006 # linking a shared library.
12007 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12010 # FIXME: insert proper C++ library support
12017 # FIXME: insert proper C++ library support
12021 case $cc_basename in
12024 # FIXME: insert proper C++ library support
12029 # FIXME: insert proper C++ library support
12033 # FIXME: insert proper C++ library support
12039 case $cc_basename in
12041 # Sun C++ 4.2, 5.x and Centerline C++
12042 archive_cmds_need_lc_CXX
=yes
12043 no_undefined_flag_CXX
=' -zdefs'
12044 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12045 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12046 $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'
12048 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12049 hardcode_shlibpath_var_CXX
=no
12051 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12053 # The compiler driver will combine and reorder linker options,
12054 # but understands `-z linker_flag'.
12055 # Supported since Solaris 2.6 (maybe 2.5.1?)
12056 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12059 link_all_deplibs_CXX
=yes
12061 output_verbose_link_cmd
='echo'
12063 # Archives containing C++ object files must be created using
12064 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12065 # necessary to make sure instantiated templates are included
12067 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12070 # Green Hills C++ Compiler
12071 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12073 # The C++ compiler must be used to create the archive.
12074 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12077 # GNU C++ compiler with Solaris linker
12078 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12079 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12080 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12081 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12082 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12083 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12085 # Commands to make compiler produce verbose output that lists
12086 # what "hidden" libraries, object files and flags are used when
12087 # linking a shared library.
12088 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12090 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12092 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12093 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12094 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12096 # Commands to make compiler produce verbose output that lists
12097 # what "hidden" libraries, object files and flags are used when
12098 # linking a shared library.
12099 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12102 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12104 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12106 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12113 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12114 no_undefined_flag_CXX
='${wl}-z,text'
12115 archive_cmds_need_lc_CXX
=no
12116 hardcode_shlibpath_var_CXX
=no
12117 runpath_var
='LD_RUN_PATH'
12119 case $cc_basename in
12121 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12122 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12125 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12126 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12130 sysv5
* | sco3.2v5
* | sco5v6
*)
12131 # Note: We can NOT use -z defs as we might desire, because we do not
12132 # link with -lc, and that would cause any symbols used from libc to
12133 # always be unresolved, which means just about no library would
12134 # ever link correctly. If we're not using GNU ld we use -z text
12135 # though, which does catch some bad symbols but isn't as heavy-handed
12137 # For security reasons, it is highly recommended that you always
12138 # use absolute paths for naming shared libraries, and exclude the
12139 # DT_RUNPATH tag from executables and libraries. But doing so
12140 # requires that you compile everything twice, which is a pain.
12141 # So that behaviour is only enabled if SCOABSPATH is set to a
12142 # non-empty value in the environment. Most likely only useful for
12143 # creating official distributions of packages.
12144 # This is a hack until libtool officially supports absolute path
12145 # names for shared libraries.
12146 no_undefined_flag_CXX
='${wl}-z,text'
12147 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12148 archive_cmds_need_lc_CXX
=no
12149 hardcode_shlibpath_var_CXX
=no
12150 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12151 hardcode_libdir_separator_CXX
=':'
12152 link_all_deplibs_CXX
=yes
12153 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12154 runpath_var
='LD_RUN_PATH'
12156 case $cc_basename in
12158 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12159 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12162 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12163 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12168 case $cc_basename in
12170 # NonStop-UX NCC 3.20
12171 # FIXME: insert proper C++ library support
12175 # FIXME: insert proper C++ library support
12181 # FIXME: insert proper C++ library support
12185 # FIXME: insert proper C++ library support
12189 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12190 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12191 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12196 cat > conftest.
$ac_ext <<EOF
12200 Foo (void) { a = 0; }
12206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12207 (eval $ac_compile) 2>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; then
12211 # Parse the compiler output and extract the necessary
12212 # objects, libraries and library flags.
12214 # Sentinel used to keep track of whether or not we are before
12215 # the conftest object file.
12216 pre_test_object_deps_done
=no
12218 # The `*' in the case matches for architectures that use `case' in
12219 # $output_verbose_cmd can trigger glob expansion during the loop
12220 # eval without this substitution.
12221 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12223 for p
in `eval $output_verbose_link_cmd`; do
12227 # Some compilers place space between "-{L,R}" and the path.
12228 # Remove the space.
12229 if test $p = "-L" \
12230 ||
test $p = "-R"; then
12237 if test "$pre_test_object_deps_done" = no
; then
12240 # Internal compiler library paths should come after those
12241 # provided the user. The postdeps already come after the
12242 # user supplied libs so there is no need to process them.
12243 if test -z "$compiler_lib_search_path_CXX"; then
12244 compiler_lib_search_path_CXX
="${prev}${p}"
12246 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12249 # The "-l" case would never come before the object being
12250 # linked, so don't bother handling this case.
12253 if test -z "$postdeps_CXX"; then
12254 postdeps_CXX
="${prev}${p}"
12256 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12262 # This assumes that the test object file only shows up
12263 # once in the compiler output.
12264 if test "$p" = "conftest.$objext"; then
12265 pre_test_object_deps_done
=yes
12269 if test "$pre_test_object_deps_done" = no
; then
12270 if test -z "$predep_objects_CXX"; then
12271 predep_objects_CXX
="$p"
12273 predep_objects_CXX
="$predep_objects_CXX $p"
12276 if test -z "$postdep_objects_CXX"; then
12277 postdep_objects_CXX
="$p"
12279 postdep_objects_CXX
="$postdep_objects_CXX $p"
12284 *) ;; # Ignore the rest.
12292 echo "libtool.m4: error: problem compiling CXX test program"
12295 $rm -f confest.
$objext
12297 compiler_lib_search_dirs_CXX
=
12298 if test -n "$compiler_lib_search_path_CXX"; then
12299 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12302 # PORTME: override above test on systems where it is broken
12305 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12306 # hack all around it, let's just trust "g++" to DTRT.
12307 predep_objects_CXX
=
12308 postdep_objects_CXX
=
12313 case `$CC -V 2>&1 | sed 5q` in
12317 # The more standards-conforming stlport4 library is
12318 # incompatible with the Cstd library. Avoid specifying
12319 # it if it's in CXXFLAGS. Ignore libCrun as
12320 # -library=stlport4 depends on it.
12321 case " $CXX $CXXFLAGS " in
12322 *" -library=stlport4 "*)
12323 solaris_use_stlport4
=yes
12326 if test "$solaris_use_stlport4" != yes; then
12327 postdeps_CXX
='-library=Cstd -library=Crun'
12334 case $cc_basename in
12336 # The more standards-conforming stlport4 library is
12337 # incompatible with the Cstd library. Avoid specifying
12338 # it if it's in CXXFLAGS. Ignore libCrun as
12339 # -library=stlport4 depends on it.
12340 case " $CXX $CXXFLAGS " in
12341 *" -library=stlport4 "*)
12342 solaris_use_stlport4
=yes
12346 # Adding this requires a known-good setup of shared libraries for
12347 # Sun compiler versions before 5.6, else PIC objects from an old
12348 # archive will be linked into the output, leading to subtle bugs.
12349 if test "$solaris_use_stlport4" != yes; then
12350 postdeps_CXX
='-library=Cstd -library=Crun'
12357 case " $postdeps_CXX " in
12358 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12361 lt_prog_compiler_wl_CXX
=
12362 lt_prog_compiler_pic_CXX
=
12363 lt_prog_compiler_static_CXX
=
12365 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12366 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12368 # C++ specific cases for pic, static, wl, etc.
12369 if test "$GXX" = yes; then
12370 lt_prog_compiler_wl_CXX
='-Wl,'
12371 lt_prog_compiler_static_CXX
='-static'
12375 # All AIX code is PIC.
12376 if test "$host_cpu" = ia64
; then
12377 # AIX 5 now supports IA64 processor
12378 lt_prog_compiler_static_CXX
='-Bstatic'
12382 # FIXME: we need at least 68020 code to build shared libraries, but
12383 # adding the `-m68020' flag to GCC prevents building anything better,
12385 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12387 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12388 # PIC is the default for these OSes.
12390 mingw
* | cygwin
* | os2
* | pw32
*)
12391 # This hack is so that the source file can tell whether it is being
12392 # built for inclusion in a dll (and should export symbols for example).
12393 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12394 # (--disable-auto-import) libraries
12395 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12397 darwin
* | rhapsody
*)
12398 # PIC is the default on this platform
12399 # Common symbols not allowed in MH_DYLIB files
12400 lt_prog_compiler_pic_CXX
='-fno-common'
12403 # DJGPP does not support shared libraries at all
12404 lt_prog_compiler_pic_CXX
=
12407 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12408 # Instead, we relocate shared libraries at runtime.
12411 if test -d /usr
/nec
; then
12412 lt_prog_compiler_pic_CXX
=-Kconform_pic
12416 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12417 # not for PA HP-UX.
12422 lt_prog_compiler_pic_CXX
='-fPIC'
12427 lt_prog_compiler_pic_CXX
='-fPIC'
12433 # All AIX code is PIC.
12434 if test "$host_cpu" = ia64
; then
12435 # AIX 5 now supports IA64 processor
12436 lt_prog_compiler_static_CXX
='-Bstatic'
12438 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12442 case $cc_basename in
12444 # Green Hills C++ Compiler
12445 # _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"
12450 # PIC is the default on this platform
12451 # Common symbols not allowed in MH_DYLIB files
12452 case $cc_basename in
12454 lt_prog_compiler_pic_CXX
='-qnocommon'
12455 lt_prog_compiler_wl_CXX
='-Wl,'
12460 case $cc_basename in
12462 lt_prog_compiler_pic_CXX
='-KPIC'
12465 # Green Hills C++ Compiler
12466 lt_prog_compiler_pic_CXX
='-pic'
12472 freebsd
* | dragonfly
*)
12473 # FreeBSD uses GNU C++
12475 hpux9
* | hpux10
* | hpux11
*)
12476 case $cc_basename in
12478 lt_prog_compiler_wl_CXX
='-Wl,'
12479 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12480 if test "$host_cpu" != ia64
; then
12481 lt_prog_compiler_pic_CXX
='+Z'
12485 lt_prog_compiler_wl_CXX
='-Wl,'
12486 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12492 lt_prog_compiler_pic_CXX
='+Z'
12501 # This is c89, which is MS Visual C++ (no shared libs)
12502 # Anyone wants to do a port?
12504 irix5
* | irix6
* | nonstopux
*)
12505 case $cc_basename in
12507 lt_prog_compiler_wl_CXX
='-Wl,'
12508 lt_prog_compiler_static_CXX
='-non_shared'
12509 # CC pic flag -KPIC is the default.
12515 linux
* | k
*bsd
*-gnu)
12516 case $cc_basename in
12519 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12520 lt_prog_compiler_pic_CXX
='-fPIC'
12524 lt_prog_compiler_wl_CXX
='-Wl,'
12525 lt_prog_compiler_pic_CXX
='-KPIC'
12526 lt_prog_compiler_static_CXX
='-static'
12529 # Portland Group C++ compiler.
12530 lt_prog_compiler_wl_CXX
='-Wl,'
12531 lt_prog_compiler_pic_CXX
='-fpic'
12532 lt_prog_compiler_static_CXX
='-Bstatic'
12536 # Make sure the PIC flag is empty. It appears that all Alpha
12537 # Linux and Compaq Tru64 Unix objects are PIC.
12538 lt_prog_compiler_pic_CXX
=
12539 lt_prog_compiler_static_CXX
='-non_shared'
12542 case `$CC -V 2>&1 | sed 5q` in
12545 lt_prog_compiler_pic_CXX
='-KPIC'
12546 lt_prog_compiler_static_CXX
='-Bstatic'
12547 lt_prog_compiler_wl_CXX
='-Qoption ld '
12558 case $cc_basename in
12560 lt_prog_compiler_pic_CXX
='-W c,exportall'
12566 netbsd
* | netbsdelf
*-gnu)
12568 osf3
* | osf4
* | osf5
*)
12569 case $cc_basename in
12571 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12574 # Rational C++ 2.4.1
12575 lt_prog_compiler_pic_CXX
='-pic'
12578 # Digital/Compaq C++
12579 lt_prog_compiler_wl_CXX
='-Wl,'
12580 # Make sure the PIC flag is empty. It appears that all Alpha
12581 # Linux and Compaq Tru64 Unix objects are PIC.
12582 lt_prog_compiler_pic_CXX
=
12583 lt_prog_compiler_static_CXX
='-non_shared'
12592 case $cc_basename in
12594 # Sun C++ 4.2, 5.x and Centerline C++
12595 lt_prog_compiler_pic_CXX
='-KPIC'
12596 lt_prog_compiler_static_CXX
='-Bstatic'
12597 lt_prog_compiler_wl_CXX
='-Qoption ld '
12600 # Green Hills C++ Compiler
12601 lt_prog_compiler_pic_CXX
='-PIC'
12608 case $cc_basename in
12611 lt_prog_compiler_pic_CXX
='-pic'
12612 lt_prog_compiler_static_CXX
='-Bstatic'
12616 lt_prog_compiler_pic_CXX
='-pic'
12623 case $cc_basename in
12625 # NonStop-UX NCC 3.20
12626 lt_prog_compiler_pic_CXX
='-KPIC'
12632 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12633 case $cc_basename in
12635 lt_prog_compiler_wl_CXX
='-Wl,'
12636 lt_prog_compiler_pic_CXX
='-KPIC'
12637 lt_prog_compiler_static_CXX
='-Bstatic'
12644 lt_prog_compiler_can_build_shared_CXX
=no
12649 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12650 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12653 # Check to make sure the PIC flag actually works.
12655 if test -n "$lt_prog_compiler_pic_CXX"; then
12657 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12658 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12659 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 lt_cv_prog_compiler_pic_works_CXX
=no
12663 ac_outfile
=conftest.
$ac_objext
12664 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12665 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12666 # Insert the option either (1) after the last *FLAGS variable, or
12667 # (2) before a word containing "conftest.", or (3) at the end.
12668 # Note that $ac_compile itself does not contain backslashes and begins
12669 # with a dollar sign (not a hyphen), so the echo should work correctly.
12670 # The option is referenced via a variable to avoid confusing sed.
12671 lt_compile
=`echo "$ac_compile" | $SED \
12672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12674 -e 's:$: $lt_compiler_flag:'`
12675 (eval echo "\"\$as_me:12675: $lt_compile\"" >&5)
12676 (eval "$lt_compile" 2>conftest.err
)
12678 cat conftest.err
>&5
12679 echo "$as_me:12679: \$? = $ac_status" >&5
12680 if (exit $ac_status) && test -s "$ac_outfile"; then
12681 # The compiler can only warn and ignore the option if not recognized
12682 # So say no if there are warnings other than the usual output.
12683 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12685 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12686 lt_cv_prog_compiler_pic_works_CXX
=yes
12692 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12693 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12695 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12696 case $lt_prog_compiler_pic_CXX in
12698 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12701 lt_prog_compiler_pic_CXX
=
12702 lt_prog_compiler_can_build_shared_CXX
=no
12707 # For platforms which do not support PIC, -DPIC is meaningless:
12709 lt_prog_compiler_pic_CXX
=
12712 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12717 # Check to make sure the static flag actually works.
12719 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12720 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12721 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12722 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 lt_cv_prog_compiler_static_works_CXX
=no
12726 save_LDFLAGS
="$LDFLAGS"
12727 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12728 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12729 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12730 # The linker can only warn and ignore the option if not recognized
12731 # So say no if there are warnings
12732 if test -s conftest.err
; then
12733 # Append any errors to the config.log.
12734 cat conftest.err
1>&5
12735 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12736 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12737 if diff conftest.exp conftest.er2
>/dev
/null
; then
12738 lt_cv_prog_compiler_static_works_CXX
=yes
12741 lt_cv_prog_compiler_static_works_CXX
=yes
12745 LDFLAGS
="$save_LDFLAGS"
12748 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12749 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12751 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12754 lt_prog_compiler_static_CXX
=
12758 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12759 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12760 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 lt_cv_prog_compiler_c_o_CXX
=no
12764 $rm -r conftest
2>/dev
/null
12768 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12770 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12771 # Insert the option either (1) after the last *FLAGS variable, or
12772 # (2) before a word containing "conftest.", or (3) at the end.
12773 # Note that $ac_compile itself does not contain backslashes and begins
12774 # with a dollar sign (not a hyphen), so the echo should work correctly.
12775 lt_compile
=`echo "$ac_compile" | $SED \
12776 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12777 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12778 -e 's:$: $lt_compiler_flag:'`
12779 (eval echo "\"\$as_me:12779: $lt_compile\"" >&5)
12780 (eval "$lt_compile" 2>out
/conftest.err
)
12782 cat out
/conftest.err
>&5
12783 echo "$as_me:12783: \$? = $ac_status" >&5
12784 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12786 # The compiler can only warn and ignore the option if not recognized
12787 # So say no if there are warnings
12788 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12789 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12790 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12791 lt_cv_prog_compiler_c_o_CXX
=yes
12796 # SGI C++ compiler will create directory out/ii_files/ for
12797 # template instantiation
12798 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12799 $rm out
/* && rmdir out
12805 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12806 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12809 hard_links
="nottested"
12810 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12811 # do not overwrite the value of need_locks provided by the user
12812 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12813 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12816 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12818 ln conftest.a conftest.b
2>&5 || hard_links
=no
12819 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12820 { echo "$as_me:$LINENO: result: $hard_links" >&5
12821 echo "${ECHO_T}$hard_links" >&6; }
12822 if test "$hard_links" = no
; then
12823 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12824 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12831 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12832 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12834 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12837 # If we're using GNU nm, then we don't want the "-C" option.
12838 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12839 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12840 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'
12842 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'
12846 export_symbols_cmds_CXX
="$ltdll_cmds"
12849 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'
12851 linux
* | k
*bsd
*-gnu)
12852 link_all_deplibs_CXX
=no
12855 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12858 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12860 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12861 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12862 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12865 # Do we need to explicitly link libc?
12867 case "x$archive_cmds_need_lc_CXX" in
12869 # Assume -lc should be added
12870 archive_cmds_need_lc_CXX
=yes
12872 if test "$enable_shared" = yes && test "$GCC" = yes; then
12873 case $archive_cmds_CXX in
12875 # FIXME: we may have to deal with multi-command sequences.
12878 # Test whether the compiler implicitly links with -lc since on some
12879 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12880 # to ld, don't add -lc before -lgcc.
12881 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12882 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12884 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12887 (eval $ac_compile) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } 2>conftest.err
; then
12893 libobjs
=conftest.
$ac_objext
12895 wl
=$lt_prog_compiler_wl_CXX
12896 pic_flag
=$lt_prog_compiler_pic_CXX
12902 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12903 allow_undefined_flag_CXX
=
12904 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12905 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }
12910 archive_cmds_need_lc_CXX
=no
12912 archive_cmds_need_lc_CXX
=yes
12914 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12916 cat conftest.err
1>&5
12919 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12920 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12927 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12928 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12929 library_names_spec
=
12930 libname_spec
='lib$name'
12934 postuninstall_cmds
=
12938 shlibpath_overrides_runpath
=unknown
12940 dynamic_linker
="$host_os ld.so"
12941 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12943 need_lib_prefix
=unknown
12944 hardcode_into_libs
=no
12946 # when you set need_version to no, make sure it does not cause -set_version
12947 # flags to be left without arguments
12948 need_version
=unknown
12953 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12954 shlibpath_var
=LIBPATH
12956 # AIX 3 has no versioning support, so we append a major version to the name.
12957 soname_spec
='${libname}${release}${shared_ext}$major'
12964 hardcode_into_libs
=yes
12965 if test "$host_cpu" = ia64
; then
12966 # AIX 5 supports IA64
12967 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12968 shlibpath_var
=LD_LIBRARY_PATH
12970 # With GCC up to 2.95.x, collect2 would create an import file
12971 # for dependence libraries. The import file would start with
12972 # the line `#! .'. This would cause the generated library to
12973 # depend on `.', always an invalid library. This was fixed in
12974 # development snapshots of GCC prior to 3.0.
12976 aix4 | aix4.
[01] | aix4.
[01].
*)
12977 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12979 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12982 can_build_shared
=no
12986 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12987 # soname into executable. Probably we can add versioning support to
12988 # collect2, so additional links can be useful in future.
12989 if test "$aix_use_runtimelinking" = yes; then
12990 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12991 # instead of lib<name>.a to let people know that these are not
12992 # typical AIX shared libraries.
12993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12995 # We preserve .a as extension for shared libraries through AIX4.2
12996 # and later when we are not doing run time linking.
12997 library_names_spec
='${libname}${release}.a $libname.a'
12998 soname_spec
='${libname}${release}${shared_ext}$major'
13000 shlibpath_var
=LIBPATH
13005 library_names_spec
='$libname.ixlibrary $libname.a'
13006 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13007 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'
13011 library_names_spec
='${libname}${shared_ext}'
13012 dynamic_linker
="$host_os ld.so"
13013 shlibpath_var
=LIBRARY_PATH
13019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13020 soname_spec
='${libname}${release}${shared_ext}$major'
13021 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13022 shlibpath_var
=LD_LIBRARY_PATH
13023 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13024 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13025 # the default ld.so.conf also contains /usr/contrib/lib and
13026 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13027 # libtool to hard-code these into programs
13030 cygwin
* | mingw
* | pw32
*)
13031 version_type
=windows
13036 case $GCC,$host_os in
13037 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13038 library_names_spec
='$libname.dll.a'
13039 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13040 postinstall_cmds
='base_file=`basename \${file}`~
13041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13042 dldir=$destdir/`dirname \$dlpath`~
13043 test -d \$dldir || mkdir -p \$dldir~
13044 $install_prog $dir/$dlname \$dldir/$dlname~
13045 chmod a+x \$dldir/$dlname'
13046 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13047 dlpath=$dir/\$dldll~
13049 shlibpath_overrides_runpath
=yes
13053 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13054 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13055 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13058 # MinGW DLLs use traditional 'lib' prefix
13059 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13060 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13061 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13062 # It is most probably a Windows format PATH printed by
13063 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13064 # path with ; separators, and with drive letters. We can handle the
13065 # drive letters (cygwin fileutils understands them), so leave them,
13066 # especially as we might pass files found there to a mingw objdump,
13067 # which wouldn't understand a cygwinified path. Ahh.
13068 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13070 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13074 # pw32 DLLs use 'pw' prefix rather than 'lib'
13075 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13081 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13084 dynamic_linker
='Win32 ld.exe'
13085 # FIXME: first we should search . and the directory the executable is in
13089 darwin
* | rhapsody
*)
13090 dynamic_linker
="$host_os dyld"
13091 version_type
=darwin
13094 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13095 soname_spec
='${libname}${release}${major}$shared_ext'
13096 shlibpath_overrides_runpath
=yes
13097 shlibpath_var
=DYLD_LIBRARY_PATH
13098 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13100 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13108 soname_spec
='${libname}${release}${shared_ext}$major'
13109 shlibpath_var
=LD_LIBRARY_PATH
13116 freebsd
* | dragonfly
*)
13117 # DragonFly does not have aout. When/if they implement a new
13118 # versioning mechanism, adjust this.
13119 if test -x /usr
/bin
/objformat
; then
13120 objformat
=`/usr/bin/objformat`
13123 freebsd
[123]*) objformat
=aout
;;
13124 *) objformat
=elf
;;
13127 version_type
=freebsd-
$objformat
13128 case $version_type in
13130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13135 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13139 shlibpath_var
=LD_LIBRARY_PATH
13142 shlibpath_overrides_runpath
=yes
13144 freebsd3.
[01]* | freebsdelf3.
[01]*)
13145 shlibpath_overrides_runpath
=yes
13146 hardcode_into_libs
=yes
13148 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13149 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13150 shlibpath_overrides_runpath
=no
13151 hardcode_into_libs
=yes
13153 *) # from 4.6 on, and DragonFly
13154 shlibpath_overrides_runpath
=yes
13155 hardcode_into_libs
=yes
13164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13165 soname_spec
='${libname}${release}${shared_ext}$major'
13166 shlibpath_var
=LD_LIBRARY_PATH
13167 hardcode_into_libs
=yes
13170 hpux9
* | hpux10
* | hpux11
*)
13171 # Give a soname corresponding to the major version so that dld.sl refuses to
13172 # link against other versions.
13179 hardcode_into_libs
=yes
13180 dynamic_linker
="$host_os dld.so"
13181 shlibpath_var
=LD_LIBRARY_PATH
13182 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13184 soname_spec
='${libname}${release}${shared_ext}$major'
13185 if test "X$HPUX_IA64_MODE" = X32
; then
13186 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13188 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13190 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13194 hardcode_into_libs
=yes
13195 dynamic_linker
="$host_os dld.sl"
13196 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13197 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13199 soname_spec
='${libname}${release}${shared_ext}$major'
13200 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13201 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13205 dynamic_linker
="$host_os dld.sl"
13206 shlibpath_var
=SHLIB_PATH
13207 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13209 soname_spec
='${libname}${release}${shared_ext}$major'
13212 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13213 postinstall_cmds
='chmod 555 $lib'
13220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13221 soname_spec
='${libname}${release}${shared_ext}$major'
13222 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13223 shlibpath_var
=LD_LIBRARY_PATH
13224 shlibpath_overrides_runpath
=no
13225 hardcode_into_libs
=yes
13228 irix5
* | irix6
* | nonstopux
*)
13230 nonstopux
*) version_type
=nonstopux
;;
13232 if test "$lt_cv_prog_gnu_ld" = yes; then
13240 soname_spec
='${libname}${release}${shared_ext}$major'
13241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13243 irix5
* | nonstopux
*)
13244 libsuff
= shlibsuff
=
13247 case $LD in # libtool.m4 will add one of these switches to LD
13248 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13249 libsuff
= shlibsuff
= libmagic
=32-bit;;
13250 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13251 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13252 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13253 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13254 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13258 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13259 shlibpath_overrides_runpath
=no
13260 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13261 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13262 hardcode_into_libs
=yes
13265 # No shared lib support for Linux oldld, aout, or coff.
13266 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13270 # This must be Linux ELF.
13271 linux
* | k
*bsd
*-gnu)
13275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13276 soname_spec
='${libname}${release}${shared_ext}$major'
13277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13278 shlibpath_var
=LD_LIBRARY_PATH
13279 shlibpath_overrides_runpath
=no
13280 # This implies no fast_install, which is unacceptable.
13281 # Some rework will be needed to allow for fast_install
13282 # before this can be enabled.
13283 hardcode_into_libs
=yes
13285 # Append ld.so.conf contents to the search path
13286 if test -f /etc
/ld.so.conf
; then
13287 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13288 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13291 # We used to test for /lib/ld.so.1 and disable shared libraries on
13292 # powerpc, because MkLinux only supported shared libraries with the
13293 # GNU dynamic linker. Since this was broken with cross compilers,
13294 # most powerpc-linux boxes support dynamic linking these days and
13295 # people can always --disable-shared, the test was removed, and we
13296 # assume the GNU/Linux dynamic linker is in use.
13297 dynamic_linker
='GNU/Linux ld.so'
13304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13305 soname_spec
='${libname}${release}${shared_ext}$major'
13306 shlibpath_var
=LD_LIBRARY_PATH
13307 shlibpath_overrides_runpath
=no
13308 hardcode_into_libs
=yes
13309 dynamic_linker
='NetBSD ld.elf_so'
13316 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13318 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13319 dynamic_linker
='NetBSD (a.out) ld.so'
13321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13322 soname_spec
='${libname}${release}${shared_ext}$major'
13323 dynamic_linker
='NetBSD ld.elf_so'
13325 shlibpath_var
=LD_LIBRARY_PATH
13326 shlibpath_overrides_runpath
=yes
13327 hardcode_into_libs
=yes
13332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13333 shlibpath_var
=LD_LIBRARY_PATH
13334 shlibpath_overrides_runpath
=yes
13341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13342 soname_spec
='${libname}${release}${shared_ext}$major'
13343 shlibpath_var
=LD_LIBRARY_PATH
13344 shlibpath_overrides_runpath
=yes
13349 sys_lib_dlsearch_path_spec
="/usr/lib"
13351 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13353 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13354 *) need_version
=no
;;
13356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13358 shlibpath_var
=LD_LIBRARY_PATH
13359 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13361 openbsd2.
[89] | openbsd2.
[89].
*)
13362 shlibpath_overrides_runpath
=no
13365 shlibpath_overrides_runpath
=yes
13369 shlibpath_overrides_runpath
=yes
13374 libname_spec
='$name'
13377 library_names_spec
='$libname${shared_ext} $libname.a'
13378 dynamic_linker
='OS/2 ld.exe'
13379 shlibpath_var
=LIBPATH
13382 osf3
* | osf4
* | osf5
*)
13386 soname_spec
='${libname}${release}${shared_ext}$major'
13387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13388 shlibpath_var
=LD_LIBRARY_PATH
13389 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13390 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13402 soname_spec
='${libname}${release}${shared_ext}$major'
13403 shlibpath_var
=LD_LIBRARY_PATH
13404 shlibpath_overrides_runpath
=yes
13405 hardcode_into_libs
=yes
13406 # ldd complains unless libraries are executable
13407 postinstall_cmds
='chmod +x $lib'
13412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13413 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13414 shlibpath_var
=LD_LIBRARY_PATH
13415 shlibpath_overrides_runpath
=yes
13416 if test "$with_gnu_ld" = yes; then
13424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13425 soname_spec
='${libname}${release}${shared_ext}$major'
13426 shlibpath_var
=LD_LIBRARY_PATH
13427 case $host_vendor in
13429 shlibpath_overrides_runpath
=no
13431 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13432 runpath_var
=LD_RUN_PATH
13440 shlibpath_overrides_runpath
=no
13441 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13447 if test -d /usr
/nec
;then
13449 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13450 soname_spec
='$libname${shared_ext}.$major'
13451 shlibpath_var
=LD_LIBRARY_PATH
13455 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13456 version_type
=freebsd-elf
13459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13460 soname_spec
='${libname}${release}${shared_ext}$major'
13461 shlibpath_var
=LD_LIBRARY_PATH
13462 hardcode_into_libs
=yes
13463 if test "$with_gnu_ld" = yes; then
13464 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13465 shlibpath_overrides_runpath
=no
13467 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13468 shlibpath_overrides_runpath
=yes
13471 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13475 sys_lib_dlsearch_path_spec
='/usr/lib'
13480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13481 soname_spec
='${libname}${release}${shared_ext}$major'
13482 shlibpath_var
=LD_LIBRARY_PATH
13489 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13490 echo "${ECHO_T}$dynamic_linker" >&6; }
13491 test "$dynamic_linker" = no
&& can_build_shared
=no
13493 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13496 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13499 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13500 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13506 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13508 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13509 if test "$GCC" = yes; then
13510 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13513 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13514 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13515 hardcode_action_CXX
=
13516 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13517 test -n "$runpath_var_CXX" || \
13518 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13520 # We can hardcode non-existant directories.
13521 if test "$hardcode_direct_CXX" != no
&&
13522 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13523 # have to relink, otherwise we might link with an installed library
13524 # when we should be linking with a yet-to-be-installed one
13525 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13526 test "$hardcode_minus_L_CXX" != no
; then
13527 # Linking always hardcodes the temporary library directory.
13528 hardcode_action_CXX
=relink
13530 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13531 hardcode_action_CXX
=immediate
13534 # We cannot hardcode anything, or else we can only hardcode existing
13536 hardcode_action_CXX
=unsupported
13538 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13539 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13541 if test "$hardcode_action_CXX" = relink
; then
13542 # Fast installation is not supported
13543 enable_fast_install
=no
13544 elif test "$shlibpath_overrides_runpath" = yes ||
13545 test "$enable_shared" = no
; then
13546 # Fast installation is not necessary
13547 enable_fast_install
=needless
13551 # The else clause should only fire when bootstrapping the
13552 # libtool distribution, otherwise you forgot to ship ltmain.sh
13553 # with your package, and you will get complaints that there are
13554 # no rules to generate ltmain.sh.
13555 if test -f "$ltmain"; then
13556 # See if we are running on zsh, and set the options which allow our commands through
13557 # without removal of \ escapes.
13558 if test -n "${ZSH_VERSION+set}" ; then
13559 setopt NO_GLOB_SUBST
13561 # Now quote all the things that may contain metacharacters while being
13562 # careful not to overquote the AC_SUBSTed values. We take copies of the
13563 # variables and quote the copies for generation of the libtool script.
13564 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13566 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13567 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13568 deplibs_check_method reload_flag reload_cmds need_locks \
13569 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13570 lt_cv_sys_global_symbol_to_c_name_address \
13571 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13572 old_postinstall_cmds old_postuninstall_cmds \
13576 lt_prog_compiler_wl_CXX \
13577 lt_prog_compiler_pic_CXX \
13578 lt_prog_compiler_static_CXX \
13579 lt_prog_compiler_no_builtin_flag_CXX \
13580 export_dynamic_flag_spec_CXX \
13581 thread_safe_flag_spec_CXX \
13582 whole_archive_flag_spec_CXX \
13583 enable_shared_with_static_runtimes_CXX \
13584 old_archive_cmds_CXX \
13585 old_archive_from_new_cmds_CXX \
13586 predep_objects_CXX \
13587 postdep_objects_CXX \
13590 compiler_lib_search_path_CXX \
13591 compiler_lib_search_dirs_CXX \
13593 archive_expsym_cmds_CXX \
13594 postinstall_cmds_CXX \
13595 postuninstall_cmds_CXX \
13596 old_archive_from_expsyms_cmds_CXX \
13597 allow_undefined_flag_CXX \
13598 no_undefined_flag_CXX \
13599 export_symbols_cmds_CXX \
13600 hardcode_libdir_flag_spec_CXX \
13601 hardcode_libdir_flag_spec_ld_CXX \
13602 hardcode_libdir_separator_CXX \
13603 hardcode_automatic_CXX \
13605 module_expsym_cmds_CXX \
13606 lt_cv_prog_compiler_c_o_CXX \
13607 fix_srcfile_path_CXX \
13608 exclude_expsyms_CXX \
13609 include_expsyms_CXX
; do
13612 old_archive_cmds_CXX | \
13613 old_archive_from_new_cmds_CXX | \
13614 archive_cmds_CXX | \
13615 archive_expsym_cmds_CXX | \
13616 module_cmds_CXX | \
13617 module_expsym_cmds_CXX | \
13618 old_archive_from_expsyms_cmds_CXX | \
13619 export_symbols_cmds_CXX | \
13620 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13621 postinstall_cmds | postuninstall_cmds | \
13622 old_postinstall_cmds | old_postuninstall_cmds | \
13623 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13624 # Double-quote double-evaled strings.
13625 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13628 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13634 *'\$0 --fallback-echo"')
13635 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13641 cat <<__EOF__ >> "$cfgfile"
13642 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13644 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13646 # Shell to use when invoking shell scripts.
13649 # Whether or not to build shared libraries.
13650 build_libtool_libs=$enable_shared
13652 # Whether or not to build static libraries.
13653 build_old_libs=$enable_static
13655 # Whether or not to add -lc for building shared libraries.
13656 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13658 # Whether or not to disallow shared libs when runtime libs are static
13659 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13661 # Whether or not to optimize for fast installation.
13662 fast_install=$enable_fast_install
13665 host_alias=$host_alias
13669 # The build system.
13670 build_alias=$build_alias
13674 # An echo program that does not interpret backslashes.
13679 AR_FLAGS=$lt_AR_FLAGS
13684 # LTCC compiler flags.
13685 LTCFLAGS=$lt_LTCFLAGS
13687 # A language-specific compiler.
13688 CC=$lt_compiler_CXX
13690 # Is the compiler the GNU C compiler?
13696 # The linker used to build libraries.
13699 # Whether we need hard or soft links.
13702 # A BSD-compatible nm program.
13705 # A symbol stripping program
13708 # Used to examine libraries when file_magic_cmd begins "file"
13709 MAGIC_CMD=$MAGIC_CMD
13711 # Used on cygwin: DLL creation program.
13714 # Used on cygwin: object dumper.
13717 # Used on cygwin: assembler.
13720 # The name of the directory that contains temporary libtool files.
13723 # How to create reloadable object files.
13724 reload_flag=$lt_reload_flag
13725 reload_cmds=$lt_reload_cmds
13727 # How to pass a linker flag through the compiler.
13728 wl=$lt_lt_prog_compiler_wl_CXX
13730 # Object file suffix (normally "o").
13731 objext="$ac_objext"
13733 # Old archive suffix (normally "a").
13736 # Shared library suffix (normally ".so").
13737 shrext_cmds='$shrext_cmds'
13739 # Executable file suffix (normally "").
13742 # Additional compiler flags for building library objects.
13743 pic_flag=$lt_lt_prog_compiler_pic_CXX
13746 # What is the maximum length of a command?
13747 max_cmd_len=$lt_cv_sys_max_cmd_len
13749 # Does compiler simultaneously support -c and -o options?
13750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13752 # Must we lock files when doing compilation?
13753 need_locks=$lt_need_locks
13755 # Do we need the lib prefix for modules?
13756 need_lib_prefix=$need_lib_prefix
13758 # Do we need a version for libraries?
13759 need_version=$need_version
13761 # Whether dlopen is supported.
13762 dlopen_support=$enable_dlopen
13764 # Whether dlopen of programs is supported.
13765 dlopen_self=$enable_dlopen_self
13767 # Whether dlopen of statically linked programs is supported.
13768 dlopen_self_static=$enable_dlopen_self_static
13770 # Compiler flag to prevent dynamic linking.
13771 link_static_flag=$lt_lt_prog_compiler_static_CXX
13773 # Compiler flag to turn off builtin functions.
13774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13776 # Compiler flag to allow reflexive dlopens.
13777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13779 # Compiler flag to generate shared objects directly from archives.
13780 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13782 # Compiler flag to generate thread-safe objects.
13783 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13785 # Library versioning type.
13786 version_type=$version_type
13788 # Format of library name prefix.
13789 libname_spec=$lt_libname_spec
13791 # List of archive names. First name is the real one, the rest are links.
13792 # The last name is the one that the linker finds with -lNAME.
13793 library_names_spec=$lt_library_names_spec
13795 # The coded name of the library, if different from the real name.
13796 soname_spec=$lt_soname_spec
13798 # Commands used to build and install an old-style archive.
13800 old_archive_cmds=$lt_old_archive_cmds_CXX
13801 old_postinstall_cmds=$lt_old_postinstall_cmds
13802 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13804 # Create an old-style archive from a shared archive.
13805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13807 # Create a temporary old-style archive to link instead of a shared archive.
13808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13810 # Commands used to build and install a shared archive.
13811 archive_cmds=$lt_archive_cmds_CXX
13812 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13813 postinstall_cmds=$lt_postinstall_cmds
13814 postuninstall_cmds=$lt_postuninstall_cmds
13816 # Commands used to build a loadable module (assumed same as above if empty)
13817 module_cmds=$lt_module_cmds_CXX
13818 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13820 # Commands to strip libraries.
13821 old_striplib=$lt_old_striplib
13822 striplib=$lt_striplib
13824 # Dependencies to place before the objects being linked to create a
13826 predep_objects=$lt_predep_objects_CXX
13828 # Dependencies to place after the objects being linked to create a
13830 postdep_objects=$lt_postdep_objects_CXX
13832 # Dependencies to place before the objects being linked to create a
13834 predeps=$lt_predeps_CXX
13836 # Dependencies to place after the objects being linked to create a
13838 postdeps=$lt_postdeps_CXX
13840 # The directories searched by this compiler when creating a shared
13842 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13844 # The library search path used internally by the compiler when linking
13845 # a shared library.
13846 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13848 # Method to check whether dependent libraries are shared objects.
13849 deplibs_check_method=$lt_deplibs_check_method
13851 # Command to use when deplibs_check_method == file_magic.
13852 file_magic_cmd=$lt_file_magic_cmd
13854 # Flag that allows shared libraries with undefined symbols to be built.
13855 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13857 # Flag that forces no undefined symbols.
13858 no_undefined_flag=$lt_no_undefined_flag_CXX
13860 # Commands used to finish a libtool library installation in a directory.
13861 finish_cmds=$lt_finish_cmds
13863 # Same as above, but a single script fragment to be evaled but not shown.
13864 finish_eval=$lt_finish_eval
13866 # Take the output of nm and produce a listing of raw symbols and C names.
13867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13869 # Transform the output of nm in a proper C declaration
13870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13872 # Transform the output of nm in a C name address pair
13873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13875 # This is the shared library runtime path variable.
13876 runpath_var=$runpath_var
13878 # This is the shared library path variable.
13879 shlibpath_var=$shlibpath_var
13881 # Is shlibpath searched before the hard-coded library search path?
13882 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13884 # How to hardcode a shared library path into an executable.
13885 hardcode_action=$hardcode_action_CXX
13887 # Whether we should hardcode library paths into libraries.
13888 hardcode_into_libs=$hardcode_into_libs
13890 # Flag to hardcode \$libdir into a binary during linking.
13891 # This must work even if \$libdir does not exist.
13892 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13894 # If ld is used when linking, flag to hardcode \$libdir into
13895 # a binary during linking. This must work even if \$libdir does
13897 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13899 # Whether we need a single -rpath flag with a separated argument.
13900 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13902 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13903 # resulting binary.
13904 hardcode_direct=$hardcode_direct_CXX
13906 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13907 # resulting binary.
13908 hardcode_minus_L=$hardcode_minus_L_CXX
13910 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13911 # the resulting binary.
13912 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13914 # Set to yes if building a shared library automatically hardcodes DIR into the library
13915 # and all subsequent libraries and executables linked against it.
13916 hardcode_automatic=$hardcode_automatic_CXX
13918 # Variables whose values should be saved in libtool wrapper scripts and
13919 # restored at relink time.
13920 variables_saved_for_relink="$variables_saved_for_relink"
13922 # Whether libtool must link a program against all its dependency libraries.
13923 link_all_deplibs=$link_all_deplibs_CXX
13925 # Compile-time system search path for libraries
13926 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13928 # Run-time system search path for libraries
13929 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13931 # Fix the shell variable \$srcfile for the compiler.
13932 fix_srcfile_path=$lt_fix_srcfile_path
13934 # Set to yes if exported symbols are required.
13935 always_export_symbols=$always_export_symbols_CXX
13937 # The commands to list exported symbols.
13938 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13940 # The commands to extract the exported symbol list from a shared archive.
13941 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13943 # Symbols that should not be listed in the preloaded symbols.
13944 exclude_expsyms=$lt_exclude_expsyms_CXX
13946 # Symbols that must always be exported.
13947 include_expsyms=$lt_include_expsyms_CXX
13949 # ### END LIBTOOL TAG CONFIG: $tagname
13955 # If there is no Makefile yet, we rely on a make rule to execute
13956 # `config.status --recheck' to rerun these tests and create the
13957 # libtool script then.
13958 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13959 if test -f "$ltmain_in"; then
13960 test -f Makefile
&& make "$ltmain"
13966 ac_cpp
='$CPP $CPPFLAGS'
13967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13975 with_gnu_ldcxx
=$with_gnu_ld
13976 with_gnu_ld
=$lt_save_with_gnu_ld
13977 lt_cv_path_LDCXX
=$lt_cv_path_LD
13978 lt_cv_path_LD
=$lt_save_path_LD
13979 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13980 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13988 if test -n "$F77" && test "X$F77" != "Xno"; then
13991 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13992 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13993 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13996 archive_cmds_need_lc_F77
=no
13997 allow_undefined_flag_F77
=
13998 always_export_symbols_F77
=no
13999 archive_expsym_cmds_F77
=
14000 export_dynamic_flag_spec_F77
=
14001 hardcode_direct_F77
=no
14002 hardcode_libdir_flag_spec_F77
=
14003 hardcode_libdir_flag_spec_ld_F77
=
14004 hardcode_libdir_separator_F77
=
14005 hardcode_minus_L_F77
=no
14006 hardcode_automatic_F77
=no
14008 module_expsym_cmds_F77
=
14009 link_all_deplibs_F77
=unknown
14010 old_archive_cmds_F77
=$old_archive_cmds
14011 no_undefined_flag_F77
=
14012 whole_archive_flag_spec_F77
=
14013 enable_shared_with_static_runtimes_F77
=no
14015 # Source file extension for f77 test sources.
14018 # Object file extension for compiled f77 test sources.
14022 # Code to be used in simple compile tests
14023 lt_simple_compile_test_code
="\
14029 # Code to be used in simple link tests
14030 lt_simple_link_test_code
="\
14035 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14037 # If no C compiler was specified, use CC.
14040 # If no C compiler flags were specified, use CFLAGS.
14041 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14043 # Allow CC to be a program name with arguments.
14047 # save warnings/boilerplate of simple test code
14048 ac_outfile
=conftest.
$ac_objext
14049 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14050 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14051 _lt_compiler_boilerplate
=`cat conftest.err`
14054 ac_outfile
=conftest.
$ac_objext
14055 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14056 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14057 _lt_linker_boilerplate
=`cat conftest.err`
14061 # Allow CC to be a program name with arguments.
14066 for cc_temp
in $compiler""; do
14068 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14069 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14074 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14077 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14078 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14079 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14080 echo "${ECHO_T}$can_build_shared" >&6; }
14082 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14083 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14084 test "$can_build_shared" = "no" && enable_shared
=no
14086 # On AIX, shared libraries and static libraries use the same namespace, and
14087 # are all built from PIC.
14090 test "$enable_shared" = yes && enable_static
=no
14091 if test -n "$RANLIB"; then
14092 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14093 postinstall_cmds
='$RANLIB $lib'
14097 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14098 test "$enable_shared" = yes && enable_static
=no
14102 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14103 echo "${ECHO_T}$enable_shared" >&6; }
14105 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14106 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14107 # Make sure either enable_shared or enable_static is yes.
14108 test "$enable_shared" = yes || enable_static
=yes
14109 { echo "$as_me:$LINENO: result: $enable_static" >&5
14110 echo "${ECHO_T}$enable_static" >&6; }
14115 lt_prog_compiler_wl_F77
=
14116 lt_prog_compiler_pic_F77
=
14117 lt_prog_compiler_static_F77
=
14119 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14120 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14122 if test "$GCC" = yes; then
14123 lt_prog_compiler_wl_F77
='-Wl,'
14124 lt_prog_compiler_static_F77
='-static'
14128 # All AIX code is PIC.
14129 if test "$host_cpu" = ia64
; then
14130 # AIX 5 now supports IA64 processor
14131 lt_prog_compiler_static_F77
='-Bstatic'
14136 # FIXME: we need at least 68020 code to build shared libraries, but
14137 # adding the `-m68020' flag to GCC prevents building anything better,
14139 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14142 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14143 # PIC is the default for these OSes.
14146 mingw
* | cygwin
* | pw32
* | os2
*)
14147 # This hack is so that the source file can tell whether it is being
14148 # built for inclusion in a dll (and should export symbols for example).
14149 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14150 # (--disable-auto-import) libraries
14151 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14154 darwin
* | rhapsody
*)
14155 # PIC is the default on this platform
14156 # Common symbols not allowed in MH_DYLIB files
14157 lt_prog_compiler_pic_F77
='-fno-common'
14161 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14162 # Instead, we relocate shared libraries at runtime.
14166 # Just because we use GCC doesn't mean we suddenly get shared libraries
14167 # on systems that don't support them.
14168 lt_prog_compiler_can_build_shared_F77
=no
14173 if test -d /usr
/nec
; then
14174 lt_prog_compiler_pic_F77
=-Kconform_pic
14179 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14180 # not for PA HP-UX.
14186 lt_prog_compiler_pic_F77
='-fPIC'
14192 lt_prog_compiler_pic_F77
='-fPIC'
14196 # PORTME Check for flag to pass linker flags through the system compiler.
14199 lt_prog_compiler_wl_F77
='-Wl,'
14200 if test "$host_cpu" = ia64
; then
14201 # AIX 5 now supports IA64 processor
14202 lt_prog_compiler_static_F77
='-Bstatic'
14204 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14208 # PIC is the default on this platform
14209 # Common symbols not allowed in MH_DYLIB files
14210 case $cc_basename in
14212 lt_prog_compiler_pic_F77
='-qnocommon'
14213 lt_prog_compiler_wl_F77
='-Wl,'
14218 mingw
* | cygwin
* | pw32
* | os2
*)
14219 # This hack is so that the source file can tell whether it is being
14220 # built for inclusion in a dll (and should export symbols for example).
14221 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14224 hpux9
* | hpux10
* | hpux11
*)
14225 lt_prog_compiler_wl_F77
='-Wl,'
14226 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14227 # not for PA HP-UX.
14233 lt_prog_compiler_pic_F77
='+Z'
14236 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14237 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14240 irix5
* | irix6
* | nonstopux
*)
14241 lt_prog_compiler_wl_F77
='-Wl,'
14242 # PIC (with -KPIC) is the default.
14243 lt_prog_compiler_static_F77
='-non_shared'
14247 lt_prog_compiler_pic_F77
='-KPIC'
14248 lt_prog_compiler_static_F77
='-Bstatic'
14251 linux
* | k
*bsd
*-gnu)
14252 case $cc_basename in
14254 lt_prog_compiler_wl_F77
='-Wl,'
14255 lt_prog_compiler_pic_F77
='-KPIC'
14256 lt_prog_compiler_static_F77
='-static'
14258 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14259 # Portland Group compilers (*not* the Pentium gcc compiler,
14260 # which looks to be a dead project)
14261 lt_prog_compiler_wl_F77
='-Wl,'
14262 lt_prog_compiler_pic_F77
='-fpic'
14263 lt_prog_compiler_static_F77
='-Bstatic'
14266 lt_prog_compiler_wl_F77
='-Wl,'
14267 # All Alpha code is PIC.
14268 lt_prog_compiler_static_F77
='-non_shared'
14271 case `$CC -V 2>&1 | sed 5q` in
14274 lt_prog_compiler_pic_F77
='-KPIC'
14275 lt_prog_compiler_static_F77
='-Bstatic'
14276 lt_prog_compiler_wl_F77
='-Wl,'
14279 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14280 lt_prog_compiler_pic_F77
='-KPIC'
14281 lt_prog_compiler_static_F77
='-Bstatic'
14282 lt_prog_compiler_wl_F77
=''
14289 osf3
* | osf4
* | osf5
*)
14290 lt_prog_compiler_wl_F77
='-Wl,'
14291 # All OSF/1 code is PIC.
14292 lt_prog_compiler_static_F77
='-non_shared'
14296 lt_prog_compiler_static_F77
='-non_shared'
14300 lt_prog_compiler_pic_F77
='-KPIC'
14301 lt_prog_compiler_static_F77
='-Bstatic'
14302 case $cc_basename in
14303 f77
* | f90
* | f95
*)
14304 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14306 lt_prog_compiler_wl_F77
='-Wl,';;
14311 lt_prog_compiler_wl_F77
='-Qoption ld '
14312 lt_prog_compiler_pic_F77
='-PIC'
14313 lt_prog_compiler_static_F77
='-Bstatic'
14316 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14317 lt_prog_compiler_wl_F77
='-Wl,'
14318 lt_prog_compiler_pic_F77
='-KPIC'
14319 lt_prog_compiler_static_F77
='-Bstatic'
14323 if test -d /usr
/nec
;then
14324 lt_prog_compiler_pic_F77
='-Kconform_pic'
14325 lt_prog_compiler_static_F77
='-Bstatic'
14329 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14330 lt_prog_compiler_wl_F77
='-Wl,'
14331 lt_prog_compiler_pic_F77
='-KPIC'
14332 lt_prog_compiler_static_F77
='-Bstatic'
14336 lt_prog_compiler_wl_F77
='-Wl,'
14337 lt_prog_compiler_can_build_shared_F77
=no
14341 lt_prog_compiler_pic_F77
='-pic'
14342 lt_prog_compiler_static_F77
='-Bstatic'
14346 lt_prog_compiler_can_build_shared_F77
=no
14351 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14352 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14355 # Check to make sure the PIC flag actually works.
14357 if test -n "$lt_prog_compiler_pic_F77"; then
14359 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14360 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14361 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 lt_cv_prog_compiler_pic_works_F77
=no
14365 ac_outfile
=conftest.
$ac_objext
14366 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14367 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14368 # Insert the option either (1) after the last *FLAGS variable, or
14369 # (2) before a word containing "conftest.", or (3) at the end.
14370 # Note that $ac_compile itself does not contain backslashes and begins
14371 # with a dollar sign (not a hyphen), so the echo should work correctly.
14372 # The option is referenced via a variable to avoid confusing sed.
14373 lt_compile
=`echo "$ac_compile" | $SED \
14374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14376 -e 's:$: $lt_compiler_flag:'`
14377 (eval echo "\"\$as_me:14377: $lt_compile\"" >&5)
14378 (eval "$lt_compile" 2>conftest.err
)
14380 cat conftest.err
>&5
14381 echo "$as_me:14381: \$? = $ac_status" >&5
14382 if (exit $ac_status) && test -s "$ac_outfile"; then
14383 # The compiler can only warn and ignore the option if not recognized
14384 # So say no if there are warnings other than the usual output.
14385 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14386 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14387 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14388 lt_cv_prog_compiler_pic_works_F77
=yes
14394 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14395 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14397 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14398 case $lt_prog_compiler_pic_F77 in
14400 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14403 lt_prog_compiler_pic_F77
=
14404 lt_prog_compiler_can_build_shared_F77
=no
14409 # For platforms which do not support PIC, -DPIC is meaningless:
14411 lt_prog_compiler_pic_F77
=
14414 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14419 # Check to make sure the static flag actually works.
14421 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14422 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14423 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14424 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 lt_cv_prog_compiler_static_works_F77
=no
14428 save_LDFLAGS
="$LDFLAGS"
14429 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14430 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14431 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14432 # The linker can only warn and ignore the option if not recognized
14433 # So say no if there are warnings
14434 if test -s conftest.err
; then
14435 # Append any errors to the config.log.
14436 cat conftest.err
1>&5
14437 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14438 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14439 if diff conftest.exp conftest.er2
>/dev
/null
; then
14440 lt_cv_prog_compiler_static_works_F77
=yes
14443 lt_cv_prog_compiler_static_works_F77
=yes
14447 LDFLAGS
="$save_LDFLAGS"
14450 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14451 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14453 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14456 lt_prog_compiler_static_F77
=
14460 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14461 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14462 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 lt_cv_prog_compiler_c_o_F77
=no
14466 $rm -r conftest
2>/dev
/null
14470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14472 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14473 # Insert the option either (1) after the last *FLAGS variable, or
14474 # (2) before a word containing "conftest.", or (3) at the end.
14475 # Note that $ac_compile itself does not contain backslashes and begins
14476 # with a dollar sign (not a hyphen), so the echo should work correctly.
14477 lt_compile
=`echo "$ac_compile" | $SED \
14478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14480 -e 's:$: $lt_compiler_flag:'`
14481 (eval echo "\"\$as_me:14481: $lt_compile\"" >&5)
14482 (eval "$lt_compile" 2>out
/conftest.err
)
14484 cat out
/conftest.err
>&5
14485 echo "$as_me:14485: \$? = $ac_status" >&5
14486 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14488 # The compiler can only warn and ignore the option if not recognized
14489 # So say no if there are warnings
14490 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14491 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14492 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14493 lt_cv_prog_compiler_c_o_F77
=yes
14498 # SGI C++ compiler will create directory out/ii_files/ for
14499 # template instantiation
14500 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14501 $rm out
/* && rmdir out
14507 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14508 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14511 hard_links
="nottested"
14512 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14513 # do not overwrite the value of need_locks provided by the user
14514 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14515 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14518 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14520 ln conftest.a conftest.b
2>&5 || hard_links
=no
14521 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14522 { echo "$as_me:$LINENO: result: $hard_links" >&5
14523 echo "${ECHO_T}$hard_links" >&6; }
14524 if test "$hard_links" = no
; then
14525 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14526 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14533 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14534 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14537 allow_undefined_flag_F77
=
14538 enable_shared_with_static_runtimes_F77
=no
14540 archive_expsym_cmds_F77
=
14541 old_archive_From_new_cmds_F77
=
14542 old_archive_from_expsyms_cmds_F77
=
14543 export_dynamic_flag_spec_F77
=
14544 whole_archive_flag_spec_F77
=
14545 thread_safe_flag_spec_F77
=
14546 hardcode_libdir_flag_spec_F77
=
14547 hardcode_libdir_flag_spec_ld_F77
=
14548 hardcode_libdir_separator_F77
=
14549 hardcode_direct_F77
=no
14550 hardcode_minus_L_F77
=no
14551 hardcode_shlibpath_var_F77
=unsupported
14552 link_all_deplibs_F77
=unknown
14553 hardcode_automatic_F77
=no
14555 module_expsym_cmds_F77
=
14556 always_export_symbols_F77
=no
14557 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14558 # include_expsyms should be a list of space-separated symbols to be *always*
14559 # included in the symbol list
14560 include_expsyms_F77
=
14561 # exclude_expsyms can be an extended regexp of symbols to exclude
14562 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14563 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14564 # as well as any symbol that contains `d'.
14565 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14566 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14567 # platforms (ab)use it in PIC code, but their linkers get confused if
14568 # the symbol is explicitly referenced. Since portable code cannot
14569 # rely on this symbol name, it's probably fine to never include it in
14570 # preloaded symbol tables.
14571 # Exclude shared library initialization/finalization symbols.
14572 extract_expsyms_cmds
=
14573 # Just being paranoid about ensuring that cc_basename is set.
14574 for cc_temp
in $compiler""; do
14576 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14577 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14582 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14585 cygwin
* | mingw
* | pw32
*)
14586 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14587 # When not using gcc, we currently assume that we are using
14588 # Microsoft Visual C++.
14589 if test "$GCC" != yes; then
14594 # we just hope/assume this is gcc and not c89 (= MSVC++)
14603 if test "$with_gnu_ld" = yes; then
14604 # If archive_cmds runs LD, not CC, wlarc should be empty
14607 # Set some defaults for GNU ld with shared library support. These
14608 # are reset later if shared libraries are not supported. Putting them
14609 # here allows them to be overridden if necessary.
14610 runpath_var
=LD_RUN_PATH
14611 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14612 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14613 # ancient GNU ld didn't support --whole-archive et. al.
14614 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14615 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14617 whole_archive_flag_spec_F77
=
14619 supports_anon_versioning
=no
14620 case `$LD -v 2>/dev/null` in
14621 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14622 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14623 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14624 *\
2.11.
*) ;; # other 2.11 versions
14625 *) supports_anon_versioning
=yes ;;
14628 # See if GNU ld supports shared libraries.
14631 # On AIX/PPC, the GNU linker is very broken
14632 if test "$host_cpu" != ia64
; then
14636 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14637 *** to be unable to reliably create shared libraries on AIX.
14638 *** Therefore, libtool is disabling shared libraries support. If you
14639 *** really care for shared libraries, you may want to modify your PATH
14640 *** so that a non-GNU linker is found, and then restart.
14647 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)'
14648 hardcode_libdir_flag_spec_F77
='-L$libdir'
14649 hardcode_minus_L_F77
=yes
14651 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14652 # that the semantics of dynamic libraries on AmigaOS, at least up
14653 # to version 4, is to share data among multiple programs linked
14654 # with the same dynamic library. Since this doesn't match the
14655 # behavior of shared libraries on other platforms, we can't use
14661 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14662 allow_undefined_flag_F77
=unsupported
14663 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14664 # support --undefined. This deserves some investigation. FIXME
14665 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14671 cygwin
* | mingw
* | pw32
*)
14672 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14673 # as there is no search path for DLLs.
14674 hardcode_libdir_flag_spec_F77
='-L$libdir'
14675 allow_undefined_flag_F77
=unsupported
14676 always_export_symbols_F77
=no
14677 enable_shared_with_static_runtimes_F77
=yes
14678 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14680 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14681 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14682 # If the export-symbols file already is a .def file (1st line
14683 # is EXPORTS), use it as is; otherwise, prepend...
14684 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14685 cp $export_symbols $output_objdir/$soname.def;
14687 echo EXPORTS > $output_objdir/$soname.def;
14688 cat $export_symbols >> $output_objdir/$soname.def;
14690 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14697 hardcode_direct_F77
=no
14698 hardcode_shlibpath_var_F77
=no
14699 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14700 export_dynamic_flag_spec_F77
='${wl}-E'
14701 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14702 # Instead, shared libraries are loaded at an image base (0x10000000 by
14703 # default) and relocated if they conflict, which is a slow very memory
14704 # consuming and fragmenting process. To avoid this, we pick a random,
14705 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14706 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14707 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'
14708 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'
14711 gnu
* | linux
* | k
*bsd
*-gnu)
14712 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14714 case $cc_basename,$host_cpu in
14715 pgcc
*) # Portland Group C compiler
14716 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'
14717 tmp_addflag
=' $pic_flag'
14719 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14720 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'
14721 tmp_addflag
=' $pic_flag -Mnomain' ;;
14722 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14723 tmp_addflag
=' -i_dynamic' ;;
14724 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14725 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14726 ifc
* | ifort
*) # Intel Fortran compiler
14727 tmp_addflag
=' -nofor_main' ;;
14729 case `$CC -V 2>&1 | sed 5q` in
14730 *Sun\ C
*) # Sun C 5.9
14731 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14732 tmp_sharedflag
='-G' ;;
14733 *Sun\ F
*) # Sun Fortran 8.3
14734 tmp_sharedflag
='-G' ;;
14736 tmp_sharedflag
='-shared' ;;
14738 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14740 if test $supports_anon_versioning = yes; then
14741 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14742 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14743 $echo "local: *; };" >> $output_objdir/$libname.ver~
14744 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14746 link_all_deplibs_F77
=no
14752 netbsd
* | netbsdelf
*-gnu)
14753 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14754 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14757 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14758 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14763 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14767 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14768 *** create shared libraries on Solaris systems. Therefore, libtool
14769 *** is disabling shared libraries support. We urge you to upgrade GNU
14770 *** binutils to release 2.9.1 or newer. Another option is to modify
14771 *** your PATH or compiler configuration so that the native linker is
14772 *** used, and then restart.
14775 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14776 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14777 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14783 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14784 case `$LD -v 2>&1` in
14785 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14789 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14790 *** reliably create shared libraries on SCO systems. Therefore, libtool
14791 *** is disabling shared libraries support. We urge you to upgrade GNU
14792 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14793 *** your PATH or compiler configuration so that the native linker is
14794 *** used, and then restart.
14799 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14800 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14801 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14802 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14811 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14813 hardcode_direct_F77
=yes
14814 hardcode_shlibpath_var_F77
=no
14818 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14819 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14820 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14827 if test "$ld_shlibs_F77" = no
; then
14829 hardcode_libdir_flag_spec_F77
=
14830 export_dynamic_flag_spec_F77
=
14831 whole_archive_flag_spec_F77
=
14834 # PORTME fill in a description of your system's linker (not GNU ld)
14837 allow_undefined_flag_F77
=unsupported
14838 always_export_symbols_F77
=yes
14839 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'
14840 # Note: this linker hardcodes the directories in LIBPATH if there
14841 # are no directories specified by -L.
14842 hardcode_minus_L_F77
=yes
14843 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14844 # Neither direct hardcoding nor static linking is supported with a
14846 hardcode_direct_F77
=unsupported
14851 if test "$host_cpu" = ia64
; then
14852 # On IA64, the linker does run time linking by default, so we don't
14853 # have to do anything special.
14854 aix_use_runtimelinking
=no
14855 exp_sym_flag
='-Bexport'
14858 # If we're using GNU nm, then we don't want the "-C" option.
14859 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14860 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14861 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'
14863 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'
14865 aix_use_runtimelinking
=no
14867 # Test if we are trying to use run time linking or normal
14868 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14869 # need to do runtime linking.
14870 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14871 for ld_flag
in $LDFLAGS; do
14872 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14873 aix_use_runtimelinking
=yes
14880 exp_sym_flag
='-bexport'
14881 no_entry_flag
='-bnoentry'
14884 # When large executables or shared objects are built, AIX ld can
14885 # have problems creating the table of contents. If linking a library
14886 # or program results in "error TOC overflow" add -mminimal-toc to
14887 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14888 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14890 archive_cmds_F77
=''
14891 hardcode_direct_F77
=yes
14892 hardcode_libdir_separator_F77
=':'
14893 link_all_deplibs_F77
=yes
14895 if test "$GCC" = yes; then
14896 case $host_os in aix4.
[012]|aix4.
[012].
*)
14897 # We only want to do this on AIX 4.2 and lower, the check
14898 # below for broken collect2 doesn't work under 4.3+
14899 collect2name
=`${CC} -print-prog-name=collect2`
14900 if test -f "$collect2name" && \
14901 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14903 # We have reworked collect2
14906 # We have old collect2
14907 hardcode_direct_F77
=unsupported
14908 # It fails to find uninstalled libraries when the uninstalled
14909 # path is not listed in the libpath. Setting hardcode_minus_L
14910 # to unsupported forces relinking
14911 hardcode_minus_L_F77
=yes
14912 hardcode_libdir_flag_spec_F77
='-L$libdir'
14913 hardcode_libdir_separator_F77
=
14917 shared_flag
='-shared'
14918 if test "$aix_use_runtimelinking" = yes; then
14919 shared_flag
="$shared_flag "'${wl}-G'
14923 if test "$host_cpu" = ia64
; then
14924 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14925 # chokes on -Wl,-G. The following line is correct:
14928 if test "$aix_use_runtimelinking" = yes; then
14929 shared_flag
='${wl}-G'
14931 shared_flag
='${wl}-bM:SRE'
14936 # It seems that -bexpall does not export symbols beginning with
14937 # underscore (_), so it is better to generate a list of symbols to export.
14938 always_export_symbols_F77
=yes
14939 if test "$aix_use_runtimelinking" = yes; then
14940 # Warning - without using the other runtime loading flags (-brtl),
14941 # -berok will link without error, but may produce a broken library.
14942 allow_undefined_flag_F77
='-berok'
14943 # Determine the default libpath from the value encoded in an empty executable.
14944 cat >conftest.
$ac_ext <<_ACEOF
14949 rm -f conftest.
$ac_objext conftest
$ac_exeext
14950 if { (ac_try
="$ac_link"
14951 case "(($ac_try" in
14952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14953 *) ac_try_echo=$ac_try;;
14955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14956 (eval "$ac_link") 2>conftest.er1
14958 grep -v '^ *+' conftest.er1 >conftest.err
14960 cat conftest.err >&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } && {
14963 test -z "$ac_f77_werror_flag" ||
14964 test ! -s conftest.err
14965 } && test -s conftest$ac_exeext &&
14966 $as_test_x conftest$ac_exeext; then
14968 lt_aix_libpath_sed='
14969 /Import File Strings/,/^$/ {
14975 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14976 # Check for a 64-bit object if we didn't find anything.
14977 if test -z "$aix_libpath"; then
14978 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14988 conftest$ac_exeext conftest.$ac_ext
14989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14991 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14992 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"
14994 if test "$host_cpu" = ia64; then
14995 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14996 allow_undefined_flag_F77="-z nodefs"
14997 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"
14999 # Determine the default libpath from the value encoded in an empty executable.
15000 cat >conftest.$ac_ext <<_ACEOF
15005 rm -f conftest.$ac_objext conftest$ac_exeext
15006 if { (ac_try="$ac_link"
15007 case "(($ac_try" in
15008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15009 *) ac_try_echo
=$ac_try;;
15011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15012 (eval "$ac_link") 2>conftest.er1
15014 grep -v '^ *+' conftest.er1
>conftest.err
15016 cat conftest.err
>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } && {
15019 test -z "$ac_f77_werror_flag" ||
15020 test ! -s conftest.err
15021 } && test -s conftest
$ac_exeext &&
15022 $as_test_x conftest
$ac_exeext; then
15024 lt_aix_libpath_sed
='
15025 /Import File Strings/,/^$/ {
15031 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15032 # Check for a 64-bit object if we didn't find anything.
15033 if test -z "$aix_libpath"; then
15034 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.
$ac_ext >&5
15043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15044 conftest
$ac_exeext conftest.
$ac_ext
15045 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15047 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15048 # Warning - without using the other run time loading flags,
15049 # -berok will link without error, but may produce a broken library.
15050 no_undefined_flag_F77
=' ${wl}-bernotok'
15051 allow_undefined_flag_F77
=' ${wl}-berok'
15052 # Exported symbols can be pulled into shared objects from archives
15053 whole_archive_flag_spec_F77
='$convenience'
15054 archive_cmds_need_lc_F77
=yes
15055 # This is similar to how AIX traditionally builds its shared libraries.
15056 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'
15062 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)'
15063 hardcode_libdir_flag_spec_F77
='-L$libdir'
15064 hardcode_minus_L_F77
=yes
15065 # see comment about different semantics on the GNU ld section
15070 export_dynamic_flag_spec_F77
=-rdynamic
15073 cygwin
* | mingw
* | pw32
*)
15074 # When not using gcc, we currently assume that we are using
15075 # Microsoft Visual C++.
15076 # hardcode_libdir_flag_spec is actually meaningless, as there is
15077 # no search path for DLLs.
15078 hardcode_libdir_flag_spec_F77
=' '
15079 allow_undefined_flag_F77
=unsupported
15080 # Tell ltmain to make .lib files, not .a files.
15082 # Tell ltmain to make .dll files, not .so files.
15084 # FIXME: Setting linknames here is a bad hack.
15085 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15086 # The linker will automatically build a .lib file if we build a DLL.
15087 old_archive_From_new_cmds_F77
='true'
15088 # FIXME: Should let the user specify the lib program.
15089 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15090 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15091 enable_shared_with_static_runtimes_F77
=yes
15094 darwin
* | rhapsody
*)
15096 rhapsody
* | darwin1.
[012])
15097 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15100 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15101 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15103 case ${MACOSX_DEPLOYMENT_TARGET} in
15105 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15108 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15114 archive_cmds_need_lc_F77
=no
15115 hardcode_direct_F77
=no
15116 hardcode_automatic_F77
=yes
15117 hardcode_shlibpath_var_F77
=unsupported
15118 whole_archive_flag_spec_F77
=''
15119 link_all_deplibs_F77
=yes
15120 if test "$GCC" = yes ; then
15121 output_verbose_link_cmd
='echo'
15122 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15123 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15124 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15125 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15127 case $cc_basename in
15129 output_verbose_link_cmd
='echo'
15130 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15131 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15132 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15133 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15134 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}'
15144 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15145 hardcode_libdir_flag_spec_F77
='-L$libdir'
15146 hardcode_shlibpath_var_F77
=no
15153 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15154 # support. Future versions do this automatically, but an explicit c++rt0.o
15155 # does not break anything, and helps significantly (at the cost of a little
15158 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15159 hardcode_libdir_flag_spec_F77
='-R$libdir'
15160 hardcode_direct_F77
=yes
15161 hardcode_shlibpath_var_F77
=no
15164 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15166 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15167 hardcode_direct_F77
=yes
15168 hardcode_minus_L_F77
=yes
15169 hardcode_shlibpath_var_F77
=no
15172 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15173 freebsd
* | dragonfly
*)
15174 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15175 hardcode_libdir_flag_spec_F77
='-R$libdir'
15176 hardcode_direct_F77
=yes
15177 hardcode_shlibpath_var_F77
=no
15181 if test "$GCC" = yes; then
15182 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'
15184 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'
15186 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15187 hardcode_libdir_separator_F77
=:
15188 hardcode_direct_F77
=yes
15190 # hardcode_minus_L: Not really in the search PATH,
15191 # but as the default location of the library.
15192 hardcode_minus_L_F77
=yes
15193 export_dynamic_flag_spec_F77
='${wl}-E'
15197 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15198 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15200 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15202 if test "$with_gnu_ld" = no
; then
15203 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15204 hardcode_libdir_separator_F77
=:
15206 hardcode_direct_F77
=yes
15207 export_dynamic_flag_spec_F77
='${wl}-E'
15209 # hardcode_minus_L: Not really in the search PATH,
15210 # but as the default location of the library.
15211 hardcode_minus_L_F77
=yes
15216 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15219 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15222 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15225 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15231 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15234 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15237 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15241 if test "$with_gnu_ld" = no
; then
15242 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15243 hardcode_libdir_separator_F77
=:
15247 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15248 hardcode_direct_F77
=no
15249 hardcode_shlibpath_var_F77
=no
15252 hardcode_direct_F77
=yes
15253 export_dynamic_flag_spec_F77
='${wl}-E'
15255 # hardcode_minus_L: Not really in the search PATH,
15256 # but as the default location of the library.
15257 hardcode_minus_L_F77
=yes
15263 irix5
* | irix6
* | nonstopux
*)
15264 if test "$GCC" = yes; then
15265 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'
15267 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'
15268 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15270 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15271 hardcode_libdir_separator_F77
=:
15272 link_all_deplibs_F77
=yes
15275 netbsd
* | netbsdelf
*-gnu)
15276 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15277 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15279 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15281 hardcode_libdir_flag_spec_F77
='-R$libdir'
15282 hardcode_direct_F77
=yes
15283 hardcode_shlibpath_var_F77
=no
15287 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15288 hardcode_direct_F77
=yes
15289 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15290 hardcode_libdir_separator_F77
=:
15291 hardcode_shlibpath_var_F77
=no
15295 if test -f /usr
/libexec
/ld.so
; then
15296 hardcode_direct_F77
=yes
15297 hardcode_shlibpath_var_F77
=no
15298 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15299 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15300 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15301 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15302 export_dynamic_flag_spec_F77
='${wl}-E'
15305 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15306 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15307 hardcode_libdir_flag_spec_F77
='-R$libdir'
15310 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15311 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15321 hardcode_libdir_flag_spec_F77
='-L$libdir'
15322 hardcode_minus_L_F77
=yes
15323 allow_undefined_flag_F77
=unsupported
15324 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'
15325 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15329 if test "$GCC" = yes; then
15330 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15331 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'
15333 allow_undefined_flag_F77
=' -expect_unresolved \*'
15334 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'
15336 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15337 hardcode_libdir_separator_F77
=:
15340 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15341 if test "$GCC" = yes; then
15342 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15343 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'
15344 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15346 allow_undefined_flag_F77
=' -expect_unresolved \*'
15347 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'
15348 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~
15349 $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'
15351 # Both c and cxx compiler support -rpath directly
15352 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15354 hardcode_libdir_separator_F77
=:
15358 no_undefined_flag_F77
=' -z text'
15359 if test "$GCC" = yes; then
15361 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15362 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15363 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15366 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15367 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15368 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15370 hardcode_libdir_flag_spec_F77
='-R$libdir'
15371 hardcode_shlibpath_var_F77
=no
15373 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15375 # The compiler driver will combine and reorder linker options,
15376 # but understands `-z linker_flag'. GCC discards it without `$wl',
15377 # but is careful enough not to reorder.
15378 # Supported since Solaris 2.6 (maybe 2.5.1?)
15379 if test "$GCC" = yes; then
15380 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15382 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15386 link_all_deplibs_F77
=yes
15390 if test "x$host_vendor" = xsequent
; then
15391 # Use $CC to link under sequent, because it throws in some extra .o
15392 # files that make .init and .fini sections work.
15393 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15395 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15397 hardcode_libdir_flag_spec_F77
='-L$libdir'
15398 hardcode_direct_F77
=yes
15399 hardcode_minus_L_F77
=yes
15400 hardcode_shlibpath_var_F77
=no
15404 case $host_vendor in
15406 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15407 hardcode_direct_F77
=yes # is this really true???
15410 ## LD is ld it makes a PLAMLIB
15411 ## CC just makes a GrossModule.
15412 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15413 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15414 hardcode_direct_F77
=no
15417 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15418 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15421 runpath_var
='LD_RUN_PATH'
15422 hardcode_shlibpath_var_F77
=no
15426 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15427 hardcode_shlibpath_var_F77
=no
15428 export_dynamic_flag_spec_F77
='-Bexport'
15432 if test -d /usr
/nec
; then
15433 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15434 hardcode_shlibpath_var_F77
=no
15435 runpath_var
=LD_RUN_PATH
15436 hardcode_runpath_var
=yes
15441 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15442 no_undefined_flag_F77
='${wl}-z,text'
15443 archive_cmds_need_lc_F77
=no
15444 hardcode_shlibpath_var_F77
=no
15445 runpath_var
='LD_RUN_PATH'
15447 if test "$GCC" = yes; then
15448 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15449 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15451 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15452 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 sysv5
* | sco3.2v5
* | sco5v6
*)
15457 # Note: We can NOT use -z defs as we might desire, because we do not
15458 # link with -lc, and that would cause any symbols used from libc to
15459 # always be unresolved, which means just about no library would
15460 # ever link correctly. If we're not using GNU ld we use -z text
15461 # though, which does catch some bad symbols but isn't as heavy-handed
15463 no_undefined_flag_F77
='${wl}-z,text'
15464 allow_undefined_flag_F77
='${wl}-z,nodefs'
15465 archive_cmds_need_lc_F77
=no
15466 hardcode_shlibpath_var_F77
=no
15467 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15468 hardcode_libdir_separator_F77
=':'
15469 link_all_deplibs_F77
=yes
15470 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15471 runpath_var
='LD_RUN_PATH'
15473 if test "$GCC" = yes; then
15474 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15475 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15477 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15478 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15483 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15484 hardcode_libdir_flag_spec_F77
='-L$libdir'
15485 hardcode_shlibpath_var_F77
=no
15494 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15495 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15496 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15499 # Do we need to explicitly link libc?
15501 case "x$archive_cmds_need_lc_F77" in
15503 # Assume -lc should be added
15504 archive_cmds_need_lc_F77
=yes
15506 if test "$enable_shared" = yes && test "$GCC" = yes; then
15507 case $archive_cmds_F77 in
15509 # FIXME: we may have to deal with multi-command sequences.
15512 # Test whether the compiler implicitly links with -lc since on some
15513 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15514 # to ld, don't add -lc before -lgcc.
15515 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15516 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15518 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15521 (eval $ac_compile) 2>&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } 2>conftest.err
; then
15527 libobjs
=conftest.
$ac_objext
15529 wl
=$lt_prog_compiler_wl_F77
15530 pic_flag
=$lt_prog_compiler_pic_F77
15536 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15537 allow_undefined_flag_F77
=
15538 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15539 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }
15544 archive_cmds_need_lc_F77
=no
15546 archive_cmds_need_lc_F77
=yes
15548 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15550 cat conftest.err
1>&5
15553 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15554 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15561 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15562 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15563 library_names_spec
=
15564 libname_spec
='lib$name'
15568 postuninstall_cmds
=
15572 shlibpath_overrides_runpath
=unknown
15574 dynamic_linker
="$host_os ld.so"
15575 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15577 need_lib_prefix
=unknown
15578 hardcode_into_libs
=no
15580 # when you set need_version to no, make sure it does not cause -set_version
15581 # flags to be left without arguments
15582 need_version
=unknown
15587 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15588 shlibpath_var
=LIBPATH
15590 # AIX 3 has no versioning support, so we append a major version to the name.
15591 soname_spec
='${libname}${release}${shared_ext}$major'
15598 hardcode_into_libs
=yes
15599 if test "$host_cpu" = ia64
; then
15600 # AIX 5 supports IA64
15601 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15602 shlibpath_var
=LD_LIBRARY_PATH
15604 # With GCC up to 2.95.x, collect2 would create an import file
15605 # for dependence libraries. The import file would start with
15606 # the line `#! .'. This would cause the generated library to
15607 # depend on `.', always an invalid library. This was fixed in
15608 # development snapshots of GCC prior to 3.0.
15610 aix4 | aix4.
[01] | aix4.
[01].
*)
15611 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15613 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15616 can_build_shared
=no
15620 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15621 # soname into executable. Probably we can add versioning support to
15622 # collect2, so additional links can be useful in future.
15623 if test "$aix_use_runtimelinking" = yes; then
15624 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15625 # instead of lib<name>.a to let people know that these are not
15626 # typical AIX shared libraries.
15627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15629 # We preserve .a as extension for shared libraries through AIX4.2
15630 # and later when we are not doing run time linking.
15631 library_names_spec
='${libname}${release}.a $libname.a'
15632 soname_spec
='${libname}${release}${shared_ext}$major'
15634 shlibpath_var
=LIBPATH
15639 library_names_spec
='$libname.ixlibrary $libname.a'
15640 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15641 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'
15645 library_names_spec
='${libname}${shared_ext}'
15646 dynamic_linker
="$host_os ld.so"
15647 shlibpath_var
=LIBRARY_PATH
15653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15654 soname_spec
='${libname}${release}${shared_ext}$major'
15655 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15656 shlibpath_var
=LD_LIBRARY_PATH
15657 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15658 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15659 # the default ld.so.conf also contains /usr/contrib/lib and
15660 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15661 # libtool to hard-code these into programs
15664 cygwin
* | mingw
* | pw32
*)
15665 version_type
=windows
15670 case $GCC,$host_os in
15671 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15672 library_names_spec
='$libname.dll.a'
15673 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15674 postinstall_cmds
='base_file=`basename \${file}`~
15675 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15676 dldir=$destdir/`dirname \$dlpath`~
15677 test -d \$dldir || mkdir -p \$dldir~
15678 $install_prog $dir/$dlname \$dldir/$dlname~
15679 chmod a+x \$dldir/$dlname'
15680 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15681 dlpath=$dir/\$dldll~
15683 shlibpath_overrides_runpath
=yes
15687 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15688 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15689 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15692 # MinGW DLLs use traditional 'lib' prefix
15693 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15694 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15695 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15696 # It is most probably a Windows format PATH printed by
15697 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15698 # path with ; separators, and with drive letters. We can handle the
15699 # drive letters (cygwin fileutils understands them), so leave them,
15700 # especially as we might pass files found there to a mingw objdump,
15701 # which wouldn't understand a cygwinified path. Ahh.
15702 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15704 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15708 # pw32 DLLs use 'pw' prefix rather than 'lib'
15709 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15715 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15718 dynamic_linker
='Win32 ld.exe'
15719 # FIXME: first we should search . and the directory the executable is in
15723 darwin
* | rhapsody
*)
15724 dynamic_linker
="$host_os dyld"
15725 version_type
=darwin
15728 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15729 soname_spec
='${libname}${release}${major}$shared_ext'
15730 shlibpath_overrides_runpath
=yes
15731 shlibpath_var
=DYLD_LIBRARY_PATH
15732 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15734 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15742 soname_spec
='${libname}${release}${shared_ext}$major'
15743 shlibpath_var
=LD_LIBRARY_PATH
15750 freebsd
* | dragonfly
*)
15751 # DragonFly does not have aout. When/if they implement a new
15752 # versioning mechanism, adjust this.
15753 if test -x /usr
/bin
/objformat
; then
15754 objformat
=`/usr/bin/objformat`
15757 freebsd
[123]*) objformat
=aout
;;
15758 *) objformat
=elf
;;
15761 version_type
=freebsd-
$objformat
15762 case $version_type in
15764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15769 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15773 shlibpath_var
=LD_LIBRARY_PATH
15776 shlibpath_overrides_runpath
=yes
15778 freebsd3.
[01]* | freebsdelf3.
[01]*)
15779 shlibpath_overrides_runpath
=yes
15780 hardcode_into_libs
=yes
15782 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15783 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15784 shlibpath_overrides_runpath
=no
15785 hardcode_into_libs
=yes
15787 *) # from 4.6 on, and DragonFly
15788 shlibpath_overrides_runpath
=yes
15789 hardcode_into_libs
=yes
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15799 soname_spec
='${libname}${release}${shared_ext}$major'
15800 shlibpath_var
=LD_LIBRARY_PATH
15801 hardcode_into_libs
=yes
15804 hpux9
* | hpux10
* | hpux11
*)
15805 # Give a soname corresponding to the major version so that dld.sl refuses to
15806 # link against other versions.
15813 hardcode_into_libs
=yes
15814 dynamic_linker
="$host_os dld.so"
15815 shlibpath_var
=LD_LIBRARY_PATH
15816 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15818 soname_spec
='${libname}${release}${shared_ext}$major'
15819 if test "X$HPUX_IA64_MODE" = X32
; then
15820 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15822 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15824 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15828 hardcode_into_libs
=yes
15829 dynamic_linker
="$host_os dld.sl"
15830 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15831 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15833 soname_spec
='${libname}${release}${shared_ext}$major'
15834 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15835 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15839 dynamic_linker
="$host_os dld.sl"
15840 shlibpath_var
=SHLIB_PATH
15841 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15843 soname_spec
='${libname}${release}${shared_ext}$major'
15846 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15847 postinstall_cmds
='chmod 555 $lib'
15854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15855 soname_spec
='${libname}${release}${shared_ext}$major'
15856 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15857 shlibpath_var
=LD_LIBRARY_PATH
15858 shlibpath_overrides_runpath
=no
15859 hardcode_into_libs
=yes
15862 irix5
* | irix6
* | nonstopux
*)
15864 nonstopux
*) version_type
=nonstopux
;;
15866 if test "$lt_cv_prog_gnu_ld" = yes; then
15874 soname_spec
='${libname}${release}${shared_ext}$major'
15875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15877 irix5
* | nonstopux
*)
15878 libsuff
= shlibsuff
=
15881 case $LD in # libtool.m4 will add one of these switches to LD
15882 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15883 libsuff
= shlibsuff
= libmagic
=32-bit;;
15884 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15885 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15886 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15887 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15888 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15892 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15893 shlibpath_overrides_runpath
=no
15894 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15895 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15896 hardcode_into_libs
=yes
15899 # No shared lib support for Linux oldld, aout, or coff.
15900 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15904 # This must be Linux ELF.
15905 linux
* | k
*bsd
*-gnu)
15909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15910 soname_spec
='${libname}${release}${shared_ext}$major'
15911 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15912 shlibpath_var
=LD_LIBRARY_PATH
15913 shlibpath_overrides_runpath
=no
15914 # This implies no fast_install, which is unacceptable.
15915 # Some rework will be needed to allow for fast_install
15916 # before this can be enabled.
15917 hardcode_into_libs
=yes
15919 # Append ld.so.conf contents to the search path
15920 if test -f /etc
/ld.so.conf
; then
15921 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15922 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15925 # We used to test for /lib/ld.so.1 and disable shared libraries on
15926 # powerpc, because MkLinux only supported shared libraries with the
15927 # GNU dynamic linker. Since this was broken with cross compilers,
15928 # most powerpc-linux boxes support dynamic linking these days and
15929 # people can always --disable-shared, the test was removed, and we
15930 # assume the GNU/Linux dynamic linker is in use.
15931 dynamic_linker
='GNU/Linux ld.so'
15938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15939 soname_spec
='${libname}${release}${shared_ext}$major'
15940 shlibpath_var
=LD_LIBRARY_PATH
15941 shlibpath_overrides_runpath
=no
15942 hardcode_into_libs
=yes
15943 dynamic_linker
='NetBSD ld.elf_so'
15950 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15952 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15953 dynamic_linker
='NetBSD (a.out) ld.so'
15955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15956 soname_spec
='${libname}${release}${shared_ext}$major'
15957 dynamic_linker
='NetBSD ld.elf_so'
15959 shlibpath_var
=LD_LIBRARY_PATH
15960 shlibpath_overrides_runpath
=yes
15961 hardcode_into_libs
=yes
15966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15967 shlibpath_var
=LD_LIBRARY_PATH
15968 shlibpath_overrides_runpath
=yes
15975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15976 soname_spec
='${libname}${release}${shared_ext}$major'
15977 shlibpath_var
=LD_LIBRARY_PATH
15978 shlibpath_overrides_runpath
=yes
15983 sys_lib_dlsearch_path_spec
="/usr/lib"
15985 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15987 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15988 *) need_version
=no
;;
15990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15991 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15992 shlibpath_var
=LD_LIBRARY_PATH
15993 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15995 openbsd2.
[89] | openbsd2.
[89].
*)
15996 shlibpath_overrides_runpath
=no
15999 shlibpath_overrides_runpath
=yes
16003 shlibpath_overrides_runpath
=yes
16008 libname_spec
='$name'
16011 library_names_spec
='$libname${shared_ext} $libname.a'
16012 dynamic_linker
='OS/2 ld.exe'
16013 shlibpath_var
=LIBPATH
16016 osf3
* | osf4
* | osf5
*)
16020 soname_spec
='${libname}${release}${shared_ext}$major'
16021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16022 shlibpath_var
=LD_LIBRARY_PATH
16023 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16024 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16036 soname_spec
='${libname}${release}${shared_ext}$major'
16037 shlibpath_var
=LD_LIBRARY_PATH
16038 shlibpath_overrides_runpath
=yes
16039 hardcode_into_libs
=yes
16040 # ldd complains unless libraries are executable
16041 postinstall_cmds
='chmod +x $lib'
16046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16047 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16048 shlibpath_var
=LD_LIBRARY_PATH
16049 shlibpath_overrides_runpath
=yes
16050 if test "$with_gnu_ld" = yes; then
16058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 soname_spec
='${libname}${release}${shared_ext}$major'
16060 shlibpath_var
=LD_LIBRARY_PATH
16061 case $host_vendor in
16063 shlibpath_overrides_runpath
=no
16065 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16066 runpath_var
=LD_RUN_PATH
16074 shlibpath_overrides_runpath
=no
16075 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16081 if test -d /usr
/nec
;then
16083 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16084 soname_spec
='$libname${shared_ext}.$major'
16085 shlibpath_var
=LD_LIBRARY_PATH
16089 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16090 version_type
=freebsd-elf
16093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16094 soname_spec
='${libname}${release}${shared_ext}$major'
16095 shlibpath_var
=LD_LIBRARY_PATH
16096 hardcode_into_libs
=yes
16097 if test "$with_gnu_ld" = yes; then
16098 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16099 shlibpath_overrides_runpath
=no
16101 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16102 shlibpath_overrides_runpath
=yes
16105 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16109 sys_lib_dlsearch_path_spec
='/usr/lib'
16114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16115 soname_spec
='${libname}${release}${shared_ext}$major'
16116 shlibpath_var
=LD_LIBRARY_PATH
16123 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16124 echo "${ECHO_T}$dynamic_linker" >&6; }
16125 test "$dynamic_linker" = no
&& can_build_shared
=no
16127 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16130 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16133 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16134 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16135 echo $ECHO_N "(cached) $ECHO_C" >&6
16137 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16140 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16142 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16143 if test "$GCC" = yes; then
16144 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16147 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16148 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16149 hardcode_action_F77
=
16150 if test -n "$hardcode_libdir_flag_spec_F77" || \
16151 test -n "$runpath_var_F77" || \
16152 test "X$hardcode_automatic_F77" = "Xyes" ; then
16154 # We can hardcode non-existant directories.
16155 if test "$hardcode_direct_F77" != no
&&
16156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16157 # have to relink, otherwise we might link with an installed library
16158 # when we should be linking with a yet-to-be-installed one
16159 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16160 test "$hardcode_minus_L_F77" != no
; then
16161 # Linking always hardcodes the temporary library directory.
16162 hardcode_action_F77
=relink
16164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16165 hardcode_action_F77
=immediate
16168 # We cannot hardcode anything, or else we can only hardcode existing
16170 hardcode_action_F77
=unsupported
16172 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16173 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16175 if test "$hardcode_action_F77" = relink
; then
16176 # Fast installation is not supported
16177 enable_fast_install
=no
16178 elif test "$shlibpath_overrides_runpath" = yes ||
16179 test "$enable_shared" = no
; then
16180 # Fast installation is not necessary
16181 enable_fast_install
=needless
16185 # The else clause should only fire when bootstrapping the
16186 # libtool distribution, otherwise you forgot to ship ltmain.sh
16187 # with your package, and you will get complaints that there are
16188 # no rules to generate ltmain.sh.
16189 if test -f "$ltmain"; then
16190 # See if we are running on zsh, and set the options which allow our commands through
16191 # without removal of \ escapes.
16192 if test -n "${ZSH_VERSION+set}" ; then
16193 setopt NO_GLOB_SUBST
16195 # Now quote all the things that may contain metacharacters while being
16196 # careful not to overquote the AC_SUBSTed values. We take copies of the
16197 # variables and quote the copies for generation of the libtool script.
16198 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16200 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16201 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16202 deplibs_check_method reload_flag reload_cmds need_locks \
16203 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16204 lt_cv_sys_global_symbol_to_c_name_address \
16205 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16206 old_postinstall_cmds old_postuninstall_cmds \
16210 lt_prog_compiler_wl_F77 \
16211 lt_prog_compiler_pic_F77 \
16212 lt_prog_compiler_static_F77 \
16213 lt_prog_compiler_no_builtin_flag_F77 \
16214 export_dynamic_flag_spec_F77 \
16215 thread_safe_flag_spec_F77 \
16216 whole_archive_flag_spec_F77 \
16217 enable_shared_with_static_runtimes_F77 \
16218 old_archive_cmds_F77 \
16219 old_archive_from_new_cmds_F77 \
16220 predep_objects_F77 \
16221 postdep_objects_F77 \
16224 compiler_lib_search_path_F77 \
16225 compiler_lib_search_dirs_F77 \
16227 archive_expsym_cmds_F77 \
16228 postinstall_cmds_F77 \
16229 postuninstall_cmds_F77 \
16230 old_archive_from_expsyms_cmds_F77 \
16231 allow_undefined_flag_F77 \
16232 no_undefined_flag_F77 \
16233 export_symbols_cmds_F77 \
16234 hardcode_libdir_flag_spec_F77 \
16235 hardcode_libdir_flag_spec_ld_F77 \
16236 hardcode_libdir_separator_F77 \
16237 hardcode_automatic_F77 \
16239 module_expsym_cmds_F77 \
16240 lt_cv_prog_compiler_c_o_F77 \
16241 fix_srcfile_path_F77 \
16242 exclude_expsyms_F77 \
16243 include_expsyms_F77
; do
16246 old_archive_cmds_F77 | \
16247 old_archive_from_new_cmds_F77 | \
16248 archive_cmds_F77 | \
16249 archive_expsym_cmds_F77 | \
16250 module_cmds_F77 | \
16251 module_expsym_cmds_F77 | \
16252 old_archive_from_expsyms_cmds_F77 | \
16253 export_symbols_cmds_F77 | \
16254 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16255 postinstall_cmds | postuninstall_cmds | \
16256 old_postinstall_cmds | old_postuninstall_cmds | \
16257 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16258 # Double-quote double-evaled strings.
16259 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16262 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16268 *'\$0 --fallback-echo"')
16269 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16275 cat <<__EOF__ >> "$cfgfile"
16276 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16278 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16280 # Shell to use when invoking shell scripts.
16283 # Whether or not to build shared libraries.
16284 build_libtool_libs=$enable_shared
16286 # Whether or not to build static libraries.
16287 build_old_libs=$enable_static
16289 # Whether or not to add -lc for building shared libraries.
16290 build_libtool_need_lc=$archive_cmds_need_lc_F77
16292 # Whether or not to disallow shared libs when runtime libs are static
16293 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16295 # Whether or not to optimize for fast installation.
16296 fast_install=$enable_fast_install
16299 host_alias=$host_alias
16303 # The build system.
16304 build_alias=$build_alias
16308 # An echo program that does not interpret backslashes.
16313 AR_FLAGS=$lt_AR_FLAGS
16318 # LTCC compiler flags.
16319 LTCFLAGS=$lt_LTCFLAGS
16321 # A language-specific compiler.
16322 CC=$lt_compiler_F77
16324 # Is the compiler the GNU C compiler?
16330 # The linker used to build libraries.
16333 # Whether we need hard or soft links.
16336 # A BSD-compatible nm program.
16339 # A symbol stripping program
16342 # Used to examine libraries when file_magic_cmd begins "file"
16343 MAGIC_CMD=$MAGIC_CMD
16345 # Used on cygwin: DLL creation program.
16348 # Used on cygwin: object dumper.
16351 # Used on cygwin: assembler.
16354 # The name of the directory that contains temporary libtool files.
16357 # How to create reloadable object files.
16358 reload_flag=$lt_reload_flag
16359 reload_cmds=$lt_reload_cmds
16361 # How to pass a linker flag through the compiler.
16362 wl=$lt_lt_prog_compiler_wl_F77
16364 # Object file suffix (normally "o").
16365 objext="$ac_objext"
16367 # Old archive suffix (normally "a").
16370 # Shared library suffix (normally ".so").
16371 shrext_cmds='$shrext_cmds'
16373 # Executable file suffix (normally "").
16376 # Additional compiler flags for building library objects.
16377 pic_flag=$lt_lt_prog_compiler_pic_F77
16380 # What is the maximum length of a command?
16381 max_cmd_len=$lt_cv_sys_max_cmd_len
16383 # Does compiler simultaneously support -c and -o options?
16384 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16386 # Must we lock files when doing compilation?
16387 need_locks=$lt_need_locks
16389 # Do we need the lib prefix for modules?
16390 need_lib_prefix=$need_lib_prefix
16392 # Do we need a version for libraries?
16393 need_version=$need_version
16395 # Whether dlopen is supported.
16396 dlopen_support=$enable_dlopen
16398 # Whether dlopen of programs is supported.
16399 dlopen_self=$enable_dlopen_self
16401 # Whether dlopen of statically linked programs is supported.
16402 dlopen_self_static=$enable_dlopen_self_static
16404 # Compiler flag to prevent dynamic linking.
16405 link_static_flag=$lt_lt_prog_compiler_static_F77
16407 # Compiler flag to turn off builtin functions.
16408 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16410 # Compiler flag to allow reflexive dlopens.
16411 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16413 # Compiler flag to generate shared objects directly from archives.
16414 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16416 # Compiler flag to generate thread-safe objects.
16417 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16419 # Library versioning type.
16420 version_type=$version_type
16422 # Format of library name prefix.
16423 libname_spec=$lt_libname_spec
16425 # List of archive names. First name is the real one, the rest are links.
16426 # The last name is the one that the linker finds with -lNAME.
16427 library_names_spec=$lt_library_names_spec
16429 # The coded name of the library, if different from the real name.
16430 soname_spec=$lt_soname_spec
16432 # Commands used to build and install an old-style archive.
16434 old_archive_cmds=$lt_old_archive_cmds_F77
16435 old_postinstall_cmds=$lt_old_postinstall_cmds
16436 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16438 # Create an old-style archive from a shared archive.
16439 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16441 # Create a temporary old-style archive to link instead of a shared archive.
16442 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16444 # Commands used to build and install a shared archive.
16445 archive_cmds=$lt_archive_cmds_F77
16446 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16447 postinstall_cmds=$lt_postinstall_cmds
16448 postuninstall_cmds=$lt_postuninstall_cmds
16450 # Commands used to build a loadable module (assumed same as above if empty)
16451 module_cmds=$lt_module_cmds_F77
16452 module_expsym_cmds=$lt_module_expsym_cmds_F77
16454 # Commands to strip libraries.
16455 old_striplib=$lt_old_striplib
16456 striplib=$lt_striplib
16458 # Dependencies to place before the objects being linked to create a
16460 predep_objects=$lt_predep_objects_F77
16462 # Dependencies to place after the objects being linked to create a
16464 postdep_objects=$lt_postdep_objects_F77
16466 # Dependencies to place before the objects being linked to create a
16468 predeps=$lt_predeps_F77
16470 # Dependencies to place after the objects being linked to create a
16472 postdeps=$lt_postdeps_F77
16474 # The directories searched by this compiler when creating a shared
16476 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16478 # The library search path used internally by the compiler when linking
16479 # a shared library.
16480 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16482 # Method to check whether dependent libraries are shared objects.
16483 deplibs_check_method=$lt_deplibs_check_method
16485 # Command to use when deplibs_check_method == file_magic.
16486 file_magic_cmd=$lt_file_magic_cmd
16488 # Flag that allows shared libraries with undefined symbols to be built.
16489 allow_undefined_flag=$lt_allow_undefined_flag_F77
16491 # Flag that forces no undefined symbols.
16492 no_undefined_flag=$lt_no_undefined_flag_F77
16494 # Commands used to finish a libtool library installation in a directory.
16495 finish_cmds=$lt_finish_cmds
16497 # Same as above, but a single script fragment to be evaled but not shown.
16498 finish_eval=$lt_finish_eval
16500 # Take the output of nm and produce a listing of raw symbols and C names.
16501 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16503 # Transform the output of nm in a proper C declaration
16504 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16506 # Transform the output of nm in a C name address pair
16507 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16509 # This is the shared library runtime path variable.
16510 runpath_var=$runpath_var
16512 # This is the shared library path variable.
16513 shlibpath_var=$shlibpath_var
16515 # Is shlibpath searched before the hard-coded library search path?
16516 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16518 # How to hardcode a shared library path into an executable.
16519 hardcode_action=$hardcode_action_F77
16521 # Whether we should hardcode library paths into libraries.
16522 hardcode_into_libs=$hardcode_into_libs
16524 # Flag to hardcode \$libdir into a binary during linking.
16525 # This must work even if \$libdir does not exist.
16526 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16528 # If ld is used when linking, flag to hardcode \$libdir into
16529 # a binary during linking. This must work even if \$libdir does
16531 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16533 # Whether we need a single -rpath flag with a separated argument.
16534 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16536 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16537 # resulting binary.
16538 hardcode_direct=$hardcode_direct_F77
16540 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16541 # resulting binary.
16542 hardcode_minus_L=$hardcode_minus_L_F77
16544 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16545 # the resulting binary.
16546 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16548 # Set to yes if building a shared library automatically hardcodes DIR into the library
16549 # and all subsequent libraries and executables linked against it.
16550 hardcode_automatic=$hardcode_automatic_F77
16552 # Variables whose values should be saved in libtool wrapper scripts and
16553 # restored at relink time.
16554 variables_saved_for_relink="$variables_saved_for_relink"
16556 # Whether libtool must link a program against all its dependency libraries.
16557 link_all_deplibs=$link_all_deplibs_F77
16559 # Compile-time system search path for libraries
16560 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16562 # Run-time system search path for libraries
16563 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16565 # Fix the shell variable \$srcfile for the compiler.
16566 fix_srcfile_path=$lt_fix_srcfile_path
16568 # Set to yes if exported symbols are required.
16569 always_export_symbols=$always_export_symbols_F77
16571 # The commands to list exported symbols.
16572 export_symbols_cmds=$lt_export_symbols_cmds_F77
16574 # The commands to extract the exported symbol list from a shared archive.
16575 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16577 # Symbols that should not be listed in the preloaded symbols.
16578 exclude_expsyms=$lt_exclude_expsyms_F77
16580 # Symbols that must always be exported.
16581 include_expsyms=$lt_include_expsyms_F77
16583 # ### END LIBTOOL TAG CONFIG: $tagname
16589 # If there is no Makefile yet, we rely on a make rule to execute
16590 # `config.status --recheck' to rerun these tests and create the
16591 # libtool script then.
16592 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16593 if test -f "$ltmain_in"; then
16594 test -f Makefile
&& make "$ltmain"
16600 ac_cpp
='$CPP $CPPFLAGS'
16601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16613 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16616 # Source file extension for Java test sources.
16619 # Object file extension for compiled Java test sources.
16623 # Code to be used in simple compile tests
16624 lt_simple_compile_test_code
="class foo {}"
16626 # Code to be used in simple link tests
16627 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16629 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16631 # If no C compiler was specified, use CC.
16634 # If no C compiler flags were specified, use CFLAGS.
16635 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16637 # Allow CC to be a program name with arguments.
16641 # save warnings/boilerplate of simple test code
16642 ac_outfile
=conftest.
$ac_objext
16643 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16644 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16645 _lt_compiler_boilerplate
=`cat conftest.err`
16648 ac_outfile
=conftest.
$ac_objext
16649 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16650 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16651 _lt_linker_boilerplate
=`cat conftest.err`
16655 # Allow CC to be a program name with arguments.
16660 for cc_temp
in $compiler""; do
16662 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16663 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16668 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16671 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16672 archive_cmds_need_lc_GCJ
=no
16674 old_archive_cmds_GCJ
=$old_archive_cmds
16677 lt_prog_compiler_no_builtin_flag_GCJ
=
16679 if test "$GCC" = yes; then
16680 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16683 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16684 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16685 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 lt_cv_prog_compiler_rtti_exceptions
=no
16689 ac_outfile
=conftest.
$ac_objext
16690 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16691 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16692 # Insert the option either (1) after the last *FLAGS variable, or
16693 # (2) before a word containing "conftest.", or (3) at the end.
16694 # Note that $ac_compile itself does not contain backslashes and begins
16695 # with a dollar sign (not a hyphen), so the echo should work correctly.
16696 # The option is referenced via a variable to avoid confusing sed.
16697 lt_compile
=`echo "$ac_compile" | $SED \
16698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16700 -e 's:$: $lt_compiler_flag:'`
16701 (eval echo "\"\$as_me:16701: $lt_compile\"" >&5)
16702 (eval "$lt_compile" 2>conftest.err
)
16704 cat conftest.err
>&5
16705 echo "$as_me:16705: \$? = $ac_status" >&5
16706 if (exit $ac_status) && test -s "$ac_outfile"; then
16707 # The compiler can only warn and ignore the option if not recognized
16708 # So say no if there are warnings other than the usual output.
16709 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16711 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16712 lt_cv_prog_compiler_rtti_exceptions
=yes
16718 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16719 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16721 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16722 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16729 lt_prog_compiler_wl_GCJ
=
16730 lt_prog_compiler_pic_GCJ
=
16731 lt_prog_compiler_static_GCJ
=
16733 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16734 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16736 if test "$GCC" = yes; then
16737 lt_prog_compiler_wl_GCJ
='-Wl,'
16738 lt_prog_compiler_static_GCJ
='-static'
16742 # All AIX code is PIC.
16743 if test "$host_cpu" = ia64
; then
16744 # AIX 5 now supports IA64 processor
16745 lt_prog_compiler_static_GCJ
='-Bstatic'
16750 # FIXME: we need at least 68020 code to build shared libraries, but
16751 # adding the `-m68020' flag to GCC prevents building anything better,
16753 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16756 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16757 # PIC is the default for these OSes.
16760 mingw
* | cygwin
* | pw32
* | os2
*)
16761 # This hack is so that the source file can tell whether it is being
16762 # built for inclusion in a dll (and should export symbols for example).
16763 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16764 # (--disable-auto-import) libraries
16768 darwin
* | rhapsody
*)
16769 # PIC is the default on this platform
16770 # Common symbols not allowed in MH_DYLIB files
16771 lt_prog_compiler_pic_GCJ
='-fno-common'
16775 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16776 # Instead, we relocate shared libraries at runtime.
16780 # Just because we use GCC doesn't mean we suddenly get shared libraries
16781 # on systems that don't support them.
16782 lt_prog_compiler_can_build_shared_GCJ
=no
16787 if test -d /usr
/nec
; then
16788 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16793 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16794 # not for PA HP-UX.
16800 lt_prog_compiler_pic_GCJ
='-fPIC'
16806 lt_prog_compiler_pic_GCJ
='-fPIC'
16810 # PORTME Check for flag to pass linker flags through the system compiler.
16813 lt_prog_compiler_wl_GCJ
='-Wl,'
16814 if test "$host_cpu" = ia64
; then
16815 # AIX 5 now supports IA64 processor
16816 lt_prog_compiler_static_GCJ
='-Bstatic'
16818 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16822 # PIC is the default on this platform
16823 # Common symbols not allowed in MH_DYLIB files
16824 case $cc_basename in
16826 lt_prog_compiler_pic_GCJ
='-qnocommon'
16827 lt_prog_compiler_wl_GCJ
='-Wl,'
16832 mingw
* | cygwin
* | pw32
* | os2
*)
16833 # This hack is so that the source file can tell whether it is being
16834 # built for inclusion in a dll (and should export symbols for example).
16838 hpux9
* | hpux10
* | hpux11
*)
16839 lt_prog_compiler_wl_GCJ
='-Wl,'
16840 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16841 # not for PA HP-UX.
16847 lt_prog_compiler_pic_GCJ
='+Z'
16850 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16851 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16854 irix5
* | irix6
* | nonstopux
*)
16855 lt_prog_compiler_wl_GCJ
='-Wl,'
16856 # PIC (with -KPIC) is the default.
16857 lt_prog_compiler_static_GCJ
='-non_shared'
16861 lt_prog_compiler_pic_GCJ
='-KPIC'
16862 lt_prog_compiler_static_GCJ
='-Bstatic'
16865 linux
* | k
*bsd
*-gnu)
16866 case $cc_basename in
16868 lt_prog_compiler_wl_GCJ
='-Wl,'
16869 lt_prog_compiler_pic_GCJ
='-KPIC'
16870 lt_prog_compiler_static_GCJ
='-static'
16872 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16873 # Portland Group compilers (*not* the Pentium gcc compiler,
16874 # which looks to be a dead project)
16875 lt_prog_compiler_wl_GCJ
='-Wl,'
16876 lt_prog_compiler_pic_GCJ
='-fpic'
16877 lt_prog_compiler_static_GCJ
='-Bstatic'
16880 lt_prog_compiler_wl_GCJ
='-Wl,'
16881 # All Alpha code is PIC.
16882 lt_prog_compiler_static_GCJ
='-non_shared'
16885 case `$CC -V 2>&1 | sed 5q` in
16888 lt_prog_compiler_pic_GCJ
='-KPIC'
16889 lt_prog_compiler_static_GCJ
='-Bstatic'
16890 lt_prog_compiler_wl_GCJ
='-Wl,'
16893 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16894 lt_prog_compiler_pic_GCJ
='-KPIC'
16895 lt_prog_compiler_static_GCJ
='-Bstatic'
16896 lt_prog_compiler_wl_GCJ
=''
16903 osf3
* | osf4
* | osf5
*)
16904 lt_prog_compiler_wl_GCJ
='-Wl,'
16905 # All OSF/1 code is PIC.
16906 lt_prog_compiler_static_GCJ
='-non_shared'
16910 lt_prog_compiler_static_GCJ
='-non_shared'
16914 lt_prog_compiler_pic_GCJ
='-KPIC'
16915 lt_prog_compiler_static_GCJ
='-Bstatic'
16916 case $cc_basename in
16917 f77
* | f90
* | f95
*)
16918 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16920 lt_prog_compiler_wl_GCJ
='-Wl,';;
16925 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16926 lt_prog_compiler_pic_GCJ
='-PIC'
16927 lt_prog_compiler_static_GCJ
='-Bstatic'
16930 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16931 lt_prog_compiler_wl_GCJ
='-Wl,'
16932 lt_prog_compiler_pic_GCJ
='-KPIC'
16933 lt_prog_compiler_static_GCJ
='-Bstatic'
16937 if test -d /usr
/nec
;then
16938 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16939 lt_prog_compiler_static_GCJ
='-Bstatic'
16943 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16944 lt_prog_compiler_wl_GCJ
='-Wl,'
16945 lt_prog_compiler_pic_GCJ
='-KPIC'
16946 lt_prog_compiler_static_GCJ
='-Bstatic'
16950 lt_prog_compiler_wl_GCJ
='-Wl,'
16951 lt_prog_compiler_can_build_shared_GCJ
=no
16955 lt_prog_compiler_pic_GCJ
='-pic'
16956 lt_prog_compiler_static_GCJ
='-Bstatic'
16960 lt_prog_compiler_can_build_shared_GCJ
=no
16965 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16966 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16969 # Check to make sure the PIC flag actually works.
16971 if test -n "$lt_prog_compiler_pic_GCJ"; then
16973 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16974 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16975 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 lt_cv_prog_compiler_pic_works_GCJ
=no
16979 ac_outfile
=conftest.
$ac_objext
16980 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16981 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16982 # Insert the option either (1) after the last *FLAGS variable, or
16983 # (2) before a word containing "conftest.", or (3) at the end.
16984 # Note that $ac_compile itself does not contain backslashes and begins
16985 # with a dollar sign (not a hyphen), so the echo should work correctly.
16986 # The option is referenced via a variable to avoid confusing sed.
16987 lt_compile
=`echo "$ac_compile" | $SED \
16988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16990 -e 's:$: $lt_compiler_flag:'`
16991 (eval echo "\"\$as_me:16991: $lt_compile\"" >&5)
16992 (eval "$lt_compile" 2>conftest.err
)
16994 cat conftest.err
>&5
16995 echo "$as_me:16995: \$? = $ac_status" >&5
16996 if (exit $ac_status) && test -s "$ac_outfile"; then
16997 # The compiler can only warn and ignore the option if not recognized
16998 # So say no if there are warnings other than the usual output.
16999 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17000 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17001 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17002 lt_cv_prog_compiler_pic_works_GCJ
=yes
17008 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17009 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17011 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17012 case $lt_prog_compiler_pic_GCJ in
17014 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17017 lt_prog_compiler_pic_GCJ
=
17018 lt_prog_compiler_can_build_shared_GCJ
=no
17023 # For platforms which do not support PIC, -DPIC is meaningless:
17025 lt_prog_compiler_pic_GCJ
=
17028 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17033 # Check to make sure the static flag actually works.
17035 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17036 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17037 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17038 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 lt_cv_prog_compiler_static_works_GCJ
=no
17042 save_LDFLAGS
="$LDFLAGS"
17043 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17044 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17045 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17046 # The linker can only warn and ignore the option if not recognized
17047 # So say no if there are warnings
17048 if test -s conftest.err
; then
17049 # Append any errors to the config.log.
17050 cat conftest.err
1>&5
17051 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17052 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17053 if diff conftest.exp conftest.er2
>/dev
/null
; then
17054 lt_cv_prog_compiler_static_works_GCJ
=yes
17057 lt_cv_prog_compiler_static_works_GCJ
=yes
17061 LDFLAGS
="$save_LDFLAGS"
17064 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17065 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17067 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17070 lt_prog_compiler_static_GCJ
=
17074 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17075 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17076 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17077 echo $ECHO_N "(cached) $ECHO_C" >&6
17079 lt_cv_prog_compiler_c_o_GCJ
=no
17080 $rm -r conftest
2>/dev
/null
17084 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17086 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17087 # Insert the option either (1) after the last *FLAGS variable, or
17088 # (2) before a word containing "conftest.", or (3) at the end.
17089 # Note that $ac_compile itself does not contain backslashes and begins
17090 # with a dollar sign (not a hyphen), so the echo should work correctly.
17091 lt_compile
=`echo "$ac_compile" | $SED \
17092 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17093 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17094 -e 's:$: $lt_compiler_flag:'`
17095 (eval echo "\"\$as_me:17095: $lt_compile\"" >&5)
17096 (eval "$lt_compile" 2>out
/conftest.err
)
17098 cat out
/conftest.err
>&5
17099 echo "$as_me:17099: \$? = $ac_status" >&5
17100 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17102 # The compiler can only warn and ignore the option if not recognized
17103 # So say no if there are warnings
17104 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17105 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17106 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17107 lt_cv_prog_compiler_c_o_GCJ
=yes
17112 # SGI C++ compiler will create directory out/ii_files/ for
17113 # template instantiation
17114 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17115 $rm out
/* && rmdir out
17121 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17122 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17125 hard_links
="nottested"
17126 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17127 # do not overwrite the value of need_locks provided by the user
17128 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17129 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17132 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17134 ln conftest.a conftest.b
2>&5 || hard_links
=no
17135 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17136 { echo "$as_me:$LINENO: result: $hard_links" >&5
17137 echo "${ECHO_T}$hard_links" >&6; }
17138 if test "$hard_links" = no
; then
17139 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17140 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17147 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17148 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17151 allow_undefined_flag_GCJ
=
17152 enable_shared_with_static_runtimes_GCJ
=no
17154 archive_expsym_cmds_GCJ
=
17155 old_archive_From_new_cmds_GCJ
=
17156 old_archive_from_expsyms_cmds_GCJ
=
17157 export_dynamic_flag_spec_GCJ
=
17158 whole_archive_flag_spec_GCJ
=
17159 thread_safe_flag_spec_GCJ
=
17160 hardcode_libdir_flag_spec_GCJ
=
17161 hardcode_libdir_flag_spec_ld_GCJ
=
17162 hardcode_libdir_separator_GCJ
=
17163 hardcode_direct_GCJ
=no
17164 hardcode_minus_L_GCJ
=no
17165 hardcode_shlibpath_var_GCJ
=unsupported
17166 link_all_deplibs_GCJ
=unknown
17167 hardcode_automatic_GCJ
=no
17169 module_expsym_cmds_GCJ
=
17170 always_export_symbols_GCJ
=no
17171 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17172 # include_expsyms should be a list of space-separated symbols to be *always*
17173 # included in the symbol list
17174 include_expsyms_GCJ
=
17175 # exclude_expsyms can be an extended regexp of symbols to exclude
17176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17178 # as well as any symbol that contains `d'.
17179 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17181 # platforms (ab)use it in PIC code, but their linkers get confused if
17182 # the symbol is explicitly referenced. Since portable code cannot
17183 # rely on this symbol name, it's probably fine to never include it in
17184 # preloaded symbol tables.
17185 # Exclude shared library initialization/finalization symbols.
17186 extract_expsyms_cmds
=
17187 # Just being paranoid about ensuring that cc_basename is set.
17188 for cc_temp
in $compiler""; do
17190 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17191 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17196 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17199 cygwin
* | mingw
* | pw32
*)
17200 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17201 # When not using gcc, we currently assume that we are using
17202 # Microsoft Visual C++.
17203 if test "$GCC" != yes; then
17208 # we just hope/assume this is gcc and not c89 (= MSVC++)
17217 if test "$with_gnu_ld" = yes; then
17218 # If archive_cmds runs LD, not CC, wlarc should be empty
17221 # Set some defaults for GNU ld with shared library support. These
17222 # are reset later if shared libraries are not supported. Putting them
17223 # here allows them to be overridden if necessary.
17224 runpath_var
=LD_RUN_PATH
17225 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17226 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17227 # ancient GNU ld didn't support --whole-archive et. al.
17228 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17229 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17231 whole_archive_flag_spec_GCJ
=
17233 supports_anon_versioning
=no
17234 case `$LD -v 2>/dev/null` in
17235 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17236 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17237 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17238 *\
2.11.
*) ;; # other 2.11 versions
17239 *) supports_anon_versioning
=yes ;;
17242 # See if GNU ld supports shared libraries.
17245 # On AIX/PPC, the GNU linker is very broken
17246 if test "$host_cpu" != ia64
; then
17250 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17251 *** to be unable to reliably create shared libraries on AIX.
17252 *** Therefore, libtool is disabling shared libraries support. If you
17253 *** really care for shared libraries, you may want to modify your PATH
17254 *** so that a non-GNU linker is found, and then restart.
17261 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)'
17262 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17263 hardcode_minus_L_GCJ
=yes
17265 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17266 # that the semantics of dynamic libraries on AmigaOS, at least up
17267 # to version 4, is to share data among multiple programs linked
17268 # with the same dynamic library. Since this doesn't match the
17269 # behavior of shared libraries on other platforms, we can't use
17275 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17276 allow_undefined_flag_GCJ
=unsupported
17277 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17278 # support --undefined. This deserves some investigation. FIXME
17279 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17285 cygwin
* | mingw
* | pw32
*)
17286 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17287 # as there is no search path for DLLs.
17288 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17289 allow_undefined_flag_GCJ
=unsupported
17290 always_export_symbols_GCJ
=no
17291 enable_shared_with_static_runtimes_GCJ
=yes
17292 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17294 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17295 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17296 # If the export-symbols file already is a .def file (1st line
17297 # is EXPORTS), use it as is; otherwise, prepend...
17298 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17299 cp $export_symbols $output_objdir/$soname.def;
17301 echo EXPORTS > $output_objdir/$soname.def;
17302 cat $export_symbols >> $output_objdir/$soname.def;
17304 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17311 hardcode_direct_GCJ
=no
17312 hardcode_shlibpath_var_GCJ
=no
17313 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17314 export_dynamic_flag_spec_GCJ
='${wl}-E'
17315 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17316 # Instead, shared libraries are loaded at an image base (0x10000000 by
17317 # default) and relocated if they conflict, which is a slow very memory
17318 # consuming and fragmenting process. To avoid this, we pick a random,
17319 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17320 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17321 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'
17322 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'
17325 gnu
* | linux
* | k
*bsd
*-gnu)
17326 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17328 case $cc_basename,$host_cpu in
17329 pgcc
*) # Portland Group C compiler
17330 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'
17331 tmp_addflag
=' $pic_flag'
17333 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17334 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'
17335 tmp_addflag
=' $pic_flag -Mnomain' ;;
17336 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17337 tmp_addflag
=' -i_dynamic' ;;
17338 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17339 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17340 ifc
* | ifort
*) # Intel Fortran compiler
17341 tmp_addflag
=' -nofor_main' ;;
17343 case `$CC -V 2>&1 | sed 5q` in
17344 *Sun\ C
*) # Sun C 5.9
17345 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17346 tmp_sharedflag
='-G' ;;
17347 *Sun\ F
*) # Sun Fortran 8.3
17348 tmp_sharedflag
='-G' ;;
17350 tmp_sharedflag
='-shared' ;;
17352 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17354 if test $supports_anon_versioning = yes; then
17355 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17356 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17357 $echo "local: *; };" >> $output_objdir/$libname.ver~
17358 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17360 link_all_deplibs_GCJ
=no
17366 netbsd
* | netbsdelf
*-gnu)
17367 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17368 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17371 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17372 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17377 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17381 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17382 *** create shared libraries on Solaris systems. Therefore, libtool
17383 *** is disabling shared libraries support. We urge you to upgrade GNU
17384 *** binutils to release 2.9.1 or newer. Another option is to modify
17385 *** your PATH or compiler configuration so that the native linker is
17386 *** used, and then restart.
17389 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17390 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17391 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17397 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17398 case `$LD -v 2>&1` in
17399 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17403 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17404 *** reliably create shared libraries on SCO systems. Therefore, libtool
17405 *** is disabling shared libraries support. We urge you to upgrade GNU
17406 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17407 *** your PATH or compiler configuration so that the native linker is
17408 *** used, and then restart.
17413 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17414 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17415 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17416 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17425 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17427 hardcode_direct_GCJ
=yes
17428 hardcode_shlibpath_var_GCJ
=no
17432 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17433 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17434 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17441 if test "$ld_shlibs_GCJ" = no
; then
17443 hardcode_libdir_flag_spec_GCJ
=
17444 export_dynamic_flag_spec_GCJ
=
17445 whole_archive_flag_spec_GCJ
=
17448 # PORTME fill in a description of your system's linker (not GNU ld)
17451 allow_undefined_flag_GCJ
=unsupported
17452 always_export_symbols_GCJ
=yes
17453 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'
17454 # Note: this linker hardcodes the directories in LIBPATH if there
17455 # are no directories specified by -L.
17456 hardcode_minus_L_GCJ
=yes
17457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17458 # Neither direct hardcoding nor static linking is supported with a
17460 hardcode_direct_GCJ
=unsupported
17465 if test "$host_cpu" = ia64
; then
17466 # On IA64, the linker does run time linking by default, so we don't
17467 # have to do anything special.
17468 aix_use_runtimelinking
=no
17469 exp_sym_flag
='-Bexport'
17472 # If we're using GNU nm, then we don't want the "-C" option.
17473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17474 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17475 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'
17477 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'
17479 aix_use_runtimelinking
=no
17481 # Test if we are trying to use run time linking or normal
17482 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17483 # need to do runtime linking.
17484 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17485 for ld_flag
in $LDFLAGS; do
17486 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17487 aix_use_runtimelinking
=yes
17494 exp_sym_flag
='-bexport'
17495 no_entry_flag
='-bnoentry'
17498 # When large executables or shared objects are built, AIX ld can
17499 # have problems creating the table of contents. If linking a library
17500 # or program results in "error TOC overflow" add -mminimal-toc to
17501 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17502 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17504 archive_cmds_GCJ
=''
17505 hardcode_direct_GCJ
=yes
17506 hardcode_libdir_separator_GCJ
=':'
17507 link_all_deplibs_GCJ
=yes
17509 if test "$GCC" = yes; then
17510 case $host_os in aix4.
[012]|aix4.
[012].
*)
17511 # We only want to do this on AIX 4.2 and lower, the check
17512 # below for broken collect2 doesn't work under 4.3+
17513 collect2name
=`${CC} -print-prog-name=collect2`
17514 if test -f "$collect2name" && \
17515 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17517 # We have reworked collect2
17520 # We have old collect2
17521 hardcode_direct_GCJ
=unsupported
17522 # It fails to find uninstalled libraries when the uninstalled
17523 # path is not listed in the libpath. Setting hardcode_minus_L
17524 # to unsupported forces relinking
17525 hardcode_minus_L_GCJ
=yes
17526 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17527 hardcode_libdir_separator_GCJ
=
17531 shared_flag
='-shared'
17532 if test "$aix_use_runtimelinking" = yes; then
17533 shared_flag
="$shared_flag "'${wl}-G'
17537 if test "$host_cpu" = ia64
; then
17538 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17539 # chokes on -Wl,-G. The following line is correct:
17542 if test "$aix_use_runtimelinking" = yes; then
17543 shared_flag
='${wl}-G'
17545 shared_flag
='${wl}-bM:SRE'
17550 # It seems that -bexpall does not export symbols beginning with
17551 # underscore (_), so it is better to generate a list of symbols to export.
17552 always_export_symbols_GCJ
=yes
17553 if test "$aix_use_runtimelinking" = yes; then
17554 # Warning - without using the other runtime loading flags (-brtl),
17555 # -berok will link without error, but may produce a broken library.
17556 allow_undefined_flag_GCJ
='-berok'
17557 # Determine the default libpath from the value encoded in an empty executable.
17558 cat >conftest.
$ac_ext <<_ACEOF
17561 cat confdefs.h
>>conftest.
$ac_ext
17562 cat >>conftest.
$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17573 rm -f conftest.
$ac_objext conftest
$ac_exeext
17574 if { (ac_try
="$ac_link"
17575 case "(($ac_try" in
17576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_link") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1 >conftest.err
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_c_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest$ac_exeext &&
17590 $as_test_x conftest$ac_exeext; then
17592 lt_aix_libpath_sed='
17593 /Import File Strings/,/^$/ {
17599 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17600 # Check for a 64-bit object if we didn't find anything.
17601 if test -z "$aix_libpath"; then
17602 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17612 conftest$ac_exeext conftest.$ac_ext
17613 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17615 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17616 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"
17618 if test "$host_cpu" = ia64; then
17619 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17620 allow_undefined_flag_GCJ="-z nodefs"
17621 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"
17623 # Determine the default libpath from the value encoded in an empty executable.
17624 cat >conftest.$ac_ext <<_ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17639 rm -f conftest.$ac_objext conftest$ac_exeext
17640 if { (ac_try="$ac_link"
17641 case "(($ac_try" in
17642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17643 *) ac_try_echo
=$ac_try;;
17645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17646 (eval "$ac_link") 2>conftest.er1
17648 grep -v '^ *+' conftest.er1
>conftest.err
17650 cat conftest.err
>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } && {
17653 test -z "$ac_c_werror_flag" ||
17654 test ! -s conftest.err
17655 } && test -s conftest
$ac_exeext &&
17656 $as_test_x conftest
$ac_exeext; then
17658 lt_aix_libpath_sed
='
17659 /Import File Strings/,/^$/ {
17665 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17666 # Check for a 64-bit object if we didn't find anything.
17667 if test -z "$aix_libpath"; then
17668 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.
$ac_ext >&5
17677 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17678 conftest
$ac_exeext conftest.
$ac_ext
17679 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17681 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17682 # Warning - without using the other run time loading flags,
17683 # -berok will link without error, but may produce a broken library.
17684 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17685 allow_undefined_flag_GCJ
=' ${wl}-berok'
17686 # Exported symbols can be pulled into shared objects from archives
17687 whole_archive_flag_spec_GCJ
='$convenience'
17688 archive_cmds_need_lc_GCJ
=yes
17689 # This is similar to how AIX traditionally builds its shared libraries.
17690 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'
17696 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)'
17697 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17698 hardcode_minus_L_GCJ
=yes
17699 # see comment about different semantics on the GNU ld section
17704 export_dynamic_flag_spec_GCJ
=-rdynamic
17707 cygwin
* | mingw
* | pw32
*)
17708 # When not using gcc, we currently assume that we are using
17709 # Microsoft Visual C++.
17710 # hardcode_libdir_flag_spec is actually meaningless, as there is
17711 # no search path for DLLs.
17712 hardcode_libdir_flag_spec_GCJ
=' '
17713 allow_undefined_flag_GCJ
=unsupported
17714 # Tell ltmain to make .lib files, not .a files.
17716 # Tell ltmain to make .dll files, not .so files.
17718 # FIXME: Setting linknames here is a bad hack.
17719 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17720 # The linker will automatically build a .lib file if we build a DLL.
17721 old_archive_From_new_cmds_GCJ
='true'
17722 # FIXME: Should let the user specify the lib program.
17723 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17724 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17725 enable_shared_with_static_runtimes_GCJ
=yes
17728 darwin
* | rhapsody
*)
17730 rhapsody
* | darwin1.
[012])
17731 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17734 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17735 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17737 case ${MACOSX_DEPLOYMENT_TARGET} in
17739 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17742 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17748 archive_cmds_need_lc_GCJ
=no
17749 hardcode_direct_GCJ
=no
17750 hardcode_automatic_GCJ
=yes
17751 hardcode_shlibpath_var_GCJ
=unsupported
17752 whole_archive_flag_spec_GCJ
=''
17753 link_all_deplibs_GCJ
=yes
17754 if test "$GCC" = yes ; then
17755 output_verbose_link_cmd
='echo'
17756 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17757 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17758 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17759 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17761 case $cc_basename in
17763 output_verbose_link_cmd
='echo'
17764 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17765 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17766 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17767 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17768 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}'
17778 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17779 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17780 hardcode_shlibpath_var_GCJ
=no
17787 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17788 # support. Future versions do this automatically, but an explicit c++rt0.o
17789 # does not break anything, and helps significantly (at the cost of a little
17792 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17793 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17794 hardcode_direct_GCJ
=yes
17795 hardcode_shlibpath_var_GCJ
=no
17798 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17800 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17801 hardcode_direct_GCJ
=yes
17802 hardcode_minus_L_GCJ
=yes
17803 hardcode_shlibpath_var_GCJ
=no
17806 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17807 freebsd
* | dragonfly
*)
17808 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17809 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17810 hardcode_direct_GCJ
=yes
17811 hardcode_shlibpath_var_GCJ
=no
17815 if test "$GCC" = yes; then
17816 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'
17818 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'
17820 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17821 hardcode_libdir_separator_GCJ
=:
17822 hardcode_direct_GCJ
=yes
17824 # hardcode_minus_L: Not really in the search PATH,
17825 # but as the default location of the library.
17826 hardcode_minus_L_GCJ
=yes
17827 export_dynamic_flag_spec_GCJ
='${wl}-E'
17831 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17832 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17834 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17836 if test "$with_gnu_ld" = no
; then
17837 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17838 hardcode_libdir_separator_GCJ
=:
17840 hardcode_direct_GCJ
=yes
17841 export_dynamic_flag_spec_GCJ
='${wl}-E'
17843 # hardcode_minus_L: Not really in the search PATH,
17844 # but as the default location of the library.
17845 hardcode_minus_L_GCJ
=yes
17850 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17853 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17856 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17859 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17865 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17868 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17871 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17875 if test "$with_gnu_ld" = no
; then
17876 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17877 hardcode_libdir_separator_GCJ
=:
17881 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17882 hardcode_direct_GCJ
=no
17883 hardcode_shlibpath_var_GCJ
=no
17886 hardcode_direct_GCJ
=yes
17887 export_dynamic_flag_spec_GCJ
='${wl}-E'
17889 # hardcode_minus_L: Not really in the search PATH,
17890 # but as the default location of the library.
17891 hardcode_minus_L_GCJ
=yes
17897 irix5
* | irix6
* | nonstopux
*)
17898 if test "$GCC" = yes; then
17899 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'
17901 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'
17902 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17904 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17905 hardcode_libdir_separator_GCJ
=:
17906 link_all_deplibs_GCJ
=yes
17909 netbsd
* | netbsdelf
*-gnu)
17910 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17911 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17913 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17915 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17916 hardcode_direct_GCJ
=yes
17917 hardcode_shlibpath_var_GCJ
=no
17921 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17922 hardcode_direct_GCJ
=yes
17923 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17924 hardcode_libdir_separator_GCJ
=:
17925 hardcode_shlibpath_var_GCJ
=no
17929 if test -f /usr
/libexec
/ld.so
; then
17930 hardcode_direct_GCJ
=yes
17931 hardcode_shlibpath_var_GCJ
=no
17932 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17933 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17934 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17935 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17936 export_dynamic_flag_spec_GCJ
='${wl}-E'
17939 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17940 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17941 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17944 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17945 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17955 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17956 hardcode_minus_L_GCJ
=yes
17957 allow_undefined_flag_GCJ
=unsupported
17958 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'
17959 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17963 if test "$GCC" = yes; then
17964 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17965 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'
17967 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17968 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'
17970 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17971 hardcode_libdir_separator_GCJ
=:
17974 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17975 if test "$GCC" = yes; then
17976 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17977 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'
17978 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17980 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17981 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'
17982 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~
17983 $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'
17985 # Both c and cxx compiler support -rpath directly
17986 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17988 hardcode_libdir_separator_GCJ
=:
17992 no_undefined_flag_GCJ
=' -z text'
17993 if test "$GCC" = yes; then
17995 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17996 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17997 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18000 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18001 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18002 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18004 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18005 hardcode_shlibpath_var_GCJ
=no
18007 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18009 # The compiler driver will combine and reorder linker options,
18010 # but understands `-z linker_flag'. GCC discards it without `$wl',
18011 # but is careful enough not to reorder.
18012 # Supported since Solaris 2.6 (maybe 2.5.1?)
18013 if test "$GCC" = yes; then
18014 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18016 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18020 link_all_deplibs_GCJ
=yes
18024 if test "x$host_vendor" = xsequent
; then
18025 # Use $CC to link under sequent, because it throws in some extra .o
18026 # files that make .init and .fini sections work.
18027 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18029 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18031 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18032 hardcode_direct_GCJ
=yes
18033 hardcode_minus_L_GCJ
=yes
18034 hardcode_shlibpath_var_GCJ
=no
18038 case $host_vendor in
18040 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18041 hardcode_direct_GCJ
=yes # is this really true???
18044 ## LD is ld it makes a PLAMLIB
18045 ## CC just makes a GrossModule.
18046 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18047 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18048 hardcode_direct_GCJ
=no
18051 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18052 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18055 runpath_var
='LD_RUN_PATH'
18056 hardcode_shlibpath_var_GCJ
=no
18060 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18061 hardcode_shlibpath_var_GCJ
=no
18062 export_dynamic_flag_spec_GCJ
='-Bexport'
18066 if test -d /usr
/nec
; then
18067 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18068 hardcode_shlibpath_var_GCJ
=no
18069 runpath_var
=LD_RUN_PATH
18070 hardcode_runpath_var
=yes
18075 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18076 no_undefined_flag_GCJ
='${wl}-z,text'
18077 archive_cmds_need_lc_GCJ
=no
18078 hardcode_shlibpath_var_GCJ
=no
18079 runpath_var
='LD_RUN_PATH'
18081 if test "$GCC" = yes; then
18082 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18083 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18085 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18086 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18090 sysv5
* | sco3.2v5
* | sco5v6
*)
18091 # Note: We can NOT use -z defs as we might desire, because we do not
18092 # link with -lc, and that would cause any symbols used from libc to
18093 # always be unresolved, which means just about no library would
18094 # ever link correctly. If we're not using GNU ld we use -z text
18095 # though, which does catch some bad symbols but isn't as heavy-handed
18097 no_undefined_flag_GCJ
='${wl}-z,text'
18098 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18099 archive_cmds_need_lc_GCJ
=no
18100 hardcode_shlibpath_var_GCJ
=no
18101 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18102 hardcode_libdir_separator_GCJ
=':'
18103 link_all_deplibs_GCJ
=yes
18104 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18105 runpath_var
='LD_RUN_PATH'
18107 if test "$GCC" = yes; then
18108 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18109 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18111 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18112 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18117 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18118 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18119 hardcode_shlibpath_var_GCJ
=no
18128 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18129 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18130 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18133 # Do we need to explicitly link libc?
18135 case "x$archive_cmds_need_lc_GCJ" in
18137 # Assume -lc should be added
18138 archive_cmds_need_lc_GCJ
=yes
18140 if test "$enable_shared" = yes && test "$GCC" = yes; then
18141 case $archive_cmds_GCJ in
18143 # FIXME: we may have to deal with multi-command sequences.
18146 # Test whether the compiler implicitly links with -lc since on some
18147 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18148 # to ld, don't add -lc before -lgcc.
18149 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18150 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18152 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } 2>conftest.err
; then
18161 libobjs
=conftest.
$ac_objext
18163 wl
=$lt_prog_compiler_wl_GCJ
18164 pic_flag
=$lt_prog_compiler_pic_GCJ
18170 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18171 allow_undefined_flag_GCJ
=
18172 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18173 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }
18178 archive_cmds_need_lc_GCJ
=no
18180 archive_cmds_need_lc_GCJ
=yes
18182 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18184 cat conftest.err
1>&5
18187 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18188 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18195 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18196 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18197 library_names_spec
=
18198 libname_spec
='lib$name'
18202 postuninstall_cmds
=
18206 shlibpath_overrides_runpath
=unknown
18208 dynamic_linker
="$host_os ld.so"
18209 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18211 need_lib_prefix
=unknown
18212 hardcode_into_libs
=no
18214 # when you set need_version to no, make sure it does not cause -set_version
18215 # flags to be left without arguments
18216 need_version
=unknown
18221 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18222 shlibpath_var
=LIBPATH
18224 # AIX 3 has no versioning support, so we append a major version to the name.
18225 soname_spec
='${libname}${release}${shared_ext}$major'
18232 hardcode_into_libs
=yes
18233 if test "$host_cpu" = ia64
; then
18234 # AIX 5 supports IA64
18235 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18236 shlibpath_var
=LD_LIBRARY_PATH
18238 # With GCC up to 2.95.x, collect2 would create an import file
18239 # for dependence libraries. The import file would start with
18240 # the line `#! .'. This would cause the generated library to
18241 # depend on `.', always an invalid library. This was fixed in
18242 # development snapshots of GCC prior to 3.0.
18244 aix4 | aix4.
[01] | aix4.
[01].
*)
18245 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18247 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18250 can_build_shared
=no
18254 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18255 # soname into executable. Probably we can add versioning support to
18256 # collect2, so additional links can be useful in future.
18257 if test "$aix_use_runtimelinking" = yes; then
18258 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18259 # instead of lib<name>.a to let people know that these are not
18260 # typical AIX shared libraries.
18261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18263 # We preserve .a as extension for shared libraries through AIX4.2
18264 # and later when we are not doing run time linking.
18265 library_names_spec
='${libname}${release}.a $libname.a'
18266 soname_spec
='${libname}${release}${shared_ext}$major'
18268 shlibpath_var
=LIBPATH
18273 library_names_spec
='$libname.ixlibrary $libname.a'
18274 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18275 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'
18279 library_names_spec
='${libname}${shared_ext}'
18280 dynamic_linker
="$host_os ld.so"
18281 shlibpath_var
=LIBRARY_PATH
18287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18288 soname_spec
='${libname}${release}${shared_ext}$major'
18289 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18290 shlibpath_var
=LD_LIBRARY_PATH
18291 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18292 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18293 # the default ld.so.conf also contains /usr/contrib/lib and
18294 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18295 # libtool to hard-code these into programs
18298 cygwin
* | mingw
* | pw32
*)
18299 version_type
=windows
18304 case $GCC,$host_os in
18305 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18306 library_names_spec
='$libname.dll.a'
18307 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18308 postinstall_cmds
='base_file=`basename \${file}`~
18309 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18310 dldir=$destdir/`dirname \$dlpath`~
18311 test -d \$dldir || mkdir -p \$dldir~
18312 $install_prog $dir/$dlname \$dldir/$dlname~
18313 chmod a+x \$dldir/$dlname'
18314 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18315 dlpath=$dir/\$dldll~
18317 shlibpath_overrides_runpath
=yes
18321 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18322 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18323 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18326 # MinGW DLLs use traditional 'lib' prefix
18327 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18328 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18329 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18330 # It is most probably a Windows format PATH printed by
18331 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18332 # path with ; separators, and with drive letters. We can handle the
18333 # drive letters (cygwin fileutils understands them), so leave them,
18334 # especially as we might pass files found there to a mingw objdump,
18335 # which wouldn't understand a cygwinified path. Ahh.
18336 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18338 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18342 # pw32 DLLs use 'pw' prefix rather than 'lib'
18343 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18349 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18352 dynamic_linker
='Win32 ld.exe'
18353 # FIXME: first we should search . and the directory the executable is in
18357 darwin
* | rhapsody
*)
18358 dynamic_linker
="$host_os dyld"
18359 version_type
=darwin
18362 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18363 soname_spec
='${libname}${release}${major}$shared_ext'
18364 shlibpath_overrides_runpath
=yes
18365 shlibpath_var
=DYLD_LIBRARY_PATH
18366 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18368 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18376 soname_spec
='${libname}${release}${shared_ext}$major'
18377 shlibpath_var
=LD_LIBRARY_PATH
18384 freebsd
* | dragonfly
*)
18385 # DragonFly does not have aout. When/if they implement a new
18386 # versioning mechanism, adjust this.
18387 if test -x /usr
/bin
/objformat
; then
18388 objformat
=`/usr/bin/objformat`
18391 freebsd
[123]*) objformat
=aout
;;
18392 *) objformat
=elf
;;
18395 version_type
=freebsd-
$objformat
18396 case $version_type in
18398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18403 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18407 shlibpath_var
=LD_LIBRARY_PATH
18410 shlibpath_overrides_runpath
=yes
18412 freebsd3.
[01]* | freebsdelf3.
[01]*)
18413 shlibpath_overrides_runpath
=yes
18414 hardcode_into_libs
=yes
18416 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18417 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18418 shlibpath_overrides_runpath
=no
18419 hardcode_into_libs
=yes
18421 *) # from 4.6 on, and DragonFly
18422 shlibpath_overrides_runpath
=yes
18423 hardcode_into_libs
=yes
18432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18433 soname_spec
='${libname}${release}${shared_ext}$major'
18434 shlibpath_var
=LD_LIBRARY_PATH
18435 hardcode_into_libs
=yes
18438 hpux9
* | hpux10
* | hpux11
*)
18439 # Give a soname corresponding to the major version so that dld.sl refuses to
18440 # link against other versions.
18447 hardcode_into_libs
=yes
18448 dynamic_linker
="$host_os dld.so"
18449 shlibpath_var
=LD_LIBRARY_PATH
18450 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18452 soname_spec
='${libname}${release}${shared_ext}$major'
18453 if test "X$HPUX_IA64_MODE" = X32
; then
18454 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18456 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18458 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18462 hardcode_into_libs
=yes
18463 dynamic_linker
="$host_os dld.sl"
18464 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18465 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18467 soname_spec
='${libname}${release}${shared_ext}$major'
18468 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18469 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18473 dynamic_linker
="$host_os dld.sl"
18474 shlibpath_var
=SHLIB_PATH
18475 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18477 soname_spec
='${libname}${release}${shared_ext}$major'
18480 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18481 postinstall_cmds
='chmod 555 $lib'
18488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18489 soname_spec
='${libname}${release}${shared_ext}$major'
18490 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18491 shlibpath_var
=LD_LIBRARY_PATH
18492 shlibpath_overrides_runpath
=no
18493 hardcode_into_libs
=yes
18496 irix5
* | irix6
* | nonstopux
*)
18498 nonstopux
*) version_type
=nonstopux
;;
18500 if test "$lt_cv_prog_gnu_ld" = yes; then
18508 soname_spec
='${libname}${release}${shared_ext}$major'
18509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18511 irix5
* | nonstopux
*)
18512 libsuff
= shlibsuff
=
18515 case $LD in # libtool.m4 will add one of these switches to LD
18516 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18517 libsuff
= shlibsuff
= libmagic
=32-bit;;
18518 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18519 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18520 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18521 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18522 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18526 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18527 shlibpath_overrides_runpath
=no
18528 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18529 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18530 hardcode_into_libs
=yes
18533 # No shared lib support for Linux oldld, aout, or coff.
18534 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18538 # This must be Linux ELF.
18539 linux
* | k
*bsd
*-gnu)
18543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18544 soname_spec
='${libname}${release}${shared_ext}$major'
18545 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18546 shlibpath_var
=LD_LIBRARY_PATH
18547 shlibpath_overrides_runpath
=no
18548 # This implies no fast_install, which is unacceptable.
18549 # Some rework will be needed to allow for fast_install
18550 # before this can be enabled.
18551 hardcode_into_libs
=yes
18553 # Append ld.so.conf contents to the search path
18554 if test -f /etc
/ld.so.conf
; then
18555 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18556 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18559 # We used to test for /lib/ld.so.1 and disable shared libraries on
18560 # powerpc, because MkLinux only supported shared libraries with the
18561 # GNU dynamic linker. Since this was broken with cross compilers,
18562 # most powerpc-linux boxes support dynamic linking these days and
18563 # people can always --disable-shared, the test was removed, and we
18564 # assume the GNU/Linux dynamic linker is in use.
18565 dynamic_linker
='GNU/Linux ld.so'
18572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18573 soname_spec
='${libname}${release}${shared_ext}$major'
18574 shlibpath_var
=LD_LIBRARY_PATH
18575 shlibpath_overrides_runpath
=no
18576 hardcode_into_libs
=yes
18577 dynamic_linker
='NetBSD ld.elf_so'
18584 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18586 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18587 dynamic_linker
='NetBSD (a.out) ld.so'
18589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18590 soname_spec
='${libname}${release}${shared_ext}$major'
18591 dynamic_linker
='NetBSD ld.elf_so'
18593 shlibpath_var
=LD_LIBRARY_PATH
18594 shlibpath_overrides_runpath
=yes
18595 hardcode_into_libs
=yes
18600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18601 shlibpath_var
=LD_LIBRARY_PATH
18602 shlibpath_overrides_runpath
=yes
18609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18610 soname_spec
='${libname}${release}${shared_ext}$major'
18611 shlibpath_var
=LD_LIBRARY_PATH
18612 shlibpath_overrides_runpath
=yes
18617 sys_lib_dlsearch_path_spec
="/usr/lib"
18619 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18621 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18622 *) need_version
=no
;;
18624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18625 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18626 shlibpath_var
=LD_LIBRARY_PATH
18627 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18629 openbsd2.
[89] | openbsd2.
[89].
*)
18630 shlibpath_overrides_runpath
=no
18633 shlibpath_overrides_runpath
=yes
18637 shlibpath_overrides_runpath
=yes
18642 libname_spec
='$name'
18645 library_names_spec
='$libname${shared_ext} $libname.a'
18646 dynamic_linker
='OS/2 ld.exe'
18647 shlibpath_var
=LIBPATH
18650 osf3
* | osf4
* | osf5
*)
18654 soname_spec
='${libname}${release}${shared_ext}$major'
18655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18656 shlibpath_var
=LD_LIBRARY_PATH
18657 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18658 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18670 soname_spec
='${libname}${release}${shared_ext}$major'
18671 shlibpath_var
=LD_LIBRARY_PATH
18672 shlibpath_overrides_runpath
=yes
18673 hardcode_into_libs
=yes
18674 # ldd complains unless libraries are executable
18675 postinstall_cmds
='chmod +x $lib'
18680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18681 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18682 shlibpath_var
=LD_LIBRARY_PATH
18683 shlibpath_overrides_runpath
=yes
18684 if test "$with_gnu_ld" = yes; then
18692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18693 soname_spec
='${libname}${release}${shared_ext}$major'
18694 shlibpath_var
=LD_LIBRARY_PATH
18695 case $host_vendor in
18697 shlibpath_overrides_runpath
=no
18699 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18700 runpath_var
=LD_RUN_PATH
18708 shlibpath_overrides_runpath
=no
18709 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18715 if test -d /usr
/nec
;then
18717 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18718 soname_spec
='$libname${shared_ext}.$major'
18719 shlibpath_var
=LD_LIBRARY_PATH
18723 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18724 version_type
=freebsd-elf
18727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18728 soname_spec
='${libname}${release}${shared_ext}$major'
18729 shlibpath_var
=LD_LIBRARY_PATH
18730 hardcode_into_libs
=yes
18731 if test "$with_gnu_ld" = yes; then
18732 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18733 shlibpath_overrides_runpath
=no
18735 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18736 shlibpath_overrides_runpath
=yes
18739 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18743 sys_lib_dlsearch_path_spec
='/usr/lib'
18748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18749 soname_spec
='${libname}${release}${shared_ext}$major'
18750 shlibpath_var
=LD_LIBRARY_PATH
18757 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18758 echo "${ECHO_T}$dynamic_linker" >&6; }
18759 test "$dynamic_linker" = no
&& can_build_shared
=no
18761 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18767 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18768 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18769 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18774 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18776 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18777 if test "$GCC" = yes; then
18778 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18781 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18782 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18783 hardcode_action_GCJ
=
18784 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18785 test -n "$runpath_var_GCJ" || \
18786 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18788 # We can hardcode non-existant directories.
18789 if test "$hardcode_direct_GCJ" != no
&&
18790 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18791 # have to relink, otherwise we might link with an installed library
18792 # when we should be linking with a yet-to-be-installed one
18793 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18794 test "$hardcode_minus_L_GCJ" != no
; then
18795 # Linking always hardcodes the temporary library directory.
18796 hardcode_action_GCJ
=relink
18798 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18799 hardcode_action_GCJ
=immediate
18802 # We cannot hardcode anything, or else we can only hardcode existing
18804 hardcode_action_GCJ
=unsupported
18806 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18807 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18809 if test "$hardcode_action_GCJ" = relink
; then
18810 # Fast installation is not supported
18811 enable_fast_install
=no
18812 elif test "$shlibpath_overrides_runpath" = yes ||
18813 test "$enable_shared" = no
; then
18814 # Fast installation is not necessary
18815 enable_fast_install
=needless
18819 # The else clause should only fire when bootstrapping the
18820 # libtool distribution, otherwise you forgot to ship ltmain.sh
18821 # with your package, and you will get complaints that there are
18822 # no rules to generate ltmain.sh.
18823 if test -f "$ltmain"; then
18824 # See if we are running on zsh, and set the options which allow our commands through
18825 # without removal of \ escapes.
18826 if test -n "${ZSH_VERSION+set}" ; then
18827 setopt NO_GLOB_SUBST
18829 # Now quote all the things that may contain metacharacters while being
18830 # careful not to overquote the AC_SUBSTed values. We take copies of the
18831 # variables and quote the copies for generation of the libtool script.
18832 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18834 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18835 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18836 deplibs_check_method reload_flag reload_cmds need_locks \
18837 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18838 lt_cv_sys_global_symbol_to_c_name_address \
18839 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18840 old_postinstall_cmds old_postuninstall_cmds \
18844 lt_prog_compiler_wl_GCJ \
18845 lt_prog_compiler_pic_GCJ \
18846 lt_prog_compiler_static_GCJ \
18847 lt_prog_compiler_no_builtin_flag_GCJ \
18848 export_dynamic_flag_spec_GCJ \
18849 thread_safe_flag_spec_GCJ \
18850 whole_archive_flag_spec_GCJ \
18851 enable_shared_with_static_runtimes_GCJ \
18852 old_archive_cmds_GCJ \
18853 old_archive_from_new_cmds_GCJ \
18854 predep_objects_GCJ \
18855 postdep_objects_GCJ \
18858 compiler_lib_search_path_GCJ \
18859 compiler_lib_search_dirs_GCJ \
18861 archive_expsym_cmds_GCJ \
18862 postinstall_cmds_GCJ \
18863 postuninstall_cmds_GCJ \
18864 old_archive_from_expsyms_cmds_GCJ \
18865 allow_undefined_flag_GCJ \
18866 no_undefined_flag_GCJ \
18867 export_symbols_cmds_GCJ \
18868 hardcode_libdir_flag_spec_GCJ \
18869 hardcode_libdir_flag_spec_ld_GCJ \
18870 hardcode_libdir_separator_GCJ \
18871 hardcode_automatic_GCJ \
18873 module_expsym_cmds_GCJ \
18874 lt_cv_prog_compiler_c_o_GCJ \
18875 fix_srcfile_path_GCJ \
18876 exclude_expsyms_GCJ \
18877 include_expsyms_GCJ
; do
18880 old_archive_cmds_GCJ | \
18881 old_archive_from_new_cmds_GCJ | \
18882 archive_cmds_GCJ | \
18883 archive_expsym_cmds_GCJ | \
18884 module_cmds_GCJ | \
18885 module_expsym_cmds_GCJ | \
18886 old_archive_from_expsyms_cmds_GCJ | \
18887 export_symbols_cmds_GCJ | \
18888 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18889 postinstall_cmds | postuninstall_cmds | \
18890 old_postinstall_cmds | old_postuninstall_cmds | \
18891 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18892 # Double-quote double-evaled strings.
18893 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18896 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18902 *'\$0 --fallback-echo"')
18903 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18909 cat <<__EOF__ >> "$cfgfile"
18910 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18912 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18914 # Shell to use when invoking shell scripts.
18917 # Whether or not to build shared libraries.
18918 build_libtool_libs=$enable_shared
18920 # Whether or not to build static libraries.
18921 build_old_libs=$enable_static
18923 # Whether or not to add -lc for building shared libraries.
18924 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18926 # Whether or not to disallow shared libs when runtime libs are static
18927 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18929 # Whether or not to optimize for fast installation.
18930 fast_install=$enable_fast_install
18933 host_alias=$host_alias
18937 # The build system.
18938 build_alias=$build_alias
18942 # An echo program that does not interpret backslashes.
18947 AR_FLAGS=$lt_AR_FLAGS
18952 # LTCC compiler flags.
18953 LTCFLAGS=$lt_LTCFLAGS
18955 # A language-specific compiler.
18956 CC=$lt_compiler_GCJ
18958 # Is the compiler the GNU C compiler?
18964 # The linker used to build libraries.
18967 # Whether we need hard or soft links.
18970 # A BSD-compatible nm program.
18973 # A symbol stripping program
18976 # Used to examine libraries when file_magic_cmd begins "file"
18977 MAGIC_CMD=$MAGIC_CMD
18979 # Used on cygwin: DLL creation program.
18982 # Used on cygwin: object dumper.
18985 # Used on cygwin: assembler.
18988 # The name of the directory that contains temporary libtool files.
18991 # How to create reloadable object files.
18992 reload_flag=$lt_reload_flag
18993 reload_cmds=$lt_reload_cmds
18995 # How to pass a linker flag through the compiler.
18996 wl=$lt_lt_prog_compiler_wl_GCJ
18998 # Object file suffix (normally "o").
18999 objext="$ac_objext"
19001 # Old archive suffix (normally "a").
19004 # Shared library suffix (normally ".so").
19005 shrext_cmds='$shrext_cmds'
19007 # Executable file suffix (normally "").
19010 # Additional compiler flags for building library objects.
19011 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19014 # What is the maximum length of a command?
19015 max_cmd_len=$lt_cv_sys_max_cmd_len
19017 # Does compiler simultaneously support -c and -o options?
19018 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19020 # Must we lock files when doing compilation?
19021 need_locks=$lt_need_locks
19023 # Do we need the lib prefix for modules?
19024 need_lib_prefix=$need_lib_prefix
19026 # Do we need a version for libraries?
19027 need_version=$need_version
19029 # Whether dlopen is supported.
19030 dlopen_support=$enable_dlopen
19032 # Whether dlopen of programs is supported.
19033 dlopen_self=$enable_dlopen_self
19035 # Whether dlopen of statically linked programs is supported.
19036 dlopen_self_static=$enable_dlopen_self_static
19038 # Compiler flag to prevent dynamic linking.
19039 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19041 # Compiler flag to turn off builtin functions.
19042 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19044 # Compiler flag to allow reflexive dlopens.
19045 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19047 # Compiler flag to generate shared objects directly from archives.
19048 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19050 # Compiler flag to generate thread-safe objects.
19051 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19053 # Library versioning type.
19054 version_type=$version_type
19056 # Format of library name prefix.
19057 libname_spec=$lt_libname_spec
19059 # List of archive names. First name is the real one, the rest are links.
19060 # The last name is the one that the linker finds with -lNAME.
19061 library_names_spec=$lt_library_names_spec
19063 # The coded name of the library, if different from the real name.
19064 soname_spec=$lt_soname_spec
19066 # Commands used to build and install an old-style archive.
19068 old_archive_cmds=$lt_old_archive_cmds_GCJ
19069 old_postinstall_cmds=$lt_old_postinstall_cmds
19070 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19072 # Create an old-style archive from a shared archive.
19073 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19075 # Create a temporary old-style archive to link instead of a shared archive.
19076 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19078 # Commands used to build and install a shared archive.
19079 archive_cmds=$lt_archive_cmds_GCJ
19080 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19081 postinstall_cmds=$lt_postinstall_cmds
19082 postuninstall_cmds=$lt_postuninstall_cmds
19084 # Commands used to build a loadable module (assumed same as above if empty)
19085 module_cmds=$lt_module_cmds_GCJ
19086 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19088 # Commands to strip libraries.
19089 old_striplib=$lt_old_striplib
19090 striplib=$lt_striplib
19092 # Dependencies to place before the objects being linked to create a
19094 predep_objects=$lt_predep_objects_GCJ
19096 # Dependencies to place after the objects being linked to create a
19098 postdep_objects=$lt_postdep_objects_GCJ
19100 # Dependencies to place before the objects being linked to create a
19102 predeps=$lt_predeps_GCJ
19104 # Dependencies to place after the objects being linked to create a
19106 postdeps=$lt_postdeps_GCJ
19108 # The directories searched by this compiler when creating a shared
19110 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19112 # The library search path used internally by the compiler when linking
19113 # a shared library.
19114 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19116 # Method to check whether dependent libraries are shared objects.
19117 deplibs_check_method=$lt_deplibs_check_method
19119 # Command to use when deplibs_check_method == file_magic.
19120 file_magic_cmd=$lt_file_magic_cmd
19122 # Flag that allows shared libraries with undefined symbols to be built.
19123 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19125 # Flag that forces no undefined symbols.
19126 no_undefined_flag=$lt_no_undefined_flag_GCJ
19128 # Commands used to finish a libtool library installation in a directory.
19129 finish_cmds=$lt_finish_cmds
19131 # Same as above, but a single script fragment to be evaled but not shown.
19132 finish_eval=$lt_finish_eval
19134 # Take the output of nm and produce a listing of raw symbols and C names.
19135 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19137 # Transform the output of nm in a proper C declaration
19138 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19140 # Transform the output of nm in a C name address pair
19141 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19143 # This is the shared library runtime path variable.
19144 runpath_var=$runpath_var
19146 # This is the shared library path variable.
19147 shlibpath_var=$shlibpath_var
19149 # Is shlibpath searched before the hard-coded library search path?
19150 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19152 # How to hardcode a shared library path into an executable.
19153 hardcode_action=$hardcode_action_GCJ
19155 # Whether we should hardcode library paths into libraries.
19156 hardcode_into_libs=$hardcode_into_libs
19158 # Flag to hardcode \$libdir into a binary during linking.
19159 # This must work even if \$libdir does not exist.
19160 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19162 # If ld is used when linking, flag to hardcode \$libdir into
19163 # a binary during linking. This must work even if \$libdir does
19165 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19167 # Whether we need a single -rpath flag with a separated argument.
19168 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19170 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19171 # resulting binary.
19172 hardcode_direct=$hardcode_direct_GCJ
19174 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19175 # resulting binary.
19176 hardcode_minus_L=$hardcode_minus_L_GCJ
19178 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19179 # the resulting binary.
19180 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19182 # Set to yes if building a shared library automatically hardcodes DIR into the library
19183 # and all subsequent libraries and executables linked against it.
19184 hardcode_automatic=$hardcode_automatic_GCJ
19186 # Variables whose values should be saved in libtool wrapper scripts and
19187 # restored at relink time.
19188 variables_saved_for_relink="$variables_saved_for_relink"
19190 # Whether libtool must link a program against all its dependency libraries.
19191 link_all_deplibs=$link_all_deplibs_GCJ
19193 # Compile-time system search path for libraries
19194 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19196 # Run-time system search path for libraries
19197 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19199 # Fix the shell variable \$srcfile for the compiler.
19200 fix_srcfile_path=$lt_fix_srcfile_path
19202 # Set to yes if exported symbols are required.
19203 always_export_symbols=$always_export_symbols_GCJ
19205 # The commands to list exported symbols.
19206 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19208 # The commands to extract the exported symbol list from a shared archive.
19209 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19211 # Symbols that should not be listed in the preloaded symbols.
19212 exclude_expsyms=$lt_exclude_expsyms_GCJ
19214 # Symbols that must always be exported.
19215 include_expsyms=$lt_include_expsyms_GCJ
19217 # ### END LIBTOOL TAG CONFIG: $tagname
19223 # If there is no Makefile yet, we rely on a make rule to execute
19224 # `config.status --recheck' to rerun these tests and create the
19225 # libtool script then.
19226 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19227 if test -f "$ltmain_in"; then
19228 test -f Makefile
&& make "$ltmain"
19234 ac_cpp
='$CPP $CPPFLAGS'
19235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19249 # Source file extension for RC test sources.
19252 # Object file extension for compiled RC test sources.
19256 # Code to be used in simple compile tests
19257 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19259 # Code to be used in simple link tests
19260 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19262 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19264 # If no C compiler was specified, use CC.
19267 # If no C compiler flags were specified, use CFLAGS.
19268 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19270 # Allow CC to be a program name with arguments.
19274 # save warnings/boilerplate of simple test code
19275 ac_outfile
=conftest.
$ac_objext
19276 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19277 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19278 _lt_compiler_boilerplate
=`cat conftest.err`
19281 ac_outfile
=conftest.
$ac_objext
19282 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19283 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19284 _lt_linker_boilerplate
=`cat conftest.err`
19288 # Allow CC to be a program name with arguments.
19293 for cc_temp
in $compiler""; do
19295 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19296 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19301 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19303 lt_cv_prog_compiler_c_o_RC
=yes
19305 # The else clause should only fire when bootstrapping the
19306 # libtool distribution, otherwise you forgot to ship ltmain.sh
19307 # with your package, and you will get complaints that there are
19308 # no rules to generate ltmain.sh.
19309 if test -f "$ltmain"; then
19310 # See if we are running on zsh, and set the options which allow our commands through
19311 # without removal of \ escapes.
19312 if test -n "${ZSH_VERSION+set}" ; then
19313 setopt NO_GLOB_SUBST
19315 # Now quote all the things that may contain metacharacters while being
19316 # careful not to overquote the AC_SUBSTed values. We take copies of the
19317 # variables and quote the copies for generation of the libtool script.
19318 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19320 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19321 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19322 deplibs_check_method reload_flag reload_cmds need_locks \
19323 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19324 lt_cv_sys_global_symbol_to_c_name_address \
19325 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19326 old_postinstall_cmds old_postuninstall_cmds \
19330 lt_prog_compiler_wl_RC \
19331 lt_prog_compiler_pic_RC \
19332 lt_prog_compiler_static_RC \
19333 lt_prog_compiler_no_builtin_flag_RC \
19334 export_dynamic_flag_spec_RC \
19335 thread_safe_flag_spec_RC \
19336 whole_archive_flag_spec_RC \
19337 enable_shared_with_static_runtimes_RC \
19338 old_archive_cmds_RC \
19339 old_archive_from_new_cmds_RC \
19340 predep_objects_RC \
19341 postdep_objects_RC \
19344 compiler_lib_search_path_RC \
19345 compiler_lib_search_dirs_RC \
19347 archive_expsym_cmds_RC \
19348 postinstall_cmds_RC \
19349 postuninstall_cmds_RC \
19350 old_archive_from_expsyms_cmds_RC \
19351 allow_undefined_flag_RC \
19352 no_undefined_flag_RC \
19353 export_symbols_cmds_RC \
19354 hardcode_libdir_flag_spec_RC \
19355 hardcode_libdir_flag_spec_ld_RC \
19356 hardcode_libdir_separator_RC \
19357 hardcode_automatic_RC \
19359 module_expsym_cmds_RC \
19360 lt_cv_prog_compiler_c_o_RC \
19361 fix_srcfile_path_RC \
19362 exclude_expsyms_RC \
19363 include_expsyms_RC
; do
19366 old_archive_cmds_RC | \
19367 old_archive_from_new_cmds_RC | \
19368 archive_cmds_RC | \
19369 archive_expsym_cmds_RC | \
19371 module_expsym_cmds_RC | \
19372 old_archive_from_expsyms_cmds_RC | \
19373 export_symbols_cmds_RC | \
19374 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19375 postinstall_cmds | postuninstall_cmds | \
19376 old_postinstall_cmds | old_postuninstall_cmds | \
19377 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19378 # Double-quote double-evaled strings.
19379 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19382 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19388 *'\$0 --fallback-echo"')
19389 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19395 cat <<__EOF__ >> "$cfgfile"
19396 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19398 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19400 # Shell to use when invoking shell scripts.
19403 # Whether or not to build shared libraries.
19404 build_libtool_libs=$enable_shared
19406 # Whether or not to build static libraries.
19407 build_old_libs=$enable_static
19409 # Whether or not to add -lc for building shared libraries.
19410 build_libtool_need_lc=$archive_cmds_need_lc_RC
19412 # Whether or not to disallow shared libs when runtime libs are static
19413 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19415 # Whether or not to optimize for fast installation.
19416 fast_install=$enable_fast_install
19419 host_alias=$host_alias
19423 # The build system.
19424 build_alias=$build_alias
19428 # An echo program that does not interpret backslashes.
19433 AR_FLAGS=$lt_AR_FLAGS
19438 # LTCC compiler flags.
19439 LTCFLAGS=$lt_LTCFLAGS
19441 # A language-specific compiler.
19444 # Is the compiler the GNU C compiler?
19450 # The linker used to build libraries.
19453 # Whether we need hard or soft links.
19456 # A BSD-compatible nm program.
19459 # A symbol stripping program
19462 # Used to examine libraries when file_magic_cmd begins "file"
19463 MAGIC_CMD=$MAGIC_CMD
19465 # Used on cygwin: DLL creation program.
19468 # Used on cygwin: object dumper.
19471 # Used on cygwin: assembler.
19474 # The name of the directory that contains temporary libtool files.
19477 # How to create reloadable object files.
19478 reload_flag=$lt_reload_flag
19479 reload_cmds=$lt_reload_cmds
19481 # How to pass a linker flag through the compiler.
19482 wl=$lt_lt_prog_compiler_wl_RC
19484 # Object file suffix (normally "o").
19485 objext="$ac_objext"
19487 # Old archive suffix (normally "a").
19490 # Shared library suffix (normally ".so").
19491 shrext_cmds='$shrext_cmds'
19493 # Executable file suffix (normally "").
19496 # Additional compiler flags for building library objects.
19497 pic_flag=$lt_lt_prog_compiler_pic_RC
19500 # What is the maximum length of a command?
19501 max_cmd_len=$lt_cv_sys_max_cmd_len
19503 # Does compiler simultaneously support -c and -o options?
19504 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19506 # Must we lock files when doing compilation?
19507 need_locks=$lt_need_locks
19509 # Do we need the lib prefix for modules?
19510 need_lib_prefix=$need_lib_prefix
19512 # Do we need a version for libraries?
19513 need_version=$need_version
19515 # Whether dlopen is supported.
19516 dlopen_support=$enable_dlopen
19518 # Whether dlopen of programs is supported.
19519 dlopen_self=$enable_dlopen_self
19521 # Whether dlopen of statically linked programs is supported.
19522 dlopen_self_static=$enable_dlopen_self_static
19524 # Compiler flag to prevent dynamic linking.
19525 link_static_flag=$lt_lt_prog_compiler_static_RC
19527 # Compiler flag to turn off builtin functions.
19528 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19530 # Compiler flag to allow reflexive dlopens.
19531 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19533 # Compiler flag to generate shared objects directly from archives.
19534 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19536 # Compiler flag to generate thread-safe objects.
19537 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19539 # Library versioning type.
19540 version_type=$version_type
19542 # Format of library name prefix.
19543 libname_spec=$lt_libname_spec
19545 # List of archive names. First name is the real one, the rest are links.
19546 # The last name is the one that the linker finds with -lNAME.
19547 library_names_spec=$lt_library_names_spec
19549 # The coded name of the library, if different from the real name.
19550 soname_spec=$lt_soname_spec
19552 # Commands used to build and install an old-style archive.
19554 old_archive_cmds=$lt_old_archive_cmds_RC
19555 old_postinstall_cmds=$lt_old_postinstall_cmds
19556 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19558 # Create an old-style archive from a shared archive.
19559 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19561 # Create a temporary old-style archive to link instead of a shared archive.
19562 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19564 # Commands used to build and install a shared archive.
19565 archive_cmds=$lt_archive_cmds_RC
19566 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19567 postinstall_cmds=$lt_postinstall_cmds
19568 postuninstall_cmds=$lt_postuninstall_cmds
19570 # Commands used to build a loadable module (assumed same as above if empty)
19571 module_cmds=$lt_module_cmds_RC
19572 module_expsym_cmds=$lt_module_expsym_cmds_RC
19574 # Commands to strip libraries.
19575 old_striplib=$lt_old_striplib
19576 striplib=$lt_striplib
19578 # Dependencies to place before the objects being linked to create a
19580 predep_objects=$lt_predep_objects_RC
19582 # Dependencies to place after the objects being linked to create a
19584 postdep_objects=$lt_postdep_objects_RC
19586 # Dependencies to place before the objects being linked to create a
19588 predeps=$lt_predeps_RC
19590 # Dependencies to place after the objects being linked to create a
19592 postdeps=$lt_postdeps_RC
19594 # The directories searched by this compiler when creating a shared
19596 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19598 # The library search path used internally by the compiler when linking
19599 # a shared library.
19600 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19602 # Method to check whether dependent libraries are shared objects.
19603 deplibs_check_method=$lt_deplibs_check_method
19605 # Command to use when deplibs_check_method == file_magic.
19606 file_magic_cmd=$lt_file_magic_cmd
19608 # Flag that allows shared libraries with undefined symbols to be built.
19609 allow_undefined_flag=$lt_allow_undefined_flag_RC
19611 # Flag that forces no undefined symbols.
19612 no_undefined_flag=$lt_no_undefined_flag_RC
19614 # Commands used to finish a libtool library installation in a directory.
19615 finish_cmds=$lt_finish_cmds
19617 # Same as above, but a single script fragment to be evaled but not shown.
19618 finish_eval=$lt_finish_eval
19620 # Take the output of nm and produce a listing of raw symbols and C names.
19621 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19623 # Transform the output of nm in a proper C declaration
19624 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19626 # Transform the output of nm in a C name address pair
19627 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19629 # This is the shared library runtime path variable.
19630 runpath_var=$runpath_var
19632 # This is the shared library path variable.
19633 shlibpath_var=$shlibpath_var
19635 # Is shlibpath searched before the hard-coded library search path?
19636 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19638 # How to hardcode a shared library path into an executable.
19639 hardcode_action=$hardcode_action_RC
19641 # Whether we should hardcode library paths into libraries.
19642 hardcode_into_libs=$hardcode_into_libs
19644 # Flag to hardcode \$libdir into a binary during linking.
19645 # This must work even if \$libdir does not exist.
19646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19648 # If ld is used when linking, flag to hardcode \$libdir into
19649 # a binary during linking. This must work even if \$libdir does
19651 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19653 # Whether we need a single -rpath flag with a separated argument.
19654 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19656 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19657 # resulting binary.
19658 hardcode_direct=$hardcode_direct_RC
19660 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19661 # resulting binary.
19662 hardcode_minus_L=$hardcode_minus_L_RC
19664 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19665 # the resulting binary.
19666 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19668 # Set to yes if building a shared library automatically hardcodes DIR into the library
19669 # and all subsequent libraries and executables linked against it.
19670 hardcode_automatic=$hardcode_automatic_RC
19672 # Variables whose values should be saved in libtool wrapper scripts and
19673 # restored at relink time.
19674 variables_saved_for_relink="$variables_saved_for_relink"
19676 # Whether libtool must link a program against all its dependency libraries.
19677 link_all_deplibs=$link_all_deplibs_RC
19679 # Compile-time system search path for libraries
19680 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19682 # Run-time system search path for libraries
19683 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19685 # Fix the shell variable \$srcfile for the compiler.
19686 fix_srcfile_path=$lt_fix_srcfile_path
19688 # Set to yes if exported symbols are required.
19689 always_export_symbols=$always_export_symbols_RC
19691 # The commands to list exported symbols.
19692 export_symbols_cmds=$lt_export_symbols_cmds_RC
19694 # The commands to extract the exported symbol list from a shared archive.
19695 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19697 # Symbols that should not be listed in the preloaded symbols.
19698 exclude_expsyms=$lt_exclude_expsyms_RC
19700 # Symbols that must always be exported.
19701 include_expsyms=$lt_include_expsyms_RC
19703 # ### END LIBTOOL TAG CONFIG: $tagname
19709 # If there is no Makefile yet, we rely on a make rule to execute
19710 # `config.status --recheck' to rerun these tests and create the
19711 # libtool script then.
19712 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19713 if test -f "$ltmain_in"; then
19714 test -f Makefile
&& make "$ltmain"
19720 ac_cpp
='$CPP $CPPFLAGS'
19721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19730 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19731 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19732 { (exit 1); exit 1; }; }
19736 # Append the new tag name to the list of available tags.
19737 if test -n "$tagname" ; then
19738 available_tags
="$available_tags $tagname"
19744 # Now substitute the updated list of available tags.
19745 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19746 mv "${ofile}T" "$ofile"
19750 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19751 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19752 { (exit 1); exit 1; }; }
19758 # This can be used to rebuild libtool when needed
19759 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19761 # Always use our own libtool.
19762 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19764 # Prevent multiple expansion
19785 if test "x$CC" != xcc
; then
19786 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
19787 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
19789 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
19790 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
19792 set dummy
$CC; ac_cc
=`echo $2 |
19793 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19794 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19812 # Make sure it works both with $CC and with simple cc.
19813 # We do the test twice because some compilers refuse to overwrite an
19814 # existing .o file with -o, though they will create one.
19815 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19817 if { (case "(($ac_try" in
19818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_try") 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } &&
19826 test -f conftest2.$ac_objext && { (case "(($ac_try" in
19827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19828 *) ac_try_echo
=$ac_try;;
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_try") 2>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); };
19836 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
19837 if test "x$CC" != xcc
; then
19838 # Test first that cc exists at all.
19839 if { ac_try
='cc -c conftest.$ac_ext >&5'
19840 { (case "(($ac_try" in
19841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_try") 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19851 if { (case "(($ac_try" in
19852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19853 *) ac_try_echo
=$ac_try;;
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_try") 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
19861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_try") 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); };
19873 # cc exists but doesn't like -o.
19874 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19879 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19881 rm -f core conftest*
19884 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19885 { echo "$as_me:$LINENO: result: yes" >&5
19886 echo "${ECHO_T}yes" >&6; }
19888 { echo "$as_me:$LINENO: result: no" >&5
19889 echo "${ECHO_T}no" >&6; }
19891 cat >>confdefs.h <<\_ACEOF
19892 #define NO_MINUS_C_MINUS_O 1
19897 # FIXME: we rely on the cache variable name because
19898 # there is no other way.
19900 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19901 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
19902 # Losing compiler, so override with the script.
19903 # FIXME: It is wrong to rewrite CC.
19904 # But if we don't then we get into trouble of one sort or another.
19905 # A longer-term fix would be to have automake use am__CC in this case,
19906 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19907 CC="$am_aux_dir/compile $CC"
19912 ac_config_headers="$ac_config_headers config.h"
19916 cflags_save="$CFLAGS"
19917 if test -z "$GCC"; then
19921 CFLAGS="-O2 -w -signed"
19922 PROFILE="-p -g3 -O2 -signed"
19924 sparc-sun-solaris*)
19926 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
19927 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
19938 DEBUG="-g -Wall -fsigned-char"
19939 CFLAGS="-O20 -ffast-math -fsigned-char"
19940 PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
19944 { echo "$as_me:$LINENO: checking if gcc supports -mv8" >&5
19945 echo $ECHO_N "checking if gcc supports -mv8... $ECHO_C" >&6; }
19946 old_cflags="$CFLAGS"
19947 CFLAGS="$CFLAGS -mv8"
19948 cat >conftest.$ac_ext <<_ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19967 *) ac_try_echo
=$ac_try;;
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19972 grep -v '^ *+' conftest.er1
>conftest.err
19974 cat conftest.err
>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_c_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.
$ac_objext; then
19981 { echo "$as_me:$LINENO: result: yes" >&5
19982 echo "${ECHO_T}yes" >&6; }
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.
$ac_ext >&5
19992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19993 CFLAGS
="$old_cflags"
19994 DEBUG
="-g -Wall -fsigned-char $sparc_cpu"
19995 CFLAGS
="-O20 -ffast-math -fsigned-char $sparc_cpu"
19996 PROFILE
="-pg -g -O20 -fsigned-char $sparc_cpu"
19999 DEBUG
="-fno-common -g -Wall -fsigned-char"
20000 CFLAGS
="-fno-common -O4 -Wall -fsigned-char -ffast-math"
20001 PROFILE
="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
20004 DEBUG
="-g -Wall -fsigned-char"
20005 CFLAGS
="-O20 -fsigned-char"
20006 PROFILE
="-O20 -g -pg -fsigned-char"
20010 CFLAGS
="$CFLAGS $cflags_save"
20011 DEBUG
="$DEBUG $cflags_save"
20012 PROFILE
="$PROFILE $cflags_save"
20016 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20017 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20018 if test "${ac_cv_header_stdc+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 cat >conftest.
$ac_ext <<_ACEOF
20024 cat confdefs.h
>>conftest.
$ac_ext
20025 cat >>conftest.
$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 #include <stdlib.h>
20028 #include <stdarg.h>
20029 #include <string.h>
20040 rm -f conftest.
$ac_objext
20041 if { (ac_try
="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20049 grep -v '^ *+' conftest.er1 >conftest.err
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.$ac_objext; then
20057 ac_cv_header_stdc=yes
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20062 ac_cv_header_stdc=no
20065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20067 if test $ac_cv_header_stdc = yes; then
20068 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20069 cat >conftest.$ac_ext <<_ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 #include <string.h>
20078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20079 $EGREP "memchr" >/dev/null 2>&1; then
20082 ac_cv_header_stdc=no
20088 if test $ac_cv_header_stdc = yes; then
20089 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20090 cat >conftest.$ac_ext <<_ACEOF
20093 cat confdefs.h >>conftest.$ac_ext
20094 cat >>conftest.$ac_ext <<_ACEOF
20095 /* end confdefs.h. */
20096 #include <stdlib.h>
20099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20100 $EGREP "free" >/dev/null 2>&1; then
20103 ac_cv_header_stdc=no
20109 if test $ac_cv_header_stdc = yes; then
20110 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20111 if test "$cross_compiling" = yes; then
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20121 #include <stdlib.h>
20122 #if ((' ' & 0x0FF) == 0x020)
20123 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20124 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20126 # define ISLOWER(c) \
20127 (('a' <= (c) && (c) <= 'i') \
20128 || ('j' <= (c) && (c) <= 'r') \
20129 || ('s' <= (c) && (c) <= 'z'))
20130 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20133 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20138 for (i = 0; i < 256; i++)
20139 if (XOR (islower (i), ISLOWER (i))
20140 || toupper (i) != TOUPPER (i))
20145 rm -f conftest$ac_exeext
20146 if { (ac_try="$ac_link"
20147 case "(($ac_try" in
20148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20149 *) ac_try_echo
=$ac_try;;
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_link") 2>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20156 { (case "(($ac_try" in
20157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_try") 2>&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; }; then
20167 echo "$as_me: program exited with status $ac_status" >&5
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20171 ( exit $ac_status )
20172 ac_cv_header_stdc=no
20174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20180 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20181 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20182 if test $ac_cv_header_stdc = yes; then
20184 cat >>confdefs.h <<\_ACEOF
20185 #define STDC_HEADERS 1
20191 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20192 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20193 if test "${ac_cv_c_const+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20206 /* FIXME: Include the comments suggested by Paul. */
20207 #ifndef __cplusplus
20208 /* Ultrix mips cc rejects this. */
20209 typedef int charset[2];
20211 /* SunOS 4.1.1 cc rejects this. */
20212 char const *const *pcpcc;
20214 /* NEC SVR4.0.2 mips cc rejects this. */
20215 struct point {int x, y;};
20216 static struct point const zero = {0,0};
20217 /* AIX XL C 1.02.0.0 rejects this.
20218 It does not let you subtract one const X* pointer from another in
20219 an arm of an if-expression whose if-part is not a constant
20221 const char *g = "string";
20222 pcpcc = &g + (g ? g-g : 0);
20223 /* HPUX 7.0 cc rejects these. */
20225 ppc = (char**) pcpcc;
20226 pcpcc = (char const *const *) ppc;
20227 { /* SCO 3.2v4 cc rejects this. */
20229 char const *s = 0 ? (char *) 0 : (char const *) 0;
20234 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20235 int x[] = {25, 17};
20236 const int *foo = &x[0];
20239 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20240 typedef const int *iptr;
20244 { /* AIX XL C 1.02.0.0 rejects this saying
20245 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20246 struct s { int j; const int *ap[3]; };
20247 struct s *b; b->j = 5;
20249 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20250 const int foo = 10;
20251 if (!foo) return 0;
20253 return !cs[0] && !zero.x;
20260 rm -f conftest.$ac_objext
20261 if { (ac_try="$ac_compile"
20262 case "(($ac_try" in
20263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20264 *) ac_try_echo
=$ac_try;;
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.
$ac_objext; then
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.
$ac_ext >&5
20285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20287 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20288 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20289 if test $ac_cv_c_const = no
; then
20291 cat >>confdefs.h
<<\_ACEOF
20299 { echo "$as_me:$LINENO: checking for int16_t" >&5
20300 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
20301 if test "${has_cv_int16_t+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20304 if test "$cross_compiling" = yes; then
20308 cat >conftest.
$ac_ext <<_ACEOF
20311 cat confdefs.h
>>conftest.
$ac_ext
20312 cat >>conftest.
$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20315 #if defined __BEOS__ && !defined __HAIKU__
20316 #include <inttypes.h>
20318 #include <sys/types.h>
20320 int main() {return 0;}
20323 rm -f conftest
$ac_exeext
20324 if { (ac_try
="$ac_link"
20325 case "(($ac_try" in
20326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_link") 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20334 { (case "(($ac_try" in
20335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20336 *) ac_try_echo
=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_try") 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; }; then
20345 echo "$as_me: program exited with status $ac_status" >&5
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.
$ac_ext >&5
20349 ( exit $ac_status )
20352 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20358 { echo "$as_me:$LINENO: result: $has_cv_int16_t" >&5
20359 echo "${ECHO_T}$has_cv_int16_t" >&6; }
20361 { echo "$as_me:$LINENO: checking for int32_t" >&5
20362 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
20363 if test "${has_cv_int32_t+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 if test "$cross_compiling" = yes; then
20370 cat >conftest.
$ac_ext <<_ACEOF
20373 cat confdefs.h
>>conftest.
$ac_ext
20374 cat >>conftest.
$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20377 #if defined __BEOS__ && !defined __HAIKU__
20378 #include <inttypes.h>
20380 #include <sys/types.h>
20382 int main() {return 0;}
20385 rm -f conftest
$ac_exeext
20386 if { (ac_try
="$ac_link"
20387 case "(($ac_try" in
20388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20389 *) ac_try_echo=$ac_try;;
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_link") 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20396 { (case "(($ac_try" in
20397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20398 *) ac_try_echo
=$ac_try;;
20400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20401 (eval "$ac_try") 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; }; then
20407 echo "$as_me: program exited with status $ac_status" >&5
20408 echo "$as_me: failed program was:" >&5
20409 sed 's/^/| /' conftest.
$ac_ext >&5
20411 ( exit $ac_status )
20414 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20420 { echo "$as_me:$LINENO: result: $has_cv_int32_t" >&5
20421 echo "${ECHO_T}$has_cv_int32_t" >&6; }
20423 { echo "$as_me:$LINENO: checking for uint32_t" >&5
20424 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
20425 if test "${has_cv_uint32_t+set}" = set; then
20426 echo $ECHO_N "(cached) $ECHO_C" >&6
20428 if test "$cross_compiling" = yes; then
20432 cat >conftest.
$ac_ext <<_ACEOF
20435 cat confdefs.h
>>conftest.
$ac_ext
20436 cat >>conftest.
$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20439 #if defined __BEOS__ && !defined __HAIKU__
20440 #include <inttypes.h>
20442 #include <sys/types.h>
20444 int main() {return 0;}
20447 rm -f conftest
$ac_exeext
20448 if { (ac_try
="$ac_link"
20449 case "(($ac_try" in
20450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_link") 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20458 { (case "(($ac_try" in
20459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20460 *) ac_try_echo
=$ac_try;;
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_try") 2>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 has_cv_uint32_t
=yes
20469 echo "$as_me: program exited with status $ac_status" >&5
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.
$ac_ext >&5
20473 ( exit $ac_status )
20476 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20482 { echo "$as_me:$LINENO: result: $has_cv_uint32_t" >&5
20483 echo "${ECHO_T}$has_cv_uint32_t" >&6; }
20485 { echo "$as_me:$LINENO: checking for uint16_t" >&5
20486 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
20487 if test "${has_cv_uint16_t+set}" = set; then
20488 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 if test "$cross_compiling" = yes; then
20494 cat >conftest.
$ac_ext <<_ACEOF
20497 cat confdefs.h
>>conftest.
$ac_ext
20498 cat >>conftest.
$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20501 #if defined __BEOS__ && !defined __HAIKU__
20502 #include <inttypes.h>
20504 #include <sys/types.h>
20506 int main() {return 0;}
20509 rm -f conftest
$ac_exeext
20510 if { (ac_try
="$ac_link"
20511 case "(($ac_try" in
20512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_link") 2>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20520 { (case "(($ac_try" in
20521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20522 *) ac_try_echo
=$ac_try;;
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_try") 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20529 has_cv_uint16_t
=yes
20531 echo "$as_me: program exited with status $ac_status" >&5
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.
$ac_ext >&5
20535 ( exit $ac_status )
20538 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20544 { echo "$as_me:$LINENO: result: $has_cv_uint16_t" >&5
20545 echo "${ECHO_T}$has_cv_uint16_t" >&6; }
20547 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
20548 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
20549 if test "${has_cv_u_int32_t+set}" = set; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20552 if test "$cross_compiling" = yes; then
20553 has_cv_u_int32_t
=no
20556 cat >conftest.
$ac_ext <<_ACEOF
20559 cat confdefs.h
>>conftest.
$ac_ext
20560 cat >>conftest.
$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20563 #if defined __BEOS__ && !defined __HAIKU__
20564 #include <inttypes.h>
20566 #include <sys/types.h>
20568 int main() {return 0;}
20571 rm -f conftest
$ac_exeext
20572 if { (ac_try
="$ac_link"
20573 case "(($ac_try" in
20574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20575 *) ac_try_echo=$ac_try;;
20577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20578 (eval "$ac_link") 2>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20582 { (case "(($ac_try" in
20583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20584 *) ac_try_echo
=$ac_try;;
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_try") 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; }; then
20591 has_cv_u_int32_t
=yes
20593 echo "$as_me: program exited with status $ac_status" >&5
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.
$ac_ext >&5
20597 ( exit $ac_status )
20598 has_cv_u_int32_t
=no
20600 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20606 { echo "$as_me:$LINENO: result: $has_cv_u_int32_t" >&5
20607 echo "${ECHO_T}$has_cv_u_int32_t" >&6; }
20609 { echo "$as_me:$LINENO: checking for u_int16_t" >&5
20610 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
20611 if test "${has_cv_u_int16_t+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 if test "$cross_compiling" = yes; then
20615 has_cv_u_int16_t
=no
20618 cat >conftest.
$ac_ext <<_ACEOF
20621 cat confdefs.h
>>conftest.
$ac_ext
20622 cat >>conftest.
$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20625 #if defined __BEOS__ && !defined __HAIKU__
20626 #include <inttypes.h>
20628 #include <sys/types.h>
20630 int main() {return 0;}
20633 rm -f conftest
$ac_exeext
20634 if { (ac_try
="$ac_link"
20635 case "(($ac_try" in
20636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_link") 2>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20644 { (case "(($ac_try" in
20645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20646 *) ac_try_echo
=$ac_try;;
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_try") 2>&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); }; }; then
20653 has_cv_u_int16_t
=yes
20655 echo "$as_me: program exited with status $ac_status" >&5
20656 echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.
$ac_ext >&5
20659 ( exit $ac_status )
20660 has_cv_u_int16_t
=no
20662 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20668 { echo "$as_me:$LINENO: result: $has_cv_u_int16_t" >&5
20669 echo "${ECHO_T}$has_cv_u_int16_t" >&6; }
20671 { echo "$as_me:$LINENO: checking for int64_t" >&5
20672 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
20673 if test "${has_cv_int64_t+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20676 if test "$cross_compiling" = yes; then
20680 cat >conftest.
$ac_ext <<_ACEOF
20683 cat confdefs.h
>>conftest.
$ac_ext
20684 cat >>conftest.
$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20687 #if defined __BEOS__ && !defined __HAIKU__
20688 #include <inttypes.h>
20690 #include <sys/types.h>
20692 int main() {return 0;}
20695 rm -f conftest
$ac_exeext
20696 if { (ac_try
="$ac_link"
20697 case "(($ac_try" in
20698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20699 *) ac_try_echo=$ac_try;;
20701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20702 (eval "$ac_link") 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20706 { (case "(($ac_try" in
20707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20708 *) ac_try_echo
=$ac_try;;
20710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20711 (eval "$ac_try") 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20717 echo "$as_me: program exited with status $ac_status" >&5
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.
$ac_ext >&5
20721 ( exit $ac_status )
20724 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20730 { echo "$as_me:$LINENO: result: $has_cv_int64_t" >&5
20731 echo "${ECHO_T}$has_cv_int64_t" >&6; }
20733 { echo "$as_me:$LINENO: checking for short" >&5
20734 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20735 if test "${ac_cv_type_short+set}" = set; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 cat >conftest.
$ac_ext <<_ACEOF
20741 cat confdefs.h
>>conftest.
$ac_ext
20742 cat >>conftest.
$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 typedef short ac__type_new_;
20749 if ((ac__type_new_ *) 0)
20751 if (sizeof (ac__type_new_))
20757 rm -f conftest.
$ac_objext
20758 if { (ac_try
="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20766 grep -v '^ *+' conftest.er1 >conftest.err
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.$ac_objext; then
20774 ac_cv_type_short=yes
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.$ac_ext >&5
20779 ac_cv_type_short=no
20782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20785 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20787 # The cast to long int works around a bug in the HP C Compiler
20788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20789 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20790 # This bug is HP SR number 8606223364.
20791 { echo "$as_me:$LINENO: checking size of short" >&5
20792 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20793 if test "${ac_cv_sizeof_short+set}" = set; then
20794 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 if test "$cross_compiling" = yes; then
20797 # Depending upon the size, compute the lo and hi bounds.
20798 cat >conftest.$ac_ext <<_ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 typedef short ac__type_sizeof_;
20809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20816 rm -f conftest.$ac_objext
20817 if { (ac_try="$ac_compile"
20818 case "(($ac_try" in
20819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20820 *) ac_try_echo=$ac_try;;
20822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20823 (eval "$ac_compile") 2>conftest.er1
20825 grep -v '^
*+' conftest.er1 >conftest.err
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } && {
20830 test -z "$ac_c_werror_flag" ||
20831 test ! -s conftest.err
20832 } && test -s conftest.$ac_objext; then
20835 cat >conftest.$ac_ext <<_ACEOF
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841 $ac_includes_default
20842 typedef short ac__type_sizeof_;
20846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20853 rm -f conftest.$ac_objext
20854 if { (ac_try="$ac_compile"
20855 case "(($ac_try" in
20856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20857 *) ac_try_echo=$ac_try;;
20859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20860 (eval "$ac_compile") 2>conftest.er1
20862 grep -v '^
*+' conftest.er1 >conftest.err
20864 cat conftest.err >&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } && {
20867 test -z "$ac_c_werror_flag" ||
20868 test ! -s conftest.err
20869 } && test -s conftest.$ac_objext; then
20870 ac_hi=$ac_mid; break
20872 echo "$as_me: failed program was:" >&5
20873 sed 's
/^
/|
/' conftest.$ac_ext >&5
20875 ac_lo=`expr $ac_mid + 1`
20876 if test $ac_lo -le $ac_mid; then
20880 ac_mid=`expr 2 '*' $ac_mid + 1`
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 echo "$as_me: failed program was:" >&5
20887 sed 's
/^
/|
/' conftest.$ac_ext >&5
20889 cat >conftest.$ac_ext <<_ACEOF
20892 cat confdefs.h >>conftest.$ac_ext
20893 cat >>conftest.$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20895 $ac_includes_default
20896 typedef short ac__type_sizeof_;
20900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20916 grep -v '^
*+' conftest.er1 >conftest.err
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20926 cat >conftest.$ac_ext <<_ACEOF
20929 cat confdefs.h >>conftest.$ac_ext
20930 cat >>conftest.$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 $ac_includes_default
20933 typedef short ac__type_sizeof_;
20937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20944 rm -f conftest.$ac_objext
20945 if { (ac_try="$ac_compile"
20946 case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_compile") 2>conftest.er1
20953 grep -v '^
*+' conftest.er1 >conftest.err
20955 cat conftest.err >&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } && {
20958 test -z "$ac_c_werror_flag" ||
20959 test ! -s conftest.err
20960 } && test -s conftest.$ac_objext; then
20961 ac_lo=$ac_mid; break
20963 echo "$as_me: failed program was:" >&5
20964 sed 's
/^
/|
/' conftest.$ac_ext >&5
20966 ac_hi=`expr '(' $ac_mid ')' - 1`
20967 if test $ac_mid -le $ac_hi; then
20971 ac_mid=`expr 2 '*' $ac_mid`
20974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 echo "$as_me: failed program was:" >&5
20978 sed 's
/^
/|
/' conftest.$ac_ext >&5
20983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987 # Binary search between lo and hi bounds.
20988 while test "x$ac_lo" != "x$ac_hi"; do
20989 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20990 cat >conftest.$ac_ext <<_ACEOF
20993 cat confdefs.h >>conftest.$ac_ext
20994 cat >>conftest.$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20996 $ac_includes_default
20997 typedef short ac__type_sizeof_;
21001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21008 rm -f conftest.$ac_objext
21009 if { (ac_try="$ac_compile"
21010 case "(($ac_try" in
21011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_compile") 2>conftest.er1
21017 grep -v '^
*+' conftest.er1 >conftest.err
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } && {
21022 test -z "$ac_c_werror_flag" ||
21023 test ! -s conftest.err
21024 } && test -s conftest.$ac_objext; then
21027 echo "$as_me: failed program was:" >&5
21028 sed 's
/^
/|
/' conftest.$ac_ext >&5
21030 ac_lo=`expr '(' $ac_mid ')' + 1`
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 ?*) ac_cv_sizeof_short=$ac_lo;;
21037 '') if test "$ac_cv_type_short" = yes; then
21038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21039 See \`config.log' for more details.
" >&5
21040 echo "$as_me: error
: cannot compute sizeof
(short
)
21041 See \
`config.log' for more details." >&2;}
21042 { (exit 77); exit 77; }; }
21044 ac_cv_sizeof_short=0
21048 cat >conftest.$ac_ext <<_ACEOF
21051 cat confdefs.h >>conftest.$ac_ext
21052 cat >>conftest.$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 $ac_includes_default
21055 typedef short ac__type_sizeof_;
21056 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21057 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 #include <stdlib.h>
21064 FILE *f = fopen ("conftest.val", "w");
21067 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21069 long int i = longval ();
21070 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21072 fprintf (f, "%ld\n", i);
21076 unsigned long int i = ulongval ();
21077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21079 fprintf (f, "%lu\n", i);
21081 return ferror (f) || fclose (f) != 0;
21087 rm -f conftest$ac_exeext
21088 if { (ac_try="$ac_link"
21089 case "(($ac_try" in
21090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21091 *) ac_try_echo
=$ac_try;;
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_link") 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21098 { (case "(($ac_try" in
21099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_try") 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; }; then
21107 ac_cv_sizeof_short=`cat conftest.val
`
21109 echo "$as_me: program exited with status $ac_status" >&5
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21113 ( exit $ac_status )
21114 if test "$ac_cv_type_short" = yes; then
21115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21116 See \`config.log
' for more details." >&5
21117 echo "$as_me: error: cannot compute sizeof (short)
21118 See \`config.log' for more details.
" >&2;}
21119 { (exit 77); exit 77; }; }
21121 ac_cv_sizeof_short=0
21124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21128 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_short" >&5
21129 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21133 cat >>confdefs.h <<_ACEOF
21134 #define SIZEOF_SHORT $ac_cv_sizeof_short
21138 { echo "$as_me:$LINENO: checking
for int
" >&5
21139 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
21140 if test "${ac_cv_type_int+set}" = set; then
21141 echo $ECHO_N "(cached
) $ECHO_C" >&6
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef int ac__type_new_;
21154 if ((ac__type_new_ *) 0)
21156 if (sizeof (ac__type_new_))
21162 rm -f conftest.$ac_objext
21163 if { (ac_try="$ac_compile"
21164 case "(($ac_try" in
21165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166 *) ac_try_echo=$ac_try;;
21168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21169 (eval "$ac_compile") 2>conftest.er1
21171 grep -v '^ *+' conftest.er1 >conftest.err
21173 cat conftest.err >&5
21174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21175 (exit $ac_status); } && {
21176 test -z "$ac_c_werror_flag" ||
21177 test ! -s conftest.err
21178 } && test -s conftest.$ac_objext; then
21181 echo "$as_me: failed program was
:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
21190 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21192 # The cast to long int works around a bug in the HP C Compiler
21193 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21194 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21195 # This bug is HP SR number 8606223364.
21196 { echo "$as_me:$LINENO: checking size of int
" >&5
21197 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
21198 if test "${ac_cv_sizeof_int+set}" = set; then
21199 echo $ECHO_N "(cached
) $ECHO_C" >&6
21201 if test "$cross_compiling" = yes; then
21202 # Depending upon the size, compute the lo and hi bounds.
21203 cat >conftest.$ac_ext <<_ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 typedef int ac__type_sizeof_;
21214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21230 grep -v '^ *+' conftest.er1 >conftest.err
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest.$ac_objext; then
21240 cat >conftest.$ac_ext <<_ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 $ac_includes_default
21247 typedef int ac__type_sizeof_;
21251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 rm -f conftest.$ac_objext
21259 if { (ac_try="$ac_compile"
21260 case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_compile") 2>conftest.er1
21267 grep -v '^ *+' conftest.er1 >conftest.err
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21271 (exit $ac_status); } && {
21272 test -z "$ac_c_werror_flag" ||
21273 test ! -s conftest.err
21274 } && test -s conftest.$ac_objext; then
21275 ac_hi=$ac_mid; break
21277 echo "$as_me: failed program was
:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21280 ac_lo=`expr $ac_mid + 1`
21281 if test $ac_lo -le $ac_mid; then
21285 ac_mid=`expr 2 '*' $ac_mid + 1`
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21291 echo "$as_me: failed program was
:" >&5
21292 sed 's/^/| /' conftest.$ac_ext >&5
21294 cat >conftest.$ac_ext <<_ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 $ac_includes_default
21301 typedef int ac__type_sizeof_;
21305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21312 rm -f conftest.$ac_objext
21313 if { (ac_try="$ac_compile"
21314 case "(($ac_try" in
21315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21318 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_compile") 2>conftest.er1
21321 grep -v '^ *+' conftest.er1 >conftest.err
21323 cat conftest.err >&5
21324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest.$ac_objext; then
21331 cat >conftest.$ac_ext <<_ACEOF
21334 cat confdefs.h >>conftest.$ac_ext
21335 cat >>conftest.$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 $ac_includes_default
21338 typedef int ac__type_sizeof_;
21342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21349 rm -f conftest.$ac_objext
21350 if { (ac_try="$ac_compile"
21351 case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_compile") 2>conftest.er1
21358 grep -v '^ *+' conftest.er1 >conftest.err
21360 cat conftest.err >&5
21361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21362 (exit $ac_status); } && {
21363 test -z "$ac_c_werror_flag" ||
21364 test ! -s conftest.err
21365 } && test -s conftest.$ac_objext; then
21366 ac_lo=$ac_mid; break
21368 echo "$as_me: failed program was
:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21371 ac_hi=`expr '(' $ac_mid ')' - 1`
21372 if test $ac_mid -le $ac_hi; then
21376 ac_mid=`expr 2 '*' $ac_mid`
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21382 echo "$as_me: failed program was
:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392 # Binary search between lo and hi bounds.
21393 while test "x
$ac_lo" != "x
$ac_hi"; do
21394 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21395 cat >conftest.$ac_ext <<_ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402 typedef int ac__type_sizeof_;
21406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21413 rm -f conftest.$ac_objext
21414 if { (ac_try="$ac_compile"
21415 case "(($ac_try" in
21416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_compile") 2>conftest.er1
21422 grep -v '^ *+' conftest.er1 >conftest.err
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest.$ac_objext; then
21432 echo "$as_me: failed program was
:" >&5
21433 sed 's/^/| /' conftest.$ac_ext >&5
21435 ac_lo=`expr '(' $ac_mid ')' + 1`
21438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 ?*) ac_cv_sizeof_int=$ac_lo;;
21442 '') if test "$ac_cv_type_int" = yes; then
21443 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21444 See \
`config.log' for more details." >&5
21445 echo "$as_me: error: cannot compute sizeof (int)
21446 See \`config.log
' for more details." >&2;}
21447 { (exit 77); exit 77; }; }
21453 cat >conftest.$ac_ext <<_ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 $ac_includes_default
21460 typedef int ac__type_sizeof_;
21461 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21462 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21464 #include <stdlib.h>
21469 FILE *f = fopen ("conftest.val", "w");
21472 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21474 long int i = longval ();
21475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21477 fprintf (f, "%ld\n", i);
21481 unsigned long int i = ulongval ();
21482 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21484 fprintf (f, "%lu\n", i);
21486 return ferror (f) || fclose (f) != 0;
21492 rm -f conftest$ac_exeext
21493 if { (ac_try="$ac_link"
21494 case "(($ac_try" in
21495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21496 *) ac_try_echo=$ac_try;;
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_link") 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21503 { (case "(($ac_try" in
21504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21505 *) ac_try_echo=$ac_try;;
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_try") 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; }; then
21512 ac_cv_sizeof_int=`cat conftest.val`
21514 echo "$as_me: program exited with status $ac_status" >&5
21515 echo "$as_me: failed program was:" >&5
21516 sed 's
/^
/|
/' conftest.$ac_ext >&5
21518 ( exit $ac_status )
21519 if test "$ac_cv_type_int" = yes; then
21520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21521 See \`config.log' for more details.
" >&5
21522 echo "$as_me: error
: cannot compute sizeof
(int
)
21523 See \
`config.log' for more details." >&2;}
21524 { (exit 77); exit 77; }; }
21529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21533 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21534 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21538 cat >>confdefs.h <<_ACEOF
21539 #define SIZEOF_INT $ac_cv_sizeof_int
21543 { echo "$as_me:$LINENO: checking for long" >&5
21544 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21545 if test "${ac_cv_type_long+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 cat >conftest.$ac_ext <<_ACEOF
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 $ac_includes_default
21555 typedef long ac__type_new_;
21559 if ((ac__type_new_ *) 0)
21561 if (sizeof (ac__type_new_))
21567 rm -f conftest.$ac_objext
21568 if { (ac_try="$ac_compile"
21569 case "(($ac_try" in
21570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21571 *) ac_try_echo
=$ac_try;;
21573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21574 (eval "$ac_compile") 2>conftest.er1
21576 grep -v '^ *+' conftest.er1
>conftest.err
21578 cat conftest.err
>&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } && {
21581 test -z "$ac_c_werror_flag" ||
21582 test ! -s conftest.err
21583 } && test -s conftest.
$ac_objext; then
21584 ac_cv_type_long
=yes
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.
$ac_ext >&5
21592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21594 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21595 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21597 # The cast to long int works around a bug in the HP C Compiler
21598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21600 # This bug is HP SR number 8606223364.
21601 { echo "$as_me:$LINENO: checking size of long" >&5
21602 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21603 if test "${ac_cv_sizeof_long+set}" = set; then
21604 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 if test "$cross_compiling" = yes; then
21607 # Depending upon the size, compute the lo and hi bounds.
21608 cat >conftest.
$ac_ext <<_ACEOF
21611 cat confdefs.h
>>conftest.
$ac_ext
21612 cat >>conftest.
$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614 $ac_includes_default
21615 typedef long ac__type_sizeof_;
21619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21626 rm -f conftest.
$ac_objext
21627 if { (ac_try
="$ac_compile"
21628 case "(($ac_try" in
21629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21630 *) ac_try_echo=$ac_try;;
21632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21633 (eval "$ac_compile") 2>conftest.er1
21635 grep -v '^ *+' conftest.er1 >conftest.err
21637 cat conftest.err >&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } && {
21640 test -z "$ac_c_werror_flag" ||
21641 test ! -s conftest.err
21642 } && test -s conftest.$ac_objext; then
21645 cat >conftest.$ac_ext <<_ACEOF
21648 cat confdefs.h >>conftest.$ac_ext
21649 cat >>conftest.$ac_ext <<_ACEOF
21650 /* end confdefs.h. */
21651 $ac_includes_default
21652 typedef long ac__type_sizeof_;
21656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21663 rm -f conftest.$ac_objext
21664 if { (ac_try="$ac_compile"
21665 case "(($ac_try" in
21666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21667 *) ac_try_echo
=$ac_try;;
21669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670 (eval "$ac_compile") 2>conftest.er1
21672 grep -v '^ *+' conftest.er1
>conftest.err
21674 cat conftest.err
>&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); } && {
21677 test -z "$ac_c_werror_flag" ||
21678 test ! -s conftest.err
21679 } && test -s conftest.
$ac_objext; then
21680 ac_hi
=$ac_mid; break
21682 echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.
$ac_ext >&5
21685 ac_lo
=`expr $ac_mid + 1`
21686 if test $ac_lo -le $ac_mid; then
21690 ac_mid
=`expr 2 '*' $ac_mid + 1`
21693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.
$ac_ext >&5
21699 cat >conftest.
$ac_ext <<_ACEOF
21702 cat confdefs.h
>>conftest.
$ac_ext
21703 cat >>conftest.
$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long ac__type_sizeof_;
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21717 rm -f conftest.
$ac_objext
21718 if { (ac_try
="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21726 grep -v '^ *+' conftest.er1 >conftest.err
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21736 cat >conftest.$ac_ext <<_ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21742 $ac_includes_default
21743 typedef long ac__type_sizeof_;
21747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21754 rm -f conftest.$ac_objext
21755 if { (ac_try="$ac_compile"
21756 case "(($ac_try" in
21757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21758 *) ac_try_echo
=$ac_try;;
21760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21761 (eval "$ac_compile") 2>conftest.er1
21763 grep -v '^ *+' conftest.er1
>conftest.err
21765 cat conftest.err
>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); } && {
21768 test -z "$ac_c_werror_flag" ||
21769 test ! -s conftest.err
21770 } && test -s conftest.
$ac_objext; then
21771 ac_lo
=$ac_mid; break
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.
$ac_ext >&5
21776 ac_hi
=`expr '(' $ac_mid ')' - 1`
21777 if test $ac_mid -le $ac_hi; then
21781 ac_mid
=`expr 2 '*' $ac_mid`
21784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.
$ac_ext >&5
21793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21797 # Binary search between lo and hi bounds.
21798 while test "x$ac_lo" != "x$ac_hi"; do
21799 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21800 cat >conftest.
$ac_ext <<_ACEOF
21803 cat confdefs.h
>>conftest.
$ac_ext
21804 cat >>conftest.
$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 typedef long ac__type_sizeof_;
21811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21818 rm -f conftest.
$ac_objext
21819 if { (ac_try
="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21827 grep -v '^ *+' conftest.er1 >conftest.err
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21840 ac_lo=`expr '(' $ac_mid ')' + 1`
21843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21846 ?*) ac_cv_sizeof_long=$ac_lo;;
21847 '') if test "$ac_cv_type_long" = yes; then
21848 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21849 See \`config.log
' for more details." >&5
21850 echo "$as_me: error: cannot compute sizeof (long)
21851 See \`config.log' for more details.
" >&2;}
21852 { (exit 77); exit 77; }; }
21854 ac_cv_sizeof_long=0
21858 cat >conftest.$ac_ext <<_ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 $ac_includes_default
21865 typedef long ac__type_sizeof_;
21866 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21869 #include <stdlib.h>
21874 FILE *f = fopen ("conftest.val
", "w
");
21877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21879 long int i = longval ();
21880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21882 fprintf (f, "%ld
\n", i);
21886 unsigned long int i = ulongval ();
21887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21889 fprintf (f, "%lu
\n", i);
21891 return ferror (f) || fclose (f) != 0;
21897 rm -f conftest$ac_exeext
21898 if { (ac_try="$ac_link"
21899 case "(($ac_try" in
21900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_link") 2>&5
21906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21908 { (case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_try") 2>&5
21915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_sizeof_long=`cat conftest.val`
21919 echo "$as_me: program exited with status
$ac_status" >&5
21920 echo "$as_me: failed program was
:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21923 ( exit $ac_status )
21924 if test "$ac_cv_type_long" = yes; then
21925 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21926 See \
`config.log' for more details." >&5
21927 echo "$as_me: error: cannot compute sizeof (long)
21928 See \`config.log
' for more details." >&2;}
21929 { (exit 77); exit 77; }; }
21931 ac_cv_sizeof_long=0
21934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21939 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21943 cat >>confdefs.h <<_ACEOF
21944 #define SIZEOF_LONG $ac_cv_sizeof_long
21948 { echo "$as_me:$LINENO: checking for long long" >&5
21949 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21950 if test "${ac_cv_type_long_long+set}" = set; then
21951 echo $ECHO_N "(cached) $ECHO_C" >&6
21953 cat >conftest.$ac_ext <<_ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 typedef long long ac__type_new_;
21964 if ((ac__type_new_ *) 0)
21966 if (sizeof (ac__type_new_))
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21981 grep -v '^
*+' conftest.er1 >conftest.err
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.$ac_objext; then
21989 ac_cv_type_long_long=yes
21991 echo "$as_me: failed program was:" >&5
21992 sed 's
/^
/|
/' conftest.$ac_ext >&5
21994 ac_cv_type_long_long=no
21997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22000 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22002 # The cast to long int works around a bug in the HP C Compiler
22003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22005 # This bug is HP SR number 8606223364.
22006 { echo "$as_me:$LINENO: checking size of long long" >&5
22007 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22008 if test "${ac_cv_sizeof_long_long+set}" = set; then
22009 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 if test "$cross_compiling" = yes; then
22012 # Depending upon the size, compute the lo and hi bounds.
22013 cat >conftest.
$ac_ext <<_ACEOF
22016 cat confdefs.h
>>conftest.
$ac_ext
22017 cat >>conftest.
$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22019 $ac_includes_default
22020 typedef long long ac__type_sizeof_;
22024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22031 rm -f conftest.
$ac_objext
22032 if { (ac_try
="$ac_compile"
22033 case "(($ac_try" in
22034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22035 *) ac_try_echo=$ac_try;;
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_compile") 2>conftest.er1
22040 grep -v '^ *+' conftest.er1 >conftest.err
22042 cat conftest.err >&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } && {
22045 test -z "$ac_c_werror_flag" ||
22046 test ! -s conftest.err
22047 } && test -s conftest.$ac_objext; then
22050 cat >conftest.$ac_ext <<_ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 typedef long long ac__type_sizeof_;
22061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22068 rm -f conftest.$ac_objext
22069 if { (ac_try="$ac_compile"
22070 case "(($ac_try" in
22071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22072 *) ac_try_echo
=$ac_try;;
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval "$ac_compile") 2>conftest.er1
22077 grep -v '^ *+' conftest.er1
>conftest.err
22079 cat conftest.err
>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } && {
22082 test -z "$ac_c_werror_flag" ||
22083 test ! -s conftest.err
22084 } && test -s conftest.
$ac_objext; then
22085 ac_hi
=$ac_mid; break
22087 echo "$as_me: failed program was:" >&5
22088 sed 's/^/| /' conftest.
$ac_ext >&5
22090 ac_lo
=`expr $ac_mid + 1`
22091 if test $ac_lo -le $ac_mid; then
22095 ac_mid
=`expr 2 '*' $ac_mid + 1`
22098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22101 echo "$as_me: failed program was:" >&5
22102 sed 's/^/| /' conftest.
$ac_ext >&5
22104 cat >conftest.
$ac_ext <<_ACEOF
22107 cat confdefs.h
>>conftest.
$ac_ext
22108 cat >>conftest.
$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 typedef long long ac__type_sizeof_;
22115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22122 rm -f conftest.
$ac_objext
22123 if { (ac_try
="$ac_compile"
22124 case "(($ac_try" in
22125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22126 *) ac_try_echo=$ac_try;;
22128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22129 (eval "$ac_compile") 2>conftest.er1
22131 grep -v '^ *+' conftest.er1 >conftest.err
22133 cat conftest.err >&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); } && {
22136 test -z "$ac_c_werror_flag" ||
22137 test ! -s conftest.err
22138 } && test -s conftest.$ac_objext; then
22141 cat >conftest.$ac_ext <<_ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_sizeof_;
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22159 rm -f conftest.$ac_objext
22160 if { (ac_try="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22163 *) ac_try_echo
=$ac_try;;
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22168 grep -v '^ *+' conftest.er1
>conftest.err
22170 cat conftest.err
>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.
$ac_objext; then
22176 ac_lo
=$ac_mid; break
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.
$ac_ext >&5
22181 ac_hi
=`expr '(' $ac_mid ')' - 1`
22182 if test $ac_mid -le $ac_hi; then
22186 ac_mid
=`expr 2 '*' $ac_mid`
22189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.
$ac_ext >&5
22198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22202 # Binary search between lo and hi bounds.
22203 while test "x$ac_lo" != "x$ac_hi"; do
22204 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22205 cat >conftest.
$ac_ext <<_ACEOF
22208 cat confdefs.h
>>conftest.
$ac_ext
22209 cat >>conftest.
$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef long long ac__type_sizeof_;
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22223 rm -f conftest.
$ac_objext
22224 if { (ac_try
="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1 >conftest.err
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22245 ac_lo=`expr '(' $ac_mid ')' + 1`
22248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22252 '') if test "$ac_cv_type_long_long" = yes; then
22253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22254 See \`config.log
' for more details." >&5
22255 echo "$as_me: error: cannot compute sizeof (long long)
22256 See \`config.log' for more details.
" >&2;}
22257 { (exit 77); exit 77; }; }
22259 ac_cv_sizeof_long_long=0
22263 cat >conftest.$ac_ext <<_ACEOF
22266 cat confdefs.h >>conftest.$ac_ext
22267 cat >>conftest.$ac_ext <<_ACEOF
22268 /* end confdefs.h. */
22269 $ac_includes_default
22270 typedef long long ac__type_sizeof_;
22271 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22272 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22274 #include <stdlib.h>
22279 FILE *f = fopen ("conftest.val
", "w
");
22282 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22284 long int i = longval ();
22285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22287 fprintf (f, "%ld
\n", i);
22291 unsigned long int i = ulongval ();
22292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22294 fprintf (f, "%lu
\n", i);
22296 return ferror (f) || fclose (f) != 0;
22302 rm -f conftest$ac_exeext
22303 if { (ac_try="$ac_link"
22304 case "(($ac_try" in
22305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22306 *) ac_try_echo=$ac_try;;
22308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22309 (eval "$ac_link") 2>&5
22311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22313 { (case "(($ac_try" in
22314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_try") 2>&5
22320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22321 (exit $ac_status); }; }; then
22322 ac_cv_sizeof_long_long=`cat conftest.val`
22324 echo "$as_me: program exited with status
$ac_status" >&5
22325 echo "$as_me: failed program was
:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22328 ( exit $ac_status )
22329 if test "$ac_cv_type_long_long" = yes; then
22330 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22331 See \
`config.log' for more details." >&5
22332 echo "$as_me: error: cannot compute sizeof (long long)
22333 See \`config.log
' for more details." >&2;}
22334 { (exit 77); exit 77; }; }
22336 ac_cv_sizeof_long_long=0
22339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22343 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22344 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22348 cat >>confdefs.h <<_ACEOF
22349 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22355 if test x$has_cv_int16_t = "xyes" ; then
22359 $ac_cv_sizeof_short) SIZE16="short";;
22360 $ac_cv_sizeof_int) SIZE16="int";;
22364 if test x$has_cv_int32_t = "xyes" ; then
22368 $ac_cv_sizeof_short) SIZE32="short";;
22369 $ac_cv_sizeof_int) SIZE32="int";;
22370 $ac_cv_sizeof_long) SIZE32="long";;
22374 if test x$has_cv_uint32_t = "xyes" ; then
22377 if test x$has_cv_u_int32_t = "xyes" ; then
22378 USIZE32="u_int32_t"
22381 $ac_cv_sizeof_short) USIZE32="unsigned short";;
22382 $ac_cv_sizeof_int) USIZE32="unsigned int";;
22383 $ac_cv_sizeof_long) USIZE32="unsigned long";;
22388 if test x$has_cv_uint16_t = "xyes" ; then
22391 if test x$has_cv_u_int16_t = "xyes" ; then
22392 USIZE16="u_int16_t"
22395 $ac_cv_sizeof_short) USIZE16="unsigned short";;
22396 $ac_cv_sizeof_int) USIZE16="unsigned int";;
22397 $ac_cv_sizeof_long) USIZE16="unsigned long";;
22402 if test x$has_cv_int64_t = "xyes" ; then
22406 $ac_cv_sizeof_int) SIZE64="int";;
22407 $ac_cv_sizeof_long) SIZE64="long";;
22408 $ac_cv_sizeof_long_long) SIZE64="long long";;
22412 if test -z "$SIZE16"; then
22413 { { echo "$as_me:$LINENO: error: No 16 bit type found on this platform!" >&5
22414 echo "$as_me: error: No 16 bit type found on this platform!" >&2;}
22415 { (exit 1); exit 1; }; }
22417 if test -z "$USIZE16"; then
22418 { { echo "$as_me:$LINENO: error: No unsigned 16 bit type found on this platform!" >&5
22419 echo "$as_me: error: No unsigned 16 bit type found on this platform!" >&2;}
22420 { (exit 1); exit 1; }; }
22422 if test -z "$SIZE32"; then
22423 { { echo "$as_me:$LINENO: error: No 32 bit type found on this platform!" >&5
22424 echo "$as_me: error: No 32 bit type found on this platform!" >&2;}
22425 { (exit 1); exit 1; }; }
22427 if test -z "$USIZE32"; then
22428 { { echo "$as_me:$LINENO: error: No unsigned 32 bit type found on this platform!" >&5
22429 echo "$as_me: error: No unsigned 32 bit type found on this platform!" >&2;}
22430 { (exit 1); exit 1; }; }
22432 if test -z "$SIZE64"; then
22433 { echo "$as_me:$LINENO: WARNING: No 64 bit type found on this platform!" >&5
22434 echo "$as_me: WARNING: No 64 bit type found on this platform!" >&2;}
22437 { echo "$as_me:$LINENO: checking for working memcmp" >&5
22438 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22439 if test "${ac_cv_func_memcmp_working+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 if test "$cross_compiling" = yes; then
22443 ac_cv_func_memcmp_working=no
22445 cat >conftest.$ac_ext <<_ACEOF
22448 cat confdefs.h >>conftest.$ac_ext
22449 cat >>conftest.$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22451 $ac_includes_default
22456 /* Some versions of memcmp are not 8-bit clean. */
22457 char c0 = '\100', c1 = '\200', c2 = '\201';
22458 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22461 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22462 or more and with at least one buffer not starting on a 4-byte boundary.
22463 William Lewis provided this test program. */
22468 for (i = 0; i < 4; i++)
22472 strcpy (a, "--------01111111");
22473 strcpy (b, "--------10000000");
22474 if (memcmp (a, b, 16) >= 0)
22484 rm -f conftest$ac_exeext
22485 if { (ac_try="$ac_link"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_link") 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22495 { (case "(($ac_try" in
22496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22497 *) ac_try_echo=$ac_try;;
22499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22500 (eval "$ac_try") 2>&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; }; then
22504 ac_cv_func_memcmp_working=yes
22506 echo "$as_me: program exited with status $ac_status" >&5
22507 echo "$as_me: failed program was:" >&5
22508 sed 's
/^
/|
/' conftest.$ac_ext >&5
22510 ( exit $ac_status )
22511 ac_cv_func_memcmp_working=no
22513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22518 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22519 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
22520 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
22521 *" memcmp.$ac_objext "* ) ;;
22522 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22541 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile doc/libogg/Makefile include/Makefile include/ogg/Makefile include/ogg/config_types.h libogg.spec ogg.pc ogg-uninstalled.pc"
22543 cat >confcache <<\_ACEOF
22544 # This file is a shell script that caches the results of configure
22545 # tests run on this system so they can be shared between configure
22546 # scripts and configure runs, see configure's option
--config-cache.
22547 # It is not useful on other systems. If it contains results you don't
22548 # want to keep, you may remove or edit it.
22550 # config.status only pays attention to the cache file if you give it
22551 # the --recheck option to rerun configure.
22553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22555 # following values.
22559 # The following way of writing the cache mishandles newlines in values,
22560 # but we know of no workaround that is simple, portable, and efficient.
22561 # So, we kill variables containing newlines.
22562 # Ultrix sh set writes to stderr and can't be redirected directly,
22563 # and sets the high bit in the cache file unless we assign to the vars.
22565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22566 eval ac_val
=\$
$ac_var
22570 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22571 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22574 _ | IFS | as_nl
) ;; #(
22575 *) $as_unset $ac_var ;;
22581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22582 *${as_nl}ac_space
=\
*)
22583 # `set' does not quote correctly, so add quotes (double-quote
22584 # substitution turns \\\\ into \\, and sed turns \\ into \).
22587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22590 # `set' quotes correctly as required by POSIX, so do not add quotes.
22591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22604 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22605 if test -w "$cache_file"; then
22606 test "x$cache_file" != "x/dev/null" &&
22607 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22608 echo "$as_me: updating cache $cache_file" >&6;}
22609 cat confcache
>$cache_file
22611 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22612 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22617 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22618 # Let make expand exec_prefix.
22619 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22621 DEFS
=-DHAVE_CONFIG_H
22625 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22626 # 1. Remove the extension, and $U if already installed.
22627 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22628 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22629 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22630 # will be set to the directory where LIBOBJS objects are built.
22631 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22632 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22634 LIBOBJS
=$ac_libobjs
22636 LTLIBOBJS
=$ac_ltlibobjs
22639 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22640 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22641 Usually this means the macro was only invoked conditionally." >&5
22642 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22643 Usually this means the macro was only invoked conditionally." >&2;}
22644 { (exit 1); exit 1; }; }
22646 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22647 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22648 Usually this means the macro was only invoked conditionally." >&5
22649 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22650 Usually this means the macro was only invoked conditionally." >&2;}
22651 { (exit 1); exit 1; }; }
22653 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22654 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22655 Usually this means the macro was only invoked conditionally." >&5
22656 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22657 Usually this means the macro was only invoked conditionally." >&2;}
22658 { (exit 1); exit 1; }; }
22660 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22661 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22662 Usually this means the macro was only invoked conditionally." >&5
22663 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22664 Usually this means the macro was only invoked conditionally." >&2;}
22665 { (exit 1); exit 1; }; }
22668 : ${CONFIG_STATUS=./config.status}
22669 ac_clean_files_save
=$ac_clean_files
22670 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22671 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22672 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22673 cat >$CONFIG_STATUS <<_ACEOF
22675 # Generated by $as_me.
22676 # Run this file to recreate the current configuration.
22677 # Compiler output produced by configure, useful for debugging
22678 # configure, is in config.log if it exists.
22681 ac_cs_recheck=false
22683 SHELL=\${CONFIG_SHELL-$SHELL}
22686 cat >>$CONFIG_STATUS <<\_ACEOF
22687 ## --------------------- ##
22688 ## M4sh Initialization. ##
22689 ## --------------------- ##
22691 # Be more Bourne compatible
22692 DUALCASE
=1; export DUALCASE
# for MKS sh
22693 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22696 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22697 # is contrary to our usage. Disable this feature.
22698 alias -g '${1+"$@"}'='"$@"'
22699 setopt NO_GLOB_SUBST
22701 case `(set -o) 2>/dev/null` in
22702 *posix
*) set -o posix
;;
22711 # Avoid depending upon Character Ranges.
22712 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22713 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22714 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22715 as_cr_digits
='0123456789'
22716 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22718 # The user is always right.
22719 if test "${PATH_SEPARATOR+set}" != set; then
22720 echo "#! /bin/sh" >conf$$.sh
22721 echo "exit 0" >>conf$$.sh
22723 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22731 # Support unset when possible.
22732 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22740 # We need space, tab and new line, in precisely that order. Quoting is
22741 # there to prevent editors from complaining about space-tab.
22742 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22743 # splitting by setting IFS to empty value.)
22748 # Find who we are. Look in the path if we contain no directory separator.
22750 *[\\/]* ) as_myself
=$0 ;;
22751 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22752 for as_dir
in $PATH
22755 test -z "$as_dir" && as_dir
=.
22756 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22762 # We did not find ourselves, most probably we were run as `sh COMMAND'
22763 # in which case we are not to be found in the path.
22764 if test "x$as_myself" = x
; then
22767 if test ! -f "$as_myself"; then
22768 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22769 { (exit 1); exit 1; }
22772 # Work around bugs in pre-3.0 UWIN ksh.
22773 for as_var
in ENV MAIL MAILPATH
22774 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22782 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22783 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22784 LC_TELEPHONE LC_TIME
22786 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22787 eval $as_var=C
; export $as_var
22789 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22793 # Required to use basename.
22794 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22795 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22801 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22802 as_basename
=basename
22808 # Name of the executable.
22809 as_me
=`$as_basename -- "$0" ||
22810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22811 X"$0" : 'X\(//\)$' \| \
22812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22814 sed '/^.*\/\([^/][^/]*\)\/*$/{
22833 as_lineno_1
=$LINENO
22834 as_lineno_2
=$LINENO
22835 test "x$as_lineno_1" != "x$as_lineno_2" &&
22836 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22838 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22839 # uniformly replaced by the line number. The first 'sed' inserts a
22840 # line-number line after each line using $LINENO; the second 'sed'
22841 # does the real work. The second script uses 'N' to pair each
22842 # line-number line with the line containing $LINENO, and appends
22843 # trailing '-' during substitution so that $LINENO is not a special
22844 # case at line end.
22845 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22846 # scripts with optimization help from Paolo Bonzini. Blame Lee
22847 # E. McMahon (1931-1989) for sed's syntax. :-)
22859 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22862 ' >$as_me.lineno
&&
22863 chmod +x
"$as_me.lineno" ||
22864 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22865 { (exit 1); exit 1; }; }
22867 # Don't try to exec as it changes $[0], causing all sort of problems
22868 # (the dirname of $[0] is not the place where we might find the
22869 # original and so on. Autoconf is especially sensitive to this).
22870 .
"./$as_me.lineno"
22871 # Exit status is that of the last command.
22876 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22882 ECHO_C
= ECHO_N
= ECHO_T
=
22883 case `echo -n x` in
22885 case `echo 'x\c'` in
22886 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22893 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22894 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22900 rm -f conf$$ conf$$.exe conf$$.
file
22901 if test -d conf$$.dir
; then
22902 rm -f conf$$.dir
/conf$$.
file
22908 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22910 # ... but there are two gotchas:
22911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22913 # In both cases, we have to default to `cp -p'.
22914 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22916 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22921 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22922 rmdir conf$$.dir
2>/dev
/null
22924 if mkdir
-p .
2>/dev
/null
; then
22927 test -d .
/-p && rmdir .
/-p
22931 if test -x / >/dev
/null
2>&1; then
22932 as_test_x
='test -x'
22934 if ls -dL / >/dev
/null
2>&1; then
22941 if test -d "$1"; then
22947 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22948 ???[sx]*):;;*)false;;esac;fi
22952 as_executable_p
=$as_test_x
22954 # Sed expression to map a string onto a valid CPP name.
22955 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22957 # Sed expression to map a string onto a valid variable name.
22958 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22963 # Save the log message, to keep $[0] and so on meaningful, and to
22964 # report actual input values of CONFIG_FILES etc. instead of their
22965 # values after options handling.
22967 This file was extended by $as_me, which was
22968 generated by GNU Autoconf 2.61. Invocation command line was
22970 CONFIG_FILES = $CONFIG_FILES
22971 CONFIG_HEADERS = $CONFIG_HEADERS
22972 CONFIG_LINKS = $CONFIG_LINKS
22973 CONFIG_COMMANDS = $CONFIG_COMMANDS
22976 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22981 cat >>$CONFIG_STATUS <<_ACEOF
22982 # Files that config.status was made for.
22983 config_files="$ac_config_files"
22984 config_headers="$ac_config_headers"
22985 config_commands="$ac_config_commands"
22989 cat >>$CONFIG_STATUS <<\_ACEOF
22991 \`$as_me' instantiates files from templates according to the
22992 current configuration.
22994 Usage: $0 [OPTIONS] [FILE]...
22996 -h, --help print this help, then exit
22997 -V, --version print version number and configuration settings, then exit
22998 -q, --quiet do not print progress messages
22999 -d, --debug don't remove temporary files
23000 --recheck update $as_me by reconfiguring in the same conditions
23001 --file=FILE[:TEMPLATE]
23002 instantiate the configuration file FILE
23003 --header=FILE[:TEMPLATE]
23004 instantiate the configuration header FILE
23006 Configuration files:
23009 Configuration headers:
23012 Configuration commands:
23015 Report bugs to <bug-autoconf@gnu.org>."
23018 cat >>$CONFIG_STATUS <<_ACEOF
23021 configured by $0, generated by GNU Autoconf 2.61,
23022 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23024 Copyright (C) 2006 Free Software Foundation, Inc.
23025 This config.status script is free software; the Free Software Foundation
23026 gives unlimited permission to copy, distribute and modify it."
23034 cat >>$CONFIG_STATUS <<\_ACEOF
23035 # If no file are specified by the user, then we need to provide default
23036 # value. By we need to know if files were specified by the user.
23042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23043 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23054 # Handling of the options.
23055 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23057 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23058 echo "$ac_cs_version"; exit ;;
23059 --debug |
--debu |
--deb |
--de |
--d |
-d )
23061 --file |
--fil |
--fi |
--f )
23063 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23064 ac_need_defaults
=false
;;
23065 --header |
--heade |
--head |
--hea )
23067 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23068 ac_need_defaults
=false
;;
23070 # Conflict between --help and --header
23071 { echo "$as_me: error: ambiguous option: $1
23072 Try \`$0 --help' for more information." >&2
23073 { (exit 1); exit 1; }; };;
23074 --help |
--hel |
-h )
23075 echo "$ac_cs_usage"; exit ;;
23076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23077 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23080 # This is an error.
23081 -*) { echo "$as_me: error: unrecognized option: $1
23082 Try \`$0 --help' for more information." >&2
23083 { (exit 1); exit 1; }; } ;;
23085 *) ac_config_targets
="$ac_config_targets $1"
23086 ac_need_defaults
=false
;;
23092 ac_configure_extra_args
=
23094 if $ac_cs_silent; then
23096 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23100 cat >>$CONFIG_STATUS <<_ACEOF
23101 if \$ac_cs_recheck; then
23102 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23103 CONFIG_SHELL=$SHELL
23104 export CONFIG_SHELL
23105 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23109 cat >>$CONFIG_STATUS <<\_ACEOF
23113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23114 ## Running $as_me. ##
23120 cat >>$CONFIG_STATUS <<_ACEOF
23124 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23128 cat >>$CONFIG_STATUS <<\_ACEOF
23130 # Handling of arguments.
23131 for ac_config_target
in $ac_config_targets
23133 case $ac_config_target in
23134 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23135 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23136 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23137 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23138 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
23139 "doc/libogg/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/libogg/Makefile" ;;
23140 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
23141 "include/ogg/Makefile") CONFIG_FILES
="$CONFIG_FILES include/ogg/Makefile" ;;
23142 "include/ogg/config_types.h") CONFIG_FILES
="$CONFIG_FILES include/ogg/config_types.h" ;;
23143 "libogg.spec") CONFIG_FILES
="$CONFIG_FILES libogg.spec" ;;
23144 "ogg.pc") CONFIG_FILES
="$CONFIG_FILES ogg.pc" ;;
23145 "ogg-uninstalled.pc") CONFIG_FILES
="$CONFIG_FILES ogg-uninstalled.pc" ;;
23147 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23148 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23149 { (exit 1); exit 1; }; };;
23154 # If the user did not use the arguments to specify the items to instantiate,
23155 # then the envvar interface is used. Set only those that are not.
23156 # We use the long form for the default assignment because of an extremely
23157 # bizarre bug on SunOS 4.1.3.
23158 if $ac_need_defaults; then
23159 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23160 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23164 # Have a temporary directory for convenience. Make it in the build tree
23165 # simply because there is no reason against having it here, and in addition,
23166 # creating and moving files from /tmp can sometimes cause problems.
23167 # Hook for its removal unless debugging.
23168 # Note that there is a small window in which the directory will not be cleaned:
23169 # after its creation but before its name has been assigned to `$tmp'.
23173 trap 'exit_status=$?
23174 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23176 trap '{ (exit 1); exit 1; }' 1 2 13 15
23178 # Create a (secure) tmp directory for tmp files.
23181 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23182 test -n "$tmp" && test -d "$tmp"
23185 tmp
=.
/conf$$
-$RANDOM
23186 (umask 077 && mkdir
"$tmp")
23189 echo "$me: cannot create a temporary directory in ." >&2
23190 { (exit 1); exit 1; }
23194 # Set up the sed scripts for CONFIG_FILES section.
23197 # No need to generate the scripts if there are no CONFIG_FILES.
23198 # This happens for instance when ./config.status config.h
23199 if test -n "$CONFIG_FILES"; then
23206 for ac_last_try
in false false false false false
:; do
23207 cat >conf$
$subs.
sed <<_ACEOF
23208 SHELL!$SHELL$ac_delim
23209 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23210 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23211 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23212 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23213 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23214 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23215 exec_prefix!$exec_prefix$ac_delim
23216 prefix!$prefix$ac_delim
23217 program_transform_name!$program_transform_name$ac_delim
23218 bindir!$bindir$ac_delim
23219 sbindir!$sbindir$ac_delim
23220 libexecdir!$libexecdir$ac_delim
23221 datarootdir!$datarootdir$ac_delim
23222 datadir!$datadir$ac_delim
23223 sysconfdir!$sysconfdir$ac_delim
23224 sharedstatedir!$sharedstatedir$ac_delim
23225 localstatedir!$localstatedir$ac_delim
23226 includedir!$includedir$ac_delim
23227 oldincludedir!$oldincludedir$ac_delim
23228 docdir!$docdir$ac_delim
23229 infodir!$infodir$ac_delim
23230 htmldir!$htmldir$ac_delim
23231 dvidir!$dvidir$ac_delim
23232 pdfdir!$pdfdir$ac_delim
23233 psdir!$psdir$ac_delim
23234 libdir!$libdir$ac_delim
23235 localedir!$localedir$ac_delim
23236 mandir!$mandir$ac_delim
23237 DEFS!$DEFS$ac_delim
23238 ECHO_C!$ECHO_C$ac_delim
23239 ECHO_N!$ECHO_N$ac_delim
23240 ECHO_T!$ECHO_T$ac_delim
23241 LIBS!$LIBS$ac_delim
23242 build_alias!$build_alias$ac_delim
23243 host_alias!$host_alias$ac_delim
23244 target_alias!$target_alias$ac_delim
23245 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23246 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23247 INSTALL_DATA!$INSTALL_DATA$ac_delim
23248 am__isrc!$am__isrc$ac_delim
23249 CYGPATH_W!$CYGPATH_W$ac_delim
23250 PACKAGE!$PACKAGE$ac_delim
23251 VERSION!$VERSION$ac_delim
23252 ACLOCAL!$ACLOCAL$ac_delim
23253 AUTOCONF!$AUTOCONF$ac_delim
23254 AUTOMAKE!$AUTOMAKE$ac_delim
23255 AUTOHEADER!$AUTOHEADER$ac_delim
23256 MAKEINFO!$MAKEINFO$ac_delim
23257 install_sh!$install_sh$ac_delim
23258 STRIP!$STRIP$ac_delim
23259 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23260 mkdir_p!$mkdir_p$ac_delim
23262 SET_MAKE!$SET_MAKE$ac_delim
23263 am__leading_dot!$am__leading_dot$ac_delim
23264 AMTAR!$AMTAR$ac_delim
23265 am__tar!$am__tar$ac_delim
23266 am__untar!$am__untar$ac_delim
23267 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23268 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23269 MAINT!$MAINT$ac_delim
23270 LIB_CURRENT!$LIB_CURRENT$ac_delim
23271 LIB_REVISION!$LIB_REVISION$ac_delim
23272 LIB_AGE!$LIB_AGE$ac_delim
23274 CFLAGS!$CFLAGS$ac_delim
23275 LDFLAGS!$LDFLAGS$ac_delim
23276 CPPFLAGS!$CPPFLAGS$ac_delim
23277 ac_ct_CC!$ac_ct_CC$ac_delim
23278 EXEEXT!$EXEEXT$ac_delim
23279 OBJEXT!$OBJEXT$ac_delim
23280 DEPDIR!$DEPDIR$ac_delim
23281 am__include!$am__include$ac_delim
23282 am__quote!$am__quote$ac_delim
23283 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23284 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23285 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23286 CCDEPMODE!$CCDEPMODE$ac_delim
23287 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23288 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23289 build!$build$ac_delim
23290 build_cpu!$build_cpu$ac_delim
23291 build_vendor!$build_vendor$ac_delim
23292 build_os!$build_os$ac_delim
23293 host!$host$ac_delim
23294 host_cpu!$host_cpu$ac_delim
23295 host_vendor!$host_vendor$ac_delim
23296 host_os!$host_os$ac_delim
23298 GREP!$GREP$ac_delim
23299 EGREP!$EGREP$ac_delim
23300 LN_S!$LN_S$ac_delim
23301 ECHO!$ECHO$ac_delim
23303 RANLIB!$RANLIB$ac_delim
23304 DSYMUTIL!$DSYMUTIL$ac_delim
23307 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23309 elif $ac_last_try; then
23310 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23311 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23312 { (exit 1); exit 1; }; }
23314 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23318 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23319 if test -n "$ac_eof"; then
23320 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23321 ac_eof
=`expr $ac_eof + 1`
23324 cat >>$CONFIG_STATUS <<_ACEOF
23325 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23329 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23330 s/^/s,@/; s/!/@,|#_!!_#|/
23333 s/'"$ac_delim"'$/,g/; t
23335 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23336 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23337 rm -f conf$
$subs.
sed
23338 cat >>$CONFIG_STATUS <<_ACEOF
23344 for ac_last_try
in false false false false false
:; do
23345 cat >conf$
$subs.
sed <<_ACEOF
23346 NMEDIT!$NMEDIT$ac_delim
23349 CXXFLAGS!$CXXFLAGS$ac_delim
23350 ac_ct_CXX!$ac_ct_CXX$ac_delim
23351 CXXDEPMODE!$CXXDEPMODE$ac_delim
23352 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23353 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23354 CXXCPP!$CXXCPP$ac_delim
23356 FFLAGS!$FFLAGS$ac_delim
23357 ac_ct_F77!$ac_ct_F77$ac_delim
23358 LIBTOOL!$LIBTOOL$ac_delim
23359 LIBOBJS!$LIBOBJS$ac_delim
23360 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
23361 SIZE16!$SIZE16$ac_delim
23362 USIZE16!$USIZE16$ac_delim
23363 SIZE32!$SIZE32$ac_delim
23364 USIZE32!$USIZE32$ac_delim
23365 SIZE64!$SIZE64$ac_delim
23367 DEBUG!$DEBUG$ac_delim
23368 PROFILE!$PROFILE$ac_delim
23369 LTLIBOBJS!$LTLIBOBJS$ac_delim
23372 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
23374 elif $ac_last_try; then
23375 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23376 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23377 { (exit 1); exit 1; }; }
23379 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23383 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23384 if test -n "$ac_eof"; then
23385 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23386 ac_eof
=`expr $ac_eof + 1`
23389 cat >>$CONFIG_STATUS <<_ACEOF
23390 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23394 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23395 s/^/s,@/; s/!/@,|#_!!_#|/
23398 s/'"$ac_delim"'$/,g/; t
23400 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23401 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23402 rm -f conf$
$subs.
sed
23403 cat >>$CONFIG_STATUS <<_ACEOF
23410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23412 # trailing colons and then remove the whole line if VPATH becomes empty
23413 # (actually we leave an empty line to preserve line numbers).
23414 if test "x$srcdir" = x.
; then
23415 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23416 s/:*\$(srcdir):*/:/
23417 s/:*\${srcdir}:*/:/
23419 s/^\([^=]*=[ ]*\):*/\1/
23425 cat >>$CONFIG_STATUS <<\_ACEOF
23426 fi # test -n "$CONFIG_FILES"
23429 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23432 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23434 case $ac_mode$ac_tag in
23436 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23437 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23438 { (exit 1); exit 1; }; };;
23439 :[FH
]-) ac_tag
=-:-;;
23440 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23457 -) ac_f
="$tmp/stdin";;
23458 *) # Look for the file first in the build tree, then in the source tree
23459 # (if the path is not absolute). The absolute path cannot be DOS-style,
23460 # because $ac_f cannot contain `:'.
23464 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23466 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23467 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23468 { (exit 1); exit 1; }; };;
23470 ac_file_inputs
="$ac_file_inputs $ac_f"
23473 # Let's still pretend it is `configure' which instantiates (i.e., don't
23474 # use $as_me), people would be surprised to read:
23475 # /* config.h. Generated by config.status. */
23476 configure_input
="Generated from "`IFS=:
23477 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23478 if test x
"$ac_file" != x-
; then
23479 configure_input
="$ac_file. $configure_input"
23480 { echo "$as_me:$LINENO: creating $ac_file" >&5
23481 echo "$as_me: creating $ac_file" >&6;}
23485 *:-:* |
*:-) cat >"$tmp/stdin";;
23490 ac_dir
=`$as_dirname -- "$ac_file" ||
23491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23492 X"$ac_file" : 'X\(//\)[^/]' \| \
23493 X"$ac_file" : 'X\(//\)$' \| \
23494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23500 /^X\(\/\/\)[^/].*/{
23515 -*) as_dir
=.
/$as_dir;;
23517 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23521 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23522 *) as_qdir
=$as_dir;;
23524 as_dirs
="'$as_qdir' $as_dirs"
23525 as_dir
=`$as_dirname -- "$as_dir" ||
23526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23527 X"$as_dir" : 'X\(//\)[^/]' \| \
23528 X"$as_dir" : 'X\(//\)$' \| \
23529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23535 /^X\(\/\/\)[^/].*/{
23548 test -d "$as_dir" && break
23550 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23551 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23552 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23553 { (exit 1); exit 1; }; }; }
23557 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23559 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23560 # A ".." for each directory in $ac_dir_suffix.
23561 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23562 case $ac_top_builddir_sub in
23563 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23564 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23567 ac_abs_top_builddir
=$ac_pwd
23568 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23569 # for backward compatibility:
23570 ac_top_builddir
=$ac_top_build_prefix
23573 .
) # We are building in place.
23575 ac_top_srcdir
=$ac_top_builddir_sub
23576 ac_abs_top_srcdir
=$ac_pwd ;;
23577 [\\/]* | ?
:[\\/]* ) # Absolute name.
23578 ac_srcdir
=$srcdir$ac_dir_suffix;
23579 ac_top_srcdir
=$srcdir
23580 ac_abs_top_srcdir
=$srcdir ;;
23581 *) # Relative name.
23582 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23583 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23584 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23586 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23596 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23597 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23599 ac_MKDIR_P
=$MKDIR_P
23601 [\\/$
]* | ?
:[\\/]* ) ;;
23602 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23606 cat >>$CONFIG_STATUS <<\_ACEOF
23607 # If the template does not know about datarootdir, expand it.
23608 # FIXME: This hack should be removed a few years after 2.60.
23609 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23611 case `sed -n '/datarootdir/ {
23620 ' $ac_file_inputs` in
23621 *datarootdir
*) ac_datarootdir_seen
=yes;;
23622 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23623 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23624 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23626 cat >>$CONFIG_STATUS <<_ACEOF
23627 ac_datarootdir_hack='
23628 s&@datadir@&$datadir&g
23629 s&@docdir@&$docdir&g
23630 s&@infodir@&$infodir&g
23631 s&@localedir@&$localedir&g
23632 s&@mandir@&$mandir&g
23633 s&\\\${datarootdir}&$datarootdir&g' ;;
23637 # Neutralize VPATH when `$srcdir' = `.'.
23638 # Shell code in configure.ac might set extrasub.
23639 # FIXME: do we really want to maintain this feature?
23640 cat >>$CONFIG_STATUS <<_ACEOF
23644 cat >>$CONFIG_STATUS <<\_ACEOF
23646 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23647 s
&@configure_input@
&$configure_input&;t t
23648 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23649 s
&@srcdir@
&$ac_srcdir&;t t
23650 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23651 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23652 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23653 s
&@builddir@
&$ac_builddir&;t t
23654 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23655 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23656 s
&@INSTALL@
&$ac_INSTALL&;t t
23657 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23658 $ac_datarootdir_hack
23659 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23662 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23664 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23665 which seems to be undefined. Please make sure it is defined." >&5
23666 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23667 which seems to be undefined. Please make sure it is defined." >&2;}
23671 -) cat "$tmp/out"; rm -f "$tmp/out";;
23672 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23681 # Transform confdefs.h into a sed script `conftest.defines', that
23682 # substitutes the proper values into config.h.in to produce config.h.
23683 rm -f conftest.defines conftest.
tail
23684 # First, append a space to every undef/define line, to ease matching.
23685 echo 's/$/ /' >conftest.defines
23686 # Then, protect against being on the right side of a sed subst, or in
23687 # an unquoted here document, in config.status. If some macros were
23688 # called several times there might be several #defines for the same
23689 # symbol, which is useless. But do not sort them, since the last
23690 # AC_DEFINE must be honored.
23691 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23692 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23693 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23694 # PARAMS is the parameter list in the macro definition--in most cases, it's
23695 # just an empty string.
23696 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23697 ac_dB
='\\)[ (].*,\\1define\\2'
23705 s/^[ ]*#[ ]*define[ ][ ]*//
23710 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23711 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23712 ' >>conftest.defines
23714 # Remove the space that was appended to ease matching.
23715 # Then replace #undef with comments. This is necessary, for
23716 # example, in the case of _POSIX_SOURCE, which is predefined and required
23717 # on some systems where configure will not decide to define it.
23718 # (The regexp can be short, since the line contains either #define or #undef.)
23720 s,^[ #]*u.*,/* & */,' >>conftest.defines
23722 # Break up conftest.defines:
23723 ac_max_sed_lines
=50
23725 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23726 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23727 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23729 ac_in
='$ac_file_inputs'
23730 ac_out
='"$tmp/out1"'
23731 ac_nxt
='"$tmp/out2"'
23735 # Write a here document:
23736 cat >>$CONFIG_STATUS <<_ACEOF
23737 # First, check the format of the line:
23738 cat >"\$tmp/defines.sed" <<\\CEOF
23739 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23740 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23744 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23746 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23747 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23748 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23749 grep . conftest.
tail >/dev
/null ||
break
23750 rm -f conftest.defines
23751 mv conftest.
tail conftest.defines
23753 rm -f conftest.defines conftest.
tail
23755 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23756 cat >>$CONFIG_STATUS <<\_ACEOF
23757 if test x
"$ac_file" != x-
; then
23758 echo "/* $configure_input */" >"$tmp/config.h"
23759 cat "$ac_result" >>"$tmp/config.h"
23760 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23761 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23762 echo "$as_me: $ac_file is unchanged" >&6;}
23765 mv "$tmp/config.h" $ac_file
23768 echo "/* $configure_input */"
23772 # Compute $ac_file's index in $config_headers.
23775 for _am_header
in $config_headers :; do
23776 case $_am_header in
23777 $_am_arg |
$_am_arg:* )
23780 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23783 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23784 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23785 X"$_am_arg" : 'X\(//\)[^/]' \| \
23786 X"$_am_arg" : 'X\(//\)$' \| \
23787 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23793 /^X\(\/\/\)[^/].*/{
23805 s/.*/./; q'`/stamp-h
$_am_stamp_count
23808 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23809 echo "$as_me: executing $ac_file commands" >&6;}
23814 case $ac_file$ac_mode in
23815 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23816 # Strip MF so we end up with the name of the file.
23817 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23818 # Check whether this is an Automake generated Makefile or not.
23819 # We used to match only the files named `Makefile.in', but
23820 # some people rename them; so instead we look at the file content.
23821 # Grep'ing the first line is not enough: some people post-process
23822 # each Makefile.in and add a new line on top of each file to say so.
23823 # Grep'ing the whole file is not good either: AIX grep has a line
23824 # limit of 2048, but all sed's we know have understand at least 4000.
23825 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23826 dirpart
=`$as_dirname -- "$mf" ||
23827 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23828 X"$mf" : 'X\(//\)[^/]' \| \
23829 X"$mf" : 'X\(//\)$' \| \
23830 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23836 /^X\(\/\/\)[^/].*/{
23852 # Extract the definition of DEPDIR, am__include, and am__quote
23853 # from the Makefile without running `make'.
23854 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23855 test -z "$DEPDIR" && continue
23856 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23857 test -z "am__include" && continue
23858 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23859 # When using ansi2knr, U may be empty or an underscore; expand it
23860 U
=`sed -n 's/^U = //p' < "$mf"`
23861 # Find all dependency output files, they are included files with
23862 # $(DEPDIR) in their names. We invoke sed twice because it is the
23863 # simplest approach to changing $(DEPDIR) to its actual value in the
23865 for file in `sed -n "
23866 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23867 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23868 # Make sure the directory exists.
23869 test -f "$dirpart/$file" && continue
23870 fdir
=`$as_dirname -- "$file" ||
23871 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23872 X"$file" : 'X\(//\)[^/]' \| \
23873 X"$file" : 'X\(//\)$' \| \
23874 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23880 /^X\(\/\/\)[^/].*/{
23893 { as_dir
=$dirpart/$fdir
23895 -*) as_dir
=.
/$as_dir;;
23897 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23901 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23902 *) as_qdir
=$as_dir;;
23904 as_dirs
="'$as_qdir' $as_dirs"
23905 as_dir
=`$as_dirname -- "$as_dir" ||
23906 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23907 X"$as_dir" : 'X\(//\)[^/]' \| \
23908 X"$as_dir" : 'X\(//\)$' \| \
23909 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23915 /^X\(\/\/\)[^/].*/{
23928 test -d "$as_dir" && break
23930 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23931 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23932 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23933 { (exit 1); exit 1; }; }; }
23934 # echo "creating $dirpart/$file"
23935 echo '# dummy' > "$dirpart/$file"
23944 { (exit 0); exit 0; }
23946 chmod +x
$CONFIG_STATUS
23947 ac_clean_files
=$ac_clean_files_save
23950 # configure is writing to config.log, and then calls config.status.
23951 # config.status does its own redirection, appending to config.log.
23952 # Unfortunately, on DOS this fails, as config.log is still kept open
23953 # by configure, so config.status won't be able to write to it; its
23954 # output is simply discarded. So we exec the FD to /dev/null,
23955 # effectively closing config.log, so it can be properly (re)opened and
23956 # appended to by config.status. When coming back to configure, we
23957 # need to make the FD available again.
23958 if test "$no_create" != yes; then
23960 ac_config_status_args
=
23961 test "$silent" = yes &&
23962 ac_config_status_args
="$ac_config_status_args --quiet"
23964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23967 # would make configure fail if this is the last instruction.
23968 $ac_cs_success ||
{ (exit 1); exit 1; }