2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
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 Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
25 DUALCASE
=1; export DUALCASE
# for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits
='0123456789'
34 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49 # Support unset when possible.
50 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself
=$0 ;;
69 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir
=.
74 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x
; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var
in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C
; export $as_var
107 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
119 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me
=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x
; then
151 if (eval ":") 2>/dev
/null
; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev
/null
; then
217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
224 for as_base
in sh bash ksh sh5
; do
225 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
232 for as_shell
in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
247 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
248 DUALCASE
=1; export DUALCASE
# for MKS sh
253 CONFIG_SHELL
=$as_shell
255 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
267 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
268 DUALCASE
=1; export DUALCASE
# for MKS sh
280 as_func_ret_success
() {
283 as_func_ret_failure
() {
288 if as_func_success
; then
292 echo as_func_success failed.
295 if as_func_failure
; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success
; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure
; then
309 echo as_func_ret_failure succeeded.
312 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) ||
{ (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x
; then
337 for as_var
in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no
; then
346 echo This
script requires a shell
more modern than all the
347 echo shells that I found on your system. Please
install a
348 echo modern shell
, or manually run the
script under such a
349 echo shell
if you
do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") ||
{
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system
,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
466 ECHO_C
= ECHO_N
= ECHO_T
=
470 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
511 test -d .
/-p && rmdir .
/-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.
file <<_ASEOF
522 if test -x conf$$.
file >/dev
/null
2>&1; then
523 as_executable_p
="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL
=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X--no-reexec
; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X--fallback-echo
; then
553 # Avoid inline document here, it may be left over
555 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $echo works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X--fallback-echo
; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
576 if test -z "$ECHO"; then
577 if test "X${echo_test_string+set}" != Xset
; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
582 echo_test_string
=`eval $cmd` &&
583 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
590 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
591 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
592 test "X$echo_testing_string" = "X$echo_test_string"; then
595 # The Solaris, AIX, and Digital Unix default echo programs unquote
596 # backslashes. This makes it impossible to quote backslashes using
597 # echo "$something" | sed 's/\\/\\\\/g'
599 # So, first we look for a working echo in the user's PATH.
601 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
602 for dir
in $PATH /usr
/ucb
; do
604 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
605 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
614 if test "X$echo" = Xecho
; then
615 # We didn't find a better echo, so look for alternatives.
616 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
617 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
618 test "X$echo_testing_string" = "X$echo_test_string"; then
619 # This shell has a builtin print -r that does the trick.
621 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
622 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
623 # If we have ksh, try running configure again with it.
624 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
625 export ORIGINAL_CONFIG_SHELL
626 CONFIG_SHELL
=/bin
/ksh
628 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
633 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
637 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
643 SHELL
="$CONFIG_SHELL"
645 echo="$CONFIG_SHELL $0 --fallback-echo"
646 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
647 test "X$echo_testing_string" = 'X\t' &&
648 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
650 echo="$CONFIG_SHELL $0 --fallback-echo"
652 # maybe with a smaller string...
655 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
656 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
663 if test "$prev" != 'sed 50q "$0"'; then
664 echo_test_string
=`eval $prev`
665 export echo_test_string
666 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
668 # Oops. We lost completely, so just stick with echo.
677 # Copy echo and quote the copy suitably for passing to libtool from
678 # the Makefile, instead of quoting the original, which is used later.
680 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
681 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
687 tagnames
=${tagnames+${tagnames},}CXX
689 tagnames
=${tagnames+${tagnames},}F77
691 exec 7<&0 </dev
/null
6>&1
694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695 # so uname gets run too.
696 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
701 ac_default_prefix
=/usr
/local
703 ac_config_libobj_dir
=.
709 SHELL
=${CONFIG_SHELL-/bin/sh}
711 # Identity of this package.
718 ac_unique_file
="configure.in"
719 # Factoring default headers for most tests.
720 ac_includes_default
="\
723 # include <sys/types.h>
726 # include <sys/stat.h>
737 # if !STDC_HEADERS && HAVE_MEMORY_H
743 # include <strings.h>
746 # include <inttypes.h>
764 program_transform_name
805 INSTALL_STRIP_PROGRAM
863 ac_precious_vars
='build_alias
881 # Initialize some variables set by options.
883 ac_init_version
=false
884 # The variables have the same names as the options, with
885 # dashes changed to underlines.
893 program_transform_name
=s
,x
,x
,
901 # Installation directory options.
902 # These are left unexpanded so users can "make install exec_prefix=/foo"
903 # and all the variables that are supposed to be based on exec_prefix
904 # by default will actually change.
905 # Use braces instead of parens because sh, perl, etc. also accept them.
906 # (The list follows the same order as the GNU Coding Standards.)
907 bindir
='${exec_prefix}/bin'
908 sbindir
='${exec_prefix}/sbin'
909 libexecdir
='${exec_prefix}/libexec'
910 datarootdir
='${prefix}/share'
911 datadir
='${datarootdir}'
912 sysconfdir
='${prefix}/etc'
913 sharedstatedir
='${prefix}/com'
914 localstatedir
='${prefix}/var'
915 includedir
='${prefix}/include'
916 oldincludedir
='/usr/include'
917 docdir
='${datarootdir}/doc/${PACKAGE}'
918 infodir
='${datarootdir}/info'
923 libdir
='${exec_prefix}/lib'
924 localedir
='${datarootdir}/locale'
925 mandir
='${datarootdir}/man'
931 # If the previous option needs an argument, assign it.
932 if test -n "$ac_prev"; then
933 eval $ac_prev=\
$ac_option
939 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
943 # Accept the important Cygnus configure options, so we can diagnose typos.
945 case $ac_dashdash$ac_option in
949 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
951 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
954 -build |
--build |
--buil |
--bui |
--bu)
955 ac_prev
=build_alias
;;
956 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
957 build_alias
=$ac_optarg ;;
959 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
960 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
961 ac_prev
=cache_file
;;
962 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
963 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
964 cache_file
=$ac_optarg ;;
967 cache_file
=config.cache
;;
969 -datadir |
--datadir |
--datadi |
--datad)
971 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
972 datadir
=$ac_optarg ;;
974 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
975 |
--dataroo |
--dataro |
--datar)
976 ac_prev
=datarootdir
;;
977 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
978 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
979 datarootdir
=$ac_optarg ;;
981 -disable-* |
--disable-*)
982 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
985 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
986 { (exit 1); exit 1; }; }
987 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
988 eval enable_
$ac_feature=no
;;
990 -docdir |
--docdir |
--docdi |
--doc |
--do)
992 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
995 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
997 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1000 -enable-* |
--enable-*)
1001 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1004 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1005 { (exit 1); exit 1; }; }
1006 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1007 eval enable_
$ac_feature=\
$ac_optarg ;;
1009 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1010 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1011 |
--exec |
--exe |
--ex)
1012 ac_prev
=exec_prefix
;;
1013 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1014 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1015 |
--exec=* |
--exe=* |
--ex=*)
1016 exec_prefix
=$ac_optarg ;;
1018 -gas |
--gas |
--ga |
--g)
1019 # Obsolete; use --with-gas.
1022 -help |
--help |
--hel |
--he |
-h)
1023 ac_init_help
=long
;;
1024 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1025 ac_init_help
=recursive
;;
1026 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1027 ac_init_help
=short
;;
1029 -host |
--host |
--hos |
--ho)
1030 ac_prev
=host_alias
;;
1031 -host=* |
--host=* |
--hos=* |
--ho=*)
1032 host_alias
=$ac_optarg ;;
1034 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1036 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1038 htmldir
=$ac_optarg ;;
1040 -includedir |
--includedir |
--includedi |
--included |
--include \
1041 |
--includ |
--inclu |
--incl |
--inc)
1042 ac_prev
=includedir
;;
1043 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1044 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1045 includedir
=$ac_optarg ;;
1047 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1049 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1050 infodir
=$ac_optarg ;;
1052 -libdir |
--libdir |
--libdi |
--libd)
1054 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1055 libdir
=$ac_optarg ;;
1057 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1058 |
--libexe |
--libex |
--libe)
1059 ac_prev
=libexecdir
;;
1060 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1061 |
--libexe=* |
--libex=* |
--libe=*)
1062 libexecdir
=$ac_optarg ;;
1064 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1065 ac_prev
=localedir
;;
1066 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1067 localedir
=$ac_optarg ;;
1069 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1070 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1071 ac_prev
=localstatedir
;;
1072 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1073 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1074 localstatedir
=$ac_optarg ;;
1076 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1078 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1079 mandir
=$ac_optarg ;;
1081 -nfp |
--nfp |
--nf)
1082 # Obsolete; use --without-fp.
1085 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1086 |
--no-cr |
--no-c |
-n)
1089 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1090 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1093 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1094 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1095 |
--oldin |
--oldi |
--old |
--ol |
--o)
1096 ac_prev
=oldincludedir
;;
1097 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1098 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1099 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1100 oldincludedir
=$ac_optarg ;;
1102 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1104 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1105 prefix
=$ac_optarg ;;
1107 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1108 |
--program-pre |
--program-pr |
--program-p)
1109 ac_prev
=program_prefix
;;
1110 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1111 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1112 program_prefix
=$ac_optarg ;;
1114 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1115 |
--program-suf |
--program-su |
--program-s)
1116 ac_prev
=program_suffix
;;
1117 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1118 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1119 program_suffix
=$ac_optarg ;;
1121 -program-transform-name |
--program-transform-name \
1122 |
--program-transform-nam |
--program-transform-na \
1123 |
--program-transform-n |
--program-transform- \
1124 |
--program-transform |
--program-transfor \
1125 |
--program-transfo |
--program-transf \
1126 |
--program-trans |
--program-tran \
1127 |
--progr-tra |
--program-tr |
--program-t)
1128 ac_prev
=program_transform_name
;;
1129 -program-transform-name=* |
--program-transform-name=* \
1130 |
--program-transform-nam=* |
--program-transform-na=* \
1131 |
--program-transform-n=* |
--program-transform-=* \
1132 |
--program-transform=* |
--program-transfor=* \
1133 |
--program-transfo=* |
--program-transf=* \
1134 |
--program-trans=* |
--program-tran=* \
1135 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1136 program_transform_name
=$ac_optarg ;;
1138 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1140 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1141 pdfdir
=$ac_optarg ;;
1143 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1145 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1148 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1149 |
-silent |
--silent |
--silen |
--sile |
--sil)
1152 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1154 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1156 sbindir
=$ac_optarg ;;
1158 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1159 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1160 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1162 ac_prev
=sharedstatedir
;;
1163 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1164 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1165 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1167 sharedstatedir
=$ac_optarg ;;
1169 -site |
--site |
--sit)
1171 -site=* |
--site=* |
--sit=*)
1174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1177 srcdir
=$ac_optarg ;;
1179 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1180 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1181 ac_prev
=sysconfdir
;;
1182 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1183 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1184 sysconfdir
=$ac_optarg ;;
1186 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1187 ac_prev
=target_alias
;;
1188 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1189 target_alias
=$ac_optarg ;;
1191 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1194 -version |
--version |
--versio |
--versi |
--vers |
-V)
1195 ac_init_version
=: ;;
1198 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1201 { echo "$as_me: error: invalid package name: $ac_package" >&2
1202 { (exit 1); exit 1; }; }
1203 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1204 eval with_
$ac_package=\
$ac_optarg ;;
1206 -without-* |
--without-*)
1207 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1210 { echo "$as_me: error: invalid package name: $ac_package" >&2
1211 { (exit 1); exit 1; }; }
1212 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1213 eval with_
$ac_package=no
;;
1216 # Obsolete; use --with-x.
1219 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1220 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1221 ac_prev
=x_includes
;;
1222 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1223 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1224 x_includes
=$ac_optarg ;;
1226 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1227 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1228 ac_prev
=x_libraries
;;
1229 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1230 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1231 x_libraries
=$ac_optarg ;;
1233 -*) { echo "$as_me: error: unrecognized option: $ac_option
1234 Try \`$0 --help' for more information." >&2
1235 { (exit 1); exit 1; }; }
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1242 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1243 { (exit 1); exit 1; }; }
1244 eval $ac_envvar=\
$ac_optarg
1245 export $ac_envvar ;;
1248 # FIXME: should be removed in autoconf 3.0.
1249 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1251 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1258 if test -n "$ac_prev"; then
1259 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1260 { echo "$as_me: error: missing argument to $ac_option" >&2
1261 { (exit 1); exit 1; }; }
1264 # Be sure to have absolute directory names.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1276 { (exit 1); exit 1; }; }
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target
=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x
; then
1288 if test "x$build_alias" = x
; then
1289 cross_compiling
=maybe
1290 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1291 If a cross compiler is detected then cross compile mode will be used." >&2
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1300 test "$silent" = yes && exec 6>/dev
/null
1303 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di
=`ls -di .` &&
1305 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1306 { echo "$as_me: error: Working directory cannot be determined" >&2
1307 { (exit 1); exit 1; }; }
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309 { echo "$as_me: error: pwd does not report name of working directory" >&2
1310 { (exit 1); exit 1; }; }
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted
=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir
=`$as_dirname -- "$0" ||
1318 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$0" : 'X\(//\)[^/]' \| \
1320 X"$0" : 'X\(//\)$' \| \
1321 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted
=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1349 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1350 { (exit 1); exit 1; }; }
1352 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1355 { (exit 1); exit 1; }; }
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures this package to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1449 if test -n "$ac_init_help"; then
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --disable-dependency-tracking speeds up one-time build
1457 --enable-dependency-tracking do not reject slow dependency extractors
1458 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1459 --enable-static[=PKGS
] build static libraries
[default
=yes]
1460 --enable-fast-install[=PKGS
]
1461 optimize
for fast installation
[default
=yes]
1462 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1465 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1466 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1467 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1468 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1470 --with-tags[=TAGS
] include additional configurations
[automatic
]
1472 Some influential environment variables
:
1473 CC C compiler
command
1474 CFLAGS C compiler flags
1475 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1476 nonstandard directory
<lib dir
>
1477 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1478 you have headers
in a nonstandard directory
<include dir
>
1479 CXX C
++ compiler
command
1480 CXXFLAGS C
++ compiler flags
1482 CXXCPP C
++ preprocessor
1483 F77 Fortran
77 compiler
command
1484 FFLAGS Fortran
77 compiler flags
1485 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1486 the first program found out of: `bison
-y', `byacc', `yacc'.
1487 YFLAGS The list of arguments that will be passed by default to $YACC.
1488 This script will default YFLAGS to the empty string to avoid a
1489 default value of `-d' given by some make applications.
1491 Use these variables to override the choices made by `configure' or to
help
1492 it to
find libraries and programs with nonstandard names
/locations.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1501 test -d "$ac_dir" ||
continue
1505 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1507 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1508 # A ".." for each directory in $ac_dir_suffix.
1509 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1510 case $ac_top_builddir_sub in
1511 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1512 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1515 ac_abs_top_builddir
=$ac_pwd
1516 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1517 # for backward compatibility:
1518 ac_top_builddir
=$ac_top_build_prefix
1521 .
) # We are building in place.
1523 ac_top_srcdir
=$ac_top_builddir_sub
1524 ac_abs_top_srcdir
=$ac_pwd ;;
1525 [\\/]* | ?
:[\\/]* ) # Absolute name.
1526 ac_srcdir
=$srcdir$ac_dir_suffix;
1527 ac_top_srcdir
=$srcdir
1528 ac_abs_top_srcdir
=$srcdir ;;
1530 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1531 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1532 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1534 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1536 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1537 # Check for guested configure.
1538 if test -f "$ac_srcdir/configure.gnu"; then
1540 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1541 elif test -f "$ac_srcdir/configure"; then
1543 $SHELL "$ac_srcdir/configure" --help=recursive
1545 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1551 test -n "$ac_init_help" && exit $ac_status
1552 if $ac_init_version; then
1555 generated by GNU Autoconf
2.60
1557 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1558 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1559 This configure
script is free software
; the Free Software Foundation
1560 gives unlimited permission to copy
, distribute and modify it.
1564 cat >config.log
<<_ACEOF
1565 This file contains any messages produced by compilers while
1566 running configure, to aid debugging if configure makes a mistake.
1568 It was created by $as_me, which was
1569 generated by GNU Autoconf 2.60. Invocation command line was
1581 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1582 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1583 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1584 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1585 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1587 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1588 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1590 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1591 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1592 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1593 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1594 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1595 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1596 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir
=.
1605 echo "PATH: $as_dir"
1621 # Keep a trace of the command line.
1622 # Strip out --no-create and --no-recursion so they do not pile up.
1623 # Strip out --silent because we don't want to record it for future runs.
1624 # Also quote any args containing shell meta-characters.
1625 # Make two passes to allow for proper duplicate-argument suppression.
1629 ac_must_keep_next
=false
1635 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1636 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1637 |
-silent |
--silent |
--silen |
--sile |
--sil)
1640 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1645 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1646 if test $ac_must_keep_next = true
; then
1647 ac_must_keep_next
=false
# Got value, back to normal.
1650 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1651 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1652 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1653 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1654 case "$ac_configure_args0 " in
1655 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1658 -* ) ac_must_keep_next
=true
;;
1661 ac_configure_args
="$ac_configure_args '$ac_arg'"
1666 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1667 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1669 # When interrupted or exit'd, cleanup temporary files, and complete
1670 # config.log. We remove comments because anyway the quotes in there
1671 # would cause problems or look ugly.
1672 # WARNING: Use '\'' to represent an apostrophe within the trap.
1673 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1674 trap 'exit_status=$?
1675 # Save into config.log some information that might help in debugging.
1680 ## ---------------- ##
1681 ## Cache variables. ##
1682 ## ---------------- ##
1685 # The following way of writing the cache mishandles newlines in values,
1687 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1688 eval ac_val=\$$ac_var
1692 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1693 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1696 _ | IFS | as_nl) ;; #(
1697 *) $as_unset $ac_var ;;
1702 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1703 *${as_nl}ac_space=\ *)
1705 "s/'\''/'\''\\\\'\'''\''/g;
1706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1717 ## ----------------- ##
1718 ## Output variables. ##
1719 ## ----------------- ##
1722 for ac_var in $ac_subst_vars
1724 eval ac_val=\$$ac_var
1726 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1728 echo "$ac_var='\''$ac_val'\''"
1732 if test -n "$ac_subst_files"; then
1734 ## ------------------- ##
1735 ## File substitutions. ##
1736 ## ------------------- ##
1739 for ac_var
in $ac_subst_files
1741 eval ac_val
=\$
$ac_var
1743 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1745 echo "$ac_var='\''$ac_val'\''"
1750 if test -s confdefs.h; then
1760 test "$ac_signal" != 0 &&
1761 echo "$as_me: caught signal $ac_signal"
1762 echo "$as_me: exit $exit_status"
1764 rm -f core *.core core.conftest.* &&
1765 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1768 for ac_signal
in 1 2 13 15; do
1769 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1773 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1774 rm -f -r conftest
* confdefs.h
1776 # Predefined preprocessor variables.
1778 cat >>confdefs.h
<<_ACEOF
1779 #define PACKAGE_NAME "$PACKAGE_NAME"
1783 cat >>confdefs.h
<<_ACEOF
1784 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1788 cat >>confdefs.h
<<_ACEOF
1789 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1793 cat >>confdefs.h
<<_ACEOF
1794 #define PACKAGE_STRING "$PACKAGE_STRING"
1798 cat >>confdefs.h
<<_ACEOF
1799 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1803 # Let the site file select an alternate cache file if it wants to.
1804 # Prefer explicitly selected file to automatically selected ones.
1805 if test -n "$CONFIG_SITE"; then
1806 set x
"$CONFIG_SITE"
1807 elif test "x$prefix" != xNONE
; then
1808 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1810 set x
"$ac_default_prefix/share/config.site" \
1811 "$ac_default_prefix/etc/config.site"
1816 if test -r "$ac_site_file"; then
1817 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1818 echo "$as_me: loading site script $ac_site_file" >&6;}
1819 sed 's/^/| /' "$ac_site_file" >&5
1824 if test -r "$cache_file"; then
1825 # Some versions of bash will fail to source /dev/null (special
1826 # files actually), so we avoid doing that.
1827 if test -f "$cache_file"; then
1828 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1829 echo "$as_me: loading cache $cache_file" >&6;}
1831 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1832 *) .
"./$cache_file";;
1836 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1837 echo "$as_me: creating cache $cache_file" >&6;}
1841 # Check that the precious variables saved in the cache have kept the same
1843 ac_cache_corrupted
=false
1844 for ac_var
in $ac_precious_vars; do
1845 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1846 eval ac_new_set
=\
$ac_env_${ac_var}_set
1847 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1848 eval ac_new_val
=\
$ac_env_${ac_var}_value
1849 case $ac_old_set,$ac_new_set in
1851 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1852 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1853 ac_cache_corrupted
=: ;;
1855 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1856 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1857 ac_cache_corrupted
=: ;;
1860 if test "x$ac_old_val" != "x$ac_new_val"; then
1861 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1862 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1863 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1864 echo "$as_me: former value: $ac_old_val" >&2;}
1865 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1866 echo "$as_me: current value: $ac_new_val" >&2;}
1867 ac_cache_corrupted
=:
1870 # Pass precious variables to config.status.
1871 if test "$ac_new_set" = set; then
1873 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1874 *) ac_arg
=$ac_var=$ac_new_val ;;
1876 case " $ac_configure_args " in
1877 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1878 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1882 if $ac_cache_corrupted; then
1883 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1884 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1885 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1886 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1887 { (exit 1); exit 1; }; }
1907 ac_cpp
='$CPP $CPPFLAGS'
1908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1914 ac_config_headers
="$ac_config_headers config.h"
1916 am__api_version
="1.9"
1918 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1919 if test -f "$ac_dir/install-sh"; then
1921 ac_install_sh
="$ac_aux_dir/install-sh -c"
1923 elif test -f "$ac_dir/install.sh"; then
1925 ac_install_sh
="$ac_aux_dir/install.sh -c"
1927 elif test -f "$ac_dir/shtool"; then
1929 ac_install_sh
="$ac_aux_dir/shtool install -c"
1933 if test -z "$ac_aux_dir"; then
1934 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1935 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1936 { (exit 1); exit 1; }; }
1939 # These three variables are undocumented and unsupported,
1940 # and are intended to be withdrawn in a future Autoconf release.
1941 # They can cause serious problems if a builder's source tree is in a directory
1942 # whose full name contains unusual characters.
1943 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1944 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1945 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1948 # Find a good install program. We prefer a C program (faster),
1949 # so one script is as good as another. But avoid the broken or
1950 # incompatible versions:
1951 # SysV /etc/install, /usr/sbin/install
1952 # SunOS /usr/etc/install
1953 # IRIX /sbin/install
1955 # AmigaOS /C/install, which installs bootblocks on floppy discs
1956 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1957 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1958 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1959 # OS/2's system install, which has a completely different semantic
1960 # ./install, which can be erroneously created by make from ./install.sh.
1961 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1962 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1963 if test -z "$INSTALL"; then
1964 if test "${ac_cv_path_install+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir
=.
1972 # Account for people who put trailing slashes in PATH elements.
1974 .
/ | .
// |
/cC
/* | \
1975 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1976 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1979 # OSF1 and SCO ODT 3.0 have their own names for install.
1980 # Don't use installbsd from OSF since it installs stuff as root
1982 for ac_prog
in ginstall scoinst
install; do
1983 for ac_exec_ext
in '' $ac_executable_extensions; do
1984 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1985 if test $ac_prog = install &&
1986 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1987 # AIX install. It has an incompatible calling convention.
1989 elif test $ac_prog = install &&
1990 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1991 # program-specific install script used by HP pwplus--don't use.
1994 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2007 if test "${ac_cv_path_install+set}" = set; then
2008 INSTALL
=$ac_cv_path_install
2010 # As a last resort, use the slow shell script. Don't cache a
2011 # value for INSTALL within a source directory, because that will
2012 # break other packages using the cache if that directory is
2013 # removed, or if the value is a relative name.
2014 INSTALL
=$ac_install_sh
2017 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2018 echo "${ECHO_T}$INSTALL" >&6; }
2020 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2021 # It thinks the first close brace ends the variable substitution.
2022 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2024 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2026 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2028 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2029 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2032 echo timestamp
> conftest.
file
2033 # Do `set' in a subshell so we don't clobber the current shell's
2034 # arguments. Must try -L first in case configure is actually a
2035 # symlink; some systems play weird games with the mod time of symlinks
2036 # (eg FreeBSD returns the mod time of the symlink's containing
2039 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2040 if test "$*" = "X"; then
2042 set X
`ls -t $srcdir/configure conftest.file`
2045 if test "$*" != "X $srcdir/configure conftest.file" \
2046 && test "$*" != "X conftest.file $srcdir/configure"; then
2048 # If neither matched, then we have a broken ls. This can happen
2049 # if, for instance, CONFIG_SHELL is bash and it inherits a
2050 # broken ls alias from the environment. This has actually
2051 # happened. Such a system could not be considered "sane".
2052 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2053 alias in your environment" >&5
2054 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2055 alias in your environment" >&2;}
2056 { (exit 1); exit 1; }; }
2059 test "$2" = conftest.
file
2065 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2066 Check your system clock" >&5
2067 echo "$as_me: error: newly created file is older than distributed files!
2068 Check your system clock" >&2;}
2069 { (exit 1); exit 1; }; }
2071 { echo "$as_me:$LINENO: result: yes" >&5
2072 echo "${ECHO_T}yes" >&6; }
2073 test "$program_prefix" != NONE
&&
2074 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2075 # Use a double $ so make ignores it.
2076 test "$program_suffix" != NONE
&&
2077 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2078 # Double any \ or $. echo might interpret backslashes.
2079 # By default was `s,x,x', remove it if useless.
2080 cat <<\_ACEOF
>conftest.
sed
2081 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2083 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2086 # expand $ac_aux_dir to an absolute path
2087 am_aux_dir
=`cd $ac_aux_dir && pwd`
2089 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2090 # Use eval to expand $SHELL
2091 if eval "$MISSING --run true"; then
2092 am_missing_run
="$MISSING --run "
2095 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2096 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2099 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2100 # We used to keeping the `.' as first argument, in order to
2101 # allow $(mkdir_p) to be used without argument. As in
2102 # $(mkdir_p) $(somedir)
2103 # where $(somedir) is conditionally defined. However this is wrong
2105 # 1. if the package is installed by a user who cannot write `.'
2106 # make install will fail,
2107 # 2. the above comment should most certainly read
2108 # $(mkdir_p) $(DESTDIR)$(somedir)
2109 # so it does not work when $(somedir) is undefined and
2110 # $(DESTDIR) is not.
2111 # To support the latter case, we have to write
2112 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2113 # so the `.' trick is pointless.
2114 mkdir_p
='mkdir -p --'
2116 # On NextStep and OpenStep, the `mkdir' command does not
2117 # recognize any option. It will interpret all options as
2118 # directories to create, and then abort because `.' already
2120 for d
in .
/-p .
/--version;
2122 test -d $d && rmdir $d
2124 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2125 if test -f "$ac_aux_dir/mkinstalldirs"; then
2126 mkdir_p
='$(mkinstalldirs)'
2128 mkdir_p
='$(install_sh) -d'
2132 for ac_prog
in gawk mawk nawk
awk
2134 # Extract the first word of "$ac_prog", so it can be a program name with args.
2135 set dummy
$ac_prog; ac_word
=$2
2136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2138 if test "${ac_cv_prog_AWK+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$AWK"; then
2142 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 for ac_exec_ext
in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_AWK
="$ac_prog"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 if test -n "$AWK"; then
2163 { echo "$as_me:$LINENO: result: $AWK" >&5
2164 echo "${ECHO_T}$AWK" >&6; }
2166 { echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6; }
2171 test -n "$AWK" && break
2174 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2175 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2176 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2177 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 cat >conftest.
make <<\_ACEOF
2183 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2185 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2186 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2188 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2190 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2194 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2195 { echo "$as_me:$LINENO: result: yes" >&5
2196 echo "${ECHO_T}yes" >&6; }
2199 { echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6; }
2201 SET_MAKE
="MAKE=${MAKE-make}"
2204 rm -rf .tst
2>/dev
/null
2205 mkdir .tst
2>/dev
/null
2206 if test -d .tst
; then
2211 rmdir .tst
2>/dev
/null
2213 # test to see if srcdir already configured
2214 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2215 test -f $srcdir/config.status
; then
2216 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2217 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2218 { (exit 1); exit 1; }; }
2221 # test whether we have cygpath
2222 if test -z "$CYGPATH_W"; then
2223 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2224 CYGPATH_W
='cygpath -w'
2231 # Define the identity of the package.
2236 cat >>confdefs.h
<<_ACEOF
2237 #define PACKAGE "$PACKAGE"
2241 cat >>confdefs.h
<<_ACEOF
2242 #define VERSION "$VERSION"
2245 # Some tools Automake needs.
2247 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2250 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2253 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2256 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2259 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2261 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2263 # Installed binaries are usually stripped using `strip' when the user
2264 # run `make install-strip'. However `strip' might not be the right
2265 # tool to use in cross-compilation environments, therefore Automake
2266 # will honor the `STRIP' environment variable to overrule this program.
2267 if test "$cross_compiling" != no
; then
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2270 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_STRIP+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$STRIP"; then
2277 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 STRIP
=$ac_cv_prog_STRIP
2297 if test -n "$STRIP"; then
2298 { echo "$as_me:$LINENO: result: $STRIP" >&5
2299 echo "${ECHO_T}$STRIP" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2307 if test -z "$ac_cv_prog_STRIP"; then
2309 # Extract the first word of "strip", so it can be a program name with args.
2310 set dummy strip
; ac_word
=$2
2311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 if test -n "$ac_ct_STRIP"; then
2317 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir
=.
2324 for ac_exec_ext
in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_ac_ct_STRIP
="strip"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2337 if test -n "$ac_ct_STRIP"; then
2338 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2339 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2341 { echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6; }
2345 if test "x$ac_ct_STRIP" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned
=yes ;;
2361 STRIP
="$ac_cv_prog_STRIP"
2365 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2367 # We need awk for the "check" target. The system "awk" is bad on
2369 # Always define AMTAR for backward compatibility.
2371 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2373 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2381 ac_cpp
='$CXXCPP $CPPFLAGS'
2382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2387 ac_cpp
='$CPP $CPPFLAGS'
2388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2393 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC
="$CC" # Let the user override the test.
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 if test -n "$CC"; then
2421 { echo "$as_me:$LINENO: result: $CC" >&5
2422 echo "${ECHO_T}$CC" >&6; }
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2430 if test -z "$ac_cv_prog_CC"; then
2432 # Extract the first word of "gcc", so it can be a program name with args.
2433 set dummy gcc
; ac_word
=$2
2434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$ac_ct_CC"; then
2440 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir
=.
2447 for ac_exec_ext
in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_prog_ac_ct_CC
="gcc"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2460 if test -n "$ac_ct_CC"; then
2461 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2462 echo "${ECHO_T}$ac_ct_CC" >&6; }
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2468 if test "x$ac_ct_CC" = x
; then
2471 case $cross_compiling:$ac_tool_warned in
2473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2474 whose name does not start with the host triplet. If you think this
2475 configuration is useful to you, please write to autoconf@gnu.org." >&5
2476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2477 whose name does not start with the host triplet. If you think this
2478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2479 ac_tool_warned
=yes ;;
2487 if test -z "$CC"; then
2488 if test -n "$ac_tool_prefix"; then
2489 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2490 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493 if test "${ac_cv_prog_CC+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if test -n "$CC"; then
2497 ac_cv_prog_CC
="$CC" # Let the user override the test.
2499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir
=.
2504 for ac_exec_ext
in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 if test -n "$CC"; then
2518 { echo "$as_me:$LINENO: result: $CC" >&5
2519 echo "${ECHO_T}$CC" >&6; }
2521 { echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6; }
2528 if test -z "$CC"; then
2529 # Extract the first word of "cc", so it can be a program name with args.
2530 set dummy cc
; ac_word
=$2
2531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 if test "${ac_cv_prog_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC
="$CC" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2548 ac_prog_rejected
=yes
2552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test $ac_prog_rejected = yes; then
2560 # We found a bogon in the path, so make sure we never use it.
2561 set dummy
$ac_cv_prog_CC
2563 if test $# != 0; then
2564 # We chose a different compiler from the bogus one.
2565 # However, it has the same basename, so the bogon will be chosen
2566 # first if we set CC to just the basename; use the full file name.
2568 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2574 if test -n "$CC"; then
2575 { echo "$as_me:$LINENO: result: $CC" >&5
2576 echo "${ECHO_T}$CC" >&6; }
2578 { echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6; }
2584 if test -z "$CC"; then
2585 if test -n "$ac_tool_prefix"; then
2586 for ac_prog
in cl.exe
2588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2589 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then
2593 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC
="$CC" # Let the user override the test.
2598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir
=.
2603 for ac_exec_ext
in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test -n "$CC"; then
2617 { echo "$as_me:$LINENO: result: $CC" >&5
2618 echo "${ECHO_T}$CC" >&6; }
2620 { echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6; }
2625 test -n "$CC" && break
2628 if test -z "$CC"; then
2630 for ac_prog
in cl.exe
2632 # Extract the first word of "$ac_prog", so it can be a program name with args.
2633 set dummy
$ac_prog; ac_word
=$2
2634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$ac_ct_CC"; then
2640 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_ac_ct_CC
="$ac_prog"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2660 if test -n "$ac_ct_CC"; then
2661 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2662 echo "${ECHO_T}$ac_ct_CC" >&6; }
2664 { echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6; }
2669 test -n "$ac_ct_CC" && break
2672 if test "x$ac_ct_CC" = x
; then
2675 case $cross_compiling:$ac_tool_warned in
2677 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2678 whose name does not start with the host triplet. If you think this
2679 configuration is useful to you, please write to autoconf@gnu.org." >&5
2680 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2681 whose name does not start with the host triplet. If you think this
2682 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2683 ac_tool_warned
=yes ;;
2692 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: no acceptable C compiler found in \$PATH
2695 See \`config.log' for more details." >&2;}
2696 { (exit 1); exit 1; }; }
2698 # Provide some information about the compiler.
2699 echo "$as_me:$LINENO: checking for C compiler version" >&5
2700 ac_compiler
=`set X $ac_compile; echo $2`
2701 { (ac_try
="$ac_compiler --version >&5"
2703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 (eval "$ac_compiler --version >&5") 2>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }
2711 { (ac_try="$ac_compiler -v >&5"
2713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2714 *) ac_try_echo
=$ac_try;;
2716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compiler -v >&5") 2>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }
2721 { (ac_try
="$ac_compiler -V >&5"
2723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_compiler -V >&5") 2>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }
2732 cat >conftest.$ac_ext <<_ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 ac_clean_files_save=$ac_clean_files
2748 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2749 # Try to create an executable without -o first, disregard a.out.
2750 # It will help us diagnose broken compilers, and finding out an intuition
2752 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2753 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2754 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2756 # List of possible output files, starting from the most likely.
2757 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2758 # only as a last resort. b.out is created by i960 compilers.
2759 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2761 # The IRIX 6 linker writes into existing files which may not be
2762 # executable, retaining their permissions. Remove them first so a
2763 # subsequent execution test works.
2765 for ac_file in $ac_files
2768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2769 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2774 if { (ac_try="$ac_link_default"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link_default") 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2785 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2786 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2787 # so that the user can short-circuit this test for compilers unknown to
2789 for ac_file
in $ac_files
2791 test -f "$ac_file" ||
continue
2793 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2796 # We found the default executable, but exeext='' is most
2800 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2802 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2804 # We set ac_cv_exeext here because the later test for it is not
2805 # safe: cross compilers may not add the suffix if given an `-o'
2806 # argument, so we may need to know it at that point already.
2807 # Even if this section looks crufty: it has the advantage of
2814 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2817 echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.
$ac_ext >&5
2820 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2821 See \`config.log' for more details." >&5
2822 echo "$as_me: error: C compiler cannot create executables
2823 See \`config.log' for more details." >&2;}
2824 { (exit 77); exit 77; }; }
2827 ac_exeext
=$ac_cv_exeext
2828 { echo "$as_me:$LINENO: result: $ac_file" >&5
2829 echo "${ECHO_T}$ac_file" >&6; }
2831 # Check that the compiler produces executables we can run. If not, either
2832 # the compiler is broken, or we cross compile.
2833 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2834 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2835 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2836 # If not cross compiling, check that we can run a simple program.
2837 if test "$cross_compiling" != yes; then
2838 if { ac_try
='./$ac_file'
2839 { (case "(($ac_try" in
2840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_try") 2>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2850 if test "$cross_compiling" = maybe; then
2853 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2854 If you meant to cross compile, use \`--host'.
2855 See \`config.log' for more details.
" >&5
2856 echo "$as_me: error
: cannot run C compiled programs.
2857 If you meant to cross compile
, use \
`--host'.
2858 See \`config.log
' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2863 { echo "$as_me:$LINENO: result: yes" >&5
2864 echo "${ECHO_T}yes" >&6; }
2866 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2867 ac_clean_files=$ac_clean_files_save
2868 # Check that the compiler produces executables we can run. If not, either
2869 # the compiler is broken, or we cross compile.
2870 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2871 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2872 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2873 echo "${ECHO_T}$cross_compiling" >&6; }
2875 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2876 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2877 if { (ac_try="$ac_link"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_link") 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; then
2887 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2888 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2889 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2891 for ac_file
in conftest.exe conftest conftest.
*; do
2892 test -f "$ac_file" ||
continue
2894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2895 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2902 See \`config.log' for more details." >&5
2903 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2904 See \`config.log' for more details." >&2;}
2905 { (exit 1); exit 1; }; }
2908 rm -f conftest
$ac_cv_exeext
2909 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2910 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2912 rm -f conftest.
$ac_ext
2913 EXEEXT
=$ac_cv_exeext
2915 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2916 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2917 if test "${ac_cv_objext+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2935 rm -f conftest.o conftest.obj
2936 if { (ac_try
="$ac_compile"
2938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_compile") 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; then
2946 for ac_file in conftest.o conftest.obj conftest.*; do
2947 test -f "$ac_file" || continue;
2949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2950 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2959 See \`config.log
' for more details." >&5
2960 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2961 See \`config.log' for more details.
" >&2;}
2962 { (exit 1); exit 1; }; }
2965 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2967 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2968 echo "${ECHO_T}$ac_cv_objext" >&6; }
2969 OBJEXT=$ac_cv_objext
2971 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2972 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2973 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2974 echo $ECHO_N "(cached
) $ECHO_C" >&6
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3003 grep -v '^ *+' conftest.er1 >conftest.err
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3007 (exit $ac_status); } &&
3008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3009 { (case "(($ac_try" in
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_try") 2>&5
3016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3017 (exit $ac_status); }; } &&
3018 { ac_try='test -s conftest.$ac_objext'
3019 { (case "(($ac_try" in
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3024 (eval "$ac_try") 2>&5
3026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3027 (exit $ac_status); }; }; then
3030 echo "$as_me: failed program was
:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3040 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3041 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3042 GCC=`test $ac_compiler_gnu = yes && echo yes`
3043 ac_test_CFLAGS=${CFLAGS+set}
3044 ac_save_CFLAGS=$CFLAGS
3045 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3046 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3047 if test "${ac_cv_prog_cc_g+set}" = set; then
3048 echo $ECHO_N "(cached
) $ECHO_C" >&6
3050 ac_save_c_werror_flag=$ac_c_werror_flag
3051 ac_c_werror_flag=yes
3054 cat >conftest.$ac_ext <<_ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3078 grep -v '^ *+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3084 { (case "(($ac_try" in
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3089 (eval "$ac_try") 2>&5
3091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3092 (exit $ac_status); }; } &&
3093 { ac_try='test -s conftest.$ac_objext'
3094 { (case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3099 (eval "$ac_try") 2>&5
3101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3102 (exit $ac_status); }; }; then
3105 echo "$as_me: failed program was
:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3139 { (case "(($ac_try" in
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_try") 2>&5
3146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (case "(($ac_try" in
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3154 (eval "$ac_try") 2>&5
3156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3157 (exit $ac_status); }; }; then
3160 echo "$as_me: failed program was
:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 ac_c_werror_flag=$ac_save_c_werror_flag
3165 cat >conftest.$ac_ext <<_ACEOF
3168 cat confdefs.h >>conftest.$ac_ext
3169 cat >>conftest.$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3180 rm -f conftest.$ac_objext
3181 if { (ac_try="$ac_compile"
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_compile") 2>conftest.er1
3189 grep -v '^ *+' conftest.er1 >conftest.err
3191 cat conftest.err >&5
3192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3193 (exit $ac_status); } &&
3194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3195 { (case "(($ac_try" in
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3200 (eval "$ac_try") 2>&5
3202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (case "(($ac_try" in
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_try") 2>&5
3212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3213 (exit $ac_status); }; }; then
3216 echo "$as_me: failed program was
:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 ac_c_werror_flag=$ac_save_c_werror_flag
3231 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3232 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3233 if test "$ac_test_CFLAGS" = set; then
3234 CFLAGS=$ac_save_CFLAGS
3235 elif test $ac_cv_prog_cc_g = yes; then
3236 if test "$GCC" = yes; then
3242 if test "$GCC" = yes; then
3248 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3249 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3250 if test "${ac_cv_prog_cc_c89+set}" = set; then
3251 echo $ECHO_N "(cached
) $ECHO_C" >&6
3253 ac_cv_prog_cc_c89=no
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3263 #include <sys/types.h>
3264 #include <sys/stat.h>
3265 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3266 struct buf { int x; };
3267 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3268 static char *e (p, i)
3274 static char *f (char * (*g) (char **, int), char **p, ...)
3279 s = g (p, va_arg (v,int));
3284 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3285 function prototypes and stuff, but not '\xHH' hex character constants.
3286 These don't provoke an error unfortunately, instead are silently treated
3287 as 'x'. The following induces an error, until -std is added to get
3288 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3289 array size at least. It's necessary to write '\x00'==0 to get something
3290 that's true only with -std. */
3291 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3293 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3294 inside strings and character constants. */
3296 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3298 int test (int i, double x);
3299 struct s1 {int (*f) (int a);};
3300 struct s2 {int (*f) (double a);};
3301 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3307 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3312 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3313 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3315 CC="$ac_save_CC $ac_arg"
3316 rm -f conftest.$ac_objext
3317 if { (ac_try="$ac_compile"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3323 (eval "$ac_compile") 2>conftest.er1
3325 grep -v '^ *+' conftest.er1 >conftest.err
3327 cat conftest.err >&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); } &&
3330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3331 { (case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_try") 2>&5
3338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3339 (exit $ac_status); }; } &&
3340 { ac_try='test -s conftest.$ac_objext'
3341 { (case "(($ac_try" in
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_try") 2>&5
3348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 ac_cv_prog_cc_c89=$ac_arg
3352 echo "$as_me: failed program was
:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3358 rm -f core conftest.err conftest.$ac_objext
3359 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3361 rm -f conftest.$ac_ext
3366 case "x
$ac_cv_prog_cc_c89" in
3368 { echo "$as_me:$LINENO: result
: none needed
" >&5
3369 echo "${ECHO_T}none needed
" >&6; } ;;
3371 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3372 echo "${ECHO_T}unsupported
" >&6; } ;;
3374 CC="$CC $ac_cv_prog_cc_c89"
3375 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3376 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3381 ac_cpp='$CXXCPP $CPPFLAGS'
3382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3385 DEPDIR="${am__leading_dot}deps
"
3387 ac_config_commands="$ac_config_commands depfiles
"
3390 am_make=${MAKE-make}
3391 cat > confinc << 'END'
3396 # If we don't find an include directive, just comment out the code.
3397 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3398 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3402 # First try GNU make style include.
3403 echo "include confinc" > confmf
3404 # We grep out `Entering directory' and `Leaving directory'
3405 # messages which can occur if `w' ends up in MAKEFLAGS.
3406 # In particular we don't look at `^make:' because GNU make might
3407 # be invoked under some other name (usually "gmake"), in which
3408 # case it prints its new name instead of `make'.
3409 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3414 # Now try BSD make style include.
3415 if test "$am__include" = "#"; then
3416 echo '.include "confinc"' > confmf
3417 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3418 am__include
=.include
3425 { echo "$as_me:$LINENO: result: $_am_result" >&5
3426 echo "${ECHO_T}$_am_result" >&6; }
3427 rm -f confinc confmf
3429 # Check whether --enable-dependency-tracking was given.
3430 if test "${enable_dependency_tracking+set}" = set; then
3431 enableval
=$enable_dependency_tracking;
3434 if test "x$enable_dependency_tracking" != xno
; then
3435 am_depcomp
="$ac_aux_dir/depcomp"
3440 if test "x$enable_dependency_tracking" != xno; then
3451 depcc
="$CC" am_compiler_list
=
3453 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3454 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3455 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3459 # We make a subdir and do the tests there. Otherwise we can end up
3460 # making bogus files that we don't know about and never remove. For
3461 # instance it was reported that on HP-UX the gcc test will end up
3462 # making a dummy file named `D' -- because `-MD' means `put the output
3465 # Copy depcomp to subdir because otherwise we won't find it if we're
3466 # using a relative directory.
3467 cp "$am_depcomp" conftest.dir
3469 # We will build objects and dependencies in a subdirectory because
3470 # it helps to detect inapplicable dependency modes. For instance
3471 # both Tru64's cc and ICC support -MD to output dependencies as a
3472 # side effect of compilation, but ICC will put the dependencies in
3473 # the current directory while Tru64 will put them in the object
3477 am_cv_CC_dependencies_compiler_type
=none
3478 if test "$am_compiler_list" = ""; then
3479 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3481 for depmode
in $am_compiler_list; do
3482 # Setup a source with many dependencies, because some compilers
3483 # like to wrap large dependency lists on column 80 (with \), and
3484 # we should not choose a depcomp mode which is confused by this.
3486 # We need to recreate these files for each test, as the compiler may
3487 # overwrite some of them when testing with obscure command lines.
3488 # This happens at least with the AIX C compiler.
3490 for i
in 1 2 3 4 5 6; do
3491 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3492 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3493 # Solaris 8's {/usr,}/bin/sh.
3494 touch sub
/conftst
$i.h
3496 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3500 # after this tag, mechanisms are not by side-effect, so they'll
3501 # only be used when explicitly requested
3502 if test "x$enable_dependency_tracking" = xyes
; then
3510 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3511 # mode. It turns out that the SunPro C++ compiler does not properly
3512 # handle `-M -o', and we need to detect this.
3513 if depmode
=$depmode \
3514 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3515 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3516 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3517 >/dev
/null
2>conftest.err
&&
3518 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3519 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3520 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3521 # icc doesn't choke on unknown options, it will just issue warnings
3522 # or remarks (even with -Werror). So we grep stderr for any message
3523 # that says an option was ignored or not supported.
3524 # When given -MP, icc 7.0 and 7.1 complain thusly:
3525 # icc: Command line warning: ignoring option '-M'; no argument required
3526 # The diagnosis changed in icc 8.0:
3527 # icc: Command line remark: option '-MP' not supported
3528 if (grep 'ignoring option' conftest.err ||
3529 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3530 am_cv_CC_dependencies_compiler_type
=$depmode
3539 am_cv_CC_dependencies_compiler_type
=none
3543 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3544 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3545 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3550 test "x$enable_dependency_tracking" != xno \
3551 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3553 am__fastdepCC_FALSE
='#'
3555 am__fastdepCC_TRUE
='#'
3556 am__fastdepCC_FALSE
=
3561 ac_cpp
='$CXXCPP $CPPFLAGS'
3562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3565 if test -z "$CXX"; then
3566 if test -n "$CCC"; then
3569 if test -n "$ac_tool_prefix"; then
3570 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3576 if test "${ac_cv_prog_CXX+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 if test -n "$CXX"; then
3580 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3586 test -z "$as_dir" && as_dir
=.
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3589 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 if test -n "$CXX"; then
3601 { echo "$as_me:$LINENO: result: $CXX" >&5
3602 echo "${ECHO_T}$CXX" >&6; }
3604 { echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6; }
3609 test -n "$CXX" && break
3612 if test -z "$CXX"; then
3614 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3616 # Extract the first word of "$ac_prog", so it can be a program name with args.
3617 set dummy
$ac_prog; ac_word
=$2
3618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3620 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 if test -n "$ac_ct_CXX"; then
3624 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3633 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3644 if test -n "$ac_ct_CXX"; then
3645 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3646 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3648 { echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6; }
3653 test -n "$ac_ct_CXX" && break
3656 if test "x$ac_ct_CXX" = x
; then
3659 case $cross_compiling:$ac_tool_warned in
3661 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3662 whose name does not start with the host triplet. If you think this
3663 configuration is useful to you, please write to autoconf@gnu.org." >&5
3664 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3665 whose name does not start with the host triplet. If you think this
3666 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3667 ac_tool_warned
=yes ;;
3675 # Provide some information about the compiler.
3676 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3677 ac_compiler
=`set X $ac_compile; echo $2`
3678 { (ac_try
="$ac_compiler --version >&5"
3680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3684 (eval "$ac_compiler --version >&5") 2>&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }
3688 { (ac_try="$ac_compiler -v >&5"
3690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3691 *) ac_try_echo
=$ac_try;;
3693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3694 (eval "$ac_compiler -v >&5") 2>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }
3698 { (ac_try
="$ac_compiler -V >&5"
3700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3704 (eval "$ac_compiler -V >&5") 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }
3709 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3710 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3711 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 cat >conftest.$ac_ext <<_ACEOF
3717 cat confdefs.h >>conftest.$ac_ext
3718 cat >>conftest.$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3732 rm -f conftest.$ac_objext
3733 if { (ac_try="$ac_compile"
3735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3736 *) ac_try_echo
=$ac_try;;
3738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_compile") 2>conftest.er1
3741 grep -v '^ *+' conftest.er1
>conftest.err
3743 cat conftest.err
>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3747 { (case "(($ac_try" in
3748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_try") 2>&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }; } &&
3756 { ac_try='test -s conftest.$ac_objext'
3757 { (case "(($ac_try" in
3758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3759 *) ac_try_echo
=$ac_try;;
3761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3762 (eval "$ac_try") 2>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); }; }; then
3768 echo "$as_me: failed program was:" >&5
3769 sed 's/^/| /' conftest.
$ac_ext >&5
3774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3775 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3778 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3779 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3780 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3781 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3782 ac_save_CXXFLAGS
=$CXXFLAGS
3783 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3784 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3785 if test "${ac_cv_prog_cxx_g+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3789 ac_cxx_werror_flag
=yes
3792 cat >conftest.
$ac_ext <<_ACEOF
3795 cat confdefs.h
>>conftest.
$ac_ext
3796 cat >>conftest.
$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3807 rm -f conftest.
$ac_objext
3808 if { (ac_try
="$ac_compile"
3810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814 (eval "$ac_compile") 2>conftest.er1
3816 grep -v '^ *+' conftest.er1 >conftest.err
3818 cat conftest.err >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } &&
3821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3822 { (case "(($ac_try" in
3823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3824 *) ac_try_echo
=$ac_try;;
3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827 (eval "$ac_try") 2>&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); }; } &&
3831 { ac_try
='test -s conftest.$ac_objext'
3832 { (case "(($ac_try" in
3833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3837 (eval "$ac_try") 2>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); }; }; then
3841 ac_cv_prog_cxx_g=yes
3843 echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3862 rm -f conftest.$ac_objext
3863 if { (ac_try="$ac_compile"
3865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3866 *) ac_try_echo
=$ac_try;;
3868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3869 (eval "$ac_compile") 2>conftest.er1
3871 grep -v '^ *+' conftest.er1
>conftest.err
3873 cat conftest.err
>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); } &&
3876 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3877 { (case "(($ac_try" in
3878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_try") 2>&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); }; } &&
3886 { ac_try='test -s conftest.$ac_objext'
3887 { (case "(($ac_try" in
3888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3889 *) ac_try_echo
=$ac_try;;
3891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3892 (eval "$ac_try") 2>&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; }; then
3898 echo "$as_me: failed program was:" >&5
3899 sed 's/^/| /' conftest.
$ac_ext >&5
3901 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3903 cat >conftest.
$ac_ext <<_ACEOF
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3918 rm -f conftest.
$ac_objext
3919 if { (ac_try
="$ac_compile"
3921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3925 (eval "$ac_compile") 2>conftest.er1
3927 grep -v '^ *+' conftest.er1 >conftest.err
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3933 { (case "(($ac_try" in
3934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3935 *) ac_try_echo
=$ac_try;;
3937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3938 (eval "$ac_try") 2>&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; } &&
3942 { ac_try
='test -s conftest.$ac_objext'
3943 { (case "(($ac_try" in
3944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3945 *) ac_try_echo=$ac_try;;
3947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3948 (eval "$ac_try") 2>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }; }; then
3952 ac_cv_prog_cxx_g=yes
3954 echo "$as_me: failed program was:" >&5
3955 sed 's/^/| /' conftest.$ac_ext >&5
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3969 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3970 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3971 if test "$ac_test_CXXFLAGS" = set; then
3972 CXXFLAGS=$ac_save_CXXFLAGS
3973 elif test $ac_cv_prog_cxx_g = yes; then
3974 if test "$GXX" = yes; then
3980 if test "$GXX" = yes; then
3987 ac_cpp='$CXXCPP $CPPFLAGS'
3988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3992 depcc="$CXX" am_compiler_list=
3994 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3995 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3996 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4000 # We make a subdir and do the tests there. Otherwise we can end up
4001 # making bogus files that we don't know about and never remove. For
4002 # instance it was reported that on HP-UX the gcc test will end up
4003 # making a dummy file named `D
' -- because `-MD' means
`put the output
4006 # Copy depcomp to subdir because otherwise we won't find it if we're
4007 # using a relative directory.
4008 cp "$am_depcomp" conftest.dir
4010 # We will build objects and dependencies in a subdirectory because
4011 # it helps to detect inapplicable dependency modes. For instance
4012 # both Tru64's cc and ICC support -MD to output dependencies as a
4013 # side effect of compilation, but ICC will put the dependencies in
4014 # the current directory while Tru64 will put them in the object
4018 am_cv_CXX_dependencies_compiler_type=none
4019 if test "$am_compiler_list" = ""; then
4020 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4022 for depmode in $am_compiler_list; do
4023 # Setup a source with many dependencies, because some compilers
4024 # like to wrap large dependency lists on column 80 (with \), and
4025 # we should not choose a depcomp mode which is confused by this.
4027 # We need to recreate these files for each test, as the compiler may
4028 # overwrite some of them when testing with obscure command lines.
4029 # This happens at least with the AIX C compiler.
4031 for i in 1 2 3 4 5 6; do
4032 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4033 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4034 # Solaris 8's
{/usr
,}/bin
/sh.
4035 touch sub
/conftst
$i.h
4037 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4041 # after this tag, mechanisms are not by side-effect, so they'll
4042 # only be used when explicitly requested
4043 if test "x$enable_dependency_tracking" = xyes
; then
4051 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4052 # mode. It turns out that the SunPro C++ compiler does not properly
4053 # handle `-M -o', and we need to detect this.
4054 if depmode
=$depmode \
4055 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4056 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4057 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4058 >/dev
/null
2>conftest.err
&&
4059 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4060 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4061 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4062 # icc doesn't choke on unknown options, it will just issue warnings
4063 # or remarks (even with -Werror). So we grep stderr for any message
4064 # that says an option was ignored or not supported.
4065 # When given -MP, icc 7.0 and 7.1 complain thusly:
4066 # icc: Command line warning: ignoring option '-M'; no argument required
4067 # The diagnosis changed in icc 8.0:
4068 # icc: Command line remark: option '-MP' not supported
4069 if (grep 'ignoring option' conftest.err ||
4070 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4071 am_cv_CXX_dependencies_compiler_type
=$depmode
4080 am_cv_CXX_dependencies_compiler_type
=none
4084 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4085 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4086 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4091 test "x$enable_dependency_tracking" != xno \
4092 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4093 am__fastdepCXX_TRUE
=
4094 am__fastdepCXX_FALSE
='#'
4096 am__fastdepCXX_TRUE
='#'
4097 am__fastdepCXX_FALSE
=
4101 # Check whether --enable-shared was given.
4102 if test "${enable_shared+set}" = set; then
4103 enableval
=$enable_shared; p
=${PACKAGE-default}
4105 yes) enable_shared
=yes ;;
4106 no
) enable_shared
=no
;;
4109 # Look at the argument we got. We use all the common list separators.
4110 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4111 for pkg
in $enableval; do
4113 if test "X$pkg" = "X$p"; then
4125 # Check whether --enable-static was given.
4126 if test "${enable_static+set}" = set; then
4127 enableval
=$enable_static; p
=${PACKAGE-default}
4129 yes) enable_static
=yes ;;
4130 no
) enable_static
=no
;;
4133 # Look at the argument we got. We use all the common list separators.
4134 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4135 for pkg
in $enableval; do
4137 if test "X$pkg" = "X$p"; then
4149 # Check whether --enable-fast-install was given.
4150 if test "${enable_fast_install+set}" = set; then
4151 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4153 yes) enable_fast_install
=yes ;;
4154 no
) enable_fast_install
=no
;;
4156 enable_fast_install
=no
4157 # Look at the argument we got. We use all the common list separators.
4158 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4159 for pkg
in $enableval; do
4161 if test "X$pkg" = "X$p"; then
4162 enable_fast_install
=yes
4169 enable_fast_install
=yes
4173 # Make sure we can run config.sub.
4174 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4175 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4176 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4177 { (exit 1); exit 1; }; }
4179 { echo "$as_me:$LINENO: checking build system type" >&5
4180 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4181 if test "${ac_cv_build+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 ac_build_alias
=$build_alias
4185 test "x$ac_build_alias" = x
&&
4186 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4187 test "x$ac_build_alias" = x
&&
4188 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4189 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4190 { (exit 1); exit 1; }; }
4191 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4192 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4193 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4194 { (exit 1); exit 1; }; }
4197 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4198 echo "${ECHO_T}$ac_cv_build" >&6; }
4199 case $ac_cv_build in
4201 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4202 echo "$as_me: error: invalid value of canonical build" >&2;}
4203 { (exit 1); exit 1; }; };;
4206 ac_save_IFS
=$IFS; IFS
='-'
4212 # Remember, the first character of IFS is used to create $*,
4213 # except with old shells:
4216 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4219 { echo "$as_me:$LINENO: checking host system type" >&5
4220 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4221 if test "${ac_cv_host+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 if test "x$host_alias" = x
; then
4225 ac_cv_host
=$ac_cv_build
4227 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4228 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4229 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4230 { (exit 1); exit 1; }; }
4234 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4235 echo "${ECHO_T}$ac_cv_host" >&6; }
4238 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4239 echo "$as_me: error: invalid value of canonical host" >&2;}
4240 { (exit 1); exit 1; }; };;
4243 ac_save_IFS
=$IFS; IFS
='-'
4249 # Remember, the first character of IFS is used to create $*,
4250 # except with old shells:
4253 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4256 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4257 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4258 if test "${lt_cv_path_SED+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 # Loop through the user's path and test for sed and gsed.
4262 # Then use that list of sed's as ones to test for truncation.
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 for lt_ac_prog
in sed gsed
; do
4269 for ac_exec_ext
in '' $ac_executable_extensions; do
4270 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4271 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4278 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4279 # along with /bin/sed that truncates output.
4280 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4281 test ! -f $lt_ac_sed && continue
4282 cat /dev
/null
> conftest.
in
4284 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4285 # Check for GNU sed and select it if it is found.
4286 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4287 lt_cv_path_SED
=$lt_ac_sed
4291 cat conftest.
in conftest.
in >conftest.tmp
4292 mv conftest.tmp conftest.
in
4293 cp conftest.
in conftest.
nl
4295 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4296 cmp -s conftest.out conftest.
nl ||
break
4297 # 10000 chars as input seems more than enough
4298 test $lt_ac_count -gt 10 && break
4299 lt_ac_count
=`expr $lt_ac_count + 1`
4300 if test $lt_ac_count -gt $lt_ac_max; then
4301 lt_ac_max
=$lt_ac_count
4302 lt_cv_path_SED
=$lt_ac_sed
4310 { echo "$as_me:$LINENO: result: $SED" >&5
4311 echo "${ECHO_T}$SED" >&6; }
4313 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4314 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4315 if test "${ac_cv_path_GREP+set}" = set; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 # Extract the first word of "grep ggrep" to use in msg output
4319 if test -z "$GREP"; then
4320 set dummy
grep ggrep
; ac_prog_name
=$2
4321 if test "${ac_cv_path_GREP+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 ac_path_GREP_found
=false
4325 # Loop through the user's path and test for each of PROGNAME-LIST
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4327 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_prog
in grep ggrep
; do
4332 for ac_exec_ext
in '' $ac_executable_extensions; do
4333 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4334 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
4335 # Check for GNU ac_path_GREP and select it if it is found.
4336 # Check for GNU $ac_path_GREP
4337 case `"$ac_path_GREP" --version 2>&1` in
4339 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4342 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4345 cat "conftest.in" "conftest.in" >"conftest.tmp"
4346 mv "conftest.tmp" "conftest.in"
4347 cp "conftest.in" "conftest.nl"
4348 echo 'GREP' >> "conftest.nl"
4349 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4350 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4351 ac_count
=`expr $ac_count + 1`
4352 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4353 # Best one so far, save it but keep looking for a better one
4354 ac_cv_path_GREP
="$ac_path_GREP"
4355 ac_path_GREP_max
=$ac_count
4357 # 10*(2^10) chars as input seems more than enough
4358 test $ac_count -gt 10 && break
4360 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4364 $ac_path_GREP_found && break 3
4374 GREP
="$ac_cv_path_GREP"
4375 if test -z "$GREP"; then
4376 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4377 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4378 { (exit 1); exit 1; }; }
4382 ac_cv_path_GREP
=$GREP
4387 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4388 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4389 GREP
="$ac_cv_path_GREP"
4392 { echo "$as_me:$LINENO: checking for egrep" >&5
4393 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4394 if test "${ac_cv_path_EGREP+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4398 then ac_cv_path_EGREP
="$GREP -E"
4400 # Extract the first word of "egrep" to use in msg output
4401 if test -z "$EGREP"; then
4402 set dummy
egrep; ac_prog_name
=$2
4403 if test "${ac_cv_path_EGREP+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 ac_path_EGREP_found
=false
4407 # Loop through the user's path and test for each of PROGNAME-LIST
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_prog
in egrep; do
4414 for ac_exec_ext
in '' $ac_executable_extensions; do
4415 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4416 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4417 # Check for GNU ac_path_EGREP and select it if it is found.
4418 # Check for GNU $ac_path_EGREP
4419 case `"$ac_path_EGREP" --version 2>&1` in
4421 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4424 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4427 cat "conftest.in" "conftest.in" >"conftest.tmp"
4428 mv "conftest.tmp" "conftest.in"
4429 cp "conftest.in" "conftest.nl"
4430 echo 'EGREP' >> "conftest.nl"
4431 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4432 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4433 ac_count
=`expr $ac_count + 1`
4434 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4435 # Best one so far, save it but keep looking for a better one
4436 ac_cv_path_EGREP
="$ac_path_EGREP"
4437 ac_path_EGREP_max
=$ac_count
4439 # 10*(2^10) chars as input seems more than enough
4440 test $ac_count -gt 10 && break
4442 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4446 $ac_path_EGREP_found && break 3
4456 EGREP
="$ac_cv_path_EGREP"
4457 if test -z "$EGREP"; then
4458 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4459 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4460 { (exit 1); exit 1; }; }
4464 ac_cv_path_EGREP
=$EGREP
4470 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4471 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4472 EGREP
="$ac_cv_path_EGREP"
4476 # Check whether --with-gnu-ld was given.
4477 if test "${with_gnu_ld+set}" = set; then
4478 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4484 if test "$GCC" = yes; then
4485 # Check if gcc -print-prog-name=ld gives a path.
4486 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4487 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4490 # gcc leaves a trailing carriage return which upsets mingw
4491 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4493 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4496 # Accept absolute paths.
4498 re_direlt
='/[^/][^/]*/\.\./'
4499 # Canonicalize the pathname of ld
4500 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4501 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4502 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4504 test -z "$LD" && LD
="$ac_prog"
4507 # If it fails, then pretend we aren't using GCC.
4511 # If it is relative, then search for the first ld in PATH.
4515 elif test "$with_gnu_ld" = yes; then
4516 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4517 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4519 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4520 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4522 if test "${lt_cv_path_LD+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -z "$LD"; then
4526 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4527 for ac_dir
in $PATH; do
4529 test -z "$ac_dir" && ac_dir
=.
4530 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4531 lt_cv_path_LD
="$ac_dir/$ac_prog"
4532 # Check to see if the program is GNU ld. I'd rather use --version,
4533 # but apparently some variants of GNU ld only accept -v.
4534 # Break only if it was the GNU/non-GNU ld that we prefer.
4535 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4536 *GNU
* |
*'with BFD'*)
4537 test "$with_gnu_ld" != no
&& break
4540 test "$with_gnu_ld" != yes && break
4547 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4552 if test -n "$LD"; then
4553 { echo "$as_me:$LINENO: result: $LD" >&5
4554 echo "${ECHO_T}$LD" >&6; }
4556 { echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6; }
4559 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4560 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4561 { (exit 1); exit 1; }; }
4562 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4563 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4564 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4568 case `$LD -v 2>&1 </dev/null` in
4569 *GNU
* |
*'with BFD'*)
4570 lt_cv_prog_gnu_ld
=yes
4573 lt_cv_prog_gnu_ld
=no
4577 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4578 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4579 with_gnu_ld
=$lt_cv_prog_gnu_ld
4582 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4583 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4584 if test "${lt_cv_ld_reload_flag+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 lt_cv_ld_reload_flag
='-r'
4589 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4590 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4591 reload_flag
=$lt_cv_ld_reload_flag
4592 case $reload_flag in
4594 *) reload_flag
=" $reload_flag" ;;
4596 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4599 if test "$GCC" = yes; then
4600 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4602 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4607 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4608 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4609 if test "${lt_cv_path_NM+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 if test -n "$NM"; then
4613 # Let the user override the test.
4616 lt_nm_to_check
="${ac_tool_prefix}nm"
4617 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4618 lt_nm_to_check
="$lt_nm_to_check nm"
4620 for lt_tmp_nm
in $lt_nm_to_check; do
4621 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4622 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4624 test -z "$ac_dir" && ac_dir
=.
4625 tmp_nm
="$ac_dir/$lt_tmp_nm"
4626 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4627 # Check to see if the nm accepts a BSD-compat flag.
4628 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4629 # nm: unknown option "B" ignored
4630 # Tru64's nm complains that /dev/null is an invalid object file
4631 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4632 */dev
/null
* |
*'Invalid file or object type'*)
4633 lt_cv_path_NM
="$tmp_nm -B"
4637 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4639 lt_cv_path_NM
="$tmp_nm -p"
4643 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4644 continue # so that we can try to find one that supports BSD flags
4653 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4656 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4657 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4660 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4661 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4663 if test "$LN_S" = "ln -s"; then
4664 { echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6; }
4667 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4668 echo "${ECHO_T}no, using $LN_S" >&6; }
4671 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4672 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4673 if test "${lt_cv_deplibs_check_method+set}" = set; then
4674 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4677 lt_cv_file_magic_test_file
=
4678 lt_cv_deplibs_check_method
='unknown'
4679 # Need to set the preceding variable on all platforms that support
4680 # interlibrary dependencies.
4681 # 'none' -- dependencies not supported.
4682 # `unknown' -- same as none, but documents that we really don't know.
4683 # 'pass_all' -- all dependencies passed with no checks.
4684 # 'test_compile' -- check by making test program.
4685 # 'file_magic [[regex]]' -- check by looking for files in library path
4686 # which responds to the $file_magic_cmd with a given extended regex.
4687 # If you have `file' or equivalent on your system and you're not sure
4688 # whether `pass_all' will *always* work, you probably want this one.
4692 lt_cv_deplibs_check_method
=pass_all
4696 lt_cv_deplibs_check_method
=pass_all
4700 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4701 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4702 lt_cv_file_magic_test_file
=/shlib
/libc.so
4706 # func_win32_libid is a shell function defined in ltmain.sh
4707 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4708 lt_cv_file_magic_cmd
='func_win32_libid'
4712 # Base MSYS/MinGW do not provide the 'file' command needed by
4713 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4714 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4715 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4718 darwin
* | rhapsody
*)
4719 lt_cv_deplibs_check_method
=pass_all
4722 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4723 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4726 # Not sure whether the presence of OpenBSD here was a mistake.
4727 # Let's accept both of them until this is cleared up.
4728 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4729 lt_cv_file_magic_cmd
=/usr
/bin
/file
4730 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4734 lt_cv_deplibs_check_method
=pass_all
4739 lt_cv_deplibs_check_method
=pass_all
4742 hpux10.20
* | hpux11
*)
4743 lt_cv_file_magic_cmd
=/usr
/bin
/file
4746 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4747 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4750 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]'
4751 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4754 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4755 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4761 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4762 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4765 irix5
* | irix6
* | nonstopux
*)
4767 *-32|
*"-32 ") libmagic
=32-bit;;
4768 *-n32|
*"-n32 ") libmagic
=N32
;;
4769 *-64|
*"-64 ") libmagic
=64-bit;;
4770 *) libmagic
=never-match
;;
4772 lt_cv_deplibs_check_method
=pass_all
4775 # This must be Linux ELF.
4777 lt_cv_deplibs_check_method
=pass_all
4781 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4782 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4784 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4789 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4790 lt_cv_file_magic_cmd
=/usr
/bin
/file
4791 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4795 lt_cv_deplibs_check_method
=unknown
4799 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4800 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4802 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4806 osf3
* | osf4
* | osf5
*)
4807 lt_cv_deplibs_check_method
=pass_all
4811 lt_cv_deplibs_check_method
=pass_all
4815 case $host_vendor in
4817 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]'
4818 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4821 lt_cv_deplibs_check_method
=pass_all
4824 lt_cv_file_magic_cmd
='/bin/file'
4825 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4828 lt_cv_file_magic_cmd
='/bin/file'
4829 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4830 lt_cv_file_magic_test_file
=/lib
/libc.so
4833 lt_cv_deplibs_check_method
=pass_all
4836 lt_cv_deplibs_check_method
=pass_all
4841 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4842 lt_cv_deplibs_check_method
=pass_all
4847 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4848 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4849 file_magic_cmd
=$lt_cv_file_magic_cmd
4850 deplibs_check_method
=$lt_cv_deplibs_check_method
4851 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4856 # If no C compiler was specified, use CC.
4859 # If no C compiler flags were specified, use CFLAGS.
4860 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4862 # Allow CC to be a program name with arguments.
4866 # Check whether --enable-libtool-lock was given.
4867 if test "${enable_libtool_lock+set}" = set; then
4868 enableval
=$enable_libtool_lock;
4871 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4873 # Some flags need to be propagated to the compiler or linker for good
4877 # Find out which ABI we are using.
4878 echo 'int i;' > conftest.
$ac_ext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }; then
4884 case `/usr/bin/file conftest.$ac_objext` in
4896 # Find out which ABI we are using.
4897 echo '#line 4897 "configure"' > conftest.
$ac_ext
4898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4899 (eval $ac_compile) 2>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; then
4903 if test "$lt_cv_prog_gnu_ld" = yes; then
4904 case `/usr/bin/file conftest.$ac_objext` in
4906 LD
="${LD-ld} -melf32bsmip"
4909 LD
="${LD-ld} -melf32bmipn32"
4912 LD
="${LD-ld} -melf64bmip"
4916 case `/usr/bin/file conftest.$ac_objext` in
4932 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4933 # Find out which ABI we are using.
4934 echo 'int i;' > conftest.
$ac_ext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4936 (eval $ac_compile) 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; then
4940 case `/usr/bin/file conftest.o` in
4944 LD
="${LD-ld} -m elf_i386"
4946 ppc64-
*linux
*|powerpc64-
*linux
*)
4947 LD
="${LD-ld} -m elf32ppclinux"
4950 LD
="${LD-ld} -m elf_s390"
4953 LD
="${LD-ld} -m elf32_sparc"
4960 LD
="${LD-ld} -m elf_x86_64"
4962 ppc
*-*linux
*|powerpc
*-*linux
*)
4963 LD
="${LD-ld} -m elf64ppc"
4966 LD
="${LD-ld} -m elf64_s390"
4969 LD
="${LD-ld} -m elf64_sparc"
4979 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4980 SAVE_CFLAGS
="$CFLAGS"
4981 CFLAGS
="$CFLAGS -belf"
4982 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4983 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4984 if test "${lt_cv_cc_needs_belf+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 ac_cpp
='$CPP $CPPFLAGS'
4989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4993 cat >conftest.
$ac_ext <<_ACEOF
4996 cat confdefs.h
>>conftest.
$ac_ext
4997 cat >>conftest.
$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
5008 rm -f conftest.
$ac_objext conftest
$ac_exeext
5009 if { (ac_try
="$ac_link"
5011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5012 *) ac_try_echo=$ac_try;;
5014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5015 (eval "$ac_link") 2>conftest.er1
5017 grep -v '^ *+' conftest.er1 >conftest.err
5019 cat conftest.err >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5023 { (case "(($ac_try" in
5024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5025 *) ac_try_echo
=$ac_try;;
5027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5028 (eval "$ac_try") 2>&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); }; } &&
5032 { ac_try
='test -s conftest$ac_exeext'
5033 { (case "(($ac_try" in
5034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5035 *) ac_try_echo=$ac_try;;
5037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5038 (eval "$ac_try") 2>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 lt_cv_cc_needs_belf=yes
5044 echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.$ac_ext >&5
5047 lt_cv_cc_needs_belf=no
5050 rm -f core conftest.err conftest.$ac_objext \
5051 conftest$ac_exeext conftest.$ac_ext
5053 ac_cpp='$CPP $CPPFLAGS'
5054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5059 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5060 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5061 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5062 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5063 CFLAGS="$SAVE_CFLAGS"
5067 # Find out which ABI we are using.
5068 echo 'int i;' > conftest.$ac_ext
5069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5070 (eval $ac_compile) 2>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; then
5074 case `/usr
/bin
/file conftest.o
` in
5076 case $lt_cv_prog_gnu_ld in
5077 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5078 *) LD="${LD-ld} -64" ;;
5089 need_locks="$enable_libtool_lock"
5093 ac_cpp='$CPP $CPPFLAGS'
5094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5097 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5098 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5099 # On Suns, sometimes $CPP names a directory.
5100 if test -n "$CPP" && test -d "$CPP"; then
5103 if test -z "$CPP"; then
5104 if test "${ac_cv_prog_CPP+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 # Double quotes because CPP needs to be expanded
5108 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5111 for ac_c_preproc_warn_flag in '' yes
5113 # Use a header file that comes with gcc, so configuring glibc
5114 # with a fresh cross-compiler works.
5115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116 # <limits.h> exists even on freestanding compilers.
5117 # On the NeXT, cc -E runs the code through the compiler's parser,
5118 # not just through cpp. "Syntax error" is here to catch this case.
5119 cat >conftest.$ac_ext <<_ACEOF
5122 cat confdefs.h >>conftest.$ac_ext
5123 cat >>conftest.$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5126 # include <limits.h>
5128 # include <assert.h>
5132 if { (ac_try="$ac_cpp conftest.$ac_ext"
5134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5135 *) ac_try_echo
=$ac_try;;
5137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5140 grep -v '^ *+' conftest.er1
>conftest.err
5142 cat conftest.err
>&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } >/dev
/null
; then
5145 if test -s conftest.err
; then
5146 ac_cpp_err
=$ac_c_preproc_warn_flag
5147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5154 if test -z "$ac_cpp_err"; then
5157 echo "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.
$ac_ext >&5
5160 # Broken: fails on valid input.
5164 rm -f conftest.err conftest.
$ac_ext
5166 # OK, works on sane cases. Now check whether nonexistent headers
5167 # can be detected and how.
5168 cat >conftest.
$ac_ext <<_ACEOF
5171 cat confdefs.h
>>conftest.
$ac_ext
5172 cat >>conftest.
$ac_ext <<_ACEOF
5173 /* end confdefs.h. */
5174 #include <ac_nonexistent.h>
5176 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184 grep -v '^ *+' conftest.er1 >conftest.err
5186 cat conftest.err >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } >/dev/null; then
5189 if test -s conftest.err; then
5190 ac_cpp_err=$ac_c_preproc_warn_flag
5191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5198 if test -z "$ac_cpp_err"; then
5199 # Broken: success on invalid input.
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.$ac_ext >&5
5205 # Passes both tests.
5210 rm -f conftest.err conftest.$ac_ext
5213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5214 rm -f conftest.err conftest.
$ac_ext
5215 if $ac_preproc_ok; then
5227 { echo "$as_me:$LINENO: result: $CPP" >&5
5228 echo "${ECHO_T}$CPP" >&6; }
5230 for ac_c_preproc_warn_flag
in '' yes
5232 # Use a header file that comes with gcc, so configuring glibc
5233 # with a fresh cross-compiler works.
5234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5235 # <limits.h> exists even on freestanding compilers.
5236 # On the NeXT, cc -E runs the code through the compiler's parser,
5237 # not just through cpp. "Syntax error" is here to catch this case.
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5245 # include <limits.h>
5247 # include <assert.h>
5251 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } >/dev/null; then
5264 if test -s conftest.err; then
5265 ac_cpp_err=$ac_c_preproc_warn_flag
5266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5273 if test -z "$ac_cpp_err"; then
5276 echo "$as_me: failed program was:" >&5
5277 sed 's/^/| /' conftest.$ac_ext >&5
5279 # Broken: fails on valid input.
5283 rm -f conftest.err conftest.$ac_ext
5285 # OK, works on sane cases. Now check whether nonexistent headers
5286 # can be detected and how.
5287 cat >conftest.$ac_ext <<_ACEOF
5290 cat confdefs.h >>conftest.$ac_ext
5291 cat >>conftest.$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5293 #include <ac_nonexistent.h>
5295 if { (ac_try="$ac_cpp conftest.$ac_ext"
5297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5298 *) ac_try_echo
=$ac_try;;
5300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5303 grep -v '^ *+' conftest.er1
>conftest.err
5305 cat conftest.err
>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } >/dev
/null
; then
5308 if test -s conftest.err
; then
5309 ac_cpp_err
=$ac_c_preproc_warn_flag
5310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5317 if test -z "$ac_cpp_err"; then
5318 # Broken: success on invalid input.
5321 echo "$as_me: failed program was:" >&5
5322 sed 's/^/| /' conftest.
$ac_ext >&5
5324 # Passes both tests.
5329 rm -f conftest.err conftest.
$ac_ext
5332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5333 rm -f conftest.err conftest.
$ac_ext
5334 if $ac_preproc_ok; then
5337 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5338 See \`config.log' for more details." >&5
5339 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5340 See \`config.log' for more details." >&2;}
5341 { (exit 1); exit 1; }; }
5345 ac_cpp
='$CPP $CPPFLAGS'
5346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5351 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5352 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5353 if test "${ac_cv_header_stdc+set}" = set; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 cat >conftest.
$ac_ext <<_ACEOF
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5375 rm -f conftest.
$ac_objext
5376 if { (ac_try
="$ac_compile"
5378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5379 *) ac_try_echo=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_compile") 2>conftest.er1
5384 grep -v '^ *+' conftest.er1 >conftest.err
5386 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } &&
5389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5390 { (case "(($ac_try" in
5391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5392 *) ac_try_echo
=$ac_try;;
5394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395 (eval "$ac_try") 2>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; } &&
5399 { ac_try
='test -s conftest.$ac_objext'
5400 { (case "(($ac_try" in
5401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5402 *) ac_try_echo=$ac_try;;
5404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5405 (eval "$ac_try") 2>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); }; }; then
5409 ac_cv_header_stdc=yes
5411 echo "$as_me: failed program was:" >&5
5412 sed 's/^/| /' conftest.$ac_ext >&5
5414 ac_cv_header_stdc=no
5417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5419 if test $ac_cv_header_stdc = yes; then
5420 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5421 cat >conftest.$ac_ext <<_ACEOF
5424 cat confdefs.h >>conftest.$ac_ext
5425 cat >>conftest.$ac_ext <<_ACEOF
5426 /* end confdefs.h. */
5430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5431 $EGREP "memchr" >/dev/null 2>&1; then
5434 ac_cv_header_stdc=no
5440 if test $ac_cv_header_stdc = yes; then
5441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5442 cat >conftest.$ac_ext <<_ACEOF
5445 cat confdefs.h >>conftest.$ac_ext
5446 cat >>conftest.$ac_ext <<_ACEOF
5447 /* end confdefs.h. */
5451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5452 $EGREP "free" >/dev/null 2>&1; then
5455 ac_cv_header_stdc=no
5461 if test $ac_cv_header_stdc = yes; then
5462 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5463 if test "$cross_compiling" = yes; then
5466 cat >conftest.$ac_ext <<_ACEOF
5469 cat confdefs.h >>conftest.$ac_ext
5470 cat >>conftest.$ac_ext <<_ACEOF
5471 /* end confdefs.h. */
5474 #if ((' ' & 0x0FF) == 0x020)
5475 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5476 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5478 # define ISLOWER(c) \
5479 (('a' <= (c) && (c) <= 'i') \
5480 || ('j' <= (c) && (c) <= 'r') \
5481 || ('s' <= (c) && (c) <= 'z'))
5482 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5485 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5490 for (i = 0; i < 256; i++)
5491 if (XOR (islower (i), ISLOWER (i))
5492 || toupper (i) != TOUPPER (i))
5497 rm -f conftest$ac_exeext
5498 if { (ac_try="$ac_link"
5500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5501 *) ac_try_echo
=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_link") 2>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5508 { (case "(($ac_try" in
5509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5510 *) ac_try_echo=$ac_try;;
5512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5513 (eval "$ac_try") 2>&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; }; then
5519 echo "$as_me: program exited with status $ac_status" >&5
5520 echo "$as_me: failed program was:" >&5
5521 sed 's/^/| /' conftest.$ac_ext >&5
5524 ac_cv_header_stdc=no
5526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5532 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5533 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5534 if test $ac_cv_header_stdc = yes; then
5536 cat >>confdefs.h <<\_ACEOF
5537 #define STDC_HEADERS 1
5542 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5552 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5553 inttypes.h stdint.h unistd.h
5555 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 cat >conftest.$ac_ext <<_ACEOF
5564 cat confdefs.h >>conftest.$ac_ext
5565 cat >>conftest.$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5567 $ac_includes_default
5569 #include <$ac_header>
5571 rm -f conftest.$ac_objext
5572 if { (ac_try="$ac_compile"
5574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5575 *) ac_try_echo
=$ac_try;;
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_compile") 2>conftest.er1
5580 grep -v '^ *+' conftest.er1
>conftest.err
5582 cat conftest.err
>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5586 { (case "(($ac_try" in
5587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5588 *) ac_try_echo=$ac_try;;
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_try") 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest.$ac_objext'
5596 { (case "(($ac_try" in
5597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5598 *) ac_try_echo
=$ac_try;;
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_try") 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 eval "$as_ac_Header=yes"
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5610 eval "$as_ac_Header=no"
5613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5615 ac_res
=`eval echo '${'$as_ac_Header'}'`
5616 { echo "$as_me:$LINENO: result: $ac_res" >&5
5617 echo "${ECHO_T}$ac_res" >&6; }
5618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5619 cat >>confdefs.h
<<_ACEOF
5620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5629 for ac_header
in dlfcn.h
5631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5632 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5635 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 ac_res
=`eval echo '${'$as_ac_Header'}'`
5639 { echo "$as_me:$LINENO: result: $ac_res" >&5
5640 echo "${ECHO_T}$ac_res" >&6; }
5642 # Is the header compilable?
5643 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5645 cat >conftest.
$ac_ext <<_ACEOF
5648 cat confdefs.h
>>conftest.
$ac_ext
5649 cat >>conftest.
$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 $ac_includes_default
5652 #include <$ac_header>
5654 rm -f conftest.
$ac_objext
5655 if { (ac_try
="$ac_compile"
5657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5658 *) ac_try_echo=$ac_try;;
5660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5661 (eval "$ac_compile") 2>conftest.er1
5663 grep -v '^ *+' conftest.er1 >conftest.err
5665 cat conftest.err >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5669 { (case "(($ac_try" in
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_try") 2>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; } &&
5678 { ac_try
='test -s conftest.$ac_objext'
5679 { (case "(($ac_try" in
5680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5681 *) ac_try_echo=$ac_try;;
5683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5684 (eval "$ac_try") 2>&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; }; then
5688 ac_header_compiler=yes
5690 echo "$as_me: failed program was:" >&5
5691 sed 's/^/| /' conftest.$ac_ext >&5
5693 ac_header_compiler=no
5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5698 echo "${ECHO_T}$ac_header_compiler" >&6; }
5700 # Is the header present?
5701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5703 cat >conftest.$ac_ext <<_ACEOF
5706 cat confdefs.h >>conftest.$ac_ext
5707 cat >>conftest.$ac_ext <<_ACEOF
5708 /* end confdefs.h. */
5709 #include <$ac_header>
5711 if { (ac_try="$ac_cpp conftest.$ac_ext"
5713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5714 *) ac_try_echo
=$ac_try;;
5716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5719 grep -v '^ *+' conftest.er1
>conftest.err
5721 cat conftest.err
>&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } >/dev
/null
; then
5724 if test -s conftest.err
; then
5725 ac_cpp_err
=$ac_c_preproc_warn_flag
5726 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5733 if test -z "$ac_cpp_err"; then
5734 ac_header_preproc
=yes
5736 echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.
$ac_ext >&5
5739 ac_header_preproc
=no
5742 rm -f conftest.err conftest.
$ac_ext
5743 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5744 echo "${ECHO_T}$ac_header_preproc" >&6; }
5746 # So? What about this header?
5747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5753 ac_header_preproc
=yes
5756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5773 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 eval "$as_ac_Header=\$ac_header_preproc"
5778 ac_res
=`eval echo '${'$as_ac_Header'}'`
5779 { echo "$as_me:$LINENO: result: $ac_res" >&5
5780 echo "${ECHO_T}$ac_res" >&6; }
5783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5784 cat >>confdefs.h
<<_ACEOF
5785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5794 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5795 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5796 (test "X$CXX" != "Xg++"))) ; then
5798 ac_cpp
='$CXXCPP $CPPFLAGS'
5799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5802 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5803 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5804 if test -z "$CXXCPP"; then
5805 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 # Double quotes because CXXCPP needs to be expanded
5809 for CXXCPP
in "$CXX -E" "/lib/cpp"
5812 for ac_cxx_preproc_warn_flag
in '' yes
5814 # Use a header file that comes with gcc, so configuring glibc
5815 # with a fresh cross-compiler works.
5816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5817 # <limits.h> exists even on freestanding compilers.
5818 # On the NeXT, cc -E runs the code through the compiler's parser,
5819 # not just through cpp. "Syntax error" is here to catch this case.
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5827 # include <limits.h>
5829 # include <assert.h>
5833 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } >/dev/null; then
5846 if test -s conftest.err; then
5847 ac_cpp_err=$ac_cxx_preproc_warn_flag
5848 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5855 if test -z "$ac_cpp_err"; then
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 # Broken: fails on valid input.
5865 rm -f conftest.err conftest.$ac_ext
5867 # OK, works on sane cases. Now check whether nonexistent headers
5868 # can be detected and how.
5869 cat >conftest.$ac_ext <<_ACEOF
5872 cat confdefs.h >>conftest.$ac_ext
5873 cat >>conftest.$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5875 #include <ac_nonexistent.h>
5877 if { (ac_try="$ac_cpp conftest.$ac_ext"
5879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5880 *) ac_try_echo
=$ac_try;;
5882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5883 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5885 grep -v '^ *+' conftest.er1
>conftest.err
5887 cat conftest.err
>&5
5888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5889 (exit $ac_status); } >/dev
/null
; then
5890 if test -s conftest.err
; then
5891 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5892 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5899 if test -z "$ac_cpp_err"; then
5900 # Broken: success on invalid input.
5903 echo "$as_me: failed program was:" >&5
5904 sed 's/^/| /' conftest.
$ac_ext >&5
5906 # Passes both tests.
5911 rm -f conftest.err conftest.
$ac_ext
5914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5915 rm -f conftest.err conftest.
$ac_ext
5916 if $ac_preproc_ok; then
5921 ac_cv_prog_CXXCPP
=$CXXCPP
5924 CXXCPP
=$ac_cv_prog_CXXCPP
5926 ac_cv_prog_CXXCPP
=$CXXCPP
5928 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5929 echo "${ECHO_T}$CXXCPP" >&6; }
5931 for ac_cxx_preproc_warn_flag
in '' yes
5933 # Use a header file that comes with gcc, so configuring glibc
5934 # with a fresh cross-compiler works.
5935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5936 # <limits.h> exists even on freestanding compilers.
5937 # On the NeXT, cc -E runs the code through the compiler's parser,
5938 # not just through cpp. "Syntax error" is here to catch this case.
5939 cat >conftest.
$ac_ext <<_ACEOF
5942 cat confdefs.h
>>conftest.
$ac_ext
5943 cat >>conftest.
$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5946 # include <limits.h>
5948 # include <assert.h>
5952 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5955 *) ac_try_echo=$ac_try;;
5957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5960 grep -v '^ *+' conftest.er1 >conftest.err
5962 cat conftest.err >&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } >/dev/null; then
5965 if test -s conftest.err; then
5966 ac_cpp_err=$ac_cxx_preproc_warn_flag
5967 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5974 if test -z "$ac_cpp_err"; then
5977 echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.$ac_ext >&5
5980 # Broken: fails on valid input.
5984 rm -f conftest.err conftest.$ac_ext
5986 # OK, works on sane cases. Now check whether nonexistent headers
5987 # can be detected and how.
5988 cat >conftest.$ac_ext <<_ACEOF
5991 cat confdefs.h >>conftest.$ac_ext
5992 cat >>conftest.$ac_ext <<_ACEOF
5993 /* end confdefs.h. */
5994 #include <ac_nonexistent.h>
5996 if { (ac_try="$ac_cpp conftest.$ac_ext"
5998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5999 *) ac_try_echo
=$ac_try;;
6001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6004 grep -v '^ *+' conftest.er1
>conftest.err
6006 cat conftest.err
>&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } >/dev
/null
; then
6009 if test -s conftest.err
; then
6010 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6011 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6018 if test -z "$ac_cpp_err"; then
6019 # Broken: success on invalid input.
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.
$ac_ext >&5
6025 # Passes both tests.
6030 rm -f conftest.err conftest.
$ac_ext
6033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6034 rm -f conftest.err conftest.
$ac_ext
6035 if $ac_preproc_ok; then
6038 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6039 See \`config.log' for more details." >&5
6040 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6041 See \`config.log' for more details." >&2;}
6042 { (exit 1); exit 1; }; }
6046 ac_cpp
='$CXXCPP $CPPFLAGS'
6047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6055 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6056 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6057 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6058 if test -n "$ac_tool_prefix"; then
6059 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6062 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6065 if test "${ac_cv_prog_F77+set}" = set; then
6066 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 if test -n "$F77"; then
6069 ac_cv_prog_F77
="$F77" # Let the user override the test.
6071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6075 test -z "$as_dir" && as_dir
=.
6076 for ac_exec_ext
in '' $ac_executable_extensions; do
6077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6078 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 if test -n "$F77"; then
6090 { echo "$as_me:$LINENO: result: $F77" >&5
6091 echo "${ECHO_T}$F77" >&6; }
6093 { echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6; }
6098 test -n "$F77" && break
6101 if test -z "$F77"; then
6103 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy
$ac_prog; ac_word
=$2
6107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6109 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 if test -n "$ac_ct_F77"; then
6113 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6119 test -z "$as_dir" && as_dir
=.
6120 for ac_exec_ext
in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_ac_ct_F77
="$ac_prog"
6123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6133 if test -n "$ac_ct_F77"; then
6134 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6135 echo "${ECHO_T}$ac_ct_F77" >&6; }
6137 { echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6; }
6142 test -n "$ac_ct_F77" && break
6145 if test "x$ac_ct_F77" = x
; then
6148 case $cross_compiling:$ac_tool_warned in
6150 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6151 whose name does not start with the host triplet. If you think this
6152 configuration is useful to you, please write to autoconf@gnu.org." >&5
6153 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6154 whose name does not start with the host triplet. If you think this
6155 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6156 ac_tool_warned
=yes ;;
6163 # Provide some information about the compiler.
6164 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6165 ac_compiler
=`set X $ac_compile; echo $2`
6166 { (ac_try
="$ac_compiler --version >&5"
6168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6172 (eval "$ac_compiler --version >&5") 2>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); }
6176 { (ac_try="$ac_compiler -v >&5"
6178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6179 *) ac_try_echo
=$ac_try;;
6181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6182 (eval "$ac_compiler -v >&5") 2>&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }
6186 { (ac_try
="$ac_compiler -V >&5"
6188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6189 *) ac_try_echo=$ac_try;;
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6192 (eval "$ac_compiler -V >&5") 2>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }
6198 # If we don't use `.F
' as extension, the preprocessor is not run on the
6199 # input file. (Note that this only needs to work for GNU compilers.)
6202 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6203 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6204 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat >conftest.$ac_ext <<_ACEOF
6215 rm -f conftest.$ac_objext
6216 if { (ac_try="$ac_compile"
6218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6219 *) ac_try_echo=$ac_try;;
6221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6222 (eval "$ac_compile") 2>conftest.er1
6224 grep -v '^
*+' conftest.er1 >conftest.err
6226 cat conftest.err >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); } &&
6229 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6230 { (case "(($ac_try" in
6231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_try") 2>&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; } &&
6239 { ac_try='test -s conftest.
$ac_objext'
6240 { (case "(($ac_try" in
6241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6242 *) ac_try_echo=$ac_try;;
6244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6245 (eval "$ac_try") 2>&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6251 echo "$as_me: failed program was:" >&5
6252 sed 's
/^
/|
/' conftest.$ac_ext >&5
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6261 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6262 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6264 ac_test_FFLAGS=${FFLAGS+set}
6265 ac_save_FFLAGS=$FFLAGS
6267 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6268 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6269 if test "${ac_cv_prog_f77_g+set}" = set; then
6270 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 cat >conftest.$ac_ext <<_ACEOF
6278 rm -f conftest.$ac_objext
6279 if { (ac_try="$ac_compile"
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_compile") 2>conftest.er1
6287 grep -v '^
*+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } &&
6292 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6293 { (case "(($ac_try" in
6294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6295 *) ac_try_echo=$ac_try;;
6297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6298 (eval "$ac_try") 2>&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }; } &&
6302 { ac_try='test -s conftest.
$ac_objext'
6303 { (case "(($ac_try" in
6304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6305 *) ac_try_echo=$ac_try;;
6307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6308 (eval "$ac_try") 2>&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); }; }; then
6312 ac_cv_prog_f77_g=yes
6314 echo "$as_me: failed program was:" >&5
6315 sed 's
/^
/|
/' conftest.$ac_ext >&5
6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6323 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6324 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6325 if test "$ac_test_FFLAGS" = set; then
6326 FFLAGS=$ac_save_FFLAGS
6327 elif test $ac_cv_prog_f77_g = yes; then
6328 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6334 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6341 G77=`test $ac_compiler_gnu = yes && echo yes`
6343 ac_cpp='$CXXCPP $CPPFLAGS'
6344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6345 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6350 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6352 # find the maximum length of command line arguments
6353 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6354 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6355 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 # On DJGPP, this test can blow up pretty badly due to problems in libc
6364 # (any single argument exceeding 2000 bytes causes a buffer overrun
6365 # during glob expansion). Even if it were fixed, the result of this
6366 # check would be larger than it should be.
6367 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6371 # Under GNU Hurd, this test is not required because there is
6372 # no limit to the length of command line arguments.
6373 # Libtool will interpret -1 as no limit whatsoever
6374 lt_cv_sys_max_cmd_len
=-1;
6378 # On Win9x/ME, this test blows up -- it succeeds, but takes
6379 # about 5 minutes as the teststring grows exponentially.
6380 # Worse, since 9x/ME are not pre-emptively multitasking,
6381 # you end up with a "frozen" computer, even though with patience
6382 # the test eventually succeeds (with a max line length of 256k).
6383 # Instead, let's just punt: use the minimum linelength reported by
6384 # all of the supported platforms: 8192 (on NT/2K/XP).
6385 lt_cv_sys_max_cmd_len
=8192;
6389 # On AmigaOS with pdksh, this test takes hours, literally.
6390 # So we just punt and use a minimum line length of 8192.
6391 lt_cv_sys_max_cmd_len
=8192;
6394 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6395 # This has been around since 386BSD, at least. Likely further.
6396 if test -x /sbin
/sysctl
; then
6397 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6398 elif test -x /usr
/sbin
/sysctl
; then
6399 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6401 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6403 # And add a safety zone
6404 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6405 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6409 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6410 lt_cv_sys_max_cmd_len
=196608
6414 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6415 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6416 # nice to cause kernel panics so lets avoid the loop below.
6417 # First set a reasonable default.
6418 lt_cv_sys_max_cmd_len
=16384
6420 if test -x /sbin
/sysconfig
; then
6421 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6422 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6427 lt_cv_sys_max_cmd_len
=102400
6429 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6430 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6431 if test -n "$kargmax"; then
6432 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6434 lt_cv_sys_max_cmd_len
=32768
6438 # If test is not a shell built-in, we'll probably end up computing a
6439 # maximum length that is only half of the actual maximum length, but
6441 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6442 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6443 = "XX$teststring") >/dev
/null
2>&1 &&
6444 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6445 lt_cv_sys_max_cmd_len
=$new_result &&
6446 test $i != 17 # 1/2 MB should be enough
6449 teststring
=$teststring$teststring
6452 # Add a significant safety factor because C++ compilers can tack on massive
6453 # amounts of additional arguments before passing them to the linker.
6454 # It appears as though 1/2 is a usable value.
6455 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6461 if test -n $lt_cv_sys_max_cmd_len ; then
6462 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6463 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6465 { echo "$as_me:$LINENO: result: none" >&5
6466 echo "${ECHO_T}none" >&6; }
6472 # Check for command to grab the raw symbol name followed by C symbol from nm.
6473 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6474 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6475 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 # These are sane defaults that work on at least a few old systems.
6480 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6482 # Character class describing NM global symbol codes.
6483 symcode
='[BCDEGRST]'
6485 # Regexp to match symbols that can be accessed directly from C.
6486 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6488 # Transform an extracted symbol line into a proper C declaration
6489 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6491 # Transform an extracted symbol line into symbol name and symbol address
6492 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'"
6494 # Define system-specific variables.
6499 cygwin
* | mingw
* | pw32
*)
6500 symcode
='[ABCDGISTW]'
6502 hpux
*) # Its linker distinguishes data from code symbols
6503 if test "$host_cpu" = ia64
; then
6504 symcode
='[ABCDEGRST]'
6506 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6507 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'"
6510 if test "$host_cpu" = ia64
; then
6511 symcode
='[ABCDGIRSTW]'
6512 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6513 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'"
6517 symcode
='[BCDEGRST]'
6520 symcode
='[BCDEGQRST]'
6531 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6539 # Handle CRLF in mingw tool chain
6543 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6547 # If we're using GNU nm, then use its standard symbol codes.
6548 case `$NM -V 2>&1` in
6549 *GNU
* |
*'with BFD'*)
6550 symcode
='[ABCDGIRSTW]' ;;
6553 # Try without a prefix undercore, then with it.
6554 for ac_symprfx
in "" "_"; do
6556 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6557 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6559 # Write the raw and C identifiers.
6560 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6562 # Check to see that the pipe works correctly.
6566 cat > conftest.
$ac_ext <<EOF
6571 void nm_test_func(){}
6575 int main(){nm_test_var='a';nm_test_func();return(0);}
6578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6579 (eval $ac_compile) 2>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); }; then
6583 # Now try to grab the symbols.
6585 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6586 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } && test -s "$nlist"; then
6590 # Try sorting and uniquifying the output.
6591 if sort "$nlist" |
uniq > "$nlist"T
; then
6592 mv -f "$nlist"T
"$nlist"
6597 # Make sure that we snagged all the symbols we need.
6598 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6599 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6600 cat <<EOF > conftest.$ac_ext
6606 # Now generate the symbol file.
6607 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6609 cat <<EOF >> conftest.$ac_ext
6610 #if defined (__STDC__) && __STDC__
6611 # define lt_ptr_t void *
6613 # define lt_ptr_t char *
6617 /* The mapping between symbol names and symbols. */
6622 lt_preloaded_symbols[] =
6625 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6626 cat <<\EOF
>> conftest.
$ac_ext
6634 # Now try linking the two files.
6635 mv conftest.
$ac_objext conftstm.
$ac_objext
6636 lt_save_LIBS
="$LIBS"
6637 lt_save_CFLAGS
="$CFLAGS"
6638 LIBS
="conftstm.$ac_objext"
6639 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6641 (eval $ac_link) 2>&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6647 LIBS
="$lt_save_LIBS"
6648 CFLAGS
="$lt_save_CFLAGS"
6650 echo "cannot find nm_test_func in $nlist" >&5
6653 echo "cannot find nm_test_var in $nlist" >&5
6656 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6659 echo "$progname: failed program was:" >&5
6660 cat conftest.
$ac_ext >&5
6662 rm -f conftest
* conftst
*
6664 # Do not use the global_symbol_pipe unless it works.
6665 if test "$pipe_works" = yes; then
6668 lt_cv_sys_global_symbol_pipe
=
6674 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6675 lt_cv_sys_global_symbol_to_cdecl
=
6677 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6678 { echo "$as_me:$LINENO: result: failed" >&5
6679 echo "${ECHO_T}failed" >&6; }
6681 { echo "$as_me:$LINENO: result: ok" >&5
6682 echo "${ECHO_T}ok" >&6; }
6685 { echo "$as_me:$LINENO: checking for objdir" >&5
6686 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6687 if test "${lt_cv_objdir+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 rm -f .libs
2>/dev
/null
6691 mkdir .libs
2>/dev
/null
6692 if test -d .libs
; then
6695 # MS-DOS does not allow filenames that begin with a dot.
6698 rmdir .libs
2>/dev
/null
6700 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6701 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6702 objdir
=$lt_cv_objdir
6710 # AIX sometimes has problems with the GCC collect2 program. For some
6711 # reason, if we set the COLLECT_NAMES environment variable, the problems
6712 # vanish in a puff of smoke.
6713 if test "X${COLLECT_NAMES+set}" != Xset
; then
6715 export COLLECT_NAMES
6720 # Sed substitution that helps us do robust quoting. It backslashifies
6721 # metacharacters that are still active within double-quoted strings.
6722 Xsed
='sed -e 1s/^X//'
6723 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6725 # Same as above, but do not quote variable references.
6726 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6728 # Sed substitution to delay expansion of an escaped shell variable in a
6729 # double_quote_subst'ed string.
6730 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6732 # Sed substitution to avoid accidental globbing in evaled expressions
6733 no_glob_subst
='s/\*/\\\*/g'
6739 default_ofile
=libtool
6740 can_build_shared
=yes
6742 # All known linkers require a `.a' archive for static linking (except MSVC,
6743 # which needs '.lib').
6745 ltmain
="$ac_aux_dir/ltmain.sh"
6746 ofile
="$default_ofile"
6747 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6749 if test -n "$ac_tool_prefix"; then
6750 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6751 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6754 if test "${ac_cv_prog_AR+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 if test -n "$AR"; then
6758 ac_cv_prog_AR
="$AR" # Let the user override the test.
6760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir
=.
6765 for ac_exec_ext
in '' $ac_executable_extensions; do
6766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6767 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 if test -n "$AR"; then
6779 { echo "$as_me:$LINENO: result: $AR" >&5
6780 echo "${ECHO_T}$AR" >&6; }
6782 { echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6; }
6788 if test -z "$ac_cv_prog_AR"; then
6790 # Extract the first word of "ar", so it can be a program name with args.
6791 set dummy
ar; ac_word
=$2
6792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6794 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if test -n "$ac_ct_AR"; then
6798 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir
=.
6805 for ac_exec_ext
in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_ac_ct_AR
="ar"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6818 if test -n "$ac_ct_AR"; then
6819 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6820 echo "${ECHO_T}$ac_ct_AR" >&6; }
6822 { echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6; }
6826 if test "x$ac_ct_AR" = x
; then
6829 case $cross_compiling:$ac_tool_warned in
6831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6832 whose name does not start with the host triplet. If you think this
6833 configuration is useful to you, please write to autoconf@gnu.org." >&5
6834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6835 whose name does not start with the host triplet. If you think this
6836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6837 ac_tool_warned
=yes ;;
6845 if test -n "$ac_tool_prefix"; then
6846 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6847 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6850 if test "${ac_cv_prog_RANLIB+set}" = set; then
6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6853 if test -n "$RANLIB"; then
6854 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir
=.
6861 for ac_exec_ext
in '' $ac_executable_extensions; do
6862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6863 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 RANLIB
=$ac_cv_prog_RANLIB
6874 if test -n "$RANLIB"; then
6875 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6876 echo "${ECHO_T}$RANLIB" >&6; }
6878 { echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6; }
6884 if test -z "$ac_cv_prog_RANLIB"; then
6885 ac_ct_RANLIB
=$RANLIB
6886 # Extract the first word of "ranlib", so it can be a program name with args.
6887 set dummy ranlib
; ac_word
=$2
6888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6890 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 if test -n "$ac_ct_RANLIB"; then
6894 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6900 test -z "$as_dir" && as_dir
=.
6901 for ac_exec_ext
in '' $ac_executable_extensions; do
6902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6903 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6914 if test -n "$ac_ct_RANLIB"; then
6915 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6916 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6918 { echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6; }
6922 if test "x$ac_ct_RANLIB" = x
; then
6925 case $cross_compiling:$ac_tool_warned in
6927 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6928 whose name does not start with the host triplet. If you think this
6929 configuration is useful to you, please write to autoconf@gnu.org." >&5
6930 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6931 whose name does not start with the host triplet. If you think this
6932 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6933 ac_tool_warned
=yes ;;
6935 RANLIB
=$ac_ct_RANLIB
6938 RANLIB
="$ac_cv_prog_RANLIB"
6941 if test -n "$ac_tool_prefix"; then
6942 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6943 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6946 if test "${ac_cv_prog_STRIP+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 if test -n "$STRIP"; then
6950 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir
=.
6957 for ac_exec_ext
in '' $ac_executable_extensions; do
6958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 STRIP
=$ac_cv_prog_STRIP
6970 if test -n "$STRIP"; then
6971 { echo "$as_me:$LINENO: result: $STRIP" >&5
6972 echo "${ECHO_T}$STRIP" >&6; }
6974 { echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6; }
6980 if test -z "$ac_cv_prog_STRIP"; then
6982 # Extract the first word of "strip", so it can be a program name with args.
6983 set dummy strip
; ac_word
=$2
6984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6986 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 if test -n "$ac_ct_STRIP"; then
6990 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir
=.
6997 for ac_exec_ext
in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_ac_ct_STRIP
="strip"
7000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7009 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7010 if test -n "$ac_ct_STRIP"; then
7011 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7012 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7014 { echo "$as_me:$LINENO: result: no" >&5
7015 echo "${ECHO_T}no" >&6; }
7018 if test "x$ac_ct_STRIP" = x
; then
7021 case $cross_compiling:$ac_tool_warned in
7023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7024 whose name does not start with the host triplet. If you think this
7025 configuration is useful to you, please write to autoconf@gnu.org." >&5
7026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7027 whose name does not start with the host triplet. If you think this
7028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7029 ac_tool_warned
=yes ;;
7034 STRIP
="$ac_cv_prog_STRIP"
7039 old_CFLAGS
="$CFLAGS"
7041 # Set sane defaults for various variables
7042 test -z "$AR" && AR
=ar
7043 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7044 test -z "$AS" && AS
=as
7045 test -z "$CC" && CC
=cc
7046 test -z "$LTCC" && LTCC
=$CC
7047 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7048 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7049 test -z "$LD" && LD
=ld
7050 test -z "$LN_S" && LN_S
="ln -s"
7051 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7052 test -z "$NM" && NM
=nm
7053 test -z "$SED" && SED
=sed
7054 test -z "$OBJDUMP" && OBJDUMP
=objdump
7055 test -z "$RANLIB" && RANLIB
=:
7056 test -z "$STRIP" && STRIP
=:
7057 test -z "$ac_objext" && ac_objext
=o
7059 # Determine commands to create old-style static archives.
7060 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7061 old_postinstall_cmds
='chmod 644 $oldlib'
7062 old_postuninstall_cmds
=
7064 if test -n "$RANLIB"; then
7067 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7070 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7073 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7076 for cc_temp
in $compiler""; do
7078 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7079 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7084 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7087 # Only perform the check for file, if the check method requires it
7088 case $deplibs_check_method in
7090 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7091 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7092 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7093 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7094 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7101 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7102 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7103 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7104 for ac_dir
in $ac_dummy; do
7106 test -z "$ac_dir" && ac_dir
=.
7107 if test -f $ac_dir/${ac_tool_prefix}file; then
7108 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7109 if test -n "$file_magic_test_file"; then
7110 case $deplibs_check_method in
7112 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7113 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7114 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7115 $EGREP "$file_magic_regex" > /dev
/null
; then
7120 *** Warning: the command libtool uses to detect shared libraries,
7121 *** $file_magic_cmd, produces output that libtool cannot recognize.
7122 *** The result is that libtool may fail to recognize shared libraries
7123 *** as such. This will affect the creation of libtool libraries that
7124 *** depend on shared libraries, but programs linked with such libtool
7125 *** libraries will work regardless of this problem. Nevertheless, you
7126 *** may want to report the problem to your system manager and/or to
7127 *** bug-libtool@gnu.org
7137 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7142 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7143 if test -n "$MAGIC_CMD"; then
7144 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7145 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7147 { echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6; }
7151 if test -z "$lt_cv_path_MAGIC_CMD"; then
7152 if test -n "$ac_tool_prefix"; then
7153 { echo "$as_me:$LINENO: checking for file" >&5
7154 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7155 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7163 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7164 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7165 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7166 for ac_dir
in $ac_dummy; do
7168 test -z "$ac_dir" && ac_dir
=.
7169 if test -f $ac_dir/file; then
7170 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7171 if test -n "$file_magic_test_file"; then
7172 case $deplibs_check_method in
7174 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7175 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7176 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7177 $EGREP "$file_magic_regex" > /dev
/null
; then
7182 *** Warning: the command libtool uses to detect shared libraries,
7183 *** $file_magic_cmd, produces output that libtool cannot recognize.
7184 *** The result is that libtool may fail to recognize shared libraries
7185 *** as such. This will affect the creation of libtool libraries that
7186 *** depend on shared libraries, but programs linked with such libtool
7187 *** libraries will work regardless of this problem. Nevertheless, you
7188 *** may want to report the problem to your system manager and/or to
7189 *** bug-libtool@gnu.org
7199 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7204 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7205 if test -n "$MAGIC_CMD"; then
7206 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7207 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7209 { echo "$as_me:$LINENO: result: no" >&5
7210 echo "${ECHO_T}no" >&6; }
7225 # Check whether --enable-libtool-lock was given.
7226 if test "${enable_libtool_lock+set}" = set; then
7227 enableval
=$enable_libtool_lock;
7230 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7233 # Check whether --with-pic was given.
7234 if test "${with_pic+set}" = set; then
7235 withval
=$with_pic; pic_mode
="$withval"
7240 test -z "$pic_mode" && pic_mode
=default
7242 # Use C for the default configuration in the libtool script
7246 ac_cpp
='$CPP $CPPFLAGS'
7247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7252 # Source file extension for C test sources.
7255 # Object file extension for compiled C test sources.
7259 # Code to be used in simple compile tests
7260 lt_simple_compile_test_code
="int some_variable = 0;\n"
7262 # Code to be used in simple link tests
7263 lt_simple_link_test_code
='int main(){return(0);}\n'
7266 # If no C compiler was specified, use CC.
7269 # If no C compiler flags were specified, use CFLAGS.
7270 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7272 # Allow CC to be a program name with arguments.
7276 # save warnings/boilerplate of simple test code
7277 ac_outfile
=conftest.
$ac_objext
7278 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7279 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7280 _lt_compiler_boilerplate
=`cat conftest.err`
7283 ac_outfile
=conftest.
$ac_objext
7284 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7285 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7286 _lt_linker_boilerplate
=`cat conftest.err`
7291 lt_prog_compiler_no_builtin_flag
=
7293 if test "$GCC" = yes; then
7294 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7297 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7298 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7299 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 lt_cv_prog_compiler_rtti_exceptions
=no
7303 ac_outfile
=conftest.
$ac_objext
7304 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7305 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7306 # Insert the option either (1) after the last *FLAGS variable, or
7307 # (2) before a word containing "conftest.", or (3) at the end.
7308 # Note that $ac_compile itself does not contain backslashes and begins
7309 # with a dollar sign (not a hyphen), so the echo should work correctly.
7310 # The option is referenced via a variable to avoid confusing sed.
7311 lt_compile
=`echo "$ac_compile" | $SED \
7312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7314 -e 's:$: $lt_compiler_flag:'`
7315 (eval echo "\"\$as_me:7315: $lt_compile\"" >&5)
7316 (eval "$lt_compile" 2>conftest.err
)
7318 cat conftest.err
>&5
7319 echo "$as_me:7319: \$? = $ac_status" >&5
7320 if (exit $ac_status) && test -s "$ac_outfile"; then
7321 # The compiler can only warn and ignore the option if not recognized
7322 # So say no if there are warnings other than the usual output.
7323 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7324 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7325 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7326 lt_cv_prog_compiler_rtti_exceptions
=yes
7332 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7333 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7335 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7336 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7343 lt_prog_compiler_wl
=
7344 lt_prog_compiler_pic
=
7345 lt_prog_compiler_static
=
7347 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7348 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7350 if test "$GCC" = yes; then
7351 lt_prog_compiler_wl
='-Wl,'
7352 lt_prog_compiler_static
='-static'
7356 # All AIX code is PIC.
7357 if test "$host_cpu" = ia64
; then
7358 # AIX 5 now supports IA64 processor
7359 lt_prog_compiler_static
='-Bstatic'
7364 # FIXME: we need at least 68020 code to build shared libraries, but
7365 # adding the `-m68020' flag to GCC prevents building anything better,
7367 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7370 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7371 # PIC is the default for these OSes.
7374 mingw
* | pw32
* | os2
*)
7375 # This hack is so that the source file can tell whether it is being
7376 # built for inclusion in a dll (and should export symbols for example).
7377 lt_prog_compiler_pic
='-DDLL_EXPORT'
7380 darwin
* | rhapsody
*)
7381 # PIC is the default on this platform
7382 # Common symbols not allowed in MH_DYLIB files
7383 lt_prog_compiler_pic
='-fno-common'
7387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7388 # Instead, we relocate shared libraries at runtime.
7392 # Just because we use GCC doesn't mean we suddenly get shared libraries
7393 # on systems that don't support them.
7394 lt_prog_compiler_can_build_shared
=no
7399 if test -d /usr
/nec
; then
7400 lt_prog_compiler_pic
=-Kconform_pic
7405 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7412 lt_prog_compiler_pic
='-fPIC'
7418 lt_prog_compiler_pic
='-fPIC'
7422 # PORTME Check for flag to pass linker flags through the system compiler.
7425 lt_prog_compiler_wl
='-Wl,'
7426 if test "$host_cpu" = ia64
; then
7427 # AIX 5 now supports IA64 processor
7428 lt_prog_compiler_static
='-Bstatic'
7430 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7434 # PIC is the default on this platform
7435 # Common symbols not allowed in MH_DYLIB files
7436 case $cc_basename in
7438 lt_prog_compiler_pic
='-qnocommon'
7439 lt_prog_compiler_wl
='-Wl,'
7444 mingw
* | pw32
* | os2
*)
7445 # This hack is so that the source file can tell whether it is being
7446 # built for inclusion in a dll (and should export symbols for example).
7447 lt_prog_compiler_pic
='-DDLL_EXPORT'
7450 hpux9
* | hpux10
* | hpux11
*)
7451 lt_prog_compiler_wl
='-Wl,'
7452 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7459 lt_prog_compiler_pic
='+Z'
7462 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7463 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7466 irix5
* | irix6
* | nonstopux
*)
7467 lt_prog_compiler_wl
='-Wl,'
7468 # PIC (with -KPIC) is the default.
7469 lt_prog_compiler_static
='-non_shared'
7473 lt_prog_compiler_pic
='-KPIC'
7474 lt_prog_compiler_static
='-Bstatic'
7478 case $cc_basename in
7480 lt_prog_compiler_wl
='-Wl,'
7481 lt_prog_compiler_pic
='-KPIC'
7482 lt_prog_compiler_static
='-static'
7484 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7485 # Portland Group compilers (*not* the Pentium gcc compiler,
7486 # which looks to be a dead project)
7487 lt_prog_compiler_wl
='-Wl,'
7488 lt_prog_compiler_pic
='-fpic'
7489 lt_prog_compiler_static
='-Bstatic'
7492 lt_prog_compiler_wl
='-Wl,'
7493 # All Alpha code is PIC.
7494 lt_prog_compiler_static
='-non_shared'
7499 osf3
* | osf4
* | osf5
*)
7500 lt_prog_compiler_wl
='-Wl,'
7501 # All OSF/1 code is PIC.
7502 lt_prog_compiler_static
='-non_shared'
7506 lt_prog_compiler_pic
='-KPIC'
7507 lt_prog_compiler_static
='-Bstatic'
7508 case $cc_basename in
7510 lt_prog_compiler_wl
='-Qoption ld ';;
7512 lt_prog_compiler_wl
='-Wl,';;
7517 lt_prog_compiler_wl
='-Qoption ld '
7518 lt_prog_compiler_pic
='-PIC'
7519 lt_prog_compiler_static
='-Bstatic'
7522 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7523 lt_prog_compiler_wl
='-Wl,'
7524 lt_prog_compiler_pic
='-KPIC'
7525 lt_prog_compiler_static
='-Bstatic'
7529 if test -d /usr
/nec
;then
7530 lt_prog_compiler_pic
='-Kconform_pic'
7531 lt_prog_compiler_static
='-Bstatic'
7535 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7536 lt_prog_compiler_wl
='-Wl,'
7537 lt_prog_compiler_pic
='-KPIC'
7538 lt_prog_compiler_static
='-Bstatic'
7542 lt_prog_compiler_wl
='-Wl,'
7543 lt_prog_compiler_can_build_shared
=no
7547 lt_prog_compiler_pic
='-pic'
7548 lt_prog_compiler_static
='-Bstatic'
7552 lt_prog_compiler_can_build_shared
=no
7557 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7558 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7561 # Check to make sure the PIC flag actually works.
7563 if test -n "$lt_prog_compiler_pic"; then
7565 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7566 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7567 if test "${lt_prog_compiler_pic_works+set}" = set; then
7568 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 lt_prog_compiler_pic_works
=no
7571 ac_outfile
=conftest.
$ac_objext
7572 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7573 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7574 # Insert the option either (1) after the last *FLAGS variable, or
7575 # (2) before a word containing "conftest.", or (3) at the end.
7576 # Note that $ac_compile itself does not contain backslashes and begins
7577 # with a dollar sign (not a hyphen), so the echo should work correctly.
7578 # The option is referenced via a variable to avoid confusing sed.
7579 lt_compile
=`echo "$ac_compile" | $SED \
7580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7582 -e 's:$: $lt_compiler_flag:'`
7583 (eval echo "\"\$as_me:7583: $lt_compile\"" >&5)
7584 (eval "$lt_compile" 2>conftest.err
)
7586 cat conftest.err
>&5
7587 echo "$as_me:7587: \$? = $ac_status" >&5
7588 if (exit $ac_status) && test -s "$ac_outfile"; then
7589 # The compiler can only warn and ignore the option if not recognized
7590 # So say no if there are warnings other than the usual output.
7591 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7593 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7594 lt_prog_compiler_pic_works
=yes
7600 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7601 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7603 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7604 case $lt_prog_compiler_pic in
7606 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7609 lt_prog_compiler_pic
=
7610 lt_prog_compiler_can_build_shared
=no
7615 # For platforms which do not support PIC, -DPIC is meaningless:
7617 lt_prog_compiler_pic
=
7620 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7625 # Check to make sure the static flag actually works.
7627 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7628 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7629 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7630 if test "${lt_prog_compiler_static_works+set}" = set; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 lt_prog_compiler_static_works
=no
7634 save_LDFLAGS
="$LDFLAGS"
7635 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7636 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7637 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7638 # The linker can only warn and ignore the option if not recognized
7639 # So say no if there are warnings
7640 if test -s conftest.err
; then
7641 # Append any errors to the config.log.
7642 cat conftest.err
1>&5
7643 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7644 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7645 if diff conftest.exp conftest.er2
>/dev
/null
; then
7646 lt_prog_compiler_static_works
=yes
7649 lt_prog_compiler_static_works
=yes
7653 LDFLAGS
="$save_LDFLAGS"
7656 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7657 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7659 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7662 lt_prog_compiler_static
=
7666 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7667 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7668 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7669 echo $ECHO_N "(cached) $ECHO_C" >&6
7671 lt_cv_prog_compiler_c_o
=no
7672 $rm -r conftest
2>/dev
/null
7676 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7678 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7679 # Insert the option either (1) after the last *FLAGS variable, or
7680 # (2) before a word containing "conftest.", or (3) at the end.
7681 # Note that $ac_compile itself does not contain backslashes and begins
7682 # with a dollar sign (not a hyphen), so the echo should work correctly.
7683 lt_compile
=`echo "$ac_compile" | $SED \
7684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7686 -e 's:$: $lt_compiler_flag:'`
7687 (eval echo "\"\$as_me:7687: $lt_compile\"" >&5)
7688 (eval "$lt_compile" 2>out
/conftest.err
)
7690 cat out
/conftest.err
>&5
7691 echo "$as_me:7691: \$? = $ac_status" >&5
7692 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7694 # The compiler can only warn and ignore the option if not recognized
7695 # So say no if there are warnings
7696 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7697 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7698 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7699 lt_cv_prog_compiler_c_o
=yes
7704 # SGI C++ compiler will create directory out/ii_files/ for
7705 # template instantiation
7706 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7707 $rm out
/* && rmdir out
7713 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7714 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7717 hard_links
="nottested"
7718 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7719 # do not overwrite the value of need_locks provided by the user
7720 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7724 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7726 ln conftest.a conftest.b
2>&5 || hard_links
=no
7727 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7728 { echo "$as_me:$LINENO: result: $hard_links" >&5
7729 echo "${ECHO_T}$hard_links" >&6; }
7730 if test "$hard_links" = no
; then
7731 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7739 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7740 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7743 allow_undefined_flag
=
7744 enable_shared_with_static_runtimes
=no
7746 archive_expsym_cmds
=
7747 old_archive_From_new_cmds
=
7748 old_archive_from_expsyms_cmds
=
7749 export_dynamic_flag_spec
=
7750 whole_archive_flag_spec
=
7751 thread_safe_flag_spec
=
7752 hardcode_libdir_flag_spec
=
7753 hardcode_libdir_flag_spec_ld
=
7754 hardcode_libdir_separator
=
7757 hardcode_shlibpath_var
=unsupported
7758 link_all_deplibs
=unknown
7759 hardcode_automatic
=no
7762 always_export_symbols
=no
7763 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7764 # include_expsyms should be a list of space-separated symbols to be *always*
7765 # included in the symbol list
7767 # exclude_expsyms can be an extended regexp of symbols to exclude
7768 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7769 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7770 # as well as any symbol that contains `d'.
7771 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7772 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7773 # platforms (ab)use it in PIC code, but their linkers get confused if
7774 # the symbol is explicitly referenced. Since portable code cannot
7775 # rely on this symbol name, it's probably fine to never include it in
7776 # preloaded symbol tables.
7777 extract_expsyms_cmds
=
7778 # Just being paranoid about ensuring that cc_basename is set.
7779 for cc_temp
in $compiler""; do
7781 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7782 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7787 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7790 cygwin
* | mingw
* | pw32
*)
7791 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7792 # When not using gcc, we currently assume that we are using
7793 # Microsoft Visual C++.
7794 if test "$GCC" != yes; then
7799 # we just hope/assume this is gcc and not c89 (= MSVC++)
7808 if test "$with_gnu_ld" = yes; then
7809 # If archive_cmds runs LD, not CC, wlarc should be empty
7812 # Set some defaults for GNU ld with shared library support. These
7813 # are reset later if shared libraries are not supported. Putting them
7814 # here allows them to be overridden if necessary.
7815 runpath_var
=LD_RUN_PATH
7816 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7817 export_dynamic_flag_spec
='${wl}--export-dynamic'
7818 # ancient GNU ld didn't support --whole-archive et. al.
7819 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7820 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7822 whole_archive_flag_spec
=
7824 supports_anon_versioning
=no
7825 case `$LD -v 2>/dev/null` in
7826 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7827 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7828 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7829 *\
2.11.
*) ;; # other 2.11 versions
7830 *) supports_anon_versioning
=yes ;;
7833 # See if GNU ld supports shared libraries.
7835 aix3
* | aix4
* | aix5
*)
7836 # On AIX/PPC, the GNU linker is very broken
7837 if test "$host_cpu" != ia64
; then
7841 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7842 *** to be unable to reliably create shared libraries on AIX.
7843 *** Therefore, libtool is disabling shared libraries support. If you
7844 *** really care for shared libraries, you may want to modify your PATH
7845 *** so that a non-GNU linker is found, and then restart.
7852 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)'
7853 hardcode_libdir_flag_spec
='-L$libdir'
7854 hardcode_minus_L
=yes
7856 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7857 # that the semantics of dynamic libraries on AmigaOS, at least up
7858 # to version 4, is to share data among multiple programs linked
7859 # with the same dynamic library. Since this doesn't match the
7860 # behavior of shared libraries on other platforms, we can't use
7866 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7867 allow_undefined_flag
=unsupported
7868 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7869 # support --undefined. This deserves some investigation. FIXME
7870 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7876 cygwin
* | mingw
* | pw32
*)
7877 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7878 # as there is no search path for DLLs.
7879 hardcode_libdir_flag_spec
='-L$libdir'
7880 allow_undefined_flag
=unsupported
7881 always_export_symbols
=no
7882 enable_shared_with_static_runtimes
=yes
7883 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7885 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7886 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7887 # If the export-symbols file already is a .def file (1st line
7888 # is EXPORTS), use it as is; otherwise, prepend...
7889 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7890 cp $export_symbols $output_objdir/$soname.def;
7892 echo EXPORTS > $output_objdir/$soname.def;
7893 cat $export_symbols >> $output_objdir/$soname.def;
7895 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7903 hardcode_shlibpath_var
=no
7904 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7905 export_dynamic_flag_spec
='${wl}-E'
7906 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7907 # Instead, shared libraries are loaded at an image base (0x10000000 by
7908 # default) and relocated if they conflict, which is a slow very memory
7909 # consuming and fragmenting process. To avoid this, we pick a random,
7910 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7911 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7912 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7913 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'
7917 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7919 case $cc_basename,$host_cpu in
7920 pgcc
*) # Portland Group C compiler
7921 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'
7922 tmp_addflag
=' $pic_flag'
7924 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7925 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'
7926 tmp_addflag
=' $pic_flag -Mnomain' ;;
7927 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7928 tmp_addflag
=' -i_dynamic' ;;
7929 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7930 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7931 ifc
* | ifort
*) # Intel Fortran compiler
7932 tmp_addflag
=' -nofor_main' ;;
7934 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7936 if test $supports_anon_versioning = yes; then
7937 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7939 $echo "local: *; };" >> $output_objdir/$libname.ver~
7940 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7948 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7949 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7952 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7953 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7958 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7962 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7963 *** create shared libraries on Solaris systems. Therefore, libtool
7964 *** is disabling shared libraries support. We urge you to upgrade GNU
7965 *** binutils to release 2.9.1 or newer. Another option is to modify
7966 *** your PATH or compiler configuration so that the native linker is
7967 *** used, and then restart.
7970 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7971 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7972 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7978 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7979 case `$LD -v 2>&1` in
7980 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7984 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7985 *** reliably create shared libraries on SCO systems. Therefore, libtool
7986 *** is disabling shared libraries support. We urge you to upgrade GNU
7987 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7988 *** your PATH or compiler configuration so that the native linker is
7989 *** used, and then restart.
7994 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7995 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7996 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7997 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8006 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8009 hardcode_shlibpath_var
=no
8013 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8014 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8015 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8022 if test "$ld_shlibs" = no
; then
8024 hardcode_libdir_flag_spec
=
8025 export_dynamic_flag_spec
=
8026 whole_archive_flag_spec
=
8029 # PORTME fill in a description of your system's linker (not GNU ld)
8032 allow_undefined_flag
=unsupported
8033 always_export_symbols
=yes
8034 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'
8035 # Note: this linker hardcodes the directories in LIBPATH if there
8036 # are no directories specified by -L.
8037 hardcode_minus_L
=yes
8038 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8039 # Neither direct hardcoding nor static linking is supported with a
8041 hardcode_direct
=unsupported
8046 if test "$host_cpu" = ia64
; then
8047 # On IA64, the linker does run time linking by default, so we don't
8048 # have to do anything special.
8049 aix_use_runtimelinking
=no
8050 exp_sym_flag
='-Bexport'
8053 # If we're using GNU nm, then we don't want the "-C" option.
8054 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8055 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8056 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'
8058 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'
8060 aix_use_runtimelinking
=no
8062 # Test if we are trying to use run time linking or normal
8063 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8064 # need to do runtime linking.
8065 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8066 for ld_flag
in $LDFLAGS; do
8067 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8068 aix_use_runtimelinking
=yes
8075 exp_sym_flag
='-bexport'
8076 no_entry_flag
='-bnoentry'
8079 # When large executables or shared objects are built, AIX ld can
8080 # have problems creating the table of contents. If linking a library
8081 # or program results in "error TOC overflow" add -mminimal-toc to
8082 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8083 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8087 hardcode_libdir_separator
=':'
8088 link_all_deplibs
=yes
8090 if test "$GCC" = yes; then
8091 case $host_os in aix4.
[012]|aix4.
[012].
*)
8092 # We only want to do this on AIX 4.2 and lower, the check
8093 # below for broken collect2 doesn't work under 4.3+
8094 collect2name
=`${CC} -print-prog-name=collect2`
8095 if test -f "$collect2name" && \
8096 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8098 # We have reworked collect2
8101 # We have old collect2
8102 hardcode_direct
=unsupported
8103 # It fails to find uninstalled libraries when the uninstalled
8104 # path is not listed in the libpath. Setting hardcode_minus_L
8105 # to unsupported forces relinking
8106 hardcode_minus_L
=yes
8107 hardcode_libdir_flag_spec
='-L$libdir'
8108 hardcode_libdir_separator
=
8112 shared_flag
='-shared'
8113 if test "$aix_use_runtimelinking" = yes; then
8114 shared_flag
="$shared_flag "'${wl}-G'
8118 if test "$host_cpu" = ia64
; then
8119 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8120 # chokes on -Wl,-G. The following line is correct:
8123 if test "$aix_use_runtimelinking" = yes; then
8124 shared_flag
='${wl}-G'
8126 shared_flag
='${wl}-bM:SRE'
8131 # It seems that -bexpall does not export symbols beginning with
8132 # underscore (_), so it is better to generate a list of symbols to export.
8133 always_export_symbols
=yes
8134 if test "$aix_use_runtimelinking" = yes; then
8135 # Warning - without using the other runtime loading flags (-brtl),
8136 # -berok will link without error, but may produce a broken library.
8137 allow_undefined_flag
='-berok'
8138 # Determine the default libpath from the value encoded in an empty executable.
8139 cat >conftest.
$ac_ext <<_ACEOF
8142 cat confdefs.h
>>conftest.
$ac_ext
8143 cat >>conftest.
$ac_ext <<_ACEOF
8144 /* end confdefs.h. */
8154 rm -f conftest.
$ac_objext conftest
$ac_exeext
8155 if { (ac_try
="$ac_link"
8157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8158 *) ac_try_echo=$ac_try;;
8160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8161 (eval "$ac_link") 2>conftest.er1
8163 grep -v '^ *+' conftest.er1 >conftest.err
8165 cat conftest.err >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); } &&
8168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8169 { (case "(($ac_try" in
8170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8171 *) ac_try_echo
=$ac_try;;
8173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8174 (eval "$ac_try") 2>&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; } &&
8178 { ac_try
='test -s conftest$ac_exeext'
8179 { (case "(($ac_try" in
8180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8181 *) ac_try_echo=$ac_try;;
8183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8184 (eval "$ac_try") 2>&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); }; }; then
8189 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8191 # Check for a 64-bit object if we didn't find anything.
8192 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8195 echo "$as_me: failed program was:" >&5
8196 sed 's/^/| /' conftest.$ac_ext >&5
8201 rm -f core conftest.err conftest.$ac_objext \
8202 conftest$ac_exeext conftest.$ac_ext
8203 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8205 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8206 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"
8208 if test "$host_cpu" = ia64; then
8209 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8210 allow_undefined_flag="-z nodefs"
8211 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"
8213 # Determine the default libpath from the value encoded in an empty executable.
8214 cat >conftest.$ac_ext <<_ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8229 rm -f conftest.$ac_objext conftest$ac_exeext
8230 if { (ac_try="$ac_link"
8232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8233 *) ac_try_echo
=$ac_try;;
8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8236 (eval "$ac_link") 2>conftest.er1
8238 grep -v '^ *+' conftest.er1
>conftest.err
8240 cat conftest.err
>&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } &&
8243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8244 { (case "(($ac_try" in
8245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8246 *) ac_try_echo=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_try") 2>&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); }; } &&
8253 { ac_try='test -s conftest$ac_exeext'
8254 { (case "(($ac_try" in
8255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8256 *) ac_try_echo
=$ac_try;;
8258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8259 (eval "$ac_try") 2>&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then
8264 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8266 # Check for a 64-bit object if we didn't find anything.
8267 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8270 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.
$ac_ext >&5
8276 rm -f core conftest.err conftest.
$ac_objext \
8277 conftest
$ac_exeext conftest.
$ac_ext
8278 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8280 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8281 # Warning - without using the other run time loading flags,
8282 # -berok will link without error, but may produce a broken library.
8283 no_undefined_flag
=' ${wl}-bernotok'
8284 allow_undefined_flag
=' ${wl}-berok'
8285 # Exported symbols can be pulled into shared objects from archives
8286 whole_archive_flag_spec
='$convenience'
8287 archive_cmds_need_lc
=yes
8288 # This is similar to how AIX traditionally builds its shared libraries.
8289 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'
8295 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)'
8296 hardcode_libdir_flag_spec
='-L$libdir'
8297 hardcode_minus_L
=yes
8298 # see comment about different semantics on the GNU ld section
8303 export_dynamic_flag_spec
=-rdynamic
8306 cygwin
* | mingw
* | pw32
*)
8307 # When not using gcc, we currently assume that we are using
8308 # Microsoft Visual C++.
8309 # hardcode_libdir_flag_spec is actually meaningless, as there is
8310 # no search path for DLLs.
8311 hardcode_libdir_flag_spec
=' '
8312 allow_undefined_flag
=unsupported
8313 # Tell ltmain to make .lib files, not .a files.
8315 # Tell ltmain to make .dll files, not .so files.
8317 # FIXME: Setting linknames here is a bad hack.
8318 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8319 # The linker will automatically build a .lib file if we build a DLL.
8320 old_archive_From_new_cmds
='true'
8321 # FIXME: Should let the user specify the lib program.
8322 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8323 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8324 enable_shared_with_static_runtimes
=yes
8327 darwin
* | rhapsody
*)
8329 rhapsody
* | darwin1.
[012])
8330 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8333 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8334 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8336 case ${MACOSX_DEPLOYMENT_TARGET} in
8338 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8341 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8347 archive_cmds_need_lc
=no
8349 hardcode_automatic
=yes
8350 hardcode_shlibpath_var
=unsupported
8351 whole_archive_flag_spec
=''
8352 link_all_deplibs
=yes
8353 if test "$GCC" = yes ; then
8354 output_verbose_link_cmd
='echo'
8355 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8356 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8357 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8358 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8359 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}'
8361 case $cc_basename in
8363 output_verbose_link_cmd
='echo'
8364 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8365 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8366 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8367 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8368 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}'
8378 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8379 hardcode_libdir_flag_spec
='-L$libdir'
8380 hardcode_shlibpath_var
=no
8387 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8388 # support. Future versions do this automatically, but an explicit c++rt0.o
8389 # does not break anything, and helps significantly (at the cost of a little
8392 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8393 hardcode_libdir_flag_spec
='-R$libdir'
8395 hardcode_shlibpath_var
=no
8398 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8400 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8402 hardcode_minus_L
=yes
8403 hardcode_shlibpath_var
=no
8406 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8407 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8408 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8409 hardcode_libdir_flag_spec
='-R$libdir'
8411 hardcode_shlibpath_var
=no
8415 if test "$GCC" = yes; then
8416 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'
8418 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'
8420 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8421 hardcode_libdir_separator
=:
8424 # hardcode_minus_L: Not really in the search PATH,
8425 # but as the default location of the library.
8426 hardcode_minus_L
=yes
8427 export_dynamic_flag_spec
='${wl}-E'
8431 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8432 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8434 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8436 if test "$with_gnu_ld" = no
; then
8437 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8438 hardcode_libdir_separator
=:
8441 export_dynamic_flag_spec
='${wl}-E'
8443 # hardcode_minus_L: Not really in the search PATH,
8444 # but as the default location of the library.
8445 hardcode_minus_L
=yes
8450 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8453 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8456 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8459 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8465 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8468 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8471 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8475 if test "$with_gnu_ld" = no
; then
8476 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8477 hardcode_libdir_separator
=:
8481 hardcode_libdir_flag_spec_ld
='+b $libdir'
8483 hardcode_shlibpath_var
=no
8487 export_dynamic_flag_spec
='${wl}-E'
8489 # hardcode_minus_L: Not really in the search PATH,
8490 # but as the default location of the library.
8491 hardcode_minus_L
=yes
8497 irix5
* | irix6
* | nonstopux
*)
8498 if test "$GCC" = yes; then
8499 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'
8501 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'
8502 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8504 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8505 hardcode_libdir_separator
=:
8506 link_all_deplibs
=yes
8510 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8511 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8513 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8515 hardcode_libdir_flag_spec
='-R$libdir'
8517 hardcode_shlibpath_var
=no
8521 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8523 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8524 hardcode_libdir_separator
=:
8525 hardcode_shlibpath_var
=no
8530 hardcode_shlibpath_var
=no
8531 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8532 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8533 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8534 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8535 export_dynamic_flag_spec
='${wl}-E'
8538 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8539 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8540 hardcode_libdir_flag_spec
='-R$libdir'
8543 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8544 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8551 hardcode_libdir_flag_spec
='-L$libdir'
8552 hardcode_minus_L
=yes
8553 allow_undefined_flag
=unsupported
8554 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'
8555 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8559 if test "$GCC" = yes; then
8560 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8561 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'
8563 allow_undefined_flag
=' -expect_unresolved \*'
8564 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'
8566 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8567 hardcode_libdir_separator
=:
8570 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8571 if test "$GCC" = yes; then
8572 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8573 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'
8574 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8576 allow_undefined_flag
=' -expect_unresolved \*'
8577 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'
8578 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8579 $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'
8581 # Both c and cxx compiler support -rpath directly
8582 hardcode_libdir_flag_spec
='-rpath $libdir'
8584 hardcode_libdir_separator
=:
8588 no_undefined_flag
=' -z text'
8589 if test "$GCC" = yes; then
8591 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8592 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8593 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8596 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8597 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8598 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8600 hardcode_libdir_flag_spec
='-R$libdir'
8601 hardcode_shlibpath_var
=no
8603 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8605 # The compiler driver will combine linker options so we
8606 # cannot just pass the convience library names through
8607 # without $wl, iff we do not link with $LD.
8608 # Luckily, gcc supports the same syntax we need for Sun Studio.
8609 # Supported since Solaris 2.6 (maybe 2.5.1?)
8612 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8614 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8617 link_all_deplibs
=yes
8621 if test "x$host_vendor" = xsequent
; then
8622 # Use $CC to link under sequent, because it throws in some extra .o
8623 # files that make .init and .fini sections work.
8624 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8626 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8628 hardcode_libdir_flag_spec
='-L$libdir'
8630 hardcode_minus_L
=yes
8631 hardcode_shlibpath_var
=no
8635 case $host_vendor in
8637 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8638 hardcode_direct
=yes # is this really true???
8641 ## LD is ld it makes a PLAMLIB
8642 ## CC just makes a GrossModule.
8643 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8644 reload_cmds
='$CC -r -o $output$reload_objs'
8648 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8649 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8652 runpath_var
='LD_RUN_PATH'
8653 hardcode_shlibpath_var
=no
8657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8658 hardcode_shlibpath_var
=no
8659 export_dynamic_flag_spec
='-Bexport'
8663 if test -d /usr
/nec
; then
8664 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8665 hardcode_shlibpath_var
=no
8666 runpath_var
=LD_RUN_PATH
8667 hardcode_runpath_var
=yes
8672 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8673 no_undefined_flag
='${wl}-z,text'
8674 archive_cmds_need_lc
=no
8675 hardcode_shlibpath_var
=no
8676 runpath_var
='LD_RUN_PATH'
8678 if test "$GCC" = yes; then
8679 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8680 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8682 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8683 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8687 sysv5
* | sco3.2v5
* | sco5v6
*)
8688 # Note: We can NOT use -z defs as we might desire, because we do not
8689 # link with -lc, and that would cause any symbols used from libc to
8690 # always be unresolved, which means just about no library would
8691 # ever link correctly. If we're not using GNU ld we use -z text
8692 # though, which does catch some bad symbols but isn't as heavy-handed
8694 no_undefined_flag
='${wl}-z,text'
8695 allow_undefined_flag
='${wl}-z,nodefs'
8696 archive_cmds_need_lc
=no
8697 hardcode_shlibpath_var
=no
8698 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8699 hardcode_libdir_separator
=':'
8700 link_all_deplibs
=yes
8701 export_dynamic_flag_spec
='${wl}-Bexport'
8702 runpath_var
='LD_RUN_PATH'
8704 if test "$GCC" = yes; then
8705 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8706 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8708 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8714 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8715 hardcode_libdir_flag_spec
='-L$libdir'
8716 hardcode_shlibpath_var
=no
8725 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8726 echo "${ECHO_T}$ld_shlibs" >&6; }
8727 test "$ld_shlibs" = no
&& can_build_shared
=no
8730 # Do we need to explicitly link libc?
8732 case "x$archive_cmds_need_lc" in
8734 # Assume -lc should be added
8735 archive_cmds_need_lc
=yes
8737 if test "$enable_shared" = yes && test "$GCC" = yes; then
8738 case $archive_cmds in
8740 # FIXME: we may have to deal with multi-command sequences.
8743 # Test whether the compiler implicitly links with -lc since on some
8744 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8745 # to ld, don't add -lc before -lgcc.
8746 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8747 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8749 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8752 (eval $ac_compile) 2>&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } 2>conftest.err
; then
8758 libobjs
=conftest.
$ac_objext
8760 wl
=$lt_prog_compiler_wl
8761 pic_flag
=$lt_prog_compiler_pic
8767 lt_save_allow_undefined_flag
=$allow_undefined_flag
8768 allow_undefined_flag
=
8769 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8770 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }
8775 archive_cmds_need_lc
=no
8777 archive_cmds_need_lc
=yes
8779 allow_undefined_flag
=$lt_save_allow_undefined_flag
8781 cat conftest.err
1>&5
8784 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8785 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8792 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8793 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8795 libname_spec
='lib$name'
8803 shlibpath_overrides_runpath
=unknown
8805 dynamic_linker
="$host_os ld.so"
8806 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8807 if test "$GCC" = yes; then
8808 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8809 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8810 # if the path contains ";" then we assume it to be the separator
8811 # otherwise default to the standard path separator (i.e. ":") - it is
8812 # assumed that no part of a normal pathname contains ";" but that should
8813 # okay in the real world where ";" in dirpaths is itself problematic.
8814 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8816 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8819 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8821 need_lib_prefix
=unknown
8822 hardcode_into_libs
=no
8824 # when you set need_version to no, make sure it does not cause -set_version
8825 # flags to be left without arguments
8826 need_version
=unknown
8831 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8832 shlibpath_var
=LIBPATH
8834 # AIX 3 has no versioning support, so we append a major version to the name.
8835 soname_spec
='${libname}${release}${shared_ext}$major'
8842 hardcode_into_libs
=yes
8843 if test "$host_cpu" = ia64
; then
8844 # AIX 5 supports IA64
8845 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8846 shlibpath_var
=LD_LIBRARY_PATH
8848 # With GCC up to 2.95.x, collect2 would create an import file
8849 # for dependence libraries. The import file would start with
8850 # the line `#! .'. This would cause the generated library to
8851 # depend on `.', always an invalid library. This was fixed in
8852 # development snapshots of GCC prior to 3.0.
8854 aix4 | aix4.
[01] | aix4.
[01].
*)
8855 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8857 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8864 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8865 # soname into executable. Probably we can add versioning support to
8866 # collect2, so additional links can be useful in future.
8867 if test "$aix_use_runtimelinking" = yes; then
8868 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8869 # instead of lib<name>.a to let people know that these are not
8870 # typical AIX shared libraries.
8871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8873 # We preserve .a as extension for shared libraries through AIX4.2
8874 # and later when we are not doing run time linking.
8875 library_names_spec
='${libname}${release}.a $libname.a'
8876 soname_spec
='${libname}${release}${shared_ext}$major'
8878 shlibpath_var
=LIBPATH
8883 library_names_spec
='$libname.ixlibrary $libname.a'
8884 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8885 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'
8889 library_names_spec
='${libname}${shared_ext}'
8890 dynamic_linker
="$host_os ld.so"
8891 shlibpath_var
=LIBRARY_PATH
8897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8898 soname_spec
='${libname}${release}${shared_ext}$major'
8899 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8900 shlibpath_var
=LD_LIBRARY_PATH
8901 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8902 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8903 # the default ld.so.conf also contains /usr/contrib/lib and
8904 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8905 # libtool to hard-code these into programs
8908 cygwin
* | mingw
* | pw32
*)
8909 version_type
=windows
8914 case $GCC,$host_os in
8915 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8916 library_names_spec
='$libname.dll.a'
8917 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8918 postinstall_cmds
='base_file=`basename \${file}`~
8919 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8920 dldir=$destdir/`dirname \$dlpath`~
8921 test -d \$dldir || mkdir -p \$dldir~
8922 $install_prog $dir/$dlname \$dldir/$dlname~
8923 chmod a+x \$dldir/$dlname'
8924 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8925 dlpath=$dir/\$dldll~
8927 shlibpath_overrides_runpath
=yes
8931 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8932 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8933 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8936 # MinGW DLLs use traditional 'lib' prefix
8937 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8938 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8939 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8940 # It is most probably a Windows format PATH printed by
8941 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8942 # path with ; separators, and with drive letters. We can handle the
8943 # drive letters (cygwin fileutils understands them), so leave them,
8944 # especially as we might pass files found there to a mingw objdump,
8945 # which wouldn't understand a cygwinified path. Ahh.
8946 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8948 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8952 # pw32 DLLs use 'pw' prefix rather than 'lib'
8953 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8959 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8962 dynamic_linker
='Win32 ld.exe'
8963 # FIXME: first we should search . and the directory the executable is in
8967 darwin
* | rhapsody
*)
8968 dynamic_linker
="$host_os dyld"
8972 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8973 soname_spec
='${libname}${release}${major}$shared_ext'
8974 shlibpath_overrides_runpath
=yes
8975 shlibpath_var
=DYLD_LIBRARY_PATH
8976 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8977 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8978 if test "$GCC" = yes; then
8979 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8981 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8983 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8991 soname_spec
='${libname}${release}${shared_ext}$major'
8992 shlibpath_var
=LD_LIBRARY_PATH
9003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9004 soname_spec
='${libname}${release}${shared_ext}$major'
9005 shlibpath_var
=LD_LIBRARY_PATH
9006 shlibpath_overrides_runpath
=no
9007 hardcode_into_libs
=yes
9008 dynamic_linker
='GNU ld.so'
9011 freebsd
* | dragonfly
*)
9012 # DragonFly does not have aout. When/if they implement a new
9013 # versioning mechanism, adjust this.
9014 if test -x /usr
/bin
/objformat
; then
9015 objformat
=`/usr/bin/objformat`
9018 freebsd
[123]*) objformat
=aout
;;
9022 version_type
=freebsd-
$objformat
9023 case $version_type in
9025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9030 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9034 shlibpath_var
=LD_LIBRARY_PATH
9037 shlibpath_overrides_runpath
=yes
9039 freebsd3.
[01]* | freebsdelf3.
[01]*)
9040 shlibpath_overrides_runpath
=yes
9041 hardcode_into_libs
=yes
9043 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9044 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9045 shlibpath_overrides_runpath
=no
9046 hardcode_into_libs
=yes
9048 freebsd
*) # from 4.6 on
9049 shlibpath_overrides_runpath
=yes
9050 hardcode_into_libs
=yes
9059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9060 soname_spec
='${libname}${release}${shared_ext}$major'
9061 shlibpath_var
=LD_LIBRARY_PATH
9062 hardcode_into_libs
=yes
9065 hpux9
* | hpux10
* | hpux11
*)
9066 # Give a soname corresponding to the major version so that dld.sl refuses to
9067 # link against other versions.
9074 hardcode_into_libs
=yes
9075 dynamic_linker
="$host_os dld.so"
9076 shlibpath_var
=LD_LIBRARY_PATH
9077 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9079 soname_spec
='${libname}${release}${shared_ext}$major'
9080 if test "X$HPUX_IA64_MODE" = X32
; then
9081 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9083 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9085 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9089 hardcode_into_libs
=yes
9090 dynamic_linker
="$host_os dld.sl"
9091 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9092 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9096 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9100 dynamic_linker
="$host_os dld.sl"
9101 shlibpath_var
=SHLIB_PATH
9102 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9104 soname_spec
='${libname}${release}${shared_ext}$major'
9107 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9108 postinstall_cmds
='chmod 555 $lib'
9115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9116 soname_spec
='${libname}${release}${shared_ext}$major'
9117 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9118 shlibpath_var
=LD_LIBRARY_PATH
9119 shlibpath_overrides_runpath
=no
9120 hardcode_into_libs
=yes
9123 irix5
* | irix6
* | nonstopux
*)
9125 nonstopux
*) version_type
=nonstopux
;;
9127 if test "$lt_cv_prog_gnu_ld" = yes; then
9135 soname_spec
='${libname}${release}${shared_ext}$major'
9136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9138 irix5
* | nonstopux
*)
9142 case $LD in # libtool.m4 will add one of these switches to LD
9143 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9144 libsuff
= shlibsuff
= libmagic
=32-bit;;
9145 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9146 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9147 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9148 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9149 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9153 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9154 shlibpath_overrides_runpath
=no
9155 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9156 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9157 hardcode_into_libs
=yes
9160 # No shared lib support for Linux oldld, aout, or coff.
9161 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9165 # This must be Linux ELF.
9170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9171 soname_spec
='${libname}${release}${shared_ext}$major'
9172 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9173 shlibpath_var
=LD_LIBRARY_PATH
9174 shlibpath_overrides_runpath
=no
9175 # This implies no fast_install, which is unacceptable.
9176 # Some rework will be needed to allow for fast_install
9177 # before this can be enabled.
9178 hardcode_into_libs
=yes
9180 # Append ld.so.conf contents to the search path
9181 if test -f /etc
/ld.so.conf
; then
9182 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9183 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9186 # We used to test for /lib/ld.so.1 and disable shared libraries on
9187 # powerpc, because MkLinux only supported shared libraries with the
9188 # GNU dynamic linker. Since this was broken with cross compilers,
9189 # most powerpc-linux boxes support dynamic linking these days and
9190 # people can always --disable-shared, the test was removed, and we
9191 # assume the GNU/Linux dynamic linker is in use.
9192 dynamic_linker
='GNU/Linux ld.so'
9199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9200 soname_spec
='${libname}${release}${shared_ext}$major'
9201 shlibpath_var
=LD_LIBRARY_PATH
9202 shlibpath_overrides_runpath
=no
9203 hardcode_into_libs
=yes
9204 dynamic_linker
='GNU ld.so'
9211 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9213 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9214 dynamic_linker
='NetBSD (a.out) ld.so'
9216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9217 soname_spec
='${libname}${release}${shared_ext}$major'
9218 dynamic_linker
='NetBSD ld.elf_so'
9220 shlibpath_var
=LD_LIBRARY_PATH
9221 shlibpath_overrides_runpath
=yes
9222 hardcode_into_libs
=yes
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9228 shlibpath_var
=LD_LIBRARY_PATH
9229 shlibpath_overrides_runpath
=yes
9236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9237 soname_spec
='${libname}${release}${shared_ext}$major'
9238 shlibpath_var
=LD_LIBRARY_PATH
9239 shlibpath_overrides_runpath
=yes
9244 sys_lib_dlsearch_path_spec
="/usr/lib"
9246 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9248 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9249 *) need_version
=no
;;
9251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9252 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9253 shlibpath_var
=LD_LIBRARY_PATH
9254 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9256 openbsd2.
[89] | openbsd2.
[89].
*)
9257 shlibpath_overrides_runpath
=no
9260 shlibpath_overrides_runpath
=yes
9264 shlibpath_overrides_runpath
=yes
9269 libname_spec
='$name'
9272 library_names_spec
='$libname${shared_ext} $libname.a'
9273 dynamic_linker
='OS/2 ld.exe'
9274 shlibpath_var
=LIBPATH
9277 osf3
* | osf4
* | osf5
*)
9281 soname_spec
='${libname}${release}${shared_ext}$major'
9282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9283 shlibpath_var
=LD_LIBRARY_PATH
9284 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9285 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9293 soname_spec
='${libname}${release}${shared_ext}$major'
9294 shlibpath_var
=LD_LIBRARY_PATH
9295 shlibpath_overrides_runpath
=yes
9296 hardcode_into_libs
=yes
9297 # ldd complains unless libraries are executable
9298 postinstall_cmds
='chmod +x $lib'
9303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9304 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9305 shlibpath_var
=LD_LIBRARY_PATH
9306 shlibpath_overrides_runpath
=yes
9307 if test "$with_gnu_ld" = yes; then
9315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9316 soname_spec
='${libname}${release}${shared_ext}$major'
9317 shlibpath_var
=LD_LIBRARY_PATH
9318 case $host_vendor in
9320 shlibpath_overrides_runpath
=no
9322 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9323 runpath_var
=LD_RUN_PATH
9331 shlibpath_overrides_runpath
=no
9332 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9338 if test -d /usr
/nec
;then
9340 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9341 soname_spec
='$libname${shared_ext}.$major'
9342 shlibpath_var
=LD_LIBRARY_PATH
9346 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9347 version_type
=freebsd-elf
9350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9351 soname_spec
='${libname}${release}${shared_ext}$major'
9352 shlibpath_var
=LD_LIBRARY_PATH
9353 hardcode_into_libs
=yes
9354 if test "$with_gnu_ld" = yes; then
9355 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9356 shlibpath_overrides_runpath
=no
9358 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9359 shlibpath_overrides_runpath
=yes
9362 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9366 sys_lib_dlsearch_path_spec
='/usr/lib'
9371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9372 soname_spec
='${libname}${release}${shared_ext}$major'
9373 shlibpath_var
=LD_LIBRARY_PATH
9380 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9381 echo "${ECHO_T}$dynamic_linker" >&6; }
9382 test "$dynamic_linker" = no
&& can_build_shared
=no
9384 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9385 if test "$GCC" = yes; then
9386 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9389 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9390 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9392 if test -n "$hardcode_libdir_flag_spec" || \
9393 test -n "$runpath_var" || \
9394 test "X$hardcode_automatic" = "Xyes" ; then
9396 # We can hardcode non-existant directories.
9397 if test "$hardcode_direct" != no
&&
9398 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9399 # have to relink, otherwise we might link with an installed library
9400 # when we should be linking with a yet-to-be-installed one
9401 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9402 test "$hardcode_minus_L" != no
; then
9403 # Linking always hardcodes the temporary library directory.
9404 hardcode_action
=relink
9406 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9407 hardcode_action
=immediate
9410 # We cannot hardcode anything, or else we can only hardcode existing
9412 hardcode_action
=unsupported
9414 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9415 echo "${ECHO_T}$hardcode_action" >&6; }
9417 if test "$hardcode_action" = relink
; then
9418 # Fast installation is not supported
9419 enable_fast_install
=no
9420 elif test "$shlibpath_overrides_runpath" = yes ||
9421 test "$enable_shared" = no
; then
9422 # Fast installation is not necessary
9423 enable_fast_install
=needless
9428 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9429 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9430 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9431 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9432 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9433 { echo "$as_me:$LINENO: result: yes" >&5
9434 echo "${ECHO_T}yes" >&6; }
9436 # FIXME - insert some real tests, host_os isn't really good enough
9439 if test -n "$STRIP" ; then
9440 striplib
="$STRIP -x"
9441 { echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6; }
9444 { echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6; }
9449 { echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6; }
9455 if test "x$enable_dlopen" != xyes
; then
9456 enable_dlopen
=unknown
9457 enable_dlopen_self
=unknown
9458 enable_dlopen_self_static
=unknown
9465 lt_cv_dlopen
="load_add_on"
9467 lt_cv_dlopen_self
=yes
9471 lt_cv_dlopen
="LoadLibrary"
9476 lt_cv_dlopen
="dlopen"
9481 # if libdl is installed we need to link against it
9482 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9483 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9484 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9485 echo $ECHO_N "(cached) $ECHO_C" >&6
9487 ac_check_lib_save_LIBS
=$LIBS
9489 cat >conftest.
$ac_ext <<_ACEOF
9492 cat confdefs.h
>>conftest.
$ac_ext
9493 cat >>conftest.
$ac_ext <<_ACEOF
9494 /* end confdefs.h. */
9496 /* Override any GCC internal prototype to avoid an error.
9497 Use char because int might match the return type of a GCC
9498 builtin and then its argument prototype would still apply. */
9511 rm -f conftest.
$ac_objext conftest
$ac_exeext
9512 if { (ac_try
="$ac_link"
9514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9515 *) ac_try_echo=$ac_try;;
9517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9518 (eval "$ac_link") 2>conftest.er1
9520 grep -v '^ *+' conftest.er1 >conftest.err
9522 cat conftest.err >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); } &&
9525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9526 { (case "(($ac_try" in
9527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9528 *) ac_try_echo
=$ac_try;;
9530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9531 (eval "$ac_try") 2>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); }; } &&
9535 { ac_try
='test -s conftest$ac_exeext'
9536 { (case "(($ac_try" in
9537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9538 *) ac_try_echo=$ac_try;;
9540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9541 (eval "$ac_try") 2>&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; }; then
9545 ac_cv_lib_dl_dlopen=yes
9547 echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.$ac_ext >&5
9550 ac_cv_lib_dl_dlopen=no
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 LIBS=$ac_check_lib_save_LIBS
9557 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9558 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9559 if test $ac_cv_lib_dl_dlopen = yes; then
9560 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9565 lt_cv_dlopen_self=yes
9572 { echo "$as_me:$LINENO: checking for shl_load" >&5
9573 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9574 if test "${ac_cv_func_shl_load+set}" = set; then
9575 echo $ECHO_N "(cached) $ECHO_C" >&6
9577 cat >conftest.$ac_ext <<_ACEOF
9580 cat confdefs.h >>conftest.$ac_ext
9581 cat >>conftest.$ac_ext <<_ACEOF
9582 /* end confdefs.h. */
9583 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9585 #define shl_load innocuous_shl_load
9587 /* System header to define __stub macros and hopefully few prototypes,
9588 which can conflict with char shl_load (); below.
9589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9590 <limits.h> exists even on freestanding compilers. */
9593 # include <limits.h>
9595 # include <assert.h>
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9607 /* The GNU C library defines this for functions which it implements
9608 to always fail with ENOSYS. Some functions are actually named
9609 something starting with __ and the normal name is an alias. */
9610 #if defined __stub_shl_load || defined __stub___shl_load
9622 rm -f conftest.$ac_objext conftest$ac_exeext
9623 if { (ac_try="$ac_link"
9625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9626 *) ac_try_echo
=$ac_try;;
9628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9629 (eval "$ac_link") 2>conftest.er1
9631 grep -v '^ *+' conftest.er1
>conftest.err
9633 cat conftest.err
>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9637 { (case "(($ac_try" in
9638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9639 *) ac_try_echo=$ac_try;;
9641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9642 (eval "$ac_try") 2>&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; } &&
9646 { ac_try='test -s conftest$ac_exeext'
9647 { (case "(($ac_try" in
9648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9649 *) ac_try_echo
=$ac_try;;
9651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9652 (eval "$ac_try") 2>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; }; then
9656 ac_cv_func_shl_load
=yes
9658 echo "$as_me: failed program was:" >&5
9659 sed 's/^/| /' conftest.
$ac_ext >&5
9661 ac_cv_func_shl_load
=no
9664 rm -f core conftest.err conftest.
$ac_objext \
9665 conftest
$ac_exeext conftest.
$ac_ext
9667 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9668 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9669 if test $ac_cv_func_shl_load = yes; then
9670 lt_cv_dlopen
="shl_load"
9672 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9673 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9674 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9675 echo $ECHO_N "(cached) $ECHO_C" >&6
9677 ac_check_lib_save_LIBS
=$LIBS
9679 cat >conftest.
$ac_ext <<_ACEOF
9682 cat confdefs.h
>>conftest.
$ac_ext
9683 cat >>conftest.
$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9701 rm -f conftest.
$ac_objext conftest
$ac_exeext
9702 if { (ac_try
="$ac_link"
9704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9705 *) ac_try_echo=$ac_try;;
9707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9708 (eval "$ac_link") 2>conftest.er1
9710 grep -v '^ *+' conftest.er1 >conftest.err
9712 cat conftest.err >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } &&
9715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9716 { (case "(($ac_try" in
9717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9718 *) ac_try_echo
=$ac_try;;
9720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9721 (eval "$ac_try") 2>&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; } &&
9725 { ac_try
='test -s conftest$ac_exeext'
9726 { (case "(($ac_try" in
9727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9731 (eval "$ac_try") 2>&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9735 ac_cv_lib_dld_shl_load=yes
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9740 ac_cv_lib_dld_shl_load=no
9743 rm -f core conftest.err conftest.$ac_objext \
9744 conftest$ac_exeext conftest.$ac_ext
9745 LIBS=$ac_check_lib_save_LIBS
9747 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9748 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9749 if test $ac_cv_lib_dld_shl_load = yes; then
9750 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9752 { echo "$as_me:$LINENO: checking for dlopen" >&5
9753 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9754 if test "${ac_cv_func_dlopen+set}" = set; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 cat >conftest.$ac_ext <<_ACEOF
9760 cat confdefs.h >>conftest.$ac_ext
9761 cat >>conftest.$ac_ext <<_ACEOF
9762 /* end confdefs.h. */
9763 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9765 #define dlopen innocuous_dlopen
9767 /* System header to define __stub macros and hopefully few prototypes,
9768 which can conflict with char dlopen (); below.
9769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9770 <limits.h> exists even on freestanding compilers. */
9773 # include <limits.h>
9775 # include <assert.h>
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9787 /* The GNU C library defines this for functions which it implements
9788 to always fail with ENOSYS. Some functions are actually named
9789 something starting with __ and the normal name is an alias. */
9790 #if defined __stub_dlopen || defined __stub___dlopen
9802 rm -f conftest.$ac_objext conftest$ac_exeext
9803 if { (ac_try="$ac_link"
9805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9806 *) ac_try_echo
=$ac_try;;
9808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9809 (eval "$ac_link") 2>conftest.er1
9811 grep -v '^ *+' conftest.er1
>conftest.err
9813 cat conftest.err
>&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } &&
9816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9817 { (case "(($ac_try" in
9818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9819 *) ac_try_echo=$ac_try;;
9821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9822 (eval "$ac_try") 2>&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; } &&
9826 { ac_try='test -s conftest$ac_exeext'
9827 { (case "(($ac_try" in
9828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9829 *) ac_try_echo
=$ac_try;;
9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9832 (eval "$ac_try") 2>&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 ac_cv_func_dlopen
=yes
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.
$ac_ext >&5
9841 ac_cv_func_dlopen
=no
9844 rm -f core conftest.err conftest.
$ac_objext \
9845 conftest
$ac_exeext conftest.
$ac_ext
9847 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9848 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9849 if test $ac_cv_func_dlopen = yes; then
9850 lt_cv_dlopen
="dlopen"
9852 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9853 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9854 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 ac_check_lib_save_LIBS
=$LIBS
9859 cat >conftest.
$ac_ext <<_ACEOF
9862 cat confdefs.h
>>conftest.
$ac_ext
9863 cat >>conftest.
$ac_ext <<_ACEOF
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9881 rm -f conftest.
$ac_objext conftest
$ac_exeext
9882 if { (ac_try
="$ac_link"
9884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9885 *) ac_try_echo=$ac_try;;
9887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9888 (eval "$ac_link") 2>conftest.er1
9890 grep -v '^ *+' conftest.er1 >conftest.err
9892 cat conftest.err >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); } &&
9895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9896 { (case "(($ac_try" in
9897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9898 *) ac_try_echo
=$ac_try;;
9900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9901 (eval "$ac_try") 2>&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; } &&
9905 { ac_try
='test -s conftest$ac_exeext'
9906 { (case "(($ac_try" in
9907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9908 *) ac_try_echo=$ac_try;;
9910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9911 (eval "$ac_try") 2>&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9915 ac_cv_lib_dl_dlopen=yes
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 ac_cv_lib_dl_dlopen=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_lib_save_LIBS
9927 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9928 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9929 if test $ac_cv_lib_dl_dlopen = yes; then
9930 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9932 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9933 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9934 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 ac_check_lib_save_LIBS=$LIBS
9939 cat >conftest.$ac_ext <<_ACEOF
9942 cat confdefs.h >>conftest.$ac_ext
9943 cat >>conftest.$ac_ext <<_ACEOF
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9961 rm -f conftest.$ac_objext conftest$ac_exeext
9962 if { (ac_try="$ac_link"
9964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9965 *) ac_try_echo
=$ac_try;;
9967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9968 (eval "$ac_link") 2>conftest.er1
9970 grep -v '^ *+' conftest.er1
>conftest.err
9972 cat conftest.err
>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); } &&
9975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9976 { (case "(($ac_try" in
9977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9978 *) ac_try_echo=$ac_try;;
9980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9981 (eval "$ac_try") 2>&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; } &&
9985 { ac_try='test -s conftest$ac_exeext'
9986 { (case "(($ac_try" in
9987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9988 *) ac_try_echo
=$ac_try;;
9990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9991 (eval "$ac_try") 2>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 ac_cv_lib_svld_dlopen
=yes
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.
$ac_ext >&5
10000 ac_cv_lib_svld_dlopen
=no
10003 rm -f core conftest.err conftest.
$ac_objext \
10004 conftest
$ac_exeext conftest.
$ac_ext
10005 LIBS
=$ac_check_lib_save_LIBS
10007 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10008 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10009 if test $ac_cv_lib_svld_dlopen = yes; then
10010 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10012 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10013 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 ac_check_lib_save_LIBS
=$LIBS
10019 cat >conftest.
$ac_ext <<_ACEOF
10022 cat confdefs.h
>>conftest.
$ac_ext
10023 cat >>conftest.
$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10036 return dld_link ();
10041 rm -f conftest.
$ac_objext conftest
$ac_exeext
10042 if { (ac_try
="$ac_link"
10043 case "(($ac_try" in
10044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10045 *) ac_try_echo=$ac_try;;
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10050 grep -v '^ *+' conftest.er1 >conftest.err
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } &&
10055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10056 { (case "(($ac_try" in
10057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10058 *) ac_try_echo
=$ac_try;;
10060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10061 (eval "$ac_try") 2>&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); }; } &&
10065 { ac_try
='test -s conftest$ac_exeext'
10066 { (case "(($ac_try" in
10067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10068 *) ac_try_echo=$ac_try;;
10070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10071 (eval "$ac_try") 2>&5
10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); }; }; then
10075 ac_cv_lib_dld_dld_link=yes
10077 echo "$as_me: failed program was:" >&5
10078 sed 's/^/| /' conftest.$ac_ext >&5
10080 ac_cv_lib_dld_dld_link=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10088 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10089 if test $ac_cv_lib_dld_dld_link = yes; then
10090 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10111 if test "x$lt_cv_dlopen" != xno; then
10117 case $lt_cv_dlopen in
10119 save_CPPFLAGS="$CPPFLAGS"
10120 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10122 save_LDFLAGS="$LDFLAGS"
10123 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10126 LIBS="$lt_cv_dlopen_libs $LIBS"
10128 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10129 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10130 if test "${lt_cv_dlopen_self+set}" = set; then
10131 echo $ECHO_N "(cached) $ECHO_C" >&6
10133 if test "$cross_compiling" = yes; then :
10134 lt_cv_dlopen_self=cross
10136 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10137 lt_status=$lt_dlunknown
10138 cat > conftest.$ac_ext <<EOF
10139 #line 10139 "configure"
10140 #include "confdefs.h"
10149 # define LT_DLGLOBAL RTLD_GLOBAL
10152 # define LT_DLGLOBAL DL_GLOBAL
10154 # define LT_DLGLOBAL 0
10158 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10159 find out it does not work in some platform. */
10160 #ifndef LT_DLLAZY_OR_NOW
10162 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10165 # define LT_DLLAZY_OR_NOW DL_LAZY
10168 # define LT_DLLAZY_OR_NOW RTLD_NOW
10171 # define LT_DLLAZY_OR_NOW DL_NOW
10173 # define LT_DLLAZY_OR_NOW 0
10181 extern "C" void exit (int);
10184 void fnord() { int i=42;}
10187 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10188 int status = $lt_dlunknown;
10192 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10193 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10194 /* dlclose (self); */
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10207 (./conftest; exit; ) >&5 2>/dev/null
10209 case x$lt_status in
10210 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10211 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10212 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10215 # compilation failed
10216 lt_cv_dlopen_self=no
10223 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10224 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10226 if test "x$lt_cv_dlopen_self" = xyes; then
10227 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10228 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10229 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10230 if test "${lt_cv_dlopen_self_static+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 if test "$cross_compiling" = yes; then :
10234 lt_cv_dlopen_self_static=cross
10236 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10237 lt_status=$lt_dlunknown
10238 cat > conftest.$ac_ext <<EOF
10239 #line 10239 "configure"
10240 #include "confdefs.h"
10249 # define LT_DLGLOBAL RTLD_GLOBAL
10252 # define LT_DLGLOBAL DL_GLOBAL
10254 # define LT_DLGLOBAL 0
10258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10259 find out it does not work in some platform. */
10260 #ifndef LT_DLLAZY_OR_NOW
10262 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10265 # define LT_DLLAZY_OR_NOW DL_LAZY
10268 # define LT_DLLAZY_OR_NOW RTLD_NOW
10271 # define LT_DLLAZY_OR_NOW DL_NOW
10273 # define LT_DLLAZY_OR_NOW 0
10281 extern "C" void exit (int);
10284 void fnord() { int i=42;}
10287 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10288 int status = $lt_dlunknown;
10292 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10293 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10294 /* dlclose (self); */
10302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10303 (eval $ac_link) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10307 (./conftest; exit; ) >&5 2>/dev/null
10309 case x$lt_status in
10310 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10311 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10312 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10315 # compilation failed
10316 lt_cv_dlopen_self_static=no
10323 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10324 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10327 CPPFLAGS="$save_CPPFLAGS"
10328 LDFLAGS="$save_LDFLAGS"
10333 case $lt_cv_dlopen_self in
10334 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10335 *) enable_dlopen_self=unknown ;;
10338 case $lt_cv_dlopen_self_static in
10339 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10340 *) enable_dlopen_self_static=unknown ;;
10345 # Report which library types will actually be built
10346 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10347 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10348 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10349 echo "${ECHO_T}$can_build_shared" >&6; }
10351 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10352 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10353 test "$can_build_shared" = "no" && enable_shared=no
10355 # On AIX, shared libraries and static libraries use the same namespace, and
10356 # are all built from PIC.
10359 test "$enable_shared" = yes && enable_static=no
10360 if test -n "$RANLIB"; then
10361 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10362 postinstall_cmds='$RANLIB $lib'
10367 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10368 test "$enable_shared" = yes && enable_static=no
10372 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10373 echo "${ECHO_T}$enable_shared" >&6; }
10375 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10376 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10377 # Make sure either enable_shared or enable_static is yes.
10378 test "$enable_shared" = yes || enable_static=yes
10379 { echo "$as_me:$LINENO: result: $enable_static" >&5
10380 echo "${ECHO_T}$enable_static" >&6; }
10382 # The else clause should only fire when bootstrapping the
10383 # libtool distribution, otherwise you forgot to ship ltmain.sh
10384 # with your package, and you will get complaints that there are
10385 # no rules to generate ltmain.sh.
10386 if test -f "$ltmain"; then
10387 # See if we are running on zsh, and set the options which allow our commands through
10388 # without removal of \ escapes.
10389 if test -n "${ZSH_VERSION+set}" ; then
10390 setopt NO_GLOB_SUBST
10392 # Now quote all the things that may contain metacharacters while being
10393 # careful not to overquote the AC_SUBSTed values. We take copies of the
10394 # variables and quote the copies for generation of the libtool script.
10395 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10397 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10398 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10399 deplibs_check_method reload_flag reload_cmds need_locks \
10400 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10401 lt_cv_sys_global_symbol_to_c_name_address \
10402 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10403 old_postinstall_cmds old_postuninstall_cmds \
10407 lt_prog_compiler_wl \
10408 lt_prog_compiler_pic \
10409 lt_prog_compiler_static \
10410 lt_prog_compiler_no_builtin_flag \
10411 export_dynamic_flag_spec \
10412 thread_safe_flag_spec \
10413 whole_archive_flag_spec \
10414 enable_shared_with_static_runtimes \
10416 old_archive_from_new_cmds \
10421 compiler_lib_search_path \
10423 archive_expsym_cmds \
10425 postuninstall_cmds \
10426 old_archive_from_expsyms_cmds \
10427 allow_undefined_flag \
10428 no_undefined_flag \
10429 export_symbols_cmds \
10430 hardcode_libdir_flag_spec \
10431 hardcode_libdir_flag_spec_ld \
10432 hardcode_libdir_separator \
10433 hardcode_automatic \
10435 module_expsym_cmds \
10436 lt_cv_prog_compiler_c_o \
10438 include_expsyms; do
10441 old_archive_cmds | \
10442 old_archive_from_new_cmds | \
10444 archive_expsym_cmds | \
10446 module_expsym_cmds | \
10447 old_archive_from_expsyms_cmds | \
10448 export_symbols_cmds | \
10449 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10450 postinstall_cmds | postuninstall_cmds | \
10451 old_postinstall_cmds | old_postuninstall_cmds | \
10452 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10453 # Double-quote double-evaled strings.
10454 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10457 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10463 *'\$0 --fallback-echo"')
10464 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10468 cfgfile="${ofile}T"
10469 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10471 { echo "$as_me:$LINENO: creating $ofile" >&5
10472 echo "$as_me: creating $ofile" >&6;}
10474 cat <<__EOF__ >> "$cfgfile"
10477 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10478 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10479 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10481 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10482 # Free Software Foundation, Inc.
10484 # This file is part of GNU Libtool:
10485 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10487 # This program is free software; you can redistribute it and/or modify
10488 # it under the terms of the GNU General Public License as published by
10489 # the Free Software Foundation; either version 2 of the License, or
10490 # (at your option) any later version.
10492 # This program is distributed in the hope that it will be useful, but
10493 # WITHOUT ANY WARRANTY; without even the implied warranty of
10494 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10495 # General Public License for more details.
10497 # You should have received a copy of the GNU General Public License
10498 # along with this program; if not, write to the Free Software
10499 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10501 # As a special exception to the GNU General Public License, if you
10502 # distribute this file as part of a program that contains a
10503 # configuration script generated by Autoconf, you may include it under
10504 # the same distribution terms that you use for the rest of that program.
10506 # A sed program that does not truncate output.
10509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10510 Xsed="$SED -e 1s/^X//"
10512 # The HP-UX ksh and POSIX shell print the target directory to stdout
10513 # if CDPATH is set.
10514 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10516 # The names of the tagged configurations supported by this script.
10519 # ### BEGIN LIBTOOL CONFIG
10521 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10523 # Shell to use when invoking shell scripts.
10526 # Whether or not to build shared libraries.
10527 build_libtool_libs=$enable_shared
10529 # Whether or not to build static libraries.
10530 build_old_libs=$enable_static
10532 # Whether or not to add -lc for building shared libraries.
10533 build_libtool_need_lc=$archive_cmds_need_lc
10535 # Whether or not to disallow shared libs when runtime libs are static
10536 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10538 # Whether or not to optimize for fast installation.
10539 fast_install=$enable_fast_install
10542 host_alias=$host_alias
10546 # The build system.
10547 build_alias=$build_alias
10551 # An echo program that does not interpret backslashes.
10556 AR_FLAGS=$lt_AR_FLAGS
10561 # LTCC compiler flags.
10562 LTCFLAGS=$lt_LTCFLAGS
10564 # A language-specific compiler.
10567 # Is the compiler the GNU C compiler?
10573 # The linker used to build libraries.
10576 # Whether we need hard or soft links.
10579 # A BSD-compatible nm program.
10582 # A symbol stripping program
10585 # Used to examine libraries when file_magic_cmd begins "file"
10586 MAGIC_CMD=$MAGIC_CMD
10588 # Used on cygwin: DLL creation program.
10591 # Used on cygwin: object dumper.
10594 # Used on cygwin: assembler.
10597 # The name of the directory that contains temporary libtool files.
10600 # How to create reloadable object files.
10601 reload_flag=$lt_reload_flag
10602 reload_cmds=$lt_reload_cmds
10604 # How to pass a linker flag through the compiler.
10605 wl=$lt_lt_prog_compiler_wl
10607 # Object file suffix (normally "o").
10608 objext="$ac_objext"
10610 # Old archive suffix (normally "a").
10613 # Shared library suffix (normally ".so").
10614 shrext_cmds='$shrext_cmds'
10616 # Executable file suffix (normally "").
10619 # Additional compiler flags for building library objects.
10620 pic_flag=$lt_lt_prog_compiler_pic
10623 # What is the maximum length of a command?
10624 max_cmd_len=$lt_cv_sys_max_cmd_len
10626 # Does compiler simultaneously support -c and -o options?
10627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10629 # Must we lock files when doing compilation?
10630 need_locks=$lt_need_locks
10632 # Do we need the lib prefix for modules?
10633 need_lib_prefix=$need_lib_prefix
10635 # Do we need a version for libraries?
10636 need_version=$need_version
10638 # Whether dlopen is supported.
10639 dlopen_support=$enable_dlopen
10641 # Whether dlopen of programs is supported.
10642 dlopen_self=$enable_dlopen_self
10644 # Whether dlopen of statically linked programs is supported.
10645 dlopen_self_static=$enable_dlopen_self_static
10647 # Compiler flag to prevent dynamic linking.
10648 link_static_flag=$lt_lt_prog_compiler_static
10650 # Compiler flag to turn off builtin functions.
10651 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10653 # Compiler flag to allow reflexive dlopens.
10654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10656 # Compiler flag to generate shared objects directly from archives.
10657 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10659 # Compiler flag to generate thread-safe objects.
10660 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10662 # Library versioning type.
10663 version_type=$version_type
10665 # Format of library name prefix.
10666 libname_spec=$lt_libname_spec
10668 # List of archive names. First name is the real one, the rest are links.
10669 # The last name is the one that the linker finds with -lNAME.
10670 library_names_spec=$lt_library_names_spec
10672 # The coded name of the library, if different from the real name.
10673 soname_spec=$lt_soname_spec
10675 # Commands used to build and install an old-style archive.
10677 old_archive_cmds=$lt_old_archive_cmds
10678 old_postinstall_cmds=$lt_old_postinstall_cmds
10679 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10681 # Create an old-style archive from a shared archive.
10682 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10684 # Create a temporary old-style archive to link instead of a shared archive.
10685 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10687 # Commands used to build and install a shared archive.
10688 archive_cmds=$lt_archive_cmds
10689 archive_expsym_cmds=$lt_archive_expsym_cmds
10690 postinstall_cmds=$lt_postinstall_cmds
10691 postuninstall_cmds=$lt_postuninstall_cmds
10693 # Commands used to build a loadable module (assumed same as above if empty)
10694 module_cmds=$lt_module_cmds
10695 module_expsym_cmds=$lt_module_expsym_cmds
10697 # Commands to strip libraries.
10698 old_striplib=$lt_old_striplib
10699 striplib=$lt_striplib
10701 # Dependencies to place before the objects being linked to create a
10703 predep_objects=$lt_predep_objects
10705 # Dependencies to place after the objects being linked to create a
10707 postdep_objects=$lt_postdep_objects
10709 # Dependencies to place before the objects being linked to create a
10711 predeps=$lt_predeps
10713 # Dependencies to place after the objects being linked to create a
10715 postdeps=$lt_postdeps
10717 # The library search path used internally by the compiler when linking
10718 # a shared library.
10719 compiler_lib_search_path=$lt_compiler_lib_search_path
10721 # Method to check whether dependent libraries are shared objects.
10722 deplibs_check_method=$lt_deplibs_check_method
10724 # Command to use when deplibs_check_method == file_magic.
10725 file_magic_cmd=$lt_file_magic_cmd
10727 # Flag that allows shared libraries with undefined symbols to be built.
10728 allow_undefined_flag=$lt_allow_undefined_flag
10730 # Flag that forces no undefined symbols.
10731 no_undefined_flag=$lt_no_undefined_flag
10733 # Commands used to finish a libtool library installation in a directory.
10734 finish_cmds=$lt_finish_cmds
10736 # Same as above, but a single script fragment to be evaled but not shown.
10737 finish_eval=$lt_finish_eval
10739 # Take the output of nm and produce a listing of raw symbols and C names.
10740 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10742 # Transform the output of nm in a proper C declaration
10743 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10745 # Transform the output of nm in a C name address pair
10746 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10748 # This is the shared library runtime path variable.
10749 runpath_var=$runpath_var
10751 # This is the shared library path variable.
10752 shlibpath_var=$shlibpath_var
10754 # Is shlibpath searched before the hard-coded library search path?
10755 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10757 # How to hardcode a shared library path into an executable.
10758 hardcode_action=$hardcode_action
10760 # Whether we should hardcode library paths into libraries.
10761 hardcode_into_libs=$hardcode_into_libs
10763 # Flag to hardcode \$libdir into a binary during linking.
10764 # This must work even if \$libdir does not exist.
10765 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10767 # If ld is used when linking, flag to hardcode \$libdir into
10768 # a binary during linking. This must work even if \$libdir does
10770 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10772 # Whether we need a single -rpath flag with a separated argument.
10773 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10775 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10776 # resulting binary.
10777 hardcode_direct=$hardcode_direct
10779 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10780 # resulting binary.
10781 hardcode_minus_L=$hardcode_minus_L
10783 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10784 # the resulting binary.
10785 hardcode_shlibpath_var=$hardcode_shlibpath_var
10787 # Set to yes if building a shared library automatically hardcodes DIR into the library
10788 # and all subsequent libraries and executables linked against it.
10789 hardcode_automatic=$hardcode_automatic
10791 # Variables whose values should be saved in libtool wrapper scripts and
10792 # restored at relink time.
10793 variables_saved_for_relink="$variables_saved_for_relink"
10795 # Whether libtool must link a program against all its dependency libraries.
10796 link_all_deplibs=$link_all_deplibs
10798 # Compile-time system search path for libraries
10799 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10801 # Run-time system search path for libraries
10802 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10804 # Fix the shell variable \$srcfile for the compiler.
10805 fix_srcfile_path="$fix_srcfile_path"
10807 # Set to yes if exported symbols are required.
10808 always_export_symbols=$always_export_symbols
10810 # The commands to list exported symbols.
10811 export_symbols_cmds=$lt_export_symbols_cmds
10813 # The commands to extract the exported symbol list from a shared archive.
10814 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10816 # Symbols that should not be listed in the preloaded symbols.
10817 exclude_expsyms=$lt_exclude_expsyms
10819 # Symbols that must always be exported.
10820 include_expsyms=$lt_include_expsyms
10822 # ### END LIBTOOL CONFIG
10829 cat <<\EOF >> "$cfgfile"
10831 # AIX sometimes has problems with the GCC collect2 program. For some
10832 # reason, if we set the COLLECT_NAMES environment variable, the problems
10833 # vanish in a puff of smoke.
10834 if test "X${COLLECT_NAMES+set}" != Xset; then
10836 export COLLECT_NAMES
10842 # We use sed instead of cat because bash on DJGPP gets confused if
10843 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10844 # text mode, it properly converts lines to CR/LF. This bash problem
10845 # is reportedly fixed, but why not run on old versions too?
10846 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10848 mv -f "$cfgfile" "$ofile" || \
10849 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10853 # If there is no Makefile yet, we rely on a make rule to execute
10854 # `config.status
--recheck' to rerun these tests and create the
10855 # libtool script then.
10856 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10857 if test -f "$ltmain_in"; then
10858 test -f Makefile && make "$ltmain"
10864 ac_cpp='$CXXCPP $CPPFLAGS'
10865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10866 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10872 # Check whether --with-tags was given.
10873 if test "${with_tags+set}" = set; then
10874 withval=$with_tags; tagnames="$withval"
10878 if test -f "$ltmain" && test -n "$tagnames"; then
10879 if test ! -f "${ofile}"; then
10880 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10881 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10884 if test -z "$LTCC"; then
10885 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10886 if test -z "$LTCC"; then
10887 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10888 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10890 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10891 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10894 if test -z "$LTCFLAGS"; then
10895 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10898 # Extract list of available tagged configurations in $ofile.
10899 # Note that this assumes the entire list is on one line.
10900 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10902 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10903 for tagname in $tagnames; do
10905 # Check whether tagname contains only valid characters
10906 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10908 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10909 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10910 { (exit 1); exit 1; }; }
10914 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10916 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10917 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10918 { (exit 1); exit 1; }; }
10921 # Update the list of available tags.
10922 if test -n "$tagname"; then
10923 echo appending configuration tag \"$tagname\" to $ofile
10927 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10928 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10929 (test "X$CXX" != "Xg++"))) ; then
10931 ac_cpp='$CXXCPP $CPPFLAGS'
10932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10939 archive_cmds_need_lc_CXX=no
10940 allow_undefined_flag_CXX=
10941 always_export_symbols_CXX=no
10942 archive_expsym_cmds_CXX=
10943 export_dynamic_flag_spec_CXX=
10944 hardcode_direct_CXX=no
10945 hardcode_libdir_flag_spec_CXX=
10946 hardcode_libdir_flag_spec_ld_CXX=
10947 hardcode_libdir_separator_CXX=
10948 hardcode_minus_L_CXX=no
10949 hardcode_shlibpath_var_CXX=unsupported
10950 hardcode_automatic_CXX=no
10952 module_expsym_cmds_CXX=
10953 link_all_deplibs_CXX=unknown
10954 old_archive_cmds_CXX=$old_archive_cmds
10955 no_undefined_flag_CXX=
10956 whole_archive_flag_spec_CXX=
10957 enable_shared_with_static_runtimes_CXX=no
10959 # Dependencies to place before and after the object being linked:
10960 predep_objects_CXX=
10961 postdep_objects_CXX=
10964 compiler_lib_search_path_CXX=
10966 # Source file extension for C++ test sources.
10969 # Object file extension for compiled C++ test sources.
10973 # Code to be used in simple compile tests
10974 lt_simple_compile_test_code="int some_variable = 0;\n"
10976 # Code to be used in simple link tests
10977 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10979 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10981 # If no C compiler was specified, use CC.
10984 # If no C compiler flags were specified, use CFLAGS.
10985 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10987 # Allow CC to be a program name with arguments.
10991 # save warnings/boilerplate of simple test code
10992 ac_outfile=conftest.$ac_objext
10993 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10994 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10995 _lt_compiler_boilerplate=`cat conftest.err
`
10998 ac_outfile=conftest.$ac_objext
10999 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11000 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11001 _lt_linker_boilerplate=`cat conftest.err
`
11005 # Allow CC to be a program name with arguments.
11010 lt_save_with_gnu_ld=$with_gnu_ld
11011 lt_save_path_LD=$lt_cv_path_LD
11012 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11013 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11015 $as_unset lt_cv_prog_gnu_ld
11017 if test -n "${lt_cv_path_LDCXX+set}"; then
11018 lt_cv_path_LD=$lt_cv_path_LDCXX
11020 $as_unset lt_cv_path_LD
11022 test -z "${LDCXX+set}" || LD=$LDCXX
11026 for cc_temp in $compiler""; do
11028 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11029 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11034 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11037 # We don't want -fno-exception wen compiling C++ code, so set the
11038 # no_builtin_flag separately
11039 if test "$GXX" = yes; then
11040 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11042 lt_prog_compiler_no_builtin_flag_CXX=
11045 if test "$GXX" = yes; then
11046 # Set up default GNU C++ configuration
11049 # Check whether --with-gnu-ld was given.
11050 if test "${with_gnu_ld+set}" = set; then
11051 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11057 if test "$GCC" = yes; then
11058 # Check if gcc -print-prog-name=ld gives a path.
11059 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11060 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11063 # gcc leaves a trailing carriage return which upsets mingw
11064 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11066 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11069 # Accept absolute paths.
11071 re_direlt='/[^/][^/]*/\.\./'
11072 # Canonicalize the pathname of ld
11073 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11074 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11075 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11077 test -z "$LD" && LD="$ac_prog"
11080 # If it fails, then pretend we aren't using GCC.
11084 # If it is relative, then search for the first ld in PATH.
11085 with_gnu_ld=unknown
11088 elif test "$with_gnu_ld" = yes; then
11089 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11090 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11092 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11093 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11095 if test "${lt_cv_path_LD+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 if test -z "$LD"; then
11099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11100 for ac_dir in $PATH; do
11102 test -z "$ac_dir" && ac_dir=.
11103 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11104 lt_cv_path_LD="$ac_dir/$ac_prog"
11105 # Check to see if the program is GNU ld. I'd rather use --version,
11106 # but apparently some variants of GNU ld only accept -v.
11107 # Break only if it was the GNU/non-GNU ld that we prefer.
11108 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11109 *GNU* | *'with BFD'*)
11110 test "$with_gnu_ld" != no && break
11113 test "$with_gnu_ld" != yes && break
11120 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11124 LD="$lt_cv_path_LD"
11125 if test -n "$LD"; then
11126 { echo "$as_me:$LINENO: result: $LD" >&5
11127 echo "${ECHO_T}$LD" >&6; }
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11132 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11133 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11134 { (exit 1); exit 1; }; }
11135 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11136 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11137 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11141 case `$LD -v 2>&1 </dev
/null
` in
11142 *GNU* | *'with BFD'*)
11143 lt_cv_prog_gnu_ld=yes
11146 lt_cv_prog_gnu_ld=no
11150 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11151 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11152 with_gnu_ld=$lt_cv_prog_gnu_ld
11156 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11157 # archiving commands below assume that GNU ld is being used.
11158 if test "$with_gnu_ld" = yes; then
11159 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11160 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'
11162 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11163 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11165 # If archive_cmds runs LD, not CC, wlarc should be empty
11166 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11167 # investigate it a little bit more. (MM)
11170 # ancient GNU ld didn't support --whole-archive et. al.
11171 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11172 grep 'no-whole-archive' > /dev/null; then
11173 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11175 whole_archive_flag_spec_CXX=
11181 # A generic and very simple default shared library creation
11182 # command for GNU C++ for the case where it uses the native
11183 # linker, instead of GNU ld. If possible, this setting should
11184 # overridden to take advantage of the native linker features on
11185 # the platform it is being used on.
11186 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11189 # Commands to make compiler produce verbose output that lists
11190 # what "hidden" libraries, object files and flags are used when
11191 # linking a shared library.
11192 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11200 # PORTME: fill in a description of your system's C++ link characteristics
11201 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11202 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11206 # FIXME: insert proper C++ library support
11210 if test "$host_cpu" = ia64; then
11211 # On IA64, the linker does run time linking by default, so we don't
11212 # have to do anything special.
11213 aix_use_runtimelinking=no
11214 exp_sym_flag='-Bexport'
11217 aix_use_runtimelinking=no
11219 # Test if we are trying to use run time linking or normal
11220 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11221 # need to do runtime linking.
11222 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11223 for ld_flag in $LDFLAGS; do
11226 aix_use_runtimelinking=yes
11234 exp_sym_flag='-bexport'
11235 no_entry_flag='-bnoentry'
11238 # When large executables or shared objects are built, AIX ld can
11239 # have problems creating the table of contents. If linking a library
11240 # or program results in "error TOC overflow" add -mminimal-toc to
11241 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11242 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11244 archive_cmds_CXX=''
11245 hardcode_direct_CXX=yes
11246 hardcode_libdir_separator_CXX=':'
11247 link_all_deplibs_CXX=yes
11249 if test "$GXX" = yes; then
11250 case $host_os in aix4.[012]|aix4.[012].*)
11251 # We only want to do this on AIX 4.2 and lower, the check
11252 # below for broken collect2 doesn't work under 4.3+
11253 collect2name=`${CC} -print-prog-name=collect2
`
11254 if test -f "$collect2name" && \
11255 strings "$collect2name" | grep resolve_lib_name >/dev/null
11257 # We have reworked collect2
11258 hardcode_direct_CXX=yes
11260 # We have old collect2
11261 hardcode_direct_CXX=unsupported
11262 # It fails to find uninstalled libraries when the uninstalled
11263 # path is not listed in the libpath. Setting hardcode_minus_L
11264 # to unsupported forces relinking
11265 hardcode_minus_L_CXX=yes
11266 hardcode_libdir_flag_spec_CXX='-L$libdir'
11267 hardcode_libdir_separator_CXX=
11271 shared_flag='-shared'
11272 if test "$aix_use_runtimelinking" = yes; then
11273 shared_flag="$shared_flag "'${wl}-G'
11277 if test "$host_cpu" = ia64; then
11278 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11279 # chokes on -Wl,-G. The following line is correct:
11282 if test "$aix_use_runtimelinking" = yes; then
11283 shared_flag='${wl}-G'
11285 shared_flag='${wl}-bM:SRE'
11290 # It seems that -bexpall does not export symbols beginning with
11291 # underscore (_), so it is better to generate a list of symbols to export.
11292 always_export_symbols_CXX=yes
11293 if test "$aix_use_runtimelinking" = yes; then
11294 # Warning - without using the other runtime loading flags (-brtl),
11295 # -berok will link without error, but may produce a broken library.
11296 allow_undefined_flag_CXX='-berok'
11297 # Determine the default libpath from the value encoded in an empty executable.
11298 cat >conftest.$ac_ext <<_ACEOF
11301 cat confdefs.h >>conftest.$ac_ext
11302 cat >>conftest.$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11313 rm -f conftest.$ac_objext conftest$ac_exeext
11314 if { (ac_try="$ac_link"
11315 case "(($ac_try" in
11316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11317 *) ac_try_echo
=$ac_try;;
11319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11320 (eval "$ac_link") 2>conftest.er1
11322 grep -v '^ *+' conftest.er1
>conftest.err
11324 cat conftest.err
>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11328 { (case "(($ac_try" in
11329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11330 *) ac_try_echo=$ac_try;;
11332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11333 (eval "$ac_try") 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; } &&
11337 { ac_try='test -s conftest$ac_exeext'
11338 { (case "(($ac_try" in
11339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11340 *) ac_try_echo
=$ac_try;;
11342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11343 (eval "$ac_try") 2>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11348 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11350 # Check for a 64-bit object if we didn't find anything.
11351 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.
$ac_ext >&5
11360 rm -f core conftest.err conftest.
$ac_objext \
11361 conftest
$ac_exeext conftest.
$ac_ext
11362 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11364 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11366 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"
11368 if test "$host_cpu" = ia64
; then
11369 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11370 allow_undefined_flag_CXX
="-z nodefs"
11371 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"
11373 # Determine the default libpath from the value encoded in an empty executable.
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11389 rm -f conftest.
$ac_objext conftest
$ac_exeext
11390 if { (ac_try
="$ac_link"
11391 case "(($ac_try" in
11392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11393 *) ac_try_echo=$ac_try;;
11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11396 (eval "$ac_link") 2>conftest.er1
11398 grep -v '^ *+' conftest.er1 >conftest.err
11400 cat conftest.err >&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); } &&
11403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11404 { (case "(($ac_try" in
11405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11406 *) ac_try_echo
=$ac_try;;
11408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11409 (eval "$ac_try") 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try
='test -s conftest$ac_exeext'
11414 { (case "(($ac_try" in
11415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11416 *) ac_try_echo=$ac_try;;
11418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11419 (eval "$ac_try") 2>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; }; then
11424 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11426 # Check for a 64-bit object if we didn't find anything.
11427 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11430 echo "$as_me: failed program was:" >&5
11431 sed 's/^/| /' conftest.$ac_ext >&5
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11440 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11441 # Warning - without using the other run time loading flags,
11442 # -berok will link without error, but may produce a broken library.
11443 no_undefined_flag_CXX=' ${wl}-bernotok'
11444 allow_undefined_flag_CXX=' ${wl}-berok'
11445 # Exported symbols can be pulled into shared objects from archives
11446 whole_archive_flag_spec_CXX='$convenience'
11447 archive_cmds_need_lc_CXX=yes
11448 # This is similar to how AIX traditionally builds its shared libraries.
11449 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'
11455 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11456 allow_undefined_flag_CXX=unsupported
11457 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11458 # support --undefined. This deserves some investigation. FIXME
11459 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11466 case $cc_basename in
11468 # FIXME: insert proper C++ library support
11474 cygwin* | mingw* | pw32*)
11475 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11476 # as there is no search path for DLLs.
11477 hardcode_libdir_flag_spec_CXX='-L$libdir'
11478 allow_undefined_flag_CXX=unsupported
11479 always_export_symbols_CXX=no
11480 enable_shared_with_static_runtimes_CXX=yes
11482 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11483 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'
11484 # If the export-symbols file already is a .def file (1st line
11485 # is EXPORTS), use it as is; otherwise, prepend...
11486 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11487 cp $export_symbols $output_objdir/$soname.def;
11489 echo EXPORTS > $output_objdir/$soname.def;
11490 cat $export_symbols >> $output_objdir/$soname.def;
11492 $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'
11497 darwin* | rhapsody*)
11499 rhapsody* | darwin1.[012])
11500 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11503 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11504 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11506 case ${MACOSX_DEPLOYMENT_TARGET} in
11508 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11511 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11517 archive_cmds_need_lc_CXX=no
11518 hardcode_direct_CXX=no
11519 hardcode_automatic_CXX=yes
11520 hardcode_shlibpath_var_CXX=unsupported
11521 whole_archive_flag_spec_CXX=''
11522 link_all_deplibs_CXX=yes
11524 if test "$GXX" = yes ; then
11525 lt_int_apple_cc_single_mod=no
11526 output_verbose_link_cmd='echo'
11527 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11528 lt_int_apple_cc_single_mod=yes
11530 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11531 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11533 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'
11535 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11536 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11537 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11538 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11540 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11542 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}'
11544 case $cc_basename in
11546 output_verbose_link_cmd='echo'
11547 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11548 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11549 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11550 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11551 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}'
11561 case $cc_basename in
11563 # FIXME: insert proper C++ library support
11567 # Green Hills C++ Compiler
11568 # FIXME: insert proper C++ library support
11572 # FIXME: insert proper C++ library support
11578 # C++ shared libraries reported to be fairly broken before switch to ELF
11582 archive_cmds_need_lc_CXX=no
11584 freebsd* | kfreebsd*-gnu | dragonfly*)
11585 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11593 hardcode_libdir_separator_CXX=:
11594 export_dynamic_flag_spec_CXX='${wl}-E'
11595 hardcode_direct_CXX=yes
11596 hardcode_minus_L_CXX=yes # Not in the search PATH,
11597 # but as the default
11598 # location of the library.
11600 case $cc_basename in
11602 # FIXME: insert proper C++ library support
11606 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'
11607 # Commands to make compiler produce verbose output that lists
11608 # what "hidden" libraries, object files and flags are used when
11609 # linking a shared library.
11611 # There doesn't appear to be a way to prevent this compiler from
11612 # explicitly linking system object files so we need to strip them
11613 # from the output so that they don't get included in the library
11615 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'
11618 if test "$GXX" = yes; then
11619 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'
11621 # FIXME: insert proper C++ library support
11628 if test $with_gnu_ld = no; then
11629 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11630 hardcode_libdir_separator_CXX=:
11634 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11637 export_dynamic_flag_spec_CXX='${wl}-E'
11643 hardcode_direct_CXX=no
11644 hardcode_shlibpath_var_CXX=no
11647 hardcode_direct_CXX=yes
11648 hardcode_minus_L_CXX=yes # Not in the search PATH,
11649 # but as the default
11650 # location of the library.
11654 case $cc_basename in
11656 # FIXME: insert proper C++ library support
11662 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11665 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11668 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11671 # Commands to make compiler produce verbose output that lists
11672 # what "hidden" libraries, object files and flags are used when
11673 # linking a shared library.
11675 # There doesn't appear to be a way to prevent this compiler from
11676 # explicitly linking system object files so we need to strip them
11677 # from the output so that they don't get included in the library
11679 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'
11682 if test "$GXX" = yes; then
11683 if test $with_gnu_ld = no; then
11686 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11689 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11692 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'
11697 # FIXME: insert proper C++ library support
11704 hardcode_direct_CXX=no
11705 hardcode_shlibpath_var_CXX=no
11706 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11707 export_dynamic_flag_spec_CXX='${wl}-E'
11708 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11709 # Instead, shared libraries are loaded at an image base (0x10000000 by
11710 # default) and relocated if they conflict, which is a slow very memory
11711 # consuming and fragmenting process. To avoid this, we pick a random,
11712 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11713 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11714 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'
11715 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'
11718 case $cc_basename in
11721 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'
11723 # Archives containing C++ object files must be created using
11724 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11725 # necessary to make sure instantiated templates are included
11727 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11730 if test "$GXX" = yes; then
11731 if test "$with_gnu_ld" = no; then
11732 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'
11734 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'
11737 link_all_deplibs_CXX=yes
11740 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11741 hardcode_libdir_separator_CXX=:
11744 case $cc_basename in
11746 # Kuck and Associates, Inc. (KAI) C++ Compiler
11748 # KCC will only create a shared library if the output file
11749 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11750 # to its proper name (with version) after linking.
11751 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'
11752 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'
11753 # Commands to make compiler produce verbose output that lists
11754 # what "hidden" libraries, object files and flags are used when
11755 # linking a shared library.
11757 # There doesn't appear to be a way to prevent this compiler from
11758 # explicitly linking system object files so we need to strip them
11759 # from the output so that they don't get included in the library
11761 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'
11763 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11764 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11766 # Archives containing C++ object files must be created using
11767 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11768 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11773 # version 8.0 and above of icpc choke on multiply defined symbols
11774 # if we add $predep_objects and $postdep_objects, however 7.1 and
11775 # earlier do not add the objects themselves.
11776 case `$CC -V 2>&1` in
11778 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11779 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'
11781 *) # Version 8.0 or newer
11784 ia64
*) tmp_idyn
=' -i_dynamic';;
11786 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11787 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'
11790 archive_cmds_need_lc_CXX
=no
11791 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11792 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11793 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11796 # Portland Group C++ compiler
11797 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11798 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'
11800 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11801 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11802 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'
11806 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11807 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'
11809 runpath_var
=LD_RUN_PATH
11810 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11811 hardcode_libdir_separator_CXX
=:
11813 # Commands to make compiler produce verbose output that lists
11814 # what "hidden" libraries, object files and flags are used when
11815 # linking a shared library.
11817 # There doesn't appear to be a way to prevent this compiler from
11818 # explicitly linking system object files so we need to strip them
11819 # from the output so that they don't get included in the library
11821 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'
11826 # FIXME: insert proper C++ library support
11830 # FIXME: insert proper C++ library support
11834 case $cc_basename in
11836 # FIXME: insert proper C++ library support
11840 # FIXME: insert proper C++ library support
11846 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11847 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11849 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11850 hardcode_direct_CXX
=yes
11851 hardcode_shlibpath_var_CXX
=no
11853 # Workaround some broken pre-1.5 toolchains
11854 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11857 # C++ shared libraries are fairly broken
11861 hardcode_direct_CXX
=yes
11862 hardcode_shlibpath_var_CXX
=no
11863 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11864 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11865 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11866 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11867 export_dynamic_flag_spec_CXX
='${wl}-E'
11868 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11870 output_verbose_link_cmd
='echo'
11873 case $cc_basename in
11875 # Kuck and Associates, Inc. (KAI) C++ Compiler
11877 # KCC will only create a shared library if the output file
11878 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11879 # to its proper name (with version) after linking.
11880 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'
11882 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11883 hardcode_libdir_separator_CXX
=:
11885 # Archives containing C++ object files must be created using
11886 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11887 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11891 # Rational C++ 2.4.1
11892 # FIXME: insert proper C++ library support
11896 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11897 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'
11899 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11900 hardcode_libdir_separator_CXX
=:
11902 # Commands to make compiler produce verbose output that lists
11903 # what "hidden" libraries, object files and flags are used when
11904 # linking a shared library.
11906 # There doesn't appear to be a way to prevent this compiler from
11907 # explicitly linking system object files so we need to strip them
11908 # from the output so that they don't get included in the library
11910 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'
11913 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11914 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11915 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'
11917 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11918 hardcode_libdir_separator_CXX
=:
11920 # Commands to make compiler produce verbose output that lists
11921 # what "hidden" libraries, object files and flags are used when
11922 # linking a shared library.
11923 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11926 # FIXME: insert proper C++ library support
11933 case $cc_basename in
11935 # Kuck and Associates, Inc. (KAI) C++ Compiler
11937 # KCC will only create a shared library if the output file
11938 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11939 # to its proper name (with version) after linking.
11940 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'
11942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11943 hardcode_libdir_separator_CXX
=:
11945 # Archives containing C++ object files must be created using
11946 # the KAI C++ compiler.
11947 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11950 # Rational C++ 2.4.1
11951 # FIXME: insert proper C++ library support
11955 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11956 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'
11957 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11958 echo "-hidden">> $lib.exp~
11959 $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~
11962 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11963 hardcode_libdir_separator_CXX
=:
11965 # Commands to make compiler produce verbose output that lists
11966 # what "hidden" libraries, object files and flags are used when
11967 # linking a shared library.
11969 # There doesn't appear to be a way to prevent this compiler from
11970 # explicitly linking system object files so we need to strip them
11971 # from the output so that they don't get included in the library
11973 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'
11976 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11977 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11978 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'
11980 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11981 hardcode_libdir_separator_CXX
=:
11983 # Commands to make compiler produce verbose output that lists
11984 # what "hidden" libraries, object files and flags are used when
11985 # linking a shared library.
11986 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11989 # FIXME: insert proper C++ library support
11996 # FIXME: insert proper C++ library support
12000 case $cc_basename in
12003 # FIXME: insert proper C++ library support
12008 # FIXME: insert proper C++ library support
12012 # FIXME: insert proper C++ library support
12018 case $cc_basename in
12020 # Sun C++ 4.2, 5.x and Centerline C++
12021 archive_cmds_need_lc_CXX
=yes
12022 no_undefined_flag_CXX
=' -zdefs'
12023 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12024 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12025 $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'
12027 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12028 hardcode_shlibpath_var_CXX
=no
12030 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12032 # The C++ compiler is used as linker so we must use $wl
12033 # flag to pass the commands to the underlying system
12034 # linker. We must also pass each convience library through
12035 # to the system linker between allextract/defaultextract.
12036 # The C++ compiler will combine linker options so we
12037 # cannot just pass the convience library names through
12039 # Supported since Solaris 2.6 (maybe 2.5.1?)
12040 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12043 link_all_deplibs_CXX
=yes
12045 output_verbose_link_cmd
='echo'
12047 # Archives containing C++ object files must be created using
12048 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12049 # necessary to make sure instantiated templates are included
12051 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12054 # Green Hills C++ Compiler
12055 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12057 # The C++ compiler must be used to create the archive.
12058 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12061 # GNU C++ compiler with Solaris linker
12062 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12063 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12064 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12065 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12066 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12067 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12069 # Commands to make compiler produce verbose output that lists
12070 # what "hidden" libraries, object files and flags are used when
12071 # linking a shared library.
12072 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12074 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12076 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12077 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12078 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12080 # Commands to make compiler produce verbose output that lists
12081 # what "hidden" libraries, object files and flags are used when
12082 # linking a shared library.
12083 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12086 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12091 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12092 no_undefined_flag_CXX
='${wl}-z,text'
12093 archive_cmds_need_lc_CXX
=no
12094 hardcode_shlibpath_var_CXX
=no
12095 runpath_var
='LD_RUN_PATH'
12097 case $cc_basename in
12099 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12100 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12103 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12108 sysv5
* | sco3.2v5
* | sco5v6
*)
12109 # Note: We can NOT use -z defs as we might desire, because we do not
12110 # link with -lc, and that would cause any symbols used from libc to
12111 # always be unresolved, which means just about no library would
12112 # ever link correctly. If we're not using GNU ld we use -z text
12113 # though, which does catch some bad symbols but isn't as heavy-handed
12115 # For security reasons, it is highly recommended that you always
12116 # use absolute paths for naming shared libraries, and exclude the
12117 # DT_RUNPATH tag from executables and libraries. But doing so
12118 # requires that you compile everything twice, which is a pain.
12119 # So that behaviour is only enabled if SCOABSPATH is set to a
12120 # non-empty value in the environment. Most likely only useful for
12121 # creating official distributions of packages.
12122 # This is a hack until libtool officially supports absolute path
12123 # names for shared libraries.
12124 no_undefined_flag_CXX
='${wl}-z,text'
12125 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12126 archive_cmds_need_lc_CXX
=no
12127 hardcode_shlibpath_var_CXX
=no
12128 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12129 hardcode_libdir_separator_CXX
=':'
12130 link_all_deplibs_CXX
=yes
12131 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12132 runpath_var
='LD_RUN_PATH'
12134 case $cc_basename in
12136 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12137 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12140 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12141 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12146 case $cc_basename in
12148 # NonStop-UX NCC 3.20
12149 # FIXME: insert proper C++ library support
12153 # FIXME: insert proper C++ library support
12159 # FIXME: insert proper C++ library support
12163 # FIXME: insert proper C++ library support
12167 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12168 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12169 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12175 cat > conftest.
$ac_ext <<EOF
12179 Foo (void) { a = 0; }
12185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12186 (eval $ac_compile) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; then
12190 # Parse the compiler output and extract the necessary
12191 # objects, libraries and library flags.
12193 # Sentinel used to keep track of whether or not we are before
12194 # the conftest object file.
12195 pre_test_object_deps_done
=no
12197 # The `*' in the case matches for architectures that use `case' in
12198 # $output_verbose_cmd can trigger glob expansion during the loop
12199 # eval without this substitution.
12200 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12202 for p
in `eval $output_verbose_link_cmd`; do
12206 # Some compilers place space between "-{L,R}" and the path.
12207 # Remove the space.
12208 if test $p = "-L" \
12209 ||
test $p = "-R"; then
12216 if test "$pre_test_object_deps_done" = no
; then
12219 # Internal compiler library paths should come after those
12220 # provided the user. The postdeps already come after the
12221 # user supplied libs so there is no need to process them.
12222 if test -z "$compiler_lib_search_path_CXX"; then
12223 compiler_lib_search_path_CXX
="${prev}${p}"
12225 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12228 # The "-l" case would never come before the object being
12229 # linked, so don't bother handling this case.
12232 if test -z "$postdeps_CXX"; then
12233 postdeps_CXX
="${prev}${p}"
12235 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12241 # This assumes that the test object file only shows up
12242 # once in the compiler output.
12243 if test "$p" = "conftest.$objext"; then
12244 pre_test_object_deps_done
=yes
12248 if test "$pre_test_object_deps_done" = no
; then
12249 if test -z "$predep_objects_CXX"; then
12250 predep_objects_CXX
="$p"
12252 predep_objects_CXX
="$predep_objects_CXX $p"
12255 if test -z "$postdep_objects_CXX"; then
12256 postdep_objects_CXX
="$p"
12258 postdep_objects_CXX
="$postdep_objects_CXX $p"
12263 *) ;; # Ignore the rest.
12271 echo "libtool.m4: error: problem compiling CXX test program"
12274 $rm -f confest.
$objext
12276 # PORTME: override above test on systems where it is broken
12279 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12280 # hack all around it, let's just trust "g++" to DTRT.
12281 predep_objects_CXX
=
12282 postdep_objects_CXX
=
12287 case $cc_basename in
12289 # Adding this requires a known-good setup of shared libraries for
12290 # Sun compiler versions before 5.6, else PIC objects from an old
12291 # archive will be linked into the output, leading to subtle bugs.
12292 postdeps_CXX
='-lCstd -lCrun'
12299 case " $postdeps_CXX " in
12300 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12303 lt_prog_compiler_wl_CXX
=
12304 lt_prog_compiler_pic_CXX
=
12305 lt_prog_compiler_static_CXX
=
12307 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12308 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12310 # C++ specific cases for pic, static, wl, etc.
12311 if test "$GXX" = yes; then
12312 lt_prog_compiler_wl_CXX
='-Wl,'
12313 lt_prog_compiler_static_CXX
='-static'
12317 # All AIX code is PIC.
12318 if test "$host_cpu" = ia64
; then
12319 # AIX 5 now supports IA64 processor
12320 lt_prog_compiler_static_CXX
='-Bstatic'
12324 # FIXME: we need at least 68020 code to build shared libraries, but
12325 # adding the `-m68020' flag to GCC prevents building anything better,
12327 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12329 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12330 # PIC is the default for these OSes.
12332 mingw
* | os2
* | pw32
*)
12333 # This hack is so that the source file can tell whether it is being
12334 # built for inclusion in a dll (and should export symbols for example).
12335 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12337 darwin
* | rhapsody
*)
12338 # PIC is the default on this platform
12339 # Common symbols not allowed in MH_DYLIB files
12340 lt_prog_compiler_pic_CXX
='-fno-common'
12343 # DJGPP does not support shared libraries at all
12344 lt_prog_compiler_pic_CXX
=
12347 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12348 # Instead, we relocate shared libraries at runtime.
12351 if test -d /usr
/nec
; then
12352 lt_prog_compiler_pic_CXX
=-Kconform_pic
12356 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12357 # not for PA HP-UX.
12362 lt_prog_compiler_pic_CXX
='-fPIC'
12367 lt_prog_compiler_pic_CXX
='-fPIC'
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64
; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX
='-Bstatic'
12378 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12382 case $cc_basename in
12384 # Green Hills C++ Compiler
12385 # _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"
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12394 lt_prog_compiler_pic_CXX
='-qnocommon'
12395 lt_prog_compiler_wl_CXX
='-Wl,'
12400 case $cc_basename in
12402 lt_prog_compiler_pic_CXX
='-KPIC'
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX
='-pic'
12412 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12413 # FreeBSD uses GNU C++
12415 hpux9
* | hpux10
* | hpux11
*)
12416 case $cc_basename in
12418 lt_prog_compiler_wl_CXX
='-Wl,'
12419 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64
; then
12421 lt_prog_compiler_pic_CXX
='+Z'
12425 lt_prog_compiler_wl_CXX
='-Wl,'
12426 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12432 lt_prog_compiler_pic_CXX
='+Z'
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12444 irix5
* | irix6
* | nonstopux
*)
12445 case $cc_basename in
12447 lt_prog_compiler_wl_CXX
='-Wl,'
12448 lt_prog_compiler_static_CXX
='-non_shared'
12449 # CC pic flag -KPIC is the default.
12456 case $cc_basename in
12459 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX
='-fPIC'
12464 lt_prog_compiler_wl_CXX
='-Wl,'
12465 lt_prog_compiler_pic_CXX
='-KPIC'
12466 lt_prog_compiler_static_CXX
='-static'
12469 # Portland Group C++ compiler.
12470 lt_prog_compiler_wl_CXX
='-Wl,'
12471 lt_prog_compiler_pic_CXX
='-fpic'
12472 lt_prog_compiler_static_CXX
='-Bstatic'
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX
=
12479 lt_prog_compiler_static_CXX
='-non_shared'
12490 case $cc_basename in
12492 lt_prog_compiler_pic_CXX
='-W c,exportall'
12500 osf3
* | osf4
* | osf5
*)
12501 case $cc_basename in
12503 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12506 # Rational C++ 2.4.1
12507 lt_prog_compiler_pic_CXX
='-pic'
12510 # Digital/Compaq C++
12511 lt_prog_compiler_wl_CXX
='-Wl,'
12512 # Make sure the PIC flag is empty. It appears that all Alpha
12513 # Linux and Compaq Tru64 Unix objects are PIC.
12514 lt_prog_compiler_pic_CXX
=
12515 lt_prog_compiler_static_CXX
='-non_shared'
12524 case $cc_basename in
12526 # Sun C++ 4.2, 5.x and Centerline C++
12527 lt_prog_compiler_pic_CXX
='-KPIC'
12528 lt_prog_compiler_static_CXX
='-Bstatic'
12529 lt_prog_compiler_wl_CXX
='-Qoption ld '
12532 # Green Hills C++ Compiler
12533 lt_prog_compiler_pic_CXX
='-PIC'
12540 case $cc_basename in
12543 lt_prog_compiler_pic_CXX
='-pic'
12544 lt_prog_compiler_static_CXX
='-Bstatic'
12548 lt_prog_compiler_pic_CXX
='-pic'
12555 case $cc_basename in
12557 # NonStop-UX NCC 3.20
12558 lt_prog_compiler_pic_CXX
='-KPIC'
12564 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12565 case $cc_basename in
12567 lt_prog_compiler_wl_CXX
='-Wl,'
12568 lt_prog_compiler_pic_CXX
='-KPIC'
12569 lt_prog_compiler_static_CXX
='-Bstatic'
12576 lt_prog_compiler_can_build_shared_CXX
=no
12581 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12582 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12585 # Check to make sure the PIC flag actually works.
12587 if test -n "$lt_prog_compiler_pic_CXX"; then
12589 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12590 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12591 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 lt_prog_compiler_pic_works_CXX
=no
12595 ac_outfile
=conftest.
$ac_objext
12596 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12597 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12598 # Insert the option either (1) after the last *FLAGS variable, or
12599 # (2) before a word containing "conftest.", or (3) at the end.
12600 # Note that $ac_compile itself does not contain backslashes and begins
12601 # with a dollar sign (not a hyphen), so the echo should work correctly.
12602 # The option is referenced via a variable to avoid confusing sed.
12603 lt_compile
=`echo "$ac_compile" | $SED \
12604 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12605 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12606 -e 's:$: $lt_compiler_flag:'`
12607 (eval echo "\"\$as_me:12607: $lt_compile\"" >&5)
12608 (eval "$lt_compile" 2>conftest.err
)
12610 cat conftest.err
>&5
12611 echo "$as_me:12611: \$? = $ac_status" >&5
12612 if (exit $ac_status) && test -s "$ac_outfile"; then
12613 # The compiler can only warn and ignore the option if not recognized
12614 # So say no if there are warnings other than the usual output.
12615 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12616 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12617 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12618 lt_prog_compiler_pic_works_CXX
=yes
12624 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12625 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12627 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12628 case $lt_prog_compiler_pic_CXX in
12630 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12633 lt_prog_compiler_pic_CXX
=
12634 lt_prog_compiler_can_build_shared_CXX
=no
12639 # For platforms which do not support PIC, -DPIC is meaningless:
12641 lt_prog_compiler_pic_CXX
=
12644 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12649 # Check to make sure the static flag actually works.
12651 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12652 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12653 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12654 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12655 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 lt_prog_compiler_static_works_CXX
=no
12658 save_LDFLAGS
="$LDFLAGS"
12659 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12660 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12661 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12662 # The linker can only warn and ignore the option if not recognized
12663 # So say no if there are warnings
12664 if test -s conftest.err
; then
12665 # Append any errors to the config.log.
12666 cat conftest.err
1>&5
12667 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12668 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12669 if diff conftest.exp conftest.er2
>/dev
/null
; then
12670 lt_prog_compiler_static_works_CXX
=yes
12673 lt_prog_compiler_static_works_CXX
=yes
12677 LDFLAGS
="$save_LDFLAGS"
12680 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12681 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12683 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12686 lt_prog_compiler_static_CXX
=
12690 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12691 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12692 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 lt_cv_prog_compiler_c_o_CXX
=no
12696 $rm -r conftest
2>/dev
/null
12700 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12702 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12703 # Insert the option either (1) after the last *FLAGS variable, or
12704 # (2) before a word containing "conftest.", or (3) at the end.
12705 # Note that $ac_compile itself does not contain backslashes and begins
12706 # with a dollar sign (not a hyphen), so the echo should work correctly.
12707 lt_compile
=`echo "$ac_compile" | $SED \
12708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12710 -e 's:$: $lt_compiler_flag:'`
12711 (eval echo "\"\$as_me:12711: $lt_compile\"" >&5)
12712 (eval "$lt_compile" 2>out
/conftest.err
)
12714 cat out
/conftest.err
>&5
12715 echo "$as_me:12715: \$? = $ac_status" >&5
12716 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12718 # The compiler can only warn and ignore the option if not recognized
12719 # So say no if there are warnings
12720 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12721 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12722 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12723 lt_cv_prog_compiler_c_o_CXX
=yes
12728 # SGI C++ compiler will create directory out/ii_files/ for
12729 # template instantiation
12730 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12731 $rm out
/* && rmdir out
12737 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12738 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12741 hard_links
="nottested"
12742 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12743 # do not overwrite the value of need_locks provided by the user
12744 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12745 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12748 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12750 ln conftest.a conftest.b
2>&5 || hard_links
=no
12751 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12752 { echo "$as_me:$LINENO: result: $hard_links" >&5
12753 echo "${ECHO_T}$hard_links" >&6; }
12754 if test "$hard_links" = no
; then
12755 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12756 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12763 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12764 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12766 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12769 # If we're using GNU nm, then we don't want the "-C" option.
12770 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12771 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12772 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'
12774 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'
12778 export_symbols_cmds_CXX
="$ltdll_cmds"
12781 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'
12784 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12788 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12789 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12790 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12793 # Do we need to explicitly link libc?
12795 case "x$archive_cmds_need_lc_CXX" in
12797 # Assume -lc should be added
12798 archive_cmds_need_lc_CXX
=yes
12800 if test "$enable_shared" = yes && test "$GCC" = yes; then
12801 case $archive_cmds_CXX in
12803 # FIXME: we may have to deal with multi-command sequences.
12806 # Test whether the compiler implicitly links with -lc since on some
12807 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12808 # to ld, don't add -lc before -lgcc.
12809 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12810 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12812 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12815 (eval $ac_compile) 2>&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } 2>conftest.err
; then
12821 libobjs
=conftest.
$ac_objext
12823 wl
=$lt_prog_compiler_wl_CXX
12824 pic_flag
=$lt_prog_compiler_pic_CXX
12830 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12831 allow_undefined_flag_CXX
=
12832 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12833 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }
12838 archive_cmds_need_lc_CXX
=no
12840 archive_cmds_need_lc_CXX
=yes
12842 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12844 cat conftest.err
1>&5
12847 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12848 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12855 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12856 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12857 library_names_spec
=
12858 libname_spec
='lib$name'
12862 postuninstall_cmds
=
12866 shlibpath_overrides_runpath
=unknown
12868 dynamic_linker
="$host_os ld.so"
12869 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12870 if test "$GCC" = yes; then
12871 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12872 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12873 # if the path contains ";" then we assume it to be the separator
12874 # otherwise default to the standard path separator (i.e. ":") - it is
12875 # assumed that no part of a normal pathname contains ";" but that should
12876 # okay in the real world where ";" in dirpaths is itself problematic.
12877 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12879 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12882 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12884 need_lib_prefix
=unknown
12885 hardcode_into_libs
=no
12887 # when you set need_version to no, make sure it does not cause -set_version
12888 # flags to be left without arguments
12889 need_version
=unknown
12894 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12895 shlibpath_var
=LIBPATH
12897 # AIX 3 has no versioning support, so we append a major version to the name.
12898 soname_spec
='${libname}${release}${shared_ext}$major'
12905 hardcode_into_libs
=yes
12906 if test "$host_cpu" = ia64
; then
12907 # AIX 5 supports IA64
12908 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12909 shlibpath_var
=LD_LIBRARY_PATH
12911 # With GCC up to 2.95.x, collect2 would create an import file
12912 # for dependence libraries. The import file would start with
12913 # the line `#! .'. This would cause the generated library to
12914 # depend on `.', always an invalid library. This was fixed in
12915 # development snapshots of GCC prior to 3.0.
12917 aix4 | aix4.
[01] | aix4.
[01].
*)
12918 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12920 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12923 can_build_shared
=no
12927 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12928 # soname into executable. Probably we can add versioning support to
12929 # collect2, so additional links can be useful in future.
12930 if test "$aix_use_runtimelinking" = yes; then
12931 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12932 # instead of lib<name>.a to let people know that these are not
12933 # typical AIX shared libraries.
12934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12936 # We preserve .a as extension for shared libraries through AIX4.2
12937 # and later when we are not doing run time linking.
12938 library_names_spec
='${libname}${release}.a $libname.a'
12939 soname_spec
='${libname}${release}${shared_ext}$major'
12941 shlibpath_var
=LIBPATH
12946 library_names_spec
='$libname.ixlibrary $libname.a'
12947 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12948 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'
12952 library_names_spec
='${libname}${shared_ext}'
12953 dynamic_linker
="$host_os ld.so"
12954 shlibpath_var
=LIBRARY_PATH
12960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12961 soname_spec
='${libname}${release}${shared_ext}$major'
12962 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12963 shlibpath_var
=LD_LIBRARY_PATH
12964 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12965 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12966 # the default ld.so.conf also contains /usr/contrib/lib and
12967 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12968 # libtool to hard-code these into programs
12971 cygwin
* | mingw
* | pw32
*)
12972 version_type
=windows
12977 case $GCC,$host_os in
12978 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12979 library_names_spec
='$libname.dll.a'
12980 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12981 postinstall_cmds
='base_file=`basename \${file}`~
12982 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12983 dldir=$destdir/`dirname \$dlpath`~
12984 test -d \$dldir || mkdir -p \$dldir~
12985 $install_prog $dir/$dlname \$dldir/$dlname~
12986 chmod a+x \$dldir/$dlname'
12987 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12988 dlpath=$dir/\$dldll~
12990 shlibpath_overrides_runpath
=yes
12994 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12995 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12996 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12999 # MinGW DLLs use traditional 'lib' prefix
13000 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13001 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13002 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13003 # It is most probably a Windows format PATH printed by
13004 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13005 # path with ; separators, and with drive letters. We can handle the
13006 # drive letters (cygwin fileutils understands them), so leave them,
13007 # especially as we might pass files found there to a mingw objdump,
13008 # which wouldn't understand a cygwinified path. Ahh.
13009 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13011 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13015 # pw32 DLLs use 'pw' prefix rather than 'lib'
13016 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13022 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13025 dynamic_linker
='Win32 ld.exe'
13026 # FIXME: first we should search . and the directory the executable is in
13030 darwin
* | rhapsody
*)
13031 dynamic_linker
="$host_os dyld"
13032 version_type
=darwin
13035 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13036 soname_spec
='${libname}${release}${major}$shared_ext'
13037 shlibpath_overrides_runpath
=yes
13038 shlibpath_var
=DYLD_LIBRARY_PATH
13039 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13040 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13041 if test "$GCC" = yes; then
13042 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13044 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13046 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13054 soname_spec
='${libname}${release}${shared_ext}$major'
13055 shlibpath_var
=LD_LIBRARY_PATH
13066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13067 soname_spec
='${libname}${release}${shared_ext}$major'
13068 shlibpath_var
=LD_LIBRARY_PATH
13069 shlibpath_overrides_runpath
=no
13070 hardcode_into_libs
=yes
13071 dynamic_linker
='GNU ld.so'
13074 freebsd
* | dragonfly
*)
13075 # DragonFly does not have aout. When/if they implement a new
13076 # versioning mechanism, adjust this.
13077 if test -x /usr
/bin
/objformat
; then
13078 objformat
=`/usr/bin/objformat`
13081 freebsd
[123]*) objformat
=aout
;;
13082 *) objformat
=elf
;;
13085 version_type
=freebsd-
$objformat
13086 case $version_type in
13088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13093 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13097 shlibpath_var
=LD_LIBRARY_PATH
13100 shlibpath_overrides_runpath
=yes
13102 freebsd3.
[01]* | freebsdelf3.
[01]*)
13103 shlibpath_overrides_runpath
=yes
13104 hardcode_into_libs
=yes
13106 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13107 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13108 shlibpath_overrides_runpath
=no
13109 hardcode_into_libs
=yes
13111 freebsd
*) # from 4.6 on
13112 shlibpath_overrides_runpath
=yes
13113 hardcode_into_libs
=yes
13122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13123 soname_spec
='${libname}${release}${shared_ext}$major'
13124 shlibpath_var
=LD_LIBRARY_PATH
13125 hardcode_into_libs
=yes
13128 hpux9
* | hpux10
* | hpux11
*)
13129 # Give a soname corresponding to the major version so that dld.sl refuses to
13130 # link against other versions.
13137 hardcode_into_libs
=yes
13138 dynamic_linker
="$host_os dld.so"
13139 shlibpath_var
=LD_LIBRARY_PATH
13140 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13142 soname_spec
='${libname}${release}${shared_ext}$major'
13143 if test "X$HPUX_IA64_MODE" = X32
; then
13144 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13146 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13152 hardcode_into_libs
=yes
13153 dynamic_linker
="$host_os dld.sl"
13154 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13155 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13157 soname_spec
='${libname}${release}${shared_ext}$major'
13158 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13159 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13163 dynamic_linker
="$host_os dld.sl"
13164 shlibpath_var
=SHLIB_PATH
13165 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13167 soname_spec
='${libname}${release}${shared_ext}$major'
13170 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13171 postinstall_cmds
='chmod 555 $lib'
13178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13179 soname_spec
='${libname}${release}${shared_ext}$major'
13180 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13181 shlibpath_var
=LD_LIBRARY_PATH
13182 shlibpath_overrides_runpath
=no
13183 hardcode_into_libs
=yes
13186 irix5
* | irix6
* | nonstopux
*)
13188 nonstopux
*) version_type
=nonstopux
;;
13190 if test "$lt_cv_prog_gnu_ld" = yes; then
13198 soname_spec
='${libname}${release}${shared_ext}$major'
13199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13201 irix5
* | nonstopux
*)
13202 libsuff
= shlibsuff
=
13205 case $LD in # libtool.m4 will add one of these switches to LD
13206 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13207 libsuff
= shlibsuff
= libmagic
=32-bit;;
13208 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13209 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13210 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13211 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13212 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13216 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13217 shlibpath_overrides_runpath
=no
13218 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13219 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13220 hardcode_into_libs
=yes
13223 # No shared lib support for Linux oldld, aout, or coff.
13224 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13228 # This must be Linux ELF.
13233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13234 soname_spec
='${libname}${release}${shared_ext}$major'
13235 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13236 shlibpath_var
=LD_LIBRARY_PATH
13237 shlibpath_overrides_runpath
=no
13238 # This implies no fast_install, which is unacceptable.
13239 # Some rework will be needed to allow for fast_install
13240 # before this can be enabled.
13241 hardcode_into_libs
=yes
13243 # Append ld.so.conf contents to the search path
13244 if test -f /etc
/ld.so.conf
; then
13245 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13246 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13249 # We used to test for /lib/ld.so.1 and disable shared libraries on
13250 # powerpc, because MkLinux only supported shared libraries with the
13251 # GNU dynamic linker. Since this was broken with cross compilers,
13252 # most powerpc-linux boxes support dynamic linking these days and
13253 # people can always --disable-shared, the test was removed, and we
13254 # assume the GNU/Linux dynamic linker is in use.
13255 dynamic_linker
='GNU/Linux ld.so'
13262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13263 soname_spec
='${libname}${release}${shared_ext}$major'
13264 shlibpath_var
=LD_LIBRARY_PATH
13265 shlibpath_overrides_runpath
=no
13266 hardcode_into_libs
=yes
13267 dynamic_linker
='GNU ld.so'
13274 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13277 dynamic_linker
='NetBSD (a.out) ld.so'
13279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13280 soname_spec
='${libname}${release}${shared_ext}$major'
13281 dynamic_linker
='NetBSD ld.elf_so'
13283 shlibpath_var
=LD_LIBRARY_PATH
13284 shlibpath_overrides_runpath
=yes
13285 hardcode_into_libs
=yes
13290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13291 shlibpath_var
=LD_LIBRARY_PATH
13292 shlibpath_overrides_runpath
=yes
13299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13300 soname_spec
='${libname}${release}${shared_ext}$major'
13301 shlibpath_var
=LD_LIBRARY_PATH
13302 shlibpath_overrides_runpath
=yes
13307 sys_lib_dlsearch_path_spec
="/usr/lib"
13309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13311 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13312 *) need_version
=no
;;
13314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13316 shlibpath_var
=LD_LIBRARY_PATH
13317 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13319 openbsd2.
[89] | openbsd2.
[89].
*)
13320 shlibpath_overrides_runpath
=no
13323 shlibpath_overrides_runpath
=yes
13327 shlibpath_overrides_runpath
=yes
13332 libname_spec
='$name'
13335 library_names_spec
='$libname${shared_ext} $libname.a'
13336 dynamic_linker
='OS/2 ld.exe'
13337 shlibpath_var
=LIBPATH
13340 osf3
* | osf4
* | osf5
*)
13344 soname_spec
='${libname}${release}${shared_ext}$major'
13345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13346 shlibpath_var
=LD_LIBRARY_PATH
13347 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13348 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13356 soname_spec
='${libname}${release}${shared_ext}$major'
13357 shlibpath_var
=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath
=yes
13359 hardcode_into_libs
=yes
13360 # ldd complains unless libraries are executable
13361 postinstall_cmds
='chmod +x $lib'
13366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13367 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13368 shlibpath_var
=LD_LIBRARY_PATH
13369 shlibpath_overrides_runpath
=yes
13370 if test "$with_gnu_ld" = yes; then
13378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13379 soname_spec
='${libname}${release}${shared_ext}$major'
13380 shlibpath_var
=LD_LIBRARY_PATH
13381 case $host_vendor in
13383 shlibpath_overrides_runpath
=no
13385 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13386 runpath_var
=LD_RUN_PATH
13394 shlibpath_overrides_runpath
=no
13395 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13401 if test -d /usr
/nec
;then
13403 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13404 soname_spec
='$libname${shared_ext}.$major'
13405 shlibpath_var
=LD_LIBRARY_PATH
13409 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13410 version_type
=freebsd-elf
13413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13414 soname_spec
='${libname}${release}${shared_ext}$major'
13415 shlibpath_var
=LD_LIBRARY_PATH
13416 hardcode_into_libs
=yes
13417 if test "$with_gnu_ld" = yes; then
13418 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13419 shlibpath_overrides_runpath
=no
13421 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13422 shlibpath_overrides_runpath
=yes
13425 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13429 sys_lib_dlsearch_path_spec
='/usr/lib'
13434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13435 soname_spec
='${libname}${release}${shared_ext}$major'
13436 shlibpath_var
=LD_LIBRARY_PATH
13443 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13444 echo "${ECHO_T}$dynamic_linker" >&6; }
13445 test "$dynamic_linker" = no
&& can_build_shared
=no
13447 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13448 if test "$GCC" = yes; then
13449 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13452 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13453 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13454 hardcode_action_CXX
=
13455 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13456 test -n "$runpath_var_CXX" || \
13457 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13459 # We can hardcode non-existant directories.
13460 if test "$hardcode_direct_CXX" != no
&&
13461 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13462 # have to relink, otherwise we might link with an installed library
13463 # when we should be linking with a yet-to-be-installed one
13464 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13465 test "$hardcode_minus_L_CXX" != no
; then
13466 # Linking always hardcodes the temporary library directory.
13467 hardcode_action_CXX
=relink
13469 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13470 hardcode_action_CXX
=immediate
13473 # We cannot hardcode anything, or else we can only hardcode existing
13475 hardcode_action_CXX
=unsupported
13477 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13478 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13480 if test "$hardcode_action_CXX" = relink
; then
13481 # Fast installation is not supported
13482 enable_fast_install
=no
13483 elif test "$shlibpath_overrides_runpath" = yes ||
13484 test "$enable_shared" = no
; then
13485 # Fast installation is not necessary
13486 enable_fast_install
=needless
13490 # The else clause should only fire when bootstrapping the
13491 # libtool distribution, otherwise you forgot to ship ltmain.sh
13492 # with your package, and you will get complaints that there are
13493 # no rules to generate ltmain.sh.
13494 if test -f "$ltmain"; then
13495 # See if we are running on zsh, and set the options which allow our commands through
13496 # without removal of \ escapes.
13497 if test -n "${ZSH_VERSION+set}" ; then
13498 setopt NO_GLOB_SUBST
13500 # Now quote all the things that may contain metacharacters while being
13501 # careful not to overquote the AC_SUBSTed values. We take copies of the
13502 # variables and quote the copies for generation of the libtool script.
13503 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13505 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13506 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13507 deplibs_check_method reload_flag reload_cmds need_locks \
13508 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13509 lt_cv_sys_global_symbol_to_c_name_address \
13510 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13511 old_postinstall_cmds old_postuninstall_cmds \
13515 lt_prog_compiler_wl_CXX \
13516 lt_prog_compiler_pic_CXX \
13517 lt_prog_compiler_static_CXX \
13518 lt_prog_compiler_no_builtin_flag_CXX \
13519 export_dynamic_flag_spec_CXX \
13520 thread_safe_flag_spec_CXX \
13521 whole_archive_flag_spec_CXX \
13522 enable_shared_with_static_runtimes_CXX \
13523 old_archive_cmds_CXX \
13524 old_archive_from_new_cmds_CXX \
13525 predep_objects_CXX \
13526 postdep_objects_CXX \
13529 compiler_lib_search_path_CXX \
13531 archive_expsym_cmds_CXX \
13532 postinstall_cmds_CXX \
13533 postuninstall_cmds_CXX \
13534 old_archive_from_expsyms_cmds_CXX \
13535 allow_undefined_flag_CXX \
13536 no_undefined_flag_CXX \
13537 export_symbols_cmds_CXX \
13538 hardcode_libdir_flag_spec_CXX \
13539 hardcode_libdir_flag_spec_ld_CXX \
13540 hardcode_libdir_separator_CXX \
13541 hardcode_automatic_CXX \
13543 module_expsym_cmds_CXX \
13544 lt_cv_prog_compiler_c_o_CXX \
13545 exclude_expsyms_CXX \
13546 include_expsyms_CXX
; do
13549 old_archive_cmds_CXX | \
13550 old_archive_from_new_cmds_CXX | \
13551 archive_cmds_CXX | \
13552 archive_expsym_cmds_CXX | \
13553 module_cmds_CXX | \
13554 module_expsym_cmds_CXX | \
13555 old_archive_from_expsyms_cmds_CXX | \
13556 export_symbols_cmds_CXX | \
13557 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13558 postinstall_cmds | postuninstall_cmds | \
13559 old_postinstall_cmds | old_postuninstall_cmds | \
13560 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13561 # Double-quote double-evaled strings.
13562 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13565 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13571 *'\$0 --fallback-echo"')
13572 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13578 cat <<__EOF__ >> "$cfgfile"
13579 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13581 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13583 # Shell to use when invoking shell scripts.
13586 # Whether or not to build shared libraries.
13587 build_libtool_libs=$enable_shared
13589 # Whether or not to build static libraries.
13590 build_old_libs=$enable_static
13592 # Whether or not to add -lc for building shared libraries.
13593 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13595 # Whether or not to disallow shared libs when runtime libs are static
13596 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13598 # Whether or not to optimize for fast installation.
13599 fast_install=$enable_fast_install
13602 host_alias=$host_alias
13606 # The build system.
13607 build_alias=$build_alias
13611 # An echo program that does not interpret backslashes.
13616 AR_FLAGS=$lt_AR_FLAGS
13621 # LTCC compiler flags.
13622 LTCFLAGS=$lt_LTCFLAGS
13624 # A language-specific compiler.
13625 CC=$lt_compiler_CXX
13627 # Is the compiler the GNU C compiler?
13633 # The linker used to build libraries.
13636 # Whether we need hard or soft links.
13639 # A BSD-compatible nm program.
13642 # A symbol stripping program
13645 # Used to examine libraries when file_magic_cmd begins "file"
13646 MAGIC_CMD=$MAGIC_CMD
13648 # Used on cygwin: DLL creation program.
13651 # Used on cygwin: object dumper.
13654 # Used on cygwin: assembler.
13657 # The name of the directory that contains temporary libtool files.
13660 # How to create reloadable object files.
13661 reload_flag=$lt_reload_flag
13662 reload_cmds=$lt_reload_cmds
13664 # How to pass a linker flag through the compiler.
13665 wl=$lt_lt_prog_compiler_wl_CXX
13667 # Object file suffix (normally "o").
13668 objext="$ac_objext"
13670 # Old archive suffix (normally "a").
13673 # Shared library suffix (normally ".so").
13674 shrext_cmds='$shrext_cmds'
13676 # Executable file suffix (normally "").
13679 # Additional compiler flags for building library objects.
13680 pic_flag=$lt_lt_prog_compiler_pic_CXX
13683 # What is the maximum length of a command?
13684 max_cmd_len=$lt_cv_sys_max_cmd_len
13686 # Does compiler simultaneously support -c and -o options?
13687 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13689 # Must we lock files when doing compilation?
13690 need_locks=$lt_need_locks
13692 # Do we need the lib prefix for modules?
13693 need_lib_prefix=$need_lib_prefix
13695 # Do we need a version for libraries?
13696 need_version=$need_version
13698 # Whether dlopen is supported.
13699 dlopen_support=$enable_dlopen
13701 # Whether dlopen of programs is supported.
13702 dlopen_self=$enable_dlopen_self
13704 # Whether dlopen of statically linked programs is supported.
13705 dlopen_self_static=$enable_dlopen_self_static
13707 # Compiler flag to prevent dynamic linking.
13708 link_static_flag=$lt_lt_prog_compiler_static_CXX
13710 # Compiler flag to turn off builtin functions.
13711 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13713 # Compiler flag to allow reflexive dlopens.
13714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13716 # Compiler flag to generate shared objects directly from archives.
13717 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13719 # Compiler flag to generate thread-safe objects.
13720 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13722 # Library versioning type.
13723 version_type=$version_type
13725 # Format of library name prefix.
13726 libname_spec=$lt_libname_spec
13728 # List of archive names. First name is the real one, the rest are links.
13729 # The last name is the one that the linker finds with -lNAME.
13730 library_names_spec=$lt_library_names_spec
13732 # The coded name of the library, if different from the real name.
13733 soname_spec=$lt_soname_spec
13735 # Commands used to build and install an old-style archive.
13737 old_archive_cmds=$lt_old_archive_cmds_CXX
13738 old_postinstall_cmds=$lt_old_postinstall_cmds
13739 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13741 # Create an old-style archive from a shared archive.
13742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13744 # Create a temporary old-style archive to link instead of a shared archive.
13745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13747 # Commands used to build and install a shared archive.
13748 archive_cmds=$lt_archive_cmds_CXX
13749 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13750 postinstall_cmds=$lt_postinstall_cmds
13751 postuninstall_cmds=$lt_postuninstall_cmds
13753 # Commands used to build a loadable module (assumed same as above if empty)
13754 module_cmds=$lt_module_cmds_CXX
13755 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13757 # Commands to strip libraries.
13758 old_striplib=$lt_old_striplib
13759 striplib=$lt_striplib
13761 # Dependencies to place before the objects being linked to create a
13763 predep_objects=$lt_predep_objects_CXX
13765 # Dependencies to place after the objects being linked to create a
13767 postdep_objects=$lt_postdep_objects_CXX
13769 # Dependencies to place before the objects being linked to create a
13771 predeps=$lt_predeps_CXX
13773 # Dependencies to place after the objects being linked to create a
13775 postdeps=$lt_postdeps_CXX
13777 # The library search path used internally by the compiler when linking
13778 # a shared library.
13779 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13781 # Method to check whether dependent libraries are shared objects.
13782 deplibs_check_method=$lt_deplibs_check_method
13784 # Command to use when deplibs_check_method == file_magic.
13785 file_magic_cmd=$lt_file_magic_cmd
13787 # Flag that allows shared libraries with undefined symbols to be built.
13788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13790 # Flag that forces no undefined symbols.
13791 no_undefined_flag=$lt_no_undefined_flag_CXX
13793 # Commands used to finish a libtool library installation in a directory.
13794 finish_cmds=$lt_finish_cmds
13796 # Same as above, but a single script fragment to be evaled but not shown.
13797 finish_eval=$lt_finish_eval
13799 # Take the output of nm and produce a listing of raw symbols and C names.
13800 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13802 # Transform the output of nm in a proper C declaration
13803 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13805 # Transform the output of nm in a C name address pair
13806 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13808 # This is the shared library runtime path variable.
13809 runpath_var=$runpath_var
13811 # This is the shared library path variable.
13812 shlibpath_var=$shlibpath_var
13814 # Is shlibpath searched before the hard-coded library search path?
13815 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13817 # How to hardcode a shared library path into an executable.
13818 hardcode_action=$hardcode_action_CXX
13820 # Whether we should hardcode library paths into libraries.
13821 hardcode_into_libs=$hardcode_into_libs
13823 # Flag to hardcode \$libdir into a binary during linking.
13824 # This must work even if \$libdir does not exist.
13825 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13827 # If ld is used when linking, flag to hardcode \$libdir into
13828 # a binary during linking. This must work even if \$libdir does
13830 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13832 # Whether we need a single -rpath flag with a separated argument.
13833 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13835 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13836 # resulting binary.
13837 hardcode_direct=$hardcode_direct_CXX
13839 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13840 # resulting binary.
13841 hardcode_minus_L=$hardcode_minus_L_CXX
13843 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13844 # the resulting binary.
13845 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13847 # Set to yes if building a shared library automatically hardcodes DIR into the library
13848 # and all subsequent libraries and executables linked against it.
13849 hardcode_automatic=$hardcode_automatic_CXX
13851 # Variables whose values should be saved in libtool wrapper scripts and
13852 # restored at relink time.
13853 variables_saved_for_relink="$variables_saved_for_relink"
13855 # Whether libtool must link a program against all its dependency libraries.
13856 link_all_deplibs=$link_all_deplibs_CXX
13858 # Compile-time system search path for libraries
13859 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13861 # Run-time system search path for libraries
13862 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13864 # Fix the shell variable \$srcfile for the compiler.
13865 fix_srcfile_path="$fix_srcfile_path_CXX"
13867 # Set to yes if exported symbols are required.
13868 always_export_symbols=$always_export_symbols_CXX
13870 # The commands to list exported symbols.
13871 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13873 # The commands to extract the exported symbol list from a shared archive.
13874 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13876 # Symbols that should not be listed in the preloaded symbols.
13877 exclude_expsyms=$lt_exclude_expsyms_CXX
13879 # Symbols that must always be exported.
13880 include_expsyms=$lt_include_expsyms_CXX
13882 # ### END LIBTOOL TAG CONFIG: $tagname
13888 # If there is no Makefile yet, we rely on a make rule to execute
13889 # `config.status --recheck' to rerun these tests and create the
13890 # libtool script then.
13891 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13892 if test -f "$ltmain_in"; then
13893 test -f Makefile
&& make "$ltmain"
13899 ac_cpp
='$CXXCPP $CPPFLAGS'
13900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13908 with_gnu_ldcxx
=$with_gnu_ld
13909 with_gnu_ld
=$lt_save_with_gnu_ld
13910 lt_cv_path_LDCXX
=$lt_cv_path_LD
13911 lt_cv_path_LD
=$lt_save_path_LD
13912 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13913 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13921 if test -n "$F77" && test "X$F77" != "Xno"; then
13924 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13925 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13926 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13929 archive_cmds_need_lc_F77
=no
13930 allow_undefined_flag_F77
=
13931 always_export_symbols_F77
=no
13932 archive_expsym_cmds_F77
=
13933 export_dynamic_flag_spec_F77
=
13934 hardcode_direct_F77
=no
13935 hardcode_libdir_flag_spec_F77
=
13936 hardcode_libdir_flag_spec_ld_F77
=
13937 hardcode_libdir_separator_F77
=
13938 hardcode_minus_L_F77
=no
13939 hardcode_automatic_F77
=no
13941 module_expsym_cmds_F77
=
13942 link_all_deplibs_F77
=unknown
13943 old_archive_cmds_F77
=$old_archive_cmds
13944 no_undefined_flag_F77
=
13945 whole_archive_flag_spec_F77
=
13946 enable_shared_with_static_runtimes_F77
=no
13948 # Source file extension for f77 test sources.
13951 # Object file extension for compiled f77 test sources.
13955 # Code to be used in simple compile tests
13956 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13958 # Code to be used in simple link tests
13959 lt_simple_link_test_code
=" program t\n end\n"
13961 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13963 # If no C compiler was specified, use CC.
13966 # If no C compiler flags were specified, use CFLAGS.
13967 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13969 # Allow CC to be a program name with arguments.
13973 # save warnings/boilerplate of simple test code
13974 ac_outfile
=conftest.
$ac_objext
13975 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13976 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13977 _lt_compiler_boilerplate
=`cat conftest.err`
13980 ac_outfile
=conftest.
$ac_objext
13981 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13982 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13983 _lt_linker_boilerplate
=`cat conftest.err`
13987 # Allow CC to be a program name with arguments.
13992 for cc_temp
in $compiler""; do
13994 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13995 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14000 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14003 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14004 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14005 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14006 echo "${ECHO_T}$can_build_shared" >&6; }
14008 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14009 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14010 test "$can_build_shared" = "no" && enable_shared
=no
14012 # On AIX, shared libraries and static libraries use the same namespace, and
14013 # are all built from PIC.
14016 test "$enable_shared" = yes && enable_static
=no
14017 if test -n "$RANLIB"; then
14018 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14019 postinstall_cmds
='$RANLIB $lib'
14023 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14024 test "$enable_shared" = yes && enable_static
=no
14028 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14029 echo "${ECHO_T}$enable_shared" >&6; }
14031 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14032 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14033 # Make sure either enable_shared or enable_static is yes.
14034 test "$enable_shared" = yes || enable_static
=yes
14035 { echo "$as_me:$LINENO: result: $enable_static" >&5
14036 echo "${ECHO_T}$enable_static" >&6; }
14041 lt_prog_compiler_wl_F77
=
14042 lt_prog_compiler_pic_F77
=
14043 lt_prog_compiler_static_F77
=
14045 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14046 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14048 if test "$GCC" = yes; then
14049 lt_prog_compiler_wl_F77
='-Wl,'
14050 lt_prog_compiler_static_F77
='-static'
14054 # All AIX code is PIC.
14055 if test "$host_cpu" = ia64
; then
14056 # AIX 5 now supports IA64 processor
14057 lt_prog_compiler_static_F77
='-Bstatic'
14062 # FIXME: we need at least 68020 code to build shared libraries, but
14063 # adding the `-m68020' flag to GCC prevents building anything better,
14065 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14068 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14069 # PIC is the default for these OSes.
14072 mingw
* | pw32
* | os2
*)
14073 # This hack is so that the source file can tell whether it is being
14074 # built for inclusion in a dll (and should export symbols for example).
14075 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14078 darwin
* | rhapsody
*)
14079 # PIC is the default on this platform
14080 # Common symbols not allowed in MH_DYLIB files
14081 lt_prog_compiler_pic_F77
='-fno-common'
14085 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14086 # Instead, we relocate shared libraries at runtime.
14090 # Just because we use GCC doesn't mean we suddenly get shared libraries
14091 # on systems that don't support them.
14092 lt_prog_compiler_can_build_shared_F77
=no
14097 if test -d /usr
/nec
; then
14098 lt_prog_compiler_pic_F77
=-Kconform_pic
14103 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14104 # not for PA HP-UX.
14110 lt_prog_compiler_pic_F77
='-fPIC'
14116 lt_prog_compiler_pic_F77
='-fPIC'
14120 # PORTME Check for flag to pass linker flags through the system compiler.
14123 lt_prog_compiler_wl_F77
='-Wl,'
14124 if test "$host_cpu" = ia64
; then
14125 # AIX 5 now supports IA64 processor
14126 lt_prog_compiler_static_F77
='-Bstatic'
14128 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14132 # PIC is the default on this platform
14133 # Common symbols not allowed in MH_DYLIB files
14134 case $cc_basename in
14136 lt_prog_compiler_pic_F77
='-qnocommon'
14137 lt_prog_compiler_wl_F77
='-Wl,'
14142 mingw
* | pw32
* | os2
*)
14143 # This hack is so that the source file can tell whether it is being
14144 # built for inclusion in a dll (and should export symbols for example).
14145 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14148 hpux9
* | hpux10
* | hpux11
*)
14149 lt_prog_compiler_wl_F77
='-Wl,'
14150 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14151 # not for PA HP-UX.
14157 lt_prog_compiler_pic_F77
='+Z'
14160 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14161 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14164 irix5
* | irix6
* | nonstopux
*)
14165 lt_prog_compiler_wl_F77
='-Wl,'
14166 # PIC (with -KPIC) is the default.
14167 lt_prog_compiler_static_F77
='-non_shared'
14171 lt_prog_compiler_pic_F77
='-KPIC'
14172 lt_prog_compiler_static_F77
='-Bstatic'
14176 case $cc_basename in
14178 lt_prog_compiler_wl_F77
='-Wl,'
14179 lt_prog_compiler_pic_F77
='-KPIC'
14180 lt_prog_compiler_static_F77
='-static'
14182 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14183 # Portland Group compilers (*not* the Pentium gcc compiler,
14184 # which looks to be a dead project)
14185 lt_prog_compiler_wl_F77
='-Wl,'
14186 lt_prog_compiler_pic_F77
='-fpic'
14187 lt_prog_compiler_static_F77
='-Bstatic'
14190 lt_prog_compiler_wl_F77
='-Wl,'
14191 # All Alpha code is PIC.
14192 lt_prog_compiler_static_F77
='-non_shared'
14197 osf3
* | osf4
* | osf5
*)
14198 lt_prog_compiler_wl_F77
='-Wl,'
14199 # All OSF/1 code is PIC.
14200 lt_prog_compiler_static_F77
='-non_shared'
14204 lt_prog_compiler_pic_F77
='-KPIC'
14205 lt_prog_compiler_static_F77
='-Bstatic'
14206 case $cc_basename in
14207 f77
* | f90
* | f95
*)
14208 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14210 lt_prog_compiler_wl_F77
='-Wl,';;
14215 lt_prog_compiler_wl_F77
='-Qoption ld '
14216 lt_prog_compiler_pic_F77
='-PIC'
14217 lt_prog_compiler_static_F77
='-Bstatic'
14220 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14221 lt_prog_compiler_wl_F77
='-Wl,'
14222 lt_prog_compiler_pic_F77
='-KPIC'
14223 lt_prog_compiler_static_F77
='-Bstatic'
14227 if test -d /usr
/nec
;then
14228 lt_prog_compiler_pic_F77
='-Kconform_pic'
14229 lt_prog_compiler_static_F77
='-Bstatic'
14233 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14234 lt_prog_compiler_wl_F77
='-Wl,'
14235 lt_prog_compiler_pic_F77
='-KPIC'
14236 lt_prog_compiler_static_F77
='-Bstatic'
14240 lt_prog_compiler_wl_F77
='-Wl,'
14241 lt_prog_compiler_can_build_shared_F77
=no
14245 lt_prog_compiler_pic_F77
='-pic'
14246 lt_prog_compiler_static_F77
='-Bstatic'
14250 lt_prog_compiler_can_build_shared_F77
=no
14255 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14256 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14259 # Check to make sure the PIC flag actually works.
14261 if test -n "$lt_prog_compiler_pic_F77"; then
14263 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14264 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14265 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 lt_prog_compiler_pic_works_F77
=no
14269 ac_outfile
=conftest.
$ac_objext
14270 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14271 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14272 # Insert the option either (1) after the last *FLAGS variable, or
14273 # (2) before a word containing "conftest.", or (3) at the end.
14274 # Note that $ac_compile itself does not contain backslashes and begins
14275 # with a dollar sign (not a hyphen), so the echo should work correctly.
14276 # The option is referenced via a variable to avoid confusing sed.
14277 lt_compile
=`echo "$ac_compile" | $SED \
14278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14280 -e 's:$: $lt_compiler_flag:'`
14281 (eval echo "\"\$as_me:14281: $lt_compile\"" >&5)
14282 (eval "$lt_compile" 2>conftest.err
)
14284 cat conftest.err
>&5
14285 echo "$as_me:14285: \$? = $ac_status" >&5
14286 if (exit $ac_status) && test -s "$ac_outfile"; then
14287 # The compiler can only warn and ignore the option if not recognized
14288 # So say no if there are warnings other than the usual output.
14289 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14290 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14291 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14292 lt_prog_compiler_pic_works_F77
=yes
14298 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14299 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14301 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14302 case $lt_prog_compiler_pic_F77 in
14304 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14307 lt_prog_compiler_pic_F77
=
14308 lt_prog_compiler_can_build_shared_F77
=no
14313 # For platforms which do not support PIC, -DPIC is meaningless:
14315 lt_prog_compiler_pic_F77
=
14318 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14323 # Check to make sure the static flag actually works.
14325 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14326 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14327 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14328 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14329 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 lt_prog_compiler_static_works_F77
=no
14332 save_LDFLAGS
="$LDFLAGS"
14333 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14334 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14335 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14336 # The linker can only warn and ignore the option if not recognized
14337 # So say no if there are warnings
14338 if test -s conftest.err
; then
14339 # Append any errors to the config.log.
14340 cat conftest.err
1>&5
14341 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14342 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14343 if diff conftest.exp conftest.er2
>/dev
/null
; then
14344 lt_prog_compiler_static_works_F77
=yes
14347 lt_prog_compiler_static_works_F77
=yes
14351 LDFLAGS
="$save_LDFLAGS"
14354 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14355 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14357 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14360 lt_prog_compiler_static_F77
=
14364 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14365 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14366 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 lt_cv_prog_compiler_c_o_F77
=no
14370 $rm -r conftest
2>/dev
/null
14374 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14376 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14377 # Insert the option either (1) after the last *FLAGS variable, or
14378 # (2) before a word containing "conftest.", or (3) at the end.
14379 # Note that $ac_compile itself does not contain backslashes and begins
14380 # with a dollar sign (not a hyphen), so the echo should work correctly.
14381 lt_compile
=`echo "$ac_compile" | $SED \
14382 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14383 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14384 -e 's:$: $lt_compiler_flag:'`
14385 (eval echo "\"\$as_me:14385: $lt_compile\"" >&5)
14386 (eval "$lt_compile" 2>out
/conftest.err
)
14388 cat out
/conftest.err
>&5
14389 echo "$as_me:14389: \$? = $ac_status" >&5
14390 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14392 # The compiler can only warn and ignore the option if not recognized
14393 # So say no if there are warnings
14394 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14395 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14396 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14397 lt_cv_prog_compiler_c_o_F77
=yes
14402 # SGI C++ compiler will create directory out/ii_files/ for
14403 # template instantiation
14404 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14405 $rm out
/* && rmdir out
14411 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14412 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14415 hard_links
="nottested"
14416 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14417 # do not overwrite the value of need_locks provided by the user
14418 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14419 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14422 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14424 ln conftest.a conftest.b
2>&5 || hard_links
=no
14425 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14426 { echo "$as_me:$LINENO: result: $hard_links" >&5
14427 echo "${ECHO_T}$hard_links" >&6; }
14428 if test "$hard_links" = no
; then
14429 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14430 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14437 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14441 allow_undefined_flag_F77
=
14442 enable_shared_with_static_runtimes_F77
=no
14444 archive_expsym_cmds_F77
=
14445 old_archive_From_new_cmds_F77
=
14446 old_archive_from_expsyms_cmds_F77
=
14447 export_dynamic_flag_spec_F77
=
14448 whole_archive_flag_spec_F77
=
14449 thread_safe_flag_spec_F77
=
14450 hardcode_libdir_flag_spec_F77
=
14451 hardcode_libdir_flag_spec_ld_F77
=
14452 hardcode_libdir_separator_F77
=
14453 hardcode_direct_F77
=no
14454 hardcode_minus_L_F77
=no
14455 hardcode_shlibpath_var_F77
=unsupported
14456 link_all_deplibs_F77
=unknown
14457 hardcode_automatic_F77
=no
14459 module_expsym_cmds_F77
=
14460 always_export_symbols_F77
=no
14461 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14462 # include_expsyms should be a list of space-separated symbols to be *always*
14463 # included in the symbol list
14464 include_expsyms_F77
=
14465 # exclude_expsyms can be an extended regexp of symbols to exclude
14466 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14467 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14468 # as well as any symbol that contains `d'.
14469 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14470 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14471 # platforms (ab)use it in PIC code, but their linkers get confused if
14472 # the symbol is explicitly referenced. Since portable code cannot
14473 # rely on this symbol name, it's probably fine to never include it in
14474 # preloaded symbol tables.
14475 extract_expsyms_cmds
=
14476 # Just being paranoid about ensuring that cc_basename is set.
14477 for cc_temp
in $compiler""; do
14479 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14480 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14485 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14488 cygwin
* | mingw
* | pw32
*)
14489 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14490 # When not using gcc, we currently assume that we are using
14491 # Microsoft Visual C++.
14492 if test "$GCC" != yes; then
14497 # we just hope/assume this is gcc and not c89 (= MSVC++)
14506 if test "$with_gnu_ld" = yes; then
14507 # If archive_cmds runs LD, not CC, wlarc should be empty
14510 # Set some defaults for GNU ld with shared library support. These
14511 # are reset later if shared libraries are not supported. Putting them
14512 # here allows them to be overridden if necessary.
14513 runpath_var
=LD_RUN_PATH
14514 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14515 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14516 # ancient GNU ld didn't support --whole-archive et. al.
14517 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14518 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14520 whole_archive_flag_spec_F77
=
14522 supports_anon_versioning
=no
14523 case `$LD -v 2>/dev/null` in
14524 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14525 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14526 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14527 *\
2.11.
*) ;; # other 2.11 versions
14528 *) supports_anon_versioning
=yes ;;
14531 # See if GNU ld supports shared libraries.
14533 aix3
* | aix4
* | aix5
*)
14534 # On AIX/PPC, the GNU linker is very broken
14535 if test "$host_cpu" != ia64
; then
14539 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14540 *** to be unable to reliably create shared libraries on AIX.
14541 *** Therefore, libtool is disabling shared libraries support. If you
14542 *** really care for shared libraries, you may want to modify your PATH
14543 *** so that a non-GNU linker is found, and then restart.
14550 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)'
14551 hardcode_libdir_flag_spec_F77
='-L$libdir'
14552 hardcode_minus_L_F77
=yes
14554 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14555 # that the semantics of dynamic libraries on AmigaOS, at least up
14556 # to version 4, is to share data among multiple programs linked
14557 # with the same dynamic library. Since this doesn't match the
14558 # behavior of shared libraries on other platforms, we can't use
14564 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14565 allow_undefined_flag_F77
=unsupported
14566 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14567 # support --undefined. This deserves some investigation. FIXME
14568 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14574 cygwin
* | mingw
* | pw32
*)
14575 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14576 # as there is no search path for DLLs.
14577 hardcode_libdir_flag_spec_F77
='-L$libdir'
14578 allow_undefined_flag_F77
=unsupported
14579 always_export_symbols_F77
=no
14580 enable_shared_with_static_runtimes_F77
=yes
14581 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14583 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14584 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14585 # If the export-symbols file already is a .def file (1st line
14586 # is EXPORTS), use it as is; otherwise, prepend...
14587 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14588 cp $export_symbols $output_objdir/$soname.def;
14590 echo EXPORTS > $output_objdir/$soname.def;
14591 cat $export_symbols >> $output_objdir/$soname.def;
14593 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14600 hardcode_direct_F77
=no
14601 hardcode_shlibpath_var_F77
=no
14602 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14603 export_dynamic_flag_spec_F77
='${wl}-E'
14604 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14605 # Instead, shared libraries are loaded at an image base (0x10000000 by
14606 # default) and relocated if they conflict, which is a slow very memory
14607 # consuming and fragmenting process. To avoid this, we pick a random,
14608 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14609 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14610 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'
14611 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'
14615 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14617 case $cc_basename,$host_cpu in
14618 pgcc
*) # Portland Group C compiler
14619 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'
14620 tmp_addflag
=' $pic_flag'
14622 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14623 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'
14624 tmp_addflag
=' $pic_flag -Mnomain' ;;
14625 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14626 tmp_addflag
=' -i_dynamic' ;;
14627 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14628 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14629 ifc
* | ifort
*) # Intel Fortran compiler
14630 tmp_addflag
=' -nofor_main' ;;
14632 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14634 if test $supports_anon_versioning = yes; then
14635 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14637 $echo "local: *; };" >> $output_objdir/$libname.ver~
14638 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14646 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14647 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14650 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14651 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14656 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14660 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14661 *** create shared libraries on Solaris systems. Therefore, libtool
14662 *** is disabling shared libraries support. We urge you to upgrade GNU
14663 *** binutils to release 2.9.1 or newer. Another option is to modify
14664 *** your PATH or compiler configuration so that the native linker is
14665 *** used, and then restart.
14668 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14669 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14670 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14676 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14677 case `$LD -v 2>&1` in
14678 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14682 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14683 *** reliably create shared libraries on SCO systems. Therefore, libtool
14684 *** is disabling shared libraries support. We urge you to upgrade GNU
14685 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14686 *** your PATH or compiler configuration so that the native linker is
14687 *** used, and then restart.
14692 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14693 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14694 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14695 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14704 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14706 hardcode_direct_F77
=yes
14707 hardcode_shlibpath_var_F77
=no
14711 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14712 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14713 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14720 if test "$ld_shlibs_F77" = no
; then
14722 hardcode_libdir_flag_spec_F77
=
14723 export_dynamic_flag_spec_F77
=
14724 whole_archive_flag_spec_F77
=
14727 # PORTME fill in a description of your system's linker (not GNU ld)
14730 allow_undefined_flag_F77
=unsupported
14731 always_export_symbols_F77
=yes
14732 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'
14733 # Note: this linker hardcodes the directories in LIBPATH if there
14734 # are no directories specified by -L.
14735 hardcode_minus_L_F77
=yes
14736 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14737 # Neither direct hardcoding nor static linking is supported with a
14739 hardcode_direct_F77
=unsupported
14744 if test "$host_cpu" = ia64
; then
14745 # On IA64, the linker does run time linking by default, so we don't
14746 # have to do anything special.
14747 aix_use_runtimelinking
=no
14748 exp_sym_flag
='-Bexport'
14751 # If we're using GNU nm, then we don't want the "-C" option.
14752 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14753 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14754 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'
14756 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'
14758 aix_use_runtimelinking
=no
14760 # Test if we are trying to use run time linking or normal
14761 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14762 # need to do runtime linking.
14763 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14764 for ld_flag
in $LDFLAGS; do
14765 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14766 aix_use_runtimelinking
=yes
14773 exp_sym_flag
='-bexport'
14774 no_entry_flag
='-bnoentry'
14777 # When large executables or shared objects are built, AIX ld can
14778 # have problems creating the table of contents. If linking a library
14779 # or program results in "error TOC overflow" add -mminimal-toc to
14780 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14781 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14783 archive_cmds_F77
=''
14784 hardcode_direct_F77
=yes
14785 hardcode_libdir_separator_F77
=':'
14786 link_all_deplibs_F77
=yes
14788 if test "$GCC" = yes; then
14789 case $host_os in aix4.
[012]|aix4.
[012].
*)
14790 # We only want to do this on AIX 4.2 and lower, the check
14791 # below for broken collect2 doesn't work under 4.3+
14792 collect2name
=`${CC} -print-prog-name=collect2`
14793 if test -f "$collect2name" && \
14794 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14796 # We have reworked collect2
14797 hardcode_direct_F77
=yes
14799 # We have old collect2
14800 hardcode_direct_F77
=unsupported
14801 # It fails to find uninstalled libraries when the uninstalled
14802 # path is not listed in the libpath. Setting hardcode_minus_L
14803 # to unsupported forces relinking
14804 hardcode_minus_L_F77
=yes
14805 hardcode_libdir_flag_spec_F77
='-L$libdir'
14806 hardcode_libdir_separator_F77
=
14810 shared_flag
='-shared'
14811 if test "$aix_use_runtimelinking" = yes; then
14812 shared_flag
="$shared_flag "'${wl}-G'
14816 if test "$host_cpu" = ia64
; then
14817 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14818 # chokes on -Wl,-G. The following line is correct:
14821 if test "$aix_use_runtimelinking" = yes; then
14822 shared_flag
='${wl}-G'
14824 shared_flag
='${wl}-bM:SRE'
14829 # It seems that -bexpall does not export symbols beginning with
14830 # underscore (_), so it is better to generate a list of symbols to export.
14831 always_export_symbols_F77
=yes
14832 if test "$aix_use_runtimelinking" = yes; then
14833 # Warning - without using the other runtime loading flags (-brtl),
14834 # -berok will link without error, but may produce a broken library.
14835 allow_undefined_flag_F77
='-berok'
14836 # Determine the default libpath from the value encoded in an empty executable.
14837 cat >conftest.
$ac_ext <<_ACEOF
14842 rm -f conftest.
$ac_objext conftest
$ac_exeext
14843 if { (ac_try
="$ac_link"
14844 case "(($ac_try" in
14845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14846 *) ac_try_echo=$ac_try;;
14848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14849 (eval "$ac_link") 2>conftest.er1
14851 grep -v '^ *+' conftest.er1 >conftest.err
14853 cat conftest.err >&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); } &&
14856 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14857 { (case "(($ac_try" in
14858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14859 *) ac_try_echo
=$ac_try;;
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_try") 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try
='test -s conftest$ac_exeext'
14867 { (case "(($ac_try" in
14868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14872 (eval "$ac_try") 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; }; then
14877 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14879 # Check for a 64-bit object if we didn't find anything.
14880 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14891 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14893 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14894 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"
14896 if test "$host_cpu" = ia64; then
14897 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14898 allow_undefined_flag_F77="-z nodefs"
14899 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"
14901 # Determine the default libpath from the value encoded in an empty executable.
14902 cat >conftest.$ac_ext <<_ACEOF
14907 rm -f conftest.$ac_objext conftest$ac_exeext
14908 if { (ac_try="$ac_link"
14909 case "(($ac_try" in
14910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14911 *) ac_try_echo
=$ac_try;;
14913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14914 (eval "$ac_link") 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14922 { (case "(($ac_try" in
14923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14924 *) ac_try_echo=$ac_try;;
14926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14927 (eval "$ac_try") 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; } &&
14931 { ac_try='test -s conftest$ac_exeext'
14932 { (case "(($ac_try" in
14933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14934 *) ac_try_echo
=$ac_try;;
14936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14937 (eval "$ac_try") 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14942 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14944 # Check for a 64-bit object if we didn't find anything.
14945 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.
$ac_ext >&5
14954 rm -f core conftest.err conftest.
$ac_objext \
14955 conftest
$ac_exeext conftest.
$ac_ext
14956 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14958 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14959 # Warning - without using the other run time loading flags,
14960 # -berok will link without error, but may produce a broken library.
14961 no_undefined_flag_F77
=' ${wl}-bernotok'
14962 allow_undefined_flag_F77
=' ${wl}-berok'
14963 # Exported symbols can be pulled into shared objects from archives
14964 whole_archive_flag_spec_F77
='$convenience'
14965 archive_cmds_need_lc_F77
=yes
14966 # This is similar to how AIX traditionally builds its shared libraries.
14967 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'
14973 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)'
14974 hardcode_libdir_flag_spec_F77
='-L$libdir'
14975 hardcode_minus_L_F77
=yes
14976 # see comment about different semantics on the GNU ld section
14981 export_dynamic_flag_spec_F77
=-rdynamic
14984 cygwin
* | mingw
* | pw32
*)
14985 # When not using gcc, we currently assume that we are using
14986 # Microsoft Visual C++.
14987 # hardcode_libdir_flag_spec is actually meaningless, as there is
14988 # no search path for DLLs.
14989 hardcode_libdir_flag_spec_F77
=' '
14990 allow_undefined_flag_F77
=unsupported
14991 # Tell ltmain to make .lib files, not .a files.
14993 # Tell ltmain to make .dll files, not .so files.
14995 # FIXME: Setting linknames here is a bad hack.
14996 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14997 # The linker will automatically build a .lib file if we build a DLL.
14998 old_archive_From_new_cmds_F77
='true'
14999 # FIXME: Should let the user specify the lib program.
15000 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15001 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15002 enable_shared_with_static_runtimes_F77
=yes
15005 darwin
* | rhapsody
*)
15007 rhapsody
* | darwin1.
[012])
15008 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15011 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15012 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15014 case ${MACOSX_DEPLOYMENT_TARGET} in
15016 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15019 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15025 archive_cmds_need_lc_F77
=no
15026 hardcode_direct_F77
=no
15027 hardcode_automatic_F77
=yes
15028 hardcode_shlibpath_var_F77
=unsupported
15029 whole_archive_flag_spec_F77
=''
15030 link_all_deplibs_F77
=yes
15031 if test "$GCC" = yes ; then
15032 output_verbose_link_cmd
='echo'
15033 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15034 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15035 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15036 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15037 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}'
15039 case $cc_basename in
15041 output_verbose_link_cmd
='echo'
15042 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15043 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15044 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15045 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15046 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}'
15056 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15057 hardcode_libdir_flag_spec_F77
='-L$libdir'
15058 hardcode_shlibpath_var_F77
=no
15065 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15066 # support. Future versions do this automatically, but an explicit c++rt0.o
15067 # does not break anything, and helps significantly (at the cost of a little
15070 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15071 hardcode_libdir_flag_spec_F77
='-R$libdir'
15072 hardcode_direct_F77
=yes
15073 hardcode_shlibpath_var_F77
=no
15076 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15078 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15079 hardcode_direct_F77
=yes
15080 hardcode_minus_L_F77
=yes
15081 hardcode_shlibpath_var_F77
=no
15084 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15085 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15086 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15087 hardcode_libdir_flag_spec_F77
='-R$libdir'
15088 hardcode_direct_F77
=yes
15089 hardcode_shlibpath_var_F77
=no
15093 if test "$GCC" = yes; then
15094 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'
15096 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'
15098 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15099 hardcode_libdir_separator_F77
=:
15100 hardcode_direct_F77
=yes
15102 # hardcode_minus_L: Not really in the search PATH,
15103 # but as the default location of the library.
15104 hardcode_minus_L_F77
=yes
15105 export_dynamic_flag_spec_F77
='${wl}-E'
15109 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15110 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15112 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15114 if test "$with_gnu_ld" = no
; then
15115 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15116 hardcode_libdir_separator_F77
=:
15118 hardcode_direct_F77
=yes
15119 export_dynamic_flag_spec_F77
='${wl}-E'
15121 # hardcode_minus_L: Not really in the search PATH,
15122 # but as the default location of the library.
15123 hardcode_minus_L_F77
=yes
15128 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15131 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15134 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15137 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15143 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15146 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15149 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15153 if test "$with_gnu_ld" = no
; then
15154 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15155 hardcode_libdir_separator_F77
=:
15159 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15160 hardcode_direct_F77
=no
15161 hardcode_shlibpath_var_F77
=no
15164 hardcode_direct_F77
=yes
15165 export_dynamic_flag_spec_F77
='${wl}-E'
15167 # hardcode_minus_L: Not really in the search PATH,
15168 # but as the default location of the library.
15169 hardcode_minus_L_F77
=yes
15175 irix5
* | irix6
* | nonstopux
*)
15176 if test "$GCC" = yes; then
15177 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'
15179 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'
15180 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15182 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15183 hardcode_libdir_separator_F77
=:
15184 link_all_deplibs_F77
=yes
15188 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15189 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15191 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15193 hardcode_libdir_flag_spec_F77
='-R$libdir'
15194 hardcode_direct_F77
=yes
15195 hardcode_shlibpath_var_F77
=no
15199 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15200 hardcode_direct_F77
=yes
15201 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15202 hardcode_libdir_separator_F77
=:
15203 hardcode_shlibpath_var_F77
=no
15207 hardcode_direct_F77
=yes
15208 hardcode_shlibpath_var_F77
=no
15209 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15210 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15211 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15212 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15213 export_dynamic_flag_spec_F77
='${wl}-E'
15216 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15217 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15218 hardcode_libdir_flag_spec_F77
='-R$libdir'
15221 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15222 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15229 hardcode_libdir_flag_spec_F77
='-L$libdir'
15230 hardcode_minus_L_F77
=yes
15231 allow_undefined_flag_F77
=unsupported
15232 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'
15233 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15237 if test "$GCC" = yes; then
15238 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15239 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'
15241 allow_undefined_flag_F77
=' -expect_unresolved \*'
15242 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'
15244 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15245 hardcode_libdir_separator_F77
=:
15248 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15249 if test "$GCC" = yes; then
15250 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15251 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'
15252 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15254 allow_undefined_flag_F77
=' -expect_unresolved \*'
15255 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'
15256 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~
15257 $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'
15259 # Both c and cxx compiler support -rpath directly
15260 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15262 hardcode_libdir_separator_F77
=:
15266 no_undefined_flag_F77
=' -z text'
15267 if test "$GCC" = yes; then
15269 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15270 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15271 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15274 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15275 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15276 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15278 hardcode_libdir_flag_spec_F77
='-R$libdir'
15279 hardcode_shlibpath_var_F77
=no
15281 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15283 # The compiler driver will combine linker options so we
15284 # cannot just pass the convience library names through
15285 # without $wl, iff we do not link with $LD.
15286 # Luckily, gcc supports the same syntax we need for Sun Studio.
15287 # Supported since Solaris 2.6 (maybe 2.5.1?)
15290 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15292 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15295 link_all_deplibs_F77
=yes
15299 if test "x$host_vendor" = xsequent
; then
15300 # Use $CC to link under sequent, because it throws in some extra .o
15301 # files that make .init and .fini sections work.
15302 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15304 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15306 hardcode_libdir_flag_spec_F77
='-L$libdir'
15307 hardcode_direct_F77
=yes
15308 hardcode_minus_L_F77
=yes
15309 hardcode_shlibpath_var_F77
=no
15313 case $host_vendor in
15315 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15316 hardcode_direct_F77
=yes # is this really true???
15319 ## LD is ld it makes a PLAMLIB
15320 ## CC just makes a GrossModule.
15321 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15322 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15323 hardcode_direct_F77
=no
15326 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15327 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15330 runpath_var
='LD_RUN_PATH'
15331 hardcode_shlibpath_var_F77
=no
15335 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15336 hardcode_shlibpath_var_F77
=no
15337 export_dynamic_flag_spec_F77
='-Bexport'
15341 if test -d /usr
/nec
; then
15342 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15343 hardcode_shlibpath_var_F77
=no
15344 runpath_var
=LD_RUN_PATH
15345 hardcode_runpath_var
=yes
15350 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15351 no_undefined_flag_F77
='${wl}-z,text'
15352 archive_cmds_need_lc_F77
=no
15353 hardcode_shlibpath_var_F77
=no
15354 runpath_var
='LD_RUN_PATH'
15356 if test "$GCC" = yes; then
15357 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15358 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15360 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15361 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15365 sysv5
* | sco3.2v5
* | sco5v6
*)
15366 # Note: We can NOT use -z defs as we might desire, because we do not
15367 # link with -lc, and that would cause any symbols used from libc to
15368 # always be unresolved, which means just about no library would
15369 # ever link correctly. If we're not using GNU ld we use -z text
15370 # though, which does catch some bad symbols but isn't as heavy-handed
15372 no_undefined_flag_F77
='${wl}-z,text'
15373 allow_undefined_flag_F77
='${wl}-z,nodefs'
15374 archive_cmds_need_lc_F77
=no
15375 hardcode_shlibpath_var_F77
=no
15376 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15377 hardcode_libdir_separator_F77
=':'
15378 link_all_deplibs_F77
=yes
15379 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15380 runpath_var
='LD_RUN_PATH'
15382 if test "$GCC" = yes; then
15383 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15384 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15386 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15387 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15392 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15393 hardcode_libdir_flag_spec_F77
='-L$libdir'
15394 hardcode_shlibpath_var_F77
=no
15403 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15404 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15405 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15408 # Do we need to explicitly link libc?
15410 case "x$archive_cmds_need_lc_F77" in
15412 # Assume -lc should be added
15413 archive_cmds_need_lc_F77
=yes
15415 if test "$enable_shared" = yes && test "$GCC" = yes; then
15416 case $archive_cmds_F77 in
15418 # FIXME: we may have to deal with multi-command sequences.
15421 # Test whether the compiler implicitly links with -lc since on some
15422 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15423 # to ld, don't add -lc before -lgcc.
15424 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15425 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15427 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15430 (eval $ac_compile) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } 2>conftest.err
; then
15436 libobjs
=conftest.
$ac_objext
15438 wl
=$lt_prog_compiler_wl_F77
15439 pic_flag
=$lt_prog_compiler_pic_F77
15445 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15446 allow_undefined_flag_F77
=
15447 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15448 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }
15453 archive_cmds_need_lc_F77
=no
15455 archive_cmds_need_lc_F77
=yes
15457 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15459 cat conftest.err
1>&5
15462 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15463 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15470 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15471 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15472 library_names_spec
=
15473 libname_spec
='lib$name'
15477 postuninstall_cmds
=
15481 shlibpath_overrides_runpath
=unknown
15483 dynamic_linker
="$host_os ld.so"
15484 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15485 if test "$GCC" = yes; then
15486 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15487 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15488 # if the path contains ";" then we assume it to be the separator
15489 # otherwise default to the standard path separator (i.e. ":") - it is
15490 # assumed that no part of a normal pathname contains ";" but that should
15491 # okay in the real world where ";" in dirpaths is itself problematic.
15492 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15494 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15497 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15499 need_lib_prefix
=unknown
15500 hardcode_into_libs
=no
15502 # when you set need_version to no, make sure it does not cause -set_version
15503 # flags to be left without arguments
15504 need_version
=unknown
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15510 shlibpath_var
=LIBPATH
15512 # AIX 3 has no versioning support, so we append a major version to the name.
15513 soname_spec
='${libname}${release}${shared_ext}$major'
15520 hardcode_into_libs
=yes
15521 if test "$host_cpu" = ia64
; then
15522 # AIX 5 supports IA64
15523 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15524 shlibpath_var
=LD_LIBRARY_PATH
15526 # With GCC up to 2.95.x, collect2 would create an import file
15527 # for dependence libraries. The import file would start with
15528 # the line `#! .'. This would cause the generated library to
15529 # depend on `.', always an invalid library. This was fixed in
15530 # development snapshots of GCC prior to 3.0.
15532 aix4 | aix4.
[01] | aix4.
[01].
*)
15533 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15535 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15538 can_build_shared
=no
15542 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15543 # soname into executable. Probably we can add versioning support to
15544 # collect2, so additional links can be useful in future.
15545 if test "$aix_use_runtimelinking" = yes; then
15546 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15547 # instead of lib<name>.a to let people know that these are not
15548 # typical AIX shared libraries.
15549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15551 # We preserve .a as extension for shared libraries through AIX4.2
15552 # and later when we are not doing run time linking.
15553 library_names_spec
='${libname}${release}.a $libname.a'
15554 soname_spec
='${libname}${release}${shared_ext}$major'
15556 shlibpath_var
=LIBPATH
15561 library_names_spec
='$libname.ixlibrary $libname.a'
15562 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15563 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'
15567 library_names_spec
='${libname}${shared_ext}'
15568 dynamic_linker
="$host_os ld.so"
15569 shlibpath_var
=LIBRARY_PATH
15575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15576 soname_spec
='${libname}${release}${shared_ext}$major'
15577 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15578 shlibpath_var
=LD_LIBRARY_PATH
15579 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15580 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15581 # the default ld.so.conf also contains /usr/contrib/lib and
15582 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15583 # libtool to hard-code these into programs
15586 cygwin
* | mingw
* | pw32
*)
15587 version_type
=windows
15592 case $GCC,$host_os in
15593 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15594 library_names_spec
='$libname.dll.a'
15595 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15596 postinstall_cmds
='base_file=`basename \${file}`~
15597 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15598 dldir=$destdir/`dirname \$dlpath`~
15599 test -d \$dldir || mkdir -p \$dldir~
15600 $install_prog $dir/$dlname \$dldir/$dlname~
15601 chmod a+x \$dldir/$dlname'
15602 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15603 dlpath=$dir/\$dldll~
15605 shlibpath_overrides_runpath
=yes
15609 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15610 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15611 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15614 # MinGW DLLs use traditional 'lib' prefix
15615 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15616 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15617 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15618 # It is most probably a Windows format PATH printed by
15619 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15620 # path with ; separators, and with drive letters. We can handle the
15621 # drive letters (cygwin fileutils understands them), so leave them,
15622 # especially as we might pass files found there to a mingw objdump,
15623 # which wouldn't understand a cygwinified path. Ahh.
15624 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15626 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15630 # pw32 DLLs use 'pw' prefix rather than 'lib'
15631 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15637 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15640 dynamic_linker
='Win32 ld.exe'
15641 # FIXME: first we should search . and the directory the executable is in
15645 darwin
* | rhapsody
*)
15646 dynamic_linker
="$host_os dyld"
15647 version_type
=darwin
15650 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15651 soname_spec
='${libname}${release}${major}$shared_ext'
15652 shlibpath_overrides_runpath
=yes
15653 shlibpath_var
=DYLD_LIBRARY_PATH
15654 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15655 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15656 if test "$GCC" = yes; then
15657 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15659 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15661 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15669 soname_spec
='${libname}${release}${shared_ext}$major'
15670 shlibpath_var
=LD_LIBRARY_PATH
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15682 soname_spec
='${libname}${release}${shared_ext}$major'
15683 shlibpath_var
=LD_LIBRARY_PATH
15684 shlibpath_overrides_runpath
=no
15685 hardcode_into_libs
=yes
15686 dynamic_linker
='GNU ld.so'
15689 freebsd
* | dragonfly
*)
15690 # DragonFly does not have aout. When/if they implement a new
15691 # versioning mechanism, adjust this.
15692 if test -x /usr
/bin
/objformat
; then
15693 objformat
=`/usr/bin/objformat`
15696 freebsd
[123]*) objformat
=aout
;;
15697 *) objformat
=elf
;;
15700 version_type
=freebsd-
$objformat
15701 case $version_type in
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15708 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15712 shlibpath_var
=LD_LIBRARY_PATH
15715 shlibpath_overrides_runpath
=yes
15717 freebsd3.
[01]* | freebsdelf3.
[01]*)
15718 shlibpath_overrides_runpath
=yes
15719 hardcode_into_libs
=yes
15721 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15722 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15723 shlibpath_overrides_runpath
=no
15724 hardcode_into_libs
=yes
15726 freebsd
*) # from 4.6 on
15727 shlibpath_overrides_runpath
=yes
15728 hardcode_into_libs
=yes
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15738 soname_spec
='${libname}${release}${shared_ext}$major'
15739 shlibpath_var
=LD_LIBRARY_PATH
15740 hardcode_into_libs
=yes
15743 hpux9
* | hpux10
* | hpux11
*)
15744 # Give a soname corresponding to the major version so that dld.sl refuses to
15745 # link against other versions.
15752 hardcode_into_libs
=yes
15753 dynamic_linker
="$host_os dld.so"
15754 shlibpath_var
=LD_LIBRARY_PATH
15755 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15757 soname_spec
='${libname}${release}${shared_ext}$major'
15758 if test "X$HPUX_IA64_MODE" = X32
; then
15759 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15761 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15763 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15767 hardcode_into_libs
=yes
15768 dynamic_linker
="$host_os dld.sl"
15769 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15770 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15772 soname_spec
='${libname}${release}${shared_ext}$major'
15773 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15774 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15778 dynamic_linker
="$host_os dld.sl"
15779 shlibpath_var
=SHLIB_PATH
15780 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15782 soname_spec
='${libname}${release}${shared_ext}$major'
15785 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15786 postinstall_cmds
='chmod 555 $lib'
15793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15794 soname_spec
='${libname}${release}${shared_ext}$major'
15795 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15796 shlibpath_var
=LD_LIBRARY_PATH
15797 shlibpath_overrides_runpath
=no
15798 hardcode_into_libs
=yes
15801 irix5
* | irix6
* | nonstopux
*)
15803 nonstopux
*) version_type
=nonstopux
;;
15805 if test "$lt_cv_prog_gnu_ld" = yes; then
15813 soname_spec
='${libname}${release}${shared_ext}$major'
15814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15816 irix5
* | nonstopux
*)
15817 libsuff
= shlibsuff
=
15820 case $LD in # libtool.m4 will add one of these switches to LD
15821 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15822 libsuff
= shlibsuff
= libmagic
=32-bit;;
15823 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15824 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15825 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15826 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15827 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15831 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15832 shlibpath_overrides_runpath
=no
15833 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15834 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15835 hardcode_into_libs
=yes
15838 # No shared lib support for Linux oldld, aout, or coff.
15839 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15843 # This must be Linux ELF.
15848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15849 soname_spec
='${libname}${release}${shared_ext}$major'
15850 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15851 shlibpath_var
=LD_LIBRARY_PATH
15852 shlibpath_overrides_runpath
=no
15853 # This implies no fast_install, which is unacceptable.
15854 # Some rework will be needed to allow for fast_install
15855 # before this can be enabled.
15856 hardcode_into_libs
=yes
15858 # Append ld.so.conf contents to the search path
15859 if test -f /etc
/ld.so.conf
; then
15860 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15861 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15864 # We used to test for /lib/ld.so.1 and disable shared libraries on
15865 # powerpc, because MkLinux only supported shared libraries with the
15866 # GNU dynamic linker. Since this was broken with cross compilers,
15867 # most powerpc-linux boxes support dynamic linking these days and
15868 # people can always --disable-shared, the test was removed, and we
15869 # assume the GNU/Linux dynamic linker is in use.
15870 dynamic_linker
='GNU/Linux ld.so'
15877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15878 soname_spec
='${libname}${release}${shared_ext}$major'
15879 shlibpath_var
=LD_LIBRARY_PATH
15880 shlibpath_overrides_runpath
=no
15881 hardcode_into_libs
=yes
15882 dynamic_linker
='GNU ld.so'
15889 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15891 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15892 dynamic_linker
='NetBSD (a.out) ld.so'
15894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15895 soname_spec
='${libname}${release}${shared_ext}$major'
15896 dynamic_linker
='NetBSD ld.elf_so'
15898 shlibpath_var
=LD_LIBRARY_PATH
15899 shlibpath_overrides_runpath
=yes
15900 hardcode_into_libs
=yes
15905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15906 shlibpath_var
=LD_LIBRARY_PATH
15907 shlibpath_overrides_runpath
=yes
15914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 soname_spec
='${libname}${release}${shared_ext}$major'
15916 shlibpath_var
=LD_LIBRARY_PATH
15917 shlibpath_overrides_runpath
=yes
15922 sys_lib_dlsearch_path_spec
="/usr/lib"
15924 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15926 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15927 *) need_version
=no
;;
15929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15931 shlibpath_var
=LD_LIBRARY_PATH
15932 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15934 openbsd2.
[89] | openbsd2.
[89].
*)
15935 shlibpath_overrides_runpath
=no
15938 shlibpath_overrides_runpath
=yes
15942 shlibpath_overrides_runpath
=yes
15947 libname_spec
='$name'
15950 library_names_spec
='$libname${shared_ext} $libname.a'
15951 dynamic_linker
='OS/2 ld.exe'
15952 shlibpath_var
=LIBPATH
15955 osf3
* | osf4
* | osf5
*)
15959 soname_spec
='${libname}${release}${shared_ext}$major'
15960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15961 shlibpath_var
=LD_LIBRARY_PATH
15962 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15963 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15971 soname_spec
='${libname}${release}${shared_ext}$major'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 shlibpath_overrides_runpath
=yes
15974 hardcode_into_libs
=yes
15975 # ldd complains unless libraries are executable
15976 postinstall_cmds
='chmod +x $lib'
15981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15982 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15983 shlibpath_var
=LD_LIBRARY_PATH
15984 shlibpath_overrides_runpath
=yes
15985 if test "$with_gnu_ld" = yes; then
15993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15994 soname_spec
='${libname}${release}${shared_ext}$major'
15995 shlibpath_var
=LD_LIBRARY_PATH
15996 case $host_vendor in
15998 shlibpath_overrides_runpath
=no
16000 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16001 runpath_var
=LD_RUN_PATH
16009 shlibpath_overrides_runpath
=no
16010 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16016 if test -d /usr
/nec
;then
16018 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16019 soname_spec
='$libname${shared_ext}.$major'
16020 shlibpath_var
=LD_LIBRARY_PATH
16024 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16025 version_type
=freebsd-elf
16028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16029 soname_spec
='${libname}${release}${shared_ext}$major'
16030 shlibpath_var
=LD_LIBRARY_PATH
16031 hardcode_into_libs
=yes
16032 if test "$with_gnu_ld" = yes; then
16033 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16034 shlibpath_overrides_runpath
=no
16036 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16037 shlibpath_overrides_runpath
=yes
16040 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16044 sys_lib_dlsearch_path_spec
='/usr/lib'
16049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 soname_spec
='${libname}${release}${shared_ext}$major'
16051 shlibpath_var
=LD_LIBRARY_PATH
16058 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16059 echo "${ECHO_T}$dynamic_linker" >&6; }
16060 test "$dynamic_linker" = no
&& can_build_shared
=no
16062 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16063 if test "$GCC" = yes; then
16064 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16067 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16068 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16069 hardcode_action_F77
=
16070 if test -n "$hardcode_libdir_flag_spec_F77" || \
16071 test -n "$runpath_var_F77" || \
16072 test "X$hardcode_automatic_F77" = "Xyes" ; then
16074 # We can hardcode non-existant directories.
16075 if test "$hardcode_direct_F77" != no
&&
16076 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16077 # have to relink, otherwise we might link with an installed library
16078 # when we should be linking with a yet-to-be-installed one
16079 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16080 test "$hardcode_minus_L_F77" != no
; then
16081 # Linking always hardcodes the temporary library directory.
16082 hardcode_action_F77
=relink
16084 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16085 hardcode_action_F77
=immediate
16088 # We cannot hardcode anything, or else we can only hardcode existing
16090 hardcode_action_F77
=unsupported
16092 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16093 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16095 if test "$hardcode_action_F77" = relink
; then
16096 # Fast installation is not supported
16097 enable_fast_install
=no
16098 elif test "$shlibpath_overrides_runpath" = yes ||
16099 test "$enable_shared" = no
; then
16100 # Fast installation is not necessary
16101 enable_fast_install
=needless
16105 # The else clause should only fire when bootstrapping the
16106 # libtool distribution, otherwise you forgot to ship ltmain.sh
16107 # with your package, and you will get complaints that there are
16108 # no rules to generate ltmain.sh.
16109 if test -f "$ltmain"; then
16110 # See if we are running on zsh, and set the options which allow our commands through
16111 # without removal of \ escapes.
16112 if test -n "${ZSH_VERSION+set}" ; then
16113 setopt NO_GLOB_SUBST
16115 # Now quote all the things that may contain metacharacters while being
16116 # careful not to overquote the AC_SUBSTed values. We take copies of the
16117 # variables and quote the copies for generation of the libtool script.
16118 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16120 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16121 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16122 deplibs_check_method reload_flag reload_cmds need_locks \
16123 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16124 lt_cv_sys_global_symbol_to_c_name_address \
16125 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16126 old_postinstall_cmds old_postuninstall_cmds \
16130 lt_prog_compiler_wl_F77 \
16131 lt_prog_compiler_pic_F77 \
16132 lt_prog_compiler_static_F77 \
16133 lt_prog_compiler_no_builtin_flag_F77 \
16134 export_dynamic_flag_spec_F77 \
16135 thread_safe_flag_spec_F77 \
16136 whole_archive_flag_spec_F77 \
16137 enable_shared_with_static_runtimes_F77 \
16138 old_archive_cmds_F77 \
16139 old_archive_from_new_cmds_F77 \
16140 predep_objects_F77 \
16141 postdep_objects_F77 \
16144 compiler_lib_search_path_F77 \
16146 archive_expsym_cmds_F77 \
16147 postinstall_cmds_F77 \
16148 postuninstall_cmds_F77 \
16149 old_archive_from_expsyms_cmds_F77 \
16150 allow_undefined_flag_F77 \
16151 no_undefined_flag_F77 \
16152 export_symbols_cmds_F77 \
16153 hardcode_libdir_flag_spec_F77 \
16154 hardcode_libdir_flag_spec_ld_F77 \
16155 hardcode_libdir_separator_F77 \
16156 hardcode_automatic_F77 \
16158 module_expsym_cmds_F77 \
16159 lt_cv_prog_compiler_c_o_F77 \
16160 exclude_expsyms_F77 \
16161 include_expsyms_F77
; do
16164 old_archive_cmds_F77 | \
16165 old_archive_from_new_cmds_F77 | \
16166 archive_cmds_F77 | \
16167 archive_expsym_cmds_F77 | \
16168 module_cmds_F77 | \
16169 module_expsym_cmds_F77 | \
16170 old_archive_from_expsyms_cmds_F77 | \
16171 export_symbols_cmds_F77 | \
16172 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16173 postinstall_cmds | postuninstall_cmds | \
16174 old_postinstall_cmds | old_postuninstall_cmds | \
16175 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16176 # Double-quote double-evaled strings.
16177 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16180 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16186 *'\$0 --fallback-echo"')
16187 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16193 cat <<__EOF__ >> "$cfgfile"
16194 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16196 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16198 # Shell to use when invoking shell scripts.
16201 # Whether or not to build shared libraries.
16202 build_libtool_libs=$enable_shared
16204 # Whether or not to build static libraries.
16205 build_old_libs=$enable_static
16207 # Whether or not to add -lc for building shared libraries.
16208 build_libtool_need_lc=$archive_cmds_need_lc_F77
16210 # Whether or not to disallow shared libs when runtime libs are static
16211 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16213 # Whether or not to optimize for fast installation.
16214 fast_install=$enable_fast_install
16217 host_alias=$host_alias
16221 # The build system.
16222 build_alias=$build_alias
16226 # An echo program that does not interpret backslashes.
16231 AR_FLAGS=$lt_AR_FLAGS
16236 # LTCC compiler flags.
16237 LTCFLAGS=$lt_LTCFLAGS
16239 # A language-specific compiler.
16240 CC=$lt_compiler_F77
16242 # Is the compiler the GNU C compiler?
16248 # The linker used to build libraries.
16251 # Whether we need hard or soft links.
16254 # A BSD-compatible nm program.
16257 # A symbol stripping program
16260 # Used to examine libraries when file_magic_cmd begins "file"
16261 MAGIC_CMD=$MAGIC_CMD
16263 # Used on cygwin: DLL creation program.
16266 # Used on cygwin: object dumper.
16269 # Used on cygwin: assembler.
16272 # The name of the directory that contains temporary libtool files.
16275 # How to create reloadable object files.
16276 reload_flag=$lt_reload_flag
16277 reload_cmds=$lt_reload_cmds
16279 # How to pass a linker flag through the compiler.
16280 wl=$lt_lt_prog_compiler_wl_F77
16282 # Object file suffix (normally "o").
16283 objext="$ac_objext"
16285 # Old archive suffix (normally "a").
16288 # Shared library suffix (normally ".so").
16289 shrext_cmds='$shrext_cmds'
16291 # Executable file suffix (normally "").
16294 # Additional compiler flags for building library objects.
16295 pic_flag=$lt_lt_prog_compiler_pic_F77
16298 # What is the maximum length of a command?
16299 max_cmd_len=$lt_cv_sys_max_cmd_len
16301 # Does compiler simultaneously support -c and -o options?
16302 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16304 # Must we lock files when doing compilation?
16305 need_locks=$lt_need_locks
16307 # Do we need the lib prefix for modules?
16308 need_lib_prefix=$need_lib_prefix
16310 # Do we need a version for libraries?
16311 need_version=$need_version
16313 # Whether dlopen is supported.
16314 dlopen_support=$enable_dlopen
16316 # Whether dlopen of programs is supported.
16317 dlopen_self=$enable_dlopen_self
16319 # Whether dlopen of statically linked programs is supported.
16320 dlopen_self_static=$enable_dlopen_self_static
16322 # Compiler flag to prevent dynamic linking.
16323 link_static_flag=$lt_lt_prog_compiler_static_F77
16325 # Compiler flag to turn off builtin functions.
16326 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16328 # Compiler flag to allow reflexive dlopens.
16329 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16331 # Compiler flag to generate shared objects directly from archives.
16332 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16334 # Compiler flag to generate thread-safe objects.
16335 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16337 # Library versioning type.
16338 version_type=$version_type
16340 # Format of library name prefix.
16341 libname_spec=$lt_libname_spec
16343 # List of archive names. First name is the real one, the rest are links.
16344 # The last name is the one that the linker finds with -lNAME.
16345 library_names_spec=$lt_library_names_spec
16347 # The coded name of the library, if different from the real name.
16348 soname_spec=$lt_soname_spec
16350 # Commands used to build and install an old-style archive.
16352 old_archive_cmds=$lt_old_archive_cmds_F77
16353 old_postinstall_cmds=$lt_old_postinstall_cmds
16354 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16356 # Create an old-style archive from a shared archive.
16357 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16359 # Create a temporary old-style archive to link instead of a shared archive.
16360 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16362 # Commands used to build and install a shared archive.
16363 archive_cmds=$lt_archive_cmds_F77
16364 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16365 postinstall_cmds=$lt_postinstall_cmds
16366 postuninstall_cmds=$lt_postuninstall_cmds
16368 # Commands used to build a loadable module (assumed same as above if empty)
16369 module_cmds=$lt_module_cmds_F77
16370 module_expsym_cmds=$lt_module_expsym_cmds_F77
16372 # Commands to strip libraries.
16373 old_striplib=$lt_old_striplib
16374 striplib=$lt_striplib
16376 # Dependencies to place before the objects being linked to create a
16378 predep_objects=$lt_predep_objects_F77
16380 # Dependencies to place after the objects being linked to create a
16382 postdep_objects=$lt_postdep_objects_F77
16384 # Dependencies to place before the objects being linked to create a
16386 predeps=$lt_predeps_F77
16388 # Dependencies to place after the objects being linked to create a
16390 postdeps=$lt_postdeps_F77
16392 # The library search path used internally by the compiler when linking
16393 # a shared library.
16394 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16396 # Method to check whether dependent libraries are shared objects.
16397 deplibs_check_method=$lt_deplibs_check_method
16399 # Command to use when deplibs_check_method == file_magic.
16400 file_magic_cmd=$lt_file_magic_cmd
16402 # Flag that allows shared libraries with undefined symbols to be built.
16403 allow_undefined_flag=$lt_allow_undefined_flag_F77
16405 # Flag that forces no undefined symbols.
16406 no_undefined_flag=$lt_no_undefined_flag_F77
16408 # Commands used to finish a libtool library installation in a directory.
16409 finish_cmds=$lt_finish_cmds
16411 # Same as above, but a single script fragment to be evaled but not shown.
16412 finish_eval=$lt_finish_eval
16414 # Take the output of nm and produce a listing of raw symbols and C names.
16415 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16417 # Transform the output of nm in a proper C declaration
16418 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16420 # Transform the output of nm in a C name address pair
16421 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16423 # This is the shared library runtime path variable.
16424 runpath_var=$runpath_var
16426 # This is the shared library path variable.
16427 shlibpath_var=$shlibpath_var
16429 # Is shlibpath searched before the hard-coded library search path?
16430 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16432 # How to hardcode a shared library path into an executable.
16433 hardcode_action=$hardcode_action_F77
16435 # Whether we should hardcode library paths into libraries.
16436 hardcode_into_libs=$hardcode_into_libs
16438 # Flag to hardcode \$libdir into a binary during linking.
16439 # This must work even if \$libdir does not exist.
16440 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16442 # If ld is used when linking, flag to hardcode \$libdir into
16443 # a binary during linking. This must work even if \$libdir does
16445 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16447 # Whether we need a single -rpath flag with a separated argument.
16448 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16450 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16451 # resulting binary.
16452 hardcode_direct=$hardcode_direct_F77
16454 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16455 # resulting binary.
16456 hardcode_minus_L=$hardcode_minus_L_F77
16458 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16459 # the resulting binary.
16460 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16462 # Set to yes if building a shared library automatically hardcodes DIR into the library
16463 # and all subsequent libraries and executables linked against it.
16464 hardcode_automatic=$hardcode_automatic_F77
16466 # Variables whose values should be saved in libtool wrapper scripts and
16467 # restored at relink time.
16468 variables_saved_for_relink="$variables_saved_for_relink"
16470 # Whether libtool must link a program against all its dependency libraries.
16471 link_all_deplibs=$link_all_deplibs_F77
16473 # Compile-time system search path for libraries
16474 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16476 # Run-time system search path for libraries
16477 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16479 # Fix the shell variable \$srcfile for the compiler.
16480 fix_srcfile_path="$fix_srcfile_path_F77"
16482 # Set to yes if exported symbols are required.
16483 always_export_symbols=$always_export_symbols_F77
16485 # The commands to list exported symbols.
16486 export_symbols_cmds=$lt_export_symbols_cmds_F77
16488 # The commands to extract the exported symbol list from a shared archive.
16489 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16491 # Symbols that should not be listed in the preloaded symbols.
16492 exclude_expsyms=$lt_exclude_expsyms_F77
16494 # Symbols that must always be exported.
16495 include_expsyms=$lt_include_expsyms_F77
16497 # ### END LIBTOOL TAG CONFIG: $tagname
16503 # If there is no Makefile yet, we rely on a make rule to execute
16504 # `config.status --recheck' to rerun these tests and create the
16505 # libtool script then.
16506 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16507 if test -f "$ltmain_in"; then
16508 test -f Makefile
&& make "$ltmain"
16514 ac_cpp
='$CXXCPP $CPPFLAGS'
16515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16527 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16530 # Source file extension for Java test sources.
16533 # Object file extension for compiled Java test sources.
16537 # Code to be used in simple compile tests
16538 lt_simple_compile_test_code
="class foo {}\n"
16540 # Code to be used in simple link tests
16541 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16543 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16545 # If no C compiler was specified, use CC.
16548 # If no C compiler flags were specified, use CFLAGS.
16549 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16551 # Allow CC to be a program name with arguments.
16555 # save warnings/boilerplate of simple test code
16556 ac_outfile
=conftest.
$ac_objext
16557 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16558 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16559 _lt_compiler_boilerplate
=`cat conftest.err`
16562 ac_outfile
=conftest.
$ac_objext
16563 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16564 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16565 _lt_linker_boilerplate
=`cat conftest.err`
16569 # Allow CC to be a program name with arguments.
16574 for cc_temp
in $compiler""; do
16576 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16577 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16582 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16585 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16586 archive_cmds_need_lc_GCJ
=no
16588 old_archive_cmds_GCJ
=$old_archive_cmds
16591 lt_prog_compiler_no_builtin_flag_GCJ
=
16593 if test "$GCC" = yes; then
16594 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16597 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16598 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16599 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16602 lt_cv_prog_compiler_rtti_exceptions
=no
16603 ac_outfile
=conftest.
$ac_objext
16604 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16605 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16606 # Insert the option either (1) after the last *FLAGS variable, or
16607 # (2) before a word containing "conftest.", or (3) at the end.
16608 # Note that $ac_compile itself does not contain backslashes and begins
16609 # with a dollar sign (not a hyphen), so the echo should work correctly.
16610 # The option is referenced via a variable to avoid confusing sed.
16611 lt_compile
=`echo "$ac_compile" | $SED \
16612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16614 -e 's:$: $lt_compiler_flag:'`
16615 (eval echo "\"\$as_me:16615: $lt_compile\"" >&5)
16616 (eval "$lt_compile" 2>conftest.err
)
16618 cat conftest.err
>&5
16619 echo "$as_me:16619: \$? = $ac_status" >&5
16620 if (exit $ac_status) && test -s "$ac_outfile"; then
16621 # The compiler can only warn and ignore the option if not recognized
16622 # So say no if there are warnings other than the usual output.
16623 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16624 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16625 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16626 lt_cv_prog_compiler_rtti_exceptions
=yes
16632 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16633 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16635 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16636 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16643 lt_prog_compiler_wl_GCJ
=
16644 lt_prog_compiler_pic_GCJ
=
16645 lt_prog_compiler_static_GCJ
=
16647 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16648 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16650 if test "$GCC" = yes; then
16651 lt_prog_compiler_wl_GCJ
='-Wl,'
16652 lt_prog_compiler_static_GCJ
='-static'
16656 # All AIX code is PIC.
16657 if test "$host_cpu" = ia64
; then
16658 # AIX 5 now supports IA64 processor
16659 lt_prog_compiler_static_GCJ
='-Bstatic'
16664 # FIXME: we need at least 68020 code to build shared libraries, but
16665 # adding the `-m68020' flag to GCC prevents building anything better,
16667 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16670 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16671 # PIC is the default for these OSes.
16674 mingw
* | pw32
* | os2
*)
16675 # This hack is so that the source file can tell whether it is being
16676 # built for inclusion in a dll (and should export symbols for example).
16677 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16680 darwin
* | rhapsody
*)
16681 # PIC is the default on this platform
16682 # Common symbols not allowed in MH_DYLIB files
16683 lt_prog_compiler_pic_GCJ
='-fno-common'
16687 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16688 # Instead, we relocate shared libraries at runtime.
16692 # Just because we use GCC doesn't mean we suddenly get shared libraries
16693 # on systems that don't support them.
16694 lt_prog_compiler_can_build_shared_GCJ
=no
16699 if test -d /usr
/nec
; then
16700 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16705 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16706 # not for PA HP-UX.
16712 lt_prog_compiler_pic_GCJ
='-fPIC'
16718 lt_prog_compiler_pic_GCJ
='-fPIC'
16722 # PORTME Check for flag to pass linker flags through the system compiler.
16725 lt_prog_compiler_wl_GCJ
='-Wl,'
16726 if test "$host_cpu" = ia64
; then
16727 # AIX 5 now supports IA64 processor
16728 lt_prog_compiler_static_GCJ
='-Bstatic'
16730 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16734 # PIC is the default on this platform
16735 # Common symbols not allowed in MH_DYLIB files
16736 case $cc_basename in
16738 lt_prog_compiler_pic_GCJ
='-qnocommon'
16739 lt_prog_compiler_wl_GCJ
='-Wl,'
16744 mingw
* | pw32
* | os2
*)
16745 # This hack is so that the source file can tell whether it is being
16746 # built for inclusion in a dll (and should export symbols for example).
16747 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16750 hpux9
* | hpux10
* | hpux11
*)
16751 lt_prog_compiler_wl_GCJ
='-Wl,'
16752 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16753 # not for PA HP-UX.
16759 lt_prog_compiler_pic_GCJ
='+Z'
16762 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16763 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16766 irix5
* | irix6
* | nonstopux
*)
16767 lt_prog_compiler_wl_GCJ
='-Wl,'
16768 # PIC (with -KPIC) is the default.
16769 lt_prog_compiler_static_GCJ
='-non_shared'
16773 lt_prog_compiler_pic_GCJ
='-KPIC'
16774 lt_prog_compiler_static_GCJ
='-Bstatic'
16778 case $cc_basename in
16780 lt_prog_compiler_wl_GCJ
='-Wl,'
16781 lt_prog_compiler_pic_GCJ
='-KPIC'
16782 lt_prog_compiler_static_GCJ
='-static'
16784 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16785 # Portland Group compilers (*not* the Pentium gcc compiler,
16786 # which looks to be a dead project)
16787 lt_prog_compiler_wl_GCJ
='-Wl,'
16788 lt_prog_compiler_pic_GCJ
='-fpic'
16789 lt_prog_compiler_static_GCJ
='-Bstatic'
16792 lt_prog_compiler_wl_GCJ
='-Wl,'
16793 # All Alpha code is PIC.
16794 lt_prog_compiler_static_GCJ
='-non_shared'
16799 osf3
* | osf4
* | osf5
*)
16800 lt_prog_compiler_wl_GCJ
='-Wl,'
16801 # All OSF/1 code is PIC.
16802 lt_prog_compiler_static_GCJ
='-non_shared'
16806 lt_prog_compiler_pic_GCJ
='-KPIC'
16807 lt_prog_compiler_static_GCJ
='-Bstatic'
16808 case $cc_basename in
16809 f77
* | f90
* | f95
*)
16810 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16812 lt_prog_compiler_wl_GCJ
='-Wl,';;
16817 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16818 lt_prog_compiler_pic_GCJ
='-PIC'
16819 lt_prog_compiler_static_GCJ
='-Bstatic'
16822 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16823 lt_prog_compiler_wl_GCJ
='-Wl,'
16824 lt_prog_compiler_pic_GCJ
='-KPIC'
16825 lt_prog_compiler_static_GCJ
='-Bstatic'
16829 if test -d /usr
/nec
;then
16830 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16831 lt_prog_compiler_static_GCJ
='-Bstatic'
16835 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16836 lt_prog_compiler_wl_GCJ
='-Wl,'
16837 lt_prog_compiler_pic_GCJ
='-KPIC'
16838 lt_prog_compiler_static_GCJ
='-Bstatic'
16842 lt_prog_compiler_wl_GCJ
='-Wl,'
16843 lt_prog_compiler_can_build_shared_GCJ
=no
16847 lt_prog_compiler_pic_GCJ
='-pic'
16848 lt_prog_compiler_static_GCJ
='-Bstatic'
16852 lt_prog_compiler_can_build_shared_GCJ
=no
16857 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16858 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16861 # Check to make sure the PIC flag actually works.
16863 if test -n "$lt_prog_compiler_pic_GCJ"; then
16865 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16866 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16867 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 lt_prog_compiler_pic_works_GCJ
=no
16871 ac_outfile
=conftest.
$ac_objext
16872 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16873 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16874 # Insert the option either (1) after the last *FLAGS variable, or
16875 # (2) before a word containing "conftest.", or (3) at the end.
16876 # Note that $ac_compile itself does not contain backslashes and begins
16877 # with a dollar sign (not a hyphen), so the echo should work correctly.
16878 # The option is referenced via a variable to avoid confusing sed.
16879 lt_compile
=`echo "$ac_compile" | $SED \
16880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16882 -e 's:$: $lt_compiler_flag:'`
16883 (eval echo "\"\$as_me:16883: $lt_compile\"" >&5)
16884 (eval "$lt_compile" 2>conftest.err
)
16886 cat conftest.err
>&5
16887 echo "$as_me:16887: \$? = $ac_status" >&5
16888 if (exit $ac_status) && test -s "$ac_outfile"; then
16889 # The compiler can only warn and ignore the option if not recognized
16890 # So say no if there are warnings other than the usual output.
16891 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16892 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16893 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16894 lt_prog_compiler_pic_works_GCJ
=yes
16900 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16901 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16903 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16904 case $lt_prog_compiler_pic_GCJ in
16906 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16909 lt_prog_compiler_pic_GCJ
=
16910 lt_prog_compiler_can_build_shared_GCJ
=no
16915 # For platforms which do not support PIC, -DPIC is meaningless:
16917 lt_prog_compiler_pic_GCJ
=
16920 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16925 # Check to make sure the static flag actually works.
16927 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16928 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16929 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16930 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 lt_prog_compiler_static_works_GCJ
=no
16934 save_LDFLAGS
="$LDFLAGS"
16935 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16936 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16938 # The linker can only warn and ignore the option if not recognized
16939 # So say no if there are warnings
16940 if test -s conftest.err
; then
16941 # Append any errors to the config.log.
16942 cat conftest.err
1>&5
16943 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16945 if diff conftest.exp conftest.er2
>/dev
/null
; then
16946 lt_prog_compiler_static_works_GCJ
=yes
16949 lt_prog_compiler_static_works_GCJ
=yes
16953 LDFLAGS
="$save_LDFLAGS"
16956 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16957 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16959 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16962 lt_prog_compiler_static_GCJ
=
16966 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16967 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16968 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16971 lt_cv_prog_compiler_c_o_GCJ
=no
16972 $rm -r conftest
2>/dev
/null
16976 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16978 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16979 # Insert the option either (1) after the last *FLAGS variable, or
16980 # (2) before a word containing "conftest.", or (3) at the end.
16981 # Note that $ac_compile itself does not contain backslashes and begins
16982 # with a dollar sign (not a hyphen), so the echo should work correctly.
16983 lt_compile
=`echo "$ac_compile" | $SED \
16984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16986 -e 's:$: $lt_compiler_flag:'`
16987 (eval echo "\"\$as_me:16987: $lt_compile\"" >&5)
16988 (eval "$lt_compile" 2>out
/conftest.err
)
16990 cat out
/conftest.err
>&5
16991 echo "$as_me:16991: \$? = $ac_status" >&5
16992 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16994 # The compiler can only warn and ignore the option if not recognized
16995 # So say no if there are warnings
16996 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16997 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16998 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16999 lt_cv_prog_compiler_c_o_GCJ
=yes
17004 # SGI C++ compiler will create directory out/ii_files/ for
17005 # template instantiation
17006 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17007 $rm out
/* && rmdir out
17013 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17014 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17017 hard_links
="nottested"
17018 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17019 # do not overwrite the value of need_locks provided by the user
17020 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17021 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17024 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17026 ln conftest.a conftest.b
2>&5 || hard_links
=no
17027 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17028 { echo "$as_me:$LINENO: result: $hard_links" >&5
17029 echo "${ECHO_T}$hard_links" >&6; }
17030 if test "$hard_links" = no
; then
17031 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17032 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17039 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17040 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17043 allow_undefined_flag_GCJ
=
17044 enable_shared_with_static_runtimes_GCJ
=no
17046 archive_expsym_cmds_GCJ
=
17047 old_archive_From_new_cmds_GCJ
=
17048 old_archive_from_expsyms_cmds_GCJ
=
17049 export_dynamic_flag_spec_GCJ
=
17050 whole_archive_flag_spec_GCJ
=
17051 thread_safe_flag_spec_GCJ
=
17052 hardcode_libdir_flag_spec_GCJ
=
17053 hardcode_libdir_flag_spec_ld_GCJ
=
17054 hardcode_libdir_separator_GCJ
=
17055 hardcode_direct_GCJ
=no
17056 hardcode_minus_L_GCJ
=no
17057 hardcode_shlibpath_var_GCJ
=unsupported
17058 link_all_deplibs_GCJ
=unknown
17059 hardcode_automatic_GCJ
=no
17061 module_expsym_cmds_GCJ
=
17062 always_export_symbols_GCJ
=no
17063 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17064 # include_expsyms should be a list of space-separated symbols to be *always*
17065 # included in the symbol list
17066 include_expsyms_GCJ
=
17067 # exclude_expsyms can be an extended regexp of symbols to exclude
17068 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17069 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17070 # as well as any symbol that contains `d'.
17071 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17072 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17073 # platforms (ab)use it in PIC code, but their linkers get confused if
17074 # the symbol is explicitly referenced. Since portable code cannot
17075 # rely on this symbol name, it's probably fine to never include it in
17076 # preloaded symbol tables.
17077 extract_expsyms_cmds
=
17078 # Just being paranoid about ensuring that cc_basename is set.
17079 for cc_temp
in $compiler""; do
17081 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17082 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17087 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17090 cygwin
* | mingw
* | pw32
*)
17091 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17092 # When not using gcc, we currently assume that we are using
17093 # Microsoft Visual C++.
17094 if test "$GCC" != yes; then
17099 # we just hope/assume this is gcc and not c89 (= MSVC++)
17108 if test "$with_gnu_ld" = yes; then
17109 # If archive_cmds runs LD, not CC, wlarc should be empty
17112 # Set some defaults for GNU ld with shared library support. These
17113 # are reset later if shared libraries are not supported. Putting them
17114 # here allows them to be overridden if necessary.
17115 runpath_var
=LD_RUN_PATH
17116 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17117 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17118 # ancient GNU ld didn't support --whole-archive et. al.
17119 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17120 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17122 whole_archive_flag_spec_GCJ
=
17124 supports_anon_versioning
=no
17125 case `$LD -v 2>/dev/null` in
17126 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17127 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17128 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17129 *\
2.11.
*) ;; # other 2.11 versions
17130 *) supports_anon_versioning
=yes ;;
17133 # See if GNU ld supports shared libraries.
17135 aix3
* | aix4
* | aix5
*)
17136 # On AIX/PPC, the GNU linker is very broken
17137 if test "$host_cpu" != ia64
; then
17141 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17142 *** to be unable to reliably create shared libraries on AIX.
17143 *** Therefore, libtool is disabling shared libraries support. If you
17144 *** really care for shared libraries, you may want to modify your PATH
17145 *** so that a non-GNU linker is found, and then restart.
17152 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)'
17153 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17154 hardcode_minus_L_GCJ
=yes
17156 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17157 # that the semantics of dynamic libraries on AmigaOS, at least up
17158 # to version 4, is to share data among multiple programs linked
17159 # with the same dynamic library. Since this doesn't match the
17160 # behavior of shared libraries on other platforms, we can't use
17166 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17167 allow_undefined_flag_GCJ
=unsupported
17168 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17169 # support --undefined. This deserves some investigation. FIXME
17170 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17176 cygwin
* | mingw
* | pw32
*)
17177 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17178 # as there is no search path for DLLs.
17179 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17180 allow_undefined_flag_GCJ
=unsupported
17181 always_export_symbols_GCJ
=no
17182 enable_shared_with_static_runtimes_GCJ
=yes
17183 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17185 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17186 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17187 # If the export-symbols file already is a .def file (1st line
17188 # is EXPORTS), use it as is; otherwise, prepend...
17189 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17190 cp $export_symbols $output_objdir/$soname.def;
17192 echo EXPORTS > $output_objdir/$soname.def;
17193 cat $export_symbols >> $output_objdir/$soname.def;
17195 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17202 hardcode_direct_GCJ
=no
17203 hardcode_shlibpath_var_GCJ
=no
17204 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17205 export_dynamic_flag_spec_GCJ
='${wl}-E'
17206 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17207 # Instead, shared libraries are loaded at an image base (0x10000000 by
17208 # default) and relocated if they conflict, which is a slow very memory
17209 # consuming and fragmenting process. To avoid this, we pick a random,
17210 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17211 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17212 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'
17213 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'
17217 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17219 case $cc_basename,$host_cpu in
17220 pgcc
*) # Portland Group C compiler
17221 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'
17222 tmp_addflag
=' $pic_flag'
17224 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17225 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'
17226 tmp_addflag
=' $pic_flag -Mnomain' ;;
17227 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17228 tmp_addflag
=' -i_dynamic' ;;
17229 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17230 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17231 ifc
* | ifort
*) # Intel Fortran compiler
17232 tmp_addflag
=' -nofor_main' ;;
17234 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17236 if test $supports_anon_versioning = yes; then
17237 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17238 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17239 $echo "local: *; };" >> $output_objdir/$libname.ver~
17240 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17248 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17249 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17252 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17253 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17258 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17262 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17263 *** create shared libraries on Solaris systems. Therefore, libtool
17264 *** is disabling shared libraries support. We urge you to upgrade GNU
17265 *** binutils to release 2.9.1 or newer. Another option is to modify
17266 *** your PATH or compiler configuration so that the native linker is
17267 *** used, and then restart.
17270 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17271 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17272 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17278 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17279 case `$LD -v 2>&1` in
17280 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17284 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17285 *** reliably create shared libraries on SCO systems. Therefore, libtool
17286 *** is disabling shared libraries support. We urge you to upgrade GNU
17287 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17288 *** your PATH or compiler configuration so that the native linker is
17289 *** used, and then restart.
17294 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17295 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17296 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17297 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17306 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17308 hardcode_direct_GCJ
=yes
17309 hardcode_shlibpath_var_GCJ
=no
17313 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17314 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17315 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17322 if test "$ld_shlibs_GCJ" = no
; then
17324 hardcode_libdir_flag_spec_GCJ
=
17325 export_dynamic_flag_spec_GCJ
=
17326 whole_archive_flag_spec_GCJ
=
17329 # PORTME fill in a description of your system's linker (not GNU ld)
17332 allow_undefined_flag_GCJ
=unsupported
17333 always_export_symbols_GCJ
=yes
17334 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'
17335 # Note: this linker hardcodes the directories in LIBPATH if there
17336 # are no directories specified by -L.
17337 hardcode_minus_L_GCJ
=yes
17338 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17339 # Neither direct hardcoding nor static linking is supported with a
17341 hardcode_direct_GCJ
=unsupported
17346 if test "$host_cpu" = ia64
; then
17347 # On IA64, the linker does run time linking by default, so we don't
17348 # have to do anything special.
17349 aix_use_runtimelinking
=no
17350 exp_sym_flag
='-Bexport'
17353 # If we're using GNU nm, then we don't want the "-C" option.
17354 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17355 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17356 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'
17358 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'
17360 aix_use_runtimelinking
=no
17362 # Test if we are trying to use run time linking or normal
17363 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17364 # need to do runtime linking.
17365 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17366 for ld_flag
in $LDFLAGS; do
17367 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17368 aix_use_runtimelinking
=yes
17375 exp_sym_flag
='-bexport'
17376 no_entry_flag
='-bnoentry'
17379 # When large executables or shared objects are built, AIX ld can
17380 # have problems creating the table of contents. If linking a library
17381 # or program results in "error TOC overflow" add -mminimal-toc to
17382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17385 archive_cmds_GCJ
=''
17386 hardcode_direct_GCJ
=yes
17387 hardcode_libdir_separator_GCJ
=':'
17388 link_all_deplibs_GCJ
=yes
17390 if test "$GCC" = yes; then
17391 case $host_os in aix4.
[012]|aix4.
[012].
*)
17392 # We only want to do this on AIX 4.2 and lower, the check
17393 # below for broken collect2 doesn't work under 4.3+
17394 collect2name
=`${CC} -print-prog-name=collect2`
17395 if test -f "$collect2name" && \
17396 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17398 # We have reworked collect2
17399 hardcode_direct_GCJ
=yes
17401 # We have old collect2
17402 hardcode_direct_GCJ
=unsupported
17403 # It fails to find uninstalled libraries when the uninstalled
17404 # path is not listed in the libpath. Setting hardcode_minus_L
17405 # to unsupported forces relinking
17406 hardcode_minus_L_GCJ
=yes
17407 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17408 hardcode_libdir_separator_GCJ
=
17412 shared_flag
='-shared'
17413 if test "$aix_use_runtimelinking" = yes; then
17414 shared_flag
="$shared_flag "'${wl}-G'
17418 if test "$host_cpu" = ia64
; then
17419 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17420 # chokes on -Wl,-G. The following line is correct:
17423 if test "$aix_use_runtimelinking" = yes; then
17424 shared_flag
='${wl}-G'
17426 shared_flag
='${wl}-bM:SRE'
17431 # It seems that -bexpall does not export symbols beginning with
17432 # underscore (_), so it is better to generate a list of symbols to export.
17433 always_export_symbols_GCJ
=yes
17434 if test "$aix_use_runtimelinking" = yes; then
17435 # Warning - without using the other runtime loading flags (-brtl),
17436 # -berok will link without error, but may produce a broken library.
17437 allow_undefined_flag_GCJ
='-berok'
17438 # Determine the default libpath from the value encoded in an empty executable.
17439 cat >conftest.
$ac_ext <<_ACEOF
17442 cat confdefs.h
>>conftest.
$ac_ext
17443 cat >>conftest.
$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17454 rm -f conftest.
$ac_objext conftest
$ac_exeext
17455 if { (ac_try
="$ac_link"
17456 case "(($ac_try" in
17457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_link") 2>conftest.er1
17463 grep -v '^ *+' conftest.er1 >conftest.err
17465 cat conftest.err >&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } &&
17468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17469 { (case "(($ac_try" in
17470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17471 *) ac_try_echo
=$ac_try;;
17473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17474 (eval "$ac_try") 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; } &&
17478 { ac_try
='test -s conftest$ac_exeext'
17479 { (case "(($ac_try" in
17480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17481 *) ac_try_echo=$ac_try;;
17483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17484 (eval "$ac_try") 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; }; then
17489 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17491 # Check for a 64-bit object if we didn't find anything.
17492 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17503 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17505 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17506 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"
17508 if test "$host_cpu" = ia64; then
17509 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17510 allow_undefined_flag_GCJ="-z nodefs"
17511 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"
17513 # Determine the default libpath from the value encoded in an empty executable.
17514 cat >conftest.$ac_ext <<_ACEOF
17517 cat confdefs.h >>conftest.$ac_ext
17518 cat >>conftest.$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17529 rm -f conftest.$ac_objext conftest$ac_exeext
17530 if { (ac_try="$ac_link"
17531 case "(($ac_try" in
17532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17533 *) ac_try_echo
=$ac_try;;
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_link") 2>conftest.er1
17538 grep -v '^ *+' conftest.er1
>conftest.err
17540 cat conftest.err
>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } &&
17543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17544 { (case "(($ac_try" in
17545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_try") 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; } &&
17553 { ac_try='test -s conftest$ac_exeext'
17554 { (case "(($ac_try" in
17555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17556 *) ac_try_echo
=$ac_try;;
17558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17559 (eval "$ac_try") 2>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17564 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17566 # Check for a 64-bit object if we didn't find anything.
17567 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.
$ac_ext >&5
17576 rm -f core conftest.err conftest.
$ac_objext \
17577 conftest
$ac_exeext conftest.
$ac_ext
17578 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17580 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17581 # Warning - without using the other run time loading flags,
17582 # -berok will link without error, but may produce a broken library.
17583 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17584 allow_undefined_flag_GCJ
=' ${wl}-berok'
17585 # Exported symbols can be pulled into shared objects from archives
17586 whole_archive_flag_spec_GCJ
='$convenience'
17587 archive_cmds_need_lc_GCJ
=yes
17588 # This is similar to how AIX traditionally builds its shared libraries.
17589 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'
17595 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)'
17596 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17597 hardcode_minus_L_GCJ
=yes
17598 # see comment about different semantics on the GNU ld section
17603 export_dynamic_flag_spec_GCJ
=-rdynamic
17606 cygwin
* | mingw
* | pw32
*)
17607 # When not using gcc, we currently assume that we are using
17608 # Microsoft Visual C++.
17609 # hardcode_libdir_flag_spec is actually meaningless, as there is
17610 # no search path for DLLs.
17611 hardcode_libdir_flag_spec_GCJ
=' '
17612 allow_undefined_flag_GCJ
=unsupported
17613 # Tell ltmain to make .lib files, not .a files.
17615 # Tell ltmain to make .dll files, not .so files.
17617 # FIXME: Setting linknames here is a bad hack.
17618 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17619 # The linker will automatically build a .lib file if we build a DLL.
17620 old_archive_From_new_cmds_GCJ
='true'
17621 # FIXME: Should let the user specify the lib program.
17622 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17623 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17624 enable_shared_with_static_runtimes_GCJ
=yes
17627 darwin
* | rhapsody
*)
17629 rhapsody
* | darwin1.
[012])
17630 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17633 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17634 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17636 case ${MACOSX_DEPLOYMENT_TARGET} in
17638 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17641 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17647 archive_cmds_need_lc_GCJ
=no
17648 hardcode_direct_GCJ
=no
17649 hardcode_automatic_GCJ
=yes
17650 hardcode_shlibpath_var_GCJ
=unsupported
17651 whole_archive_flag_spec_GCJ
=''
17652 link_all_deplibs_GCJ
=yes
17653 if test "$GCC" = yes ; then
17654 output_verbose_link_cmd
='echo'
17655 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17656 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17657 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17658 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17659 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}'
17661 case $cc_basename in
17663 output_verbose_link_cmd
='echo'
17664 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17665 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17666 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17667 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17668 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}'
17678 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17679 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17680 hardcode_shlibpath_var_GCJ
=no
17687 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17688 # support. Future versions do this automatically, but an explicit c++rt0.o
17689 # does not break anything, and helps significantly (at the cost of a little
17692 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17693 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17694 hardcode_direct_GCJ
=yes
17695 hardcode_shlibpath_var_GCJ
=no
17698 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17700 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17701 hardcode_direct_GCJ
=yes
17702 hardcode_minus_L_GCJ
=yes
17703 hardcode_shlibpath_var_GCJ
=no
17706 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17707 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17708 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17709 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17710 hardcode_direct_GCJ
=yes
17711 hardcode_shlibpath_var_GCJ
=no
17715 if test "$GCC" = yes; then
17716 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'
17718 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'
17720 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17721 hardcode_libdir_separator_GCJ
=:
17722 hardcode_direct_GCJ
=yes
17724 # hardcode_minus_L: Not really in the search PATH,
17725 # but as the default location of the library.
17726 hardcode_minus_L_GCJ
=yes
17727 export_dynamic_flag_spec_GCJ
='${wl}-E'
17731 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17732 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17734 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17736 if test "$with_gnu_ld" = no
; then
17737 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17738 hardcode_libdir_separator_GCJ
=:
17740 hardcode_direct_GCJ
=yes
17741 export_dynamic_flag_spec_GCJ
='${wl}-E'
17743 # hardcode_minus_L: Not really in the search PATH,
17744 # but as the default location of the library.
17745 hardcode_minus_L_GCJ
=yes
17750 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17753 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17756 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17759 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17765 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17768 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17771 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17775 if test "$with_gnu_ld" = no
; then
17776 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17777 hardcode_libdir_separator_GCJ
=:
17781 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17782 hardcode_direct_GCJ
=no
17783 hardcode_shlibpath_var_GCJ
=no
17786 hardcode_direct_GCJ
=yes
17787 export_dynamic_flag_spec_GCJ
='${wl}-E'
17789 # hardcode_minus_L: Not really in the search PATH,
17790 # but as the default location of the library.
17791 hardcode_minus_L_GCJ
=yes
17797 irix5
* | irix6
* | nonstopux
*)
17798 if test "$GCC" = yes; then
17799 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'
17801 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'
17802 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17804 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17805 hardcode_libdir_separator_GCJ
=:
17806 link_all_deplibs_GCJ
=yes
17810 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17811 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17813 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17815 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17816 hardcode_direct_GCJ
=yes
17817 hardcode_shlibpath_var_GCJ
=no
17821 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17822 hardcode_direct_GCJ
=yes
17823 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17824 hardcode_libdir_separator_GCJ
=:
17825 hardcode_shlibpath_var_GCJ
=no
17829 hardcode_direct_GCJ
=yes
17830 hardcode_shlibpath_var_GCJ
=no
17831 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17832 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17833 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17834 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17835 export_dynamic_flag_spec_GCJ
='${wl}-E'
17838 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17839 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17840 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17843 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17844 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17851 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17852 hardcode_minus_L_GCJ
=yes
17853 allow_undefined_flag_GCJ
=unsupported
17854 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'
17855 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17859 if test "$GCC" = yes; then
17860 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17861 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'
17863 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17864 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'
17866 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17867 hardcode_libdir_separator_GCJ
=:
17870 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17871 if test "$GCC" = yes; then
17872 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17873 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'
17874 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17876 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17877 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'
17878 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~
17879 $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'
17881 # Both c and cxx compiler support -rpath directly
17882 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17884 hardcode_libdir_separator_GCJ
=:
17888 no_undefined_flag_GCJ
=' -z text'
17889 if test "$GCC" = yes; then
17891 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17892 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17893 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17896 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17897 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17898 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17900 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17901 hardcode_shlibpath_var_GCJ
=no
17903 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17905 # The compiler driver will combine linker options so we
17906 # cannot just pass the convience library names through
17907 # without $wl, iff we do not link with $LD.
17908 # Luckily, gcc supports the same syntax we need for Sun Studio.
17909 # Supported since Solaris 2.6 (maybe 2.5.1?)
17912 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17914 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17917 link_all_deplibs_GCJ
=yes
17921 if test "x$host_vendor" = xsequent
; then
17922 # Use $CC to link under sequent, because it throws in some extra .o
17923 # files that make .init and .fini sections work.
17924 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17926 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17928 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17929 hardcode_direct_GCJ
=yes
17930 hardcode_minus_L_GCJ
=yes
17931 hardcode_shlibpath_var_GCJ
=no
17935 case $host_vendor in
17937 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17938 hardcode_direct_GCJ
=yes # is this really true???
17941 ## LD is ld it makes a PLAMLIB
17942 ## CC just makes a GrossModule.
17943 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17944 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17945 hardcode_direct_GCJ
=no
17948 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17949 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17952 runpath_var
='LD_RUN_PATH'
17953 hardcode_shlibpath_var_GCJ
=no
17957 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17958 hardcode_shlibpath_var_GCJ
=no
17959 export_dynamic_flag_spec_GCJ
='-Bexport'
17963 if test -d /usr
/nec
; then
17964 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17965 hardcode_shlibpath_var_GCJ
=no
17966 runpath_var
=LD_RUN_PATH
17967 hardcode_runpath_var
=yes
17972 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17973 no_undefined_flag_GCJ
='${wl}-z,text'
17974 archive_cmds_need_lc_GCJ
=no
17975 hardcode_shlibpath_var_GCJ
=no
17976 runpath_var
='LD_RUN_PATH'
17978 if test "$GCC" = yes; then
17979 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17980 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17982 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17983 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17987 sysv5
* | sco3.2v5
* | sco5v6
*)
17988 # Note: We can NOT use -z defs as we might desire, because we do not
17989 # link with -lc, and that would cause any symbols used from libc to
17990 # always be unresolved, which means just about no library would
17991 # ever link correctly. If we're not using GNU ld we use -z text
17992 # though, which does catch some bad symbols but isn't as heavy-handed
17994 no_undefined_flag_GCJ
='${wl}-z,text'
17995 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17996 archive_cmds_need_lc_GCJ
=no
17997 hardcode_shlibpath_var_GCJ
=no
17998 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17999 hardcode_libdir_separator_GCJ
=':'
18000 link_all_deplibs_GCJ
=yes
18001 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18002 runpath_var
='LD_RUN_PATH'
18004 if test "$GCC" = yes; then
18005 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18006 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18008 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18009 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18014 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18015 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18016 hardcode_shlibpath_var_GCJ
=no
18025 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18026 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18027 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18030 # Do we need to explicitly link libc?
18032 case "x$archive_cmds_need_lc_GCJ" in
18034 # Assume -lc should be added
18035 archive_cmds_need_lc_GCJ
=yes
18037 if test "$enable_shared" = yes && test "$GCC" = yes; then
18038 case $archive_cmds_GCJ in
18040 # FIXME: we may have to deal with multi-command sequences.
18043 # Test whether the compiler implicitly links with -lc since on some
18044 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18045 # to ld, don't add -lc before -lgcc.
18046 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18047 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18049 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18052 (eval $ac_compile) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } 2>conftest.err
; then
18058 libobjs
=conftest.
$ac_objext
18060 wl
=$lt_prog_compiler_wl_GCJ
18061 pic_flag
=$lt_prog_compiler_pic_GCJ
18067 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18068 allow_undefined_flag_GCJ
=
18069 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18070 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }
18075 archive_cmds_need_lc_GCJ
=no
18077 archive_cmds_need_lc_GCJ
=yes
18079 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18081 cat conftest.err
1>&5
18084 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18085 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18092 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18093 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18094 library_names_spec
=
18095 libname_spec
='lib$name'
18099 postuninstall_cmds
=
18103 shlibpath_overrides_runpath
=unknown
18105 dynamic_linker
="$host_os ld.so"
18106 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18107 if test "$GCC" = yes; then
18108 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18109 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18110 # if the path contains ";" then we assume it to be the separator
18111 # otherwise default to the standard path separator (i.e. ":") - it is
18112 # assumed that no part of a normal pathname contains ";" but that should
18113 # okay in the real world where ";" in dirpaths is itself problematic.
18114 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18116 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18119 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18121 need_lib_prefix
=unknown
18122 hardcode_into_libs
=no
18124 # when you set need_version to no, make sure it does not cause -set_version
18125 # flags to be left without arguments
18126 need_version
=unknown
18131 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18132 shlibpath_var
=LIBPATH
18134 # AIX 3 has no versioning support, so we append a major version to the name.
18135 soname_spec
='${libname}${release}${shared_ext}$major'
18142 hardcode_into_libs
=yes
18143 if test "$host_cpu" = ia64
; then
18144 # AIX 5 supports IA64
18145 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18146 shlibpath_var
=LD_LIBRARY_PATH
18148 # With GCC up to 2.95.x, collect2 would create an import file
18149 # for dependence libraries. The import file would start with
18150 # the line `#! .'. This would cause the generated library to
18151 # depend on `.', always an invalid library. This was fixed in
18152 # development snapshots of GCC prior to 3.0.
18154 aix4 | aix4.
[01] | aix4.
[01].
*)
18155 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18157 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18160 can_build_shared
=no
18164 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18165 # soname into executable. Probably we can add versioning support to
18166 # collect2, so additional links can be useful in future.
18167 if test "$aix_use_runtimelinking" = yes; then
18168 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18169 # instead of lib<name>.a to let people know that these are not
18170 # typical AIX shared libraries.
18171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18173 # We preserve .a as extension for shared libraries through AIX4.2
18174 # and later when we are not doing run time linking.
18175 library_names_spec
='${libname}${release}.a $libname.a'
18176 soname_spec
='${libname}${release}${shared_ext}$major'
18178 shlibpath_var
=LIBPATH
18183 library_names_spec
='$libname.ixlibrary $libname.a'
18184 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18185 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'
18189 library_names_spec
='${libname}${shared_ext}'
18190 dynamic_linker
="$host_os ld.so"
18191 shlibpath_var
=LIBRARY_PATH
18197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18198 soname_spec
='${libname}${release}${shared_ext}$major'
18199 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18200 shlibpath_var
=LD_LIBRARY_PATH
18201 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18202 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18203 # the default ld.so.conf also contains /usr/contrib/lib and
18204 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18205 # libtool to hard-code these into programs
18208 cygwin
* | mingw
* | pw32
*)
18209 version_type
=windows
18214 case $GCC,$host_os in
18215 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18216 library_names_spec
='$libname.dll.a'
18217 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18218 postinstall_cmds
='base_file=`basename \${file}`~
18219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18220 dldir=$destdir/`dirname \$dlpath`~
18221 test -d \$dldir || mkdir -p \$dldir~
18222 $install_prog $dir/$dlname \$dldir/$dlname~
18223 chmod a+x \$dldir/$dlname'
18224 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18225 dlpath=$dir/\$dldll~
18227 shlibpath_overrides_runpath
=yes
18231 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18232 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18233 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18236 # MinGW DLLs use traditional 'lib' prefix
18237 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18238 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18239 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18240 # It is most probably a Windows format PATH printed by
18241 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18242 # path with ; separators, and with drive letters. We can handle the
18243 # drive letters (cygwin fileutils understands them), so leave them,
18244 # especially as we might pass files found there to a mingw objdump,
18245 # which wouldn't understand a cygwinified path. Ahh.
18246 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18248 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18252 # pw32 DLLs use 'pw' prefix rather than 'lib'
18253 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18259 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18262 dynamic_linker
='Win32 ld.exe'
18263 # FIXME: first we should search . and the directory the executable is in
18267 darwin
* | rhapsody
*)
18268 dynamic_linker
="$host_os dyld"
18269 version_type
=darwin
18272 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18273 soname_spec
='${libname}${release}${major}$shared_ext'
18274 shlibpath_overrides_runpath
=yes
18275 shlibpath_var
=DYLD_LIBRARY_PATH
18276 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18277 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18278 if test "$GCC" = yes; then
18279 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18281 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18283 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18291 soname_spec
='${libname}${release}${shared_ext}$major'
18292 shlibpath_var
=LD_LIBRARY_PATH
18303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18304 soname_spec
='${libname}${release}${shared_ext}$major'
18305 shlibpath_var
=LD_LIBRARY_PATH
18306 shlibpath_overrides_runpath
=no
18307 hardcode_into_libs
=yes
18308 dynamic_linker
='GNU ld.so'
18311 freebsd
* | dragonfly
*)
18312 # DragonFly does not have aout. When/if they implement a new
18313 # versioning mechanism, adjust this.
18314 if test -x /usr
/bin
/objformat
; then
18315 objformat
=`/usr/bin/objformat`
18318 freebsd
[123]*) objformat
=aout
;;
18319 *) objformat
=elf
;;
18322 version_type
=freebsd-
$objformat
18323 case $version_type in
18325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18330 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18334 shlibpath_var
=LD_LIBRARY_PATH
18337 shlibpath_overrides_runpath
=yes
18339 freebsd3.
[01]* | freebsdelf3.
[01]*)
18340 shlibpath_overrides_runpath
=yes
18341 hardcode_into_libs
=yes
18343 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18344 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18345 shlibpath_overrides_runpath
=no
18346 hardcode_into_libs
=yes
18348 freebsd
*) # from 4.6 on
18349 shlibpath_overrides_runpath
=yes
18350 hardcode_into_libs
=yes
18359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18360 soname_spec
='${libname}${release}${shared_ext}$major'
18361 shlibpath_var
=LD_LIBRARY_PATH
18362 hardcode_into_libs
=yes
18365 hpux9
* | hpux10
* | hpux11
*)
18366 # Give a soname corresponding to the major version so that dld.sl refuses to
18367 # link against other versions.
18374 hardcode_into_libs
=yes
18375 dynamic_linker
="$host_os dld.so"
18376 shlibpath_var
=LD_LIBRARY_PATH
18377 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18379 soname_spec
='${libname}${release}${shared_ext}$major'
18380 if test "X$HPUX_IA64_MODE" = X32
; then
18381 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18383 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18385 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18389 hardcode_into_libs
=yes
18390 dynamic_linker
="$host_os dld.sl"
18391 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18392 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18394 soname_spec
='${libname}${release}${shared_ext}$major'
18395 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18396 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18400 dynamic_linker
="$host_os dld.sl"
18401 shlibpath_var
=SHLIB_PATH
18402 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18404 soname_spec
='${libname}${release}${shared_ext}$major'
18407 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18408 postinstall_cmds
='chmod 555 $lib'
18415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18416 soname_spec
='${libname}${release}${shared_ext}$major'
18417 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18418 shlibpath_var
=LD_LIBRARY_PATH
18419 shlibpath_overrides_runpath
=no
18420 hardcode_into_libs
=yes
18423 irix5
* | irix6
* | nonstopux
*)
18425 nonstopux
*) version_type
=nonstopux
;;
18427 if test "$lt_cv_prog_gnu_ld" = yes; then
18435 soname_spec
='${libname}${release}${shared_ext}$major'
18436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18438 irix5
* | nonstopux
*)
18439 libsuff
= shlibsuff
=
18442 case $LD in # libtool.m4 will add one of these switches to LD
18443 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18444 libsuff
= shlibsuff
= libmagic
=32-bit;;
18445 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18446 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18447 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18448 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18449 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18453 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18454 shlibpath_overrides_runpath
=no
18455 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18456 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18457 hardcode_into_libs
=yes
18460 # No shared lib support for Linux oldld, aout, or coff.
18461 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18465 # This must be Linux ELF.
18470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18471 soname_spec
='${libname}${release}${shared_ext}$major'
18472 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18473 shlibpath_var
=LD_LIBRARY_PATH
18474 shlibpath_overrides_runpath
=no
18475 # This implies no fast_install, which is unacceptable.
18476 # Some rework will be needed to allow for fast_install
18477 # before this can be enabled.
18478 hardcode_into_libs
=yes
18480 # Append ld.so.conf contents to the search path
18481 if test -f /etc
/ld.so.conf
; then
18482 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18483 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18486 # We used to test for /lib/ld.so.1 and disable shared libraries on
18487 # powerpc, because MkLinux only supported shared libraries with the
18488 # GNU dynamic linker. Since this was broken with cross compilers,
18489 # most powerpc-linux boxes support dynamic linking these days and
18490 # people can always --disable-shared, the test was removed, and we
18491 # assume the GNU/Linux dynamic linker is in use.
18492 dynamic_linker
='GNU/Linux ld.so'
18499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18500 soname_spec
='${libname}${release}${shared_ext}$major'
18501 shlibpath_var
=LD_LIBRARY_PATH
18502 shlibpath_overrides_runpath
=no
18503 hardcode_into_libs
=yes
18504 dynamic_linker
='GNU ld.so'
18511 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18513 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18514 dynamic_linker
='NetBSD (a.out) ld.so'
18516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18517 soname_spec
='${libname}${release}${shared_ext}$major'
18518 dynamic_linker
='NetBSD ld.elf_so'
18520 shlibpath_var
=LD_LIBRARY_PATH
18521 shlibpath_overrides_runpath
=yes
18522 hardcode_into_libs
=yes
18527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18528 shlibpath_var
=LD_LIBRARY_PATH
18529 shlibpath_overrides_runpath
=yes
18536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18537 soname_spec
='${libname}${release}${shared_ext}$major'
18538 shlibpath_var
=LD_LIBRARY_PATH
18539 shlibpath_overrides_runpath
=yes
18544 sys_lib_dlsearch_path_spec
="/usr/lib"
18546 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18548 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18549 *) need_version
=no
;;
18551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18552 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18553 shlibpath_var
=LD_LIBRARY_PATH
18554 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18556 openbsd2.
[89] | openbsd2.
[89].
*)
18557 shlibpath_overrides_runpath
=no
18560 shlibpath_overrides_runpath
=yes
18564 shlibpath_overrides_runpath
=yes
18569 libname_spec
='$name'
18572 library_names_spec
='$libname${shared_ext} $libname.a'
18573 dynamic_linker
='OS/2 ld.exe'
18574 shlibpath_var
=LIBPATH
18577 osf3
* | osf4
* | osf5
*)
18581 soname_spec
='${libname}${release}${shared_ext}$major'
18582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18583 shlibpath_var
=LD_LIBRARY_PATH
18584 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18585 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18593 soname_spec
='${libname}${release}${shared_ext}$major'
18594 shlibpath_var
=LD_LIBRARY_PATH
18595 shlibpath_overrides_runpath
=yes
18596 hardcode_into_libs
=yes
18597 # ldd complains unless libraries are executable
18598 postinstall_cmds
='chmod +x $lib'
18603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18604 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18605 shlibpath_var
=LD_LIBRARY_PATH
18606 shlibpath_overrides_runpath
=yes
18607 if test "$with_gnu_ld" = yes; then
18615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18616 soname_spec
='${libname}${release}${shared_ext}$major'
18617 shlibpath_var
=LD_LIBRARY_PATH
18618 case $host_vendor in
18620 shlibpath_overrides_runpath
=no
18622 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18623 runpath_var
=LD_RUN_PATH
18631 shlibpath_overrides_runpath
=no
18632 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18638 if test -d /usr
/nec
;then
18640 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18641 soname_spec
='$libname${shared_ext}.$major'
18642 shlibpath_var
=LD_LIBRARY_PATH
18646 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18647 version_type
=freebsd-elf
18650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18651 soname_spec
='${libname}${release}${shared_ext}$major'
18652 shlibpath_var
=LD_LIBRARY_PATH
18653 hardcode_into_libs
=yes
18654 if test "$with_gnu_ld" = yes; then
18655 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18656 shlibpath_overrides_runpath
=no
18658 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18659 shlibpath_overrides_runpath
=yes
18662 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18666 sys_lib_dlsearch_path_spec
='/usr/lib'
18671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18672 soname_spec
='${libname}${release}${shared_ext}$major'
18673 shlibpath_var
=LD_LIBRARY_PATH
18680 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18681 echo "${ECHO_T}$dynamic_linker" >&6; }
18682 test "$dynamic_linker" = no
&& can_build_shared
=no
18684 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18685 if test "$GCC" = yes; then
18686 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18689 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18690 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18691 hardcode_action_GCJ
=
18692 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18693 test -n "$runpath_var_GCJ" || \
18694 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18696 # We can hardcode non-existant directories.
18697 if test "$hardcode_direct_GCJ" != no
&&
18698 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18699 # have to relink, otherwise we might link with an installed library
18700 # when we should be linking with a yet-to-be-installed one
18701 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18702 test "$hardcode_minus_L_GCJ" != no
; then
18703 # Linking always hardcodes the temporary library directory.
18704 hardcode_action_GCJ
=relink
18706 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18707 hardcode_action_GCJ
=immediate
18710 # We cannot hardcode anything, or else we can only hardcode existing
18712 hardcode_action_GCJ
=unsupported
18714 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18715 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18717 if test "$hardcode_action_GCJ" = relink
; then
18718 # Fast installation is not supported
18719 enable_fast_install
=no
18720 elif test "$shlibpath_overrides_runpath" = yes ||
18721 test "$enable_shared" = no
; then
18722 # Fast installation is not necessary
18723 enable_fast_install
=needless
18727 # The else clause should only fire when bootstrapping the
18728 # libtool distribution, otherwise you forgot to ship ltmain.sh
18729 # with your package, and you will get complaints that there are
18730 # no rules to generate ltmain.sh.
18731 if test -f "$ltmain"; then
18732 # See if we are running on zsh, and set the options which allow our commands through
18733 # without removal of \ escapes.
18734 if test -n "${ZSH_VERSION+set}" ; then
18735 setopt NO_GLOB_SUBST
18737 # Now quote all the things that may contain metacharacters while being
18738 # careful not to overquote the AC_SUBSTed values. We take copies of the
18739 # variables and quote the copies for generation of the libtool script.
18740 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18742 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18743 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18744 deplibs_check_method reload_flag reload_cmds need_locks \
18745 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18746 lt_cv_sys_global_symbol_to_c_name_address \
18747 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18748 old_postinstall_cmds old_postuninstall_cmds \
18752 lt_prog_compiler_wl_GCJ \
18753 lt_prog_compiler_pic_GCJ \
18754 lt_prog_compiler_static_GCJ \
18755 lt_prog_compiler_no_builtin_flag_GCJ \
18756 export_dynamic_flag_spec_GCJ \
18757 thread_safe_flag_spec_GCJ \
18758 whole_archive_flag_spec_GCJ \
18759 enable_shared_with_static_runtimes_GCJ \
18760 old_archive_cmds_GCJ \
18761 old_archive_from_new_cmds_GCJ \
18762 predep_objects_GCJ \
18763 postdep_objects_GCJ \
18766 compiler_lib_search_path_GCJ \
18768 archive_expsym_cmds_GCJ \
18769 postinstall_cmds_GCJ \
18770 postuninstall_cmds_GCJ \
18771 old_archive_from_expsyms_cmds_GCJ \
18772 allow_undefined_flag_GCJ \
18773 no_undefined_flag_GCJ \
18774 export_symbols_cmds_GCJ \
18775 hardcode_libdir_flag_spec_GCJ \
18776 hardcode_libdir_flag_spec_ld_GCJ \
18777 hardcode_libdir_separator_GCJ \
18778 hardcode_automatic_GCJ \
18780 module_expsym_cmds_GCJ \
18781 lt_cv_prog_compiler_c_o_GCJ \
18782 exclude_expsyms_GCJ \
18783 include_expsyms_GCJ
; do
18786 old_archive_cmds_GCJ | \
18787 old_archive_from_new_cmds_GCJ | \
18788 archive_cmds_GCJ | \
18789 archive_expsym_cmds_GCJ | \
18790 module_cmds_GCJ | \
18791 module_expsym_cmds_GCJ | \
18792 old_archive_from_expsyms_cmds_GCJ | \
18793 export_symbols_cmds_GCJ | \
18794 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18795 postinstall_cmds | postuninstall_cmds | \
18796 old_postinstall_cmds | old_postuninstall_cmds | \
18797 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18798 # Double-quote double-evaled strings.
18799 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18802 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18808 *'\$0 --fallback-echo"')
18809 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18815 cat <<__EOF__ >> "$cfgfile"
18816 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18818 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18820 # Shell to use when invoking shell scripts.
18823 # Whether or not to build shared libraries.
18824 build_libtool_libs=$enable_shared
18826 # Whether or not to build static libraries.
18827 build_old_libs=$enable_static
18829 # Whether or not to add -lc for building shared libraries.
18830 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18832 # Whether or not to disallow shared libs when runtime libs are static
18833 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18835 # Whether or not to optimize for fast installation.
18836 fast_install=$enable_fast_install
18839 host_alias=$host_alias
18843 # The build system.
18844 build_alias=$build_alias
18848 # An echo program that does not interpret backslashes.
18853 AR_FLAGS=$lt_AR_FLAGS
18858 # LTCC compiler flags.
18859 LTCFLAGS=$lt_LTCFLAGS
18861 # A language-specific compiler.
18862 CC=$lt_compiler_GCJ
18864 # Is the compiler the GNU C compiler?
18870 # The linker used to build libraries.
18873 # Whether we need hard or soft links.
18876 # A BSD-compatible nm program.
18879 # A symbol stripping program
18882 # Used to examine libraries when file_magic_cmd begins "file"
18883 MAGIC_CMD=$MAGIC_CMD
18885 # Used on cygwin: DLL creation program.
18888 # Used on cygwin: object dumper.
18891 # Used on cygwin: assembler.
18894 # The name of the directory that contains temporary libtool files.
18897 # How to create reloadable object files.
18898 reload_flag=$lt_reload_flag
18899 reload_cmds=$lt_reload_cmds
18901 # How to pass a linker flag through the compiler.
18902 wl=$lt_lt_prog_compiler_wl_GCJ
18904 # Object file suffix (normally "o").
18905 objext="$ac_objext"
18907 # Old archive suffix (normally "a").
18910 # Shared library suffix (normally ".so").
18911 shrext_cmds='$shrext_cmds'
18913 # Executable file suffix (normally "").
18916 # Additional compiler flags for building library objects.
18917 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18920 # What is the maximum length of a command?
18921 max_cmd_len=$lt_cv_sys_max_cmd_len
18923 # Does compiler simultaneously support -c and -o options?
18924 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18926 # Must we lock files when doing compilation?
18927 need_locks=$lt_need_locks
18929 # Do we need the lib prefix for modules?
18930 need_lib_prefix=$need_lib_prefix
18932 # Do we need a version for libraries?
18933 need_version=$need_version
18935 # Whether dlopen is supported.
18936 dlopen_support=$enable_dlopen
18938 # Whether dlopen of programs is supported.
18939 dlopen_self=$enable_dlopen_self
18941 # Whether dlopen of statically linked programs is supported.
18942 dlopen_self_static=$enable_dlopen_self_static
18944 # Compiler flag to prevent dynamic linking.
18945 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18947 # Compiler flag to turn off builtin functions.
18948 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18950 # Compiler flag to allow reflexive dlopens.
18951 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18953 # Compiler flag to generate shared objects directly from archives.
18954 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18956 # Compiler flag to generate thread-safe objects.
18957 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18959 # Library versioning type.
18960 version_type=$version_type
18962 # Format of library name prefix.
18963 libname_spec=$lt_libname_spec
18965 # List of archive names. First name is the real one, the rest are links.
18966 # The last name is the one that the linker finds with -lNAME.
18967 library_names_spec=$lt_library_names_spec
18969 # The coded name of the library, if different from the real name.
18970 soname_spec=$lt_soname_spec
18972 # Commands used to build and install an old-style archive.
18974 old_archive_cmds=$lt_old_archive_cmds_GCJ
18975 old_postinstall_cmds=$lt_old_postinstall_cmds
18976 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18978 # Create an old-style archive from a shared archive.
18979 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18981 # Create a temporary old-style archive to link instead of a shared archive.
18982 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18984 # Commands used to build and install a shared archive.
18985 archive_cmds=$lt_archive_cmds_GCJ
18986 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18987 postinstall_cmds=$lt_postinstall_cmds
18988 postuninstall_cmds=$lt_postuninstall_cmds
18990 # Commands used to build a loadable module (assumed same as above if empty)
18991 module_cmds=$lt_module_cmds_GCJ
18992 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18994 # Commands to strip libraries.
18995 old_striplib=$lt_old_striplib
18996 striplib=$lt_striplib
18998 # Dependencies to place before the objects being linked to create a
19000 predep_objects=$lt_predep_objects_GCJ
19002 # Dependencies to place after the objects being linked to create a
19004 postdep_objects=$lt_postdep_objects_GCJ
19006 # Dependencies to place before the objects being linked to create a
19008 predeps=$lt_predeps_GCJ
19010 # Dependencies to place after the objects being linked to create a
19012 postdeps=$lt_postdeps_GCJ
19014 # The library search path used internally by the compiler when linking
19015 # a shared library.
19016 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19018 # Method to check whether dependent libraries are shared objects.
19019 deplibs_check_method=$lt_deplibs_check_method
19021 # Command to use when deplibs_check_method == file_magic.
19022 file_magic_cmd=$lt_file_magic_cmd
19024 # Flag that allows shared libraries with undefined symbols to be built.
19025 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19027 # Flag that forces no undefined symbols.
19028 no_undefined_flag=$lt_no_undefined_flag_GCJ
19030 # Commands used to finish a libtool library installation in a directory.
19031 finish_cmds=$lt_finish_cmds
19033 # Same as above, but a single script fragment to be evaled but not shown.
19034 finish_eval=$lt_finish_eval
19036 # Take the output of nm and produce a listing of raw symbols and C names.
19037 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19039 # Transform the output of nm in a proper C declaration
19040 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19042 # Transform the output of nm in a C name address pair
19043 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19045 # This is the shared library runtime path variable.
19046 runpath_var=$runpath_var
19048 # This is the shared library path variable.
19049 shlibpath_var=$shlibpath_var
19051 # Is shlibpath searched before the hard-coded library search path?
19052 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19054 # How to hardcode a shared library path into an executable.
19055 hardcode_action=$hardcode_action_GCJ
19057 # Whether we should hardcode library paths into libraries.
19058 hardcode_into_libs=$hardcode_into_libs
19060 # Flag to hardcode \$libdir into a binary during linking.
19061 # This must work even if \$libdir does not exist.
19062 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19064 # If ld is used when linking, flag to hardcode \$libdir into
19065 # a binary during linking. This must work even if \$libdir does
19067 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19069 # Whether we need a single -rpath flag with a separated argument.
19070 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19072 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19073 # resulting binary.
19074 hardcode_direct=$hardcode_direct_GCJ
19076 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19077 # resulting binary.
19078 hardcode_minus_L=$hardcode_minus_L_GCJ
19080 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19081 # the resulting binary.
19082 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19084 # Set to yes if building a shared library automatically hardcodes DIR into the library
19085 # and all subsequent libraries and executables linked against it.
19086 hardcode_automatic=$hardcode_automatic_GCJ
19088 # Variables whose values should be saved in libtool wrapper scripts and
19089 # restored at relink time.
19090 variables_saved_for_relink="$variables_saved_for_relink"
19092 # Whether libtool must link a program against all its dependency libraries.
19093 link_all_deplibs=$link_all_deplibs_GCJ
19095 # Compile-time system search path for libraries
19096 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19098 # Run-time system search path for libraries
19099 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19101 # Fix the shell variable \$srcfile for the compiler.
19102 fix_srcfile_path="$fix_srcfile_path_GCJ"
19104 # Set to yes if exported symbols are required.
19105 always_export_symbols=$always_export_symbols_GCJ
19107 # The commands to list exported symbols.
19108 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19110 # The commands to extract the exported symbol list from a shared archive.
19111 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19113 # Symbols that should not be listed in the preloaded symbols.
19114 exclude_expsyms=$lt_exclude_expsyms_GCJ
19116 # Symbols that must always be exported.
19117 include_expsyms=$lt_include_expsyms_GCJ
19119 # ### END LIBTOOL TAG CONFIG: $tagname
19125 # If there is no Makefile yet, we rely on a make rule to execute
19126 # `config.status --recheck' to rerun these tests and create the
19127 # libtool script then.
19128 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19129 if test -f "$ltmain_in"; then
19130 test -f Makefile
&& make "$ltmain"
19136 ac_cpp
='$CXXCPP $CPPFLAGS'
19137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19151 # Source file extension for RC test sources.
19154 # Object file extension for compiled RC test sources.
19158 # Code to be used in simple compile tests
19159 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19161 # Code to be used in simple link tests
19162 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19164 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19166 # If no C compiler was specified, use CC.
19169 # If no C compiler flags were specified, use CFLAGS.
19170 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19172 # Allow CC to be a program name with arguments.
19176 # save warnings/boilerplate of simple test code
19177 ac_outfile
=conftest.
$ac_objext
19178 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19179 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19180 _lt_compiler_boilerplate
=`cat conftest.err`
19183 ac_outfile
=conftest.
$ac_objext
19184 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19185 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19186 _lt_linker_boilerplate
=`cat conftest.err`
19190 # Allow CC to be a program name with arguments.
19195 for cc_temp
in $compiler""; do
19197 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19198 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19203 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19205 lt_cv_prog_compiler_c_o_RC
=yes
19207 # The else clause should only fire when bootstrapping the
19208 # libtool distribution, otherwise you forgot to ship ltmain.sh
19209 # with your package, and you will get complaints that there are
19210 # no rules to generate ltmain.sh.
19211 if test -f "$ltmain"; then
19212 # See if we are running on zsh, and set the options which allow our commands through
19213 # without removal of \ escapes.
19214 if test -n "${ZSH_VERSION+set}" ; then
19215 setopt NO_GLOB_SUBST
19217 # Now quote all the things that may contain metacharacters while being
19218 # careful not to overquote the AC_SUBSTed values. We take copies of the
19219 # variables and quote the copies for generation of the libtool script.
19220 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19222 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19223 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19224 deplibs_check_method reload_flag reload_cmds need_locks \
19225 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19226 lt_cv_sys_global_symbol_to_c_name_address \
19227 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19228 old_postinstall_cmds old_postuninstall_cmds \
19232 lt_prog_compiler_wl_RC \
19233 lt_prog_compiler_pic_RC \
19234 lt_prog_compiler_static_RC \
19235 lt_prog_compiler_no_builtin_flag_RC \
19236 export_dynamic_flag_spec_RC \
19237 thread_safe_flag_spec_RC \
19238 whole_archive_flag_spec_RC \
19239 enable_shared_with_static_runtimes_RC \
19240 old_archive_cmds_RC \
19241 old_archive_from_new_cmds_RC \
19242 predep_objects_RC \
19243 postdep_objects_RC \
19246 compiler_lib_search_path_RC \
19248 archive_expsym_cmds_RC \
19249 postinstall_cmds_RC \
19250 postuninstall_cmds_RC \
19251 old_archive_from_expsyms_cmds_RC \
19252 allow_undefined_flag_RC \
19253 no_undefined_flag_RC \
19254 export_symbols_cmds_RC \
19255 hardcode_libdir_flag_spec_RC \
19256 hardcode_libdir_flag_spec_ld_RC \
19257 hardcode_libdir_separator_RC \
19258 hardcode_automatic_RC \
19260 module_expsym_cmds_RC \
19261 lt_cv_prog_compiler_c_o_RC \
19262 exclude_expsyms_RC \
19263 include_expsyms_RC
; do
19266 old_archive_cmds_RC | \
19267 old_archive_from_new_cmds_RC | \
19268 archive_cmds_RC | \
19269 archive_expsym_cmds_RC | \
19271 module_expsym_cmds_RC | \
19272 old_archive_from_expsyms_cmds_RC | \
19273 export_symbols_cmds_RC | \
19274 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19275 postinstall_cmds | postuninstall_cmds | \
19276 old_postinstall_cmds | old_postuninstall_cmds | \
19277 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19278 # Double-quote double-evaled strings.
19279 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19282 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19288 *'\$0 --fallback-echo"')
19289 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19295 cat <<__EOF__ >> "$cfgfile"
19296 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19298 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19300 # Shell to use when invoking shell scripts.
19303 # Whether or not to build shared libraries.
19304 build_libtool_libs=$enable_shared
19306 # Whether or not to build static libraries.
19307 build_old_libs=$enable_static
19309 # Whether or not to add -lc for building shared libraries.
19310 build_libtool_need_lc=$archive_cmds_need_lc_RC
19312 # Whether or not to disallow shared libs when runtime libs are static
19313 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19315 # Whether or not to optimize for fast installation.
19316 fast_install=$enable_fast_install
19319 host_alias=$host_alias
19323 # The build system.
19324 build_alias=$build_alias
19328 # An echo program that does not interpret backslashes.
19333 AR_FLAGS=$lt_AR_FLAGS
19338 # LTCC compiler flags.
19339 LTCFLAGS=$lt_LTCFLAGS
19341 # A language-specific compiler.
19344 # Is the compiler the GNU C compiler?
19350 # The linker used to build libraries.
19353 # Whether we need hard or soft links.
19356 # A BSD-compatible nm program.
19359 # A symbol stripping program
19362 # Used to examine libraries when file_magic_cmd begins "file"
19363 MAGIC_CMD=$MAGIC_CMD
19365 # Used on cygwin: DLL creation program.
19368 # Used on cygwin: object dumper.
19371 # Used on cygwin: assembler.
19374 # The name of the directory that contains temporary libtool files.
19377 # How to create reloadable object files.
19378 reload_flag=$lt_reload_flag
19379 reload_cmds=$lt_reload_cmds
19381 # How to pass a linker flag through the compiler.
19382 wl=$lt_lt_prog_compiler_wl_RC
19384 # Object file suffix (normally "o").
19385 objext="$ac_objext"
19387 # Old archive suffix (normally "a").
19390 # Shared library suffix (normally ".so").
19391 shrext_cmds='$shrext_cmds'
19393 # Executable file suffix (normally "").
19396 # Additional compiler flags for building library objects.
19397 pic_flag=$lt_lt_prog_compiler_pic_RC
19400 # What is the maximum length of a command?
19401 max_cmd_len=$lt_cv_sys_max_cmd_len
19403 # Does compiler simultaneously support -c and -o options?
19404 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19406 # Must we lock files when doing compilation?
19407 need_locks=$lt_need_locks
19409 # Do we need the lib prefix for modules?
19410 need_lib_prefix=$need_lib_prefix
19412 # Do we need a version for libraries?
19413 need_version=$need_version
19415 # Whether dlopen is supported.
19416 dlopen_support=$enable_dlopen
19418 # Whether dlopen of programs is supported.
19419 dlopen_self=$enable_dlopen_self
19421 # Whether dlopen of statically linked programs is supported.
19422 dlopen_self_static=$enable_dlopen_self_static
19424 # Compiler flag to prevent dynamic linking.
19425 link_static_flag=$lt_lt_prog_compiler_static_RC
19427 # Compiler flag to turn off builtin functions.
19428 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19430 # Compiler flag to allow reflexive dlopens.
19431 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19433 # Compiler flag to generate shared objects directly from archives.
19434 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19436 # Compiler flag to generate thread-safe objects.
19437 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19439 # Library versioning type.
19440 version_type=$version_type
19442 # Format of library name prefix.
19443 libname_spec=$lt_libname_spec
19445 # List of archive names. First name is the real one, the rest are links.
19446 # The last name is the one that the linker finds with -lNAME.
19447 library_names_spec=$lt_library_names_spec
19449 # The coded name of the library, if different from the real name.
19450 soname_spec=$lt_soname_spec
19452 # Commands used to build and install an old-style archive.
19454 old_archive_cmds=$lt_old_archive_cmds_RC
19455 old_postinstall_cmds=$lt_old_postinstall_cmds
19456 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19458 # Create an old-style archive from a shared archive.
19459 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19461 # Create a temporary old-style archive to link instead of a shared archive.
19462 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19464 # Commands used to build and install a shared archive.
19465 archive_cmds=$lt_archive_cmds_RC
19466 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19467 postinstall_cmds=$lt_postinstall_cmds
19468 postuninstall_cmds=$lt_postuninstall_cmds
19470 # Commands used to build a loadable module (assumed same as above if empty)
19471 module_cmds=$lt_module_cmds_RC
19472 module_expsym_cmds=$lt_module_expsym_cmds_RC
19474 # Commands to strip libraries.
19475 old_striplib=$lt_old_striplib
19476 striplib=$lt_striplib
19478 # Dependencies to place before the objects being linked to create a
19480 predep_objects=$lt_predep_objects_RC
19482 # Dependencies to place after the objects being linked to create a
19484 postdep_objects=$lt_postdep_objects_RC
19486 # Dependencies to place before the objects being linked to create a
19488 predeps=$lt_predeps_RC
19490 # Dependencies to place after the objects being linked to create a
19492 postdeps=$lt_postdeps_RC
19494 # The library search path used internally by the compiler when linking
19495 # a shared library.
19496 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19498 # Method to check whether dependent libraries are shared objects.
19499 deplibs_check_method=$lt_deplibs_check_method
19501 # Command to use when deplibs_check_method == file_magic.
19502 file_magic_cmd=$lt_file_magic_cmd
19504 # Flag that allows shared libraries with undefined symbols to be built.
19505 allow_undefined_flag=$lt_allow_undefined_flag_RC
19507 # Flag that forces no undefined symbols.
19508 no_undefined_flag=$lt_no_undefined_flag_RC
19510 # Commands used to finish a libtool library installation in a directory.
19511 finish_cmds=$lt_finish_cmds
19513 # Same as above, but a single script fragment to be evaled but not shown.
19514 finish_eval=$lt_finish_eval
19516 # Take the output of nm and produce a listing of raw symbols and C names.
19517 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19519 # Transform the output of nm in a proper C declaration
19520 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19522 # Transform the output of nm in a C name address pair
19523 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19525 # This is the shared library runtime path variable.
19526 runpath_var=$runpath_var
19528 # This is the shared library path variable.
19529 shlibpath_var=$shlibpath_var
19531 # Is shlibpath searched before the hard-coded library search path?
19532 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19534 # How to hardcode a shared library path into an executable.
19535 hardcode_action=$hardcode_action_RC
19537 # Whether we should hardcode library paths into libraries.
19538 hardcode_into_libs=$hardcode_into_libs
19540 # Flag to hardcode \$libdir into a binary during linking.
19541 # This must work even if \$libdir does not exist.
19542 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19544 # If ld is used when linking, flag to hardcode \$libdir into
19545 # a binary during linking. This must work even if \$libdir does
19547 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19549 # Whether we need a single -rpath flag with a separated argument.
19550 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19552 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19553 # resulting binary.
19554 hardcode_direct=$hardcode_direct_RC
19556 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19557 # resulting binary.
19558 hardcode_minus_L=$hardcode_minus_L_RC
19560 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19561 # the resulting binary.
19562 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19564 # Set to yes if building a shared library automatically hardcodes DIR into the library
19565 # and all subsequent libraries and executables linked against it.
19566 hardcode_automatic=$hardcode_automatic_RC
19568 # Variables whose values should be saved in libtool wrapper scripts and
19569 # restored at relink time.
19570 variables_saved_for_relink="$variables_saved_for_relink"
19572 # Whether libtool must link a program against all its dependency libraries.
19573 link_all_deplibs=$link_all_deplibs_RC
19575 # Compile-time system search path for libraries
19576 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19578 # Run-time system search path for libraries
19579 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19581 # Fix the shell variable \$srcfile for the compiler.
19582 fix_srcfile_path="$fix_srcfile_path_RC"
19584 # Set to yes if exported symbols are required.
19585 always_export_symbols=$always_export_symbols_RC
19587 # The commands to list exported symbols.
19588 export_symbols_cmds=$lt_export_symbols_cmds_RC
19590 # The commands to extract the exported symbol list from a shared archive.
19591 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19593 # Symbols that should not be listed in the preloaded symbols.
19594 exclude_expsyms=$lt_exclude_expsyms_RC
19596 # Symbols that must always be exported.
19597 include_expsyms=$lt_include_expsyms_RC
19599 # ### END LIBTOOL TAG CONFIG: $tagname
19605 # If there is no Makefile yet, we rely on a make rule to execute
19606 # `config.status --recheck' to rerun these tests and create the
19607 # libtool script then.
19608 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19609 if test -f "$ltmain_in"; then
19610 test -f Makefile
&& make "$ltmain"
19616 ac_cpp
='$CXXCPP $CPPFLAGS'
19617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19626 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19627 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19628 { (exit 1); exit 1; }; }
19632 # Append the new tag name to the list of available tags.
19633 if test -n "$tagname" ; then
19634 available_tags
="$available_tags $tagname"
19640 # Now substitute the updated list of available tags.
19641 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19642 mv "${ofile}T" "$ofile"
19646 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19647 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19648 { (exit 1); exit 1; }; }
19654 # This can be used to rebuild libtool when needed
19655 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19657 # Always use our own libtool.
19658 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19660 # Prevent multiple expansion
19681 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19682 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
19683 if test "${ac_cv_c_bigendian+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 # See if sys/param.h defines the BYTE_ORDER macro.
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #include <sys/types.h>
19694 #include <sys/param.h>
19699 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19700 bogus endian macros
19707 rm -f conftest.
$ac_objext
19708 if { (ac_try
="$ac_compile"
19709 case "(($ac_try" in
19710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19711 *) ac_try_echo=$ac_try;;
19713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19714 (eval "$ac_compile") 2>conftest.er1
19716 grep -v '^ *+' conftest.er1 >conftest.err
19718 cat conftest.err >&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19722 { (case "(($ac_try" in
19723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19724 *) ac_try_echo
=$ac_try;;
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_try") 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; } &&
19731 { ac_try
='test -s conftest.$ac_objext'
19732 { (case "(($ac_try" in
19733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_try") 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; }; then
19741 # It does; now see whether it defined to BIG_ENDIAN or not.
19742 cat >conftest.$ac_ext <<_ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 #include <sys/types.h>
19749 #include <sys/param.h>
19754 #if BYTE_ORDER != BIG_ENDIAN
19762 rm -f conftest.$ac_objext
19763 if { (ac_try="$ac_compile"
19764 case "(($ac_try" in
19765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19766 *) ac_try_echo
=$ac_try;;
19768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19769 (eval "$ac_compile") 2>conftest.er1
19771 grep -v '^ *+' conftest.er1
>conftest.err
19773 cat conftest.err
>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19777 { (case "(($ac_try" in
19778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest.$ac_objext'
19787 { (case "(($ac_try" in
19788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19789 *) ac_try_echo
=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_try") 2>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; }; then
19796 ac_cv_c_bigendian
=yes
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.
$ac_ext >&5
19801 ac_cv_c_bigendian
=no
19804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.
$ac_ext >&5
19809 # It does not; compile a test program.
19810 if test "$cross_compiling" = yes; then
19811 # try to guess the endianness by grepping values into an object file
19812 ac_cv_c_bigendian
=unknown
19813 cat >conftest.
$ac_ext <<_ACEOF
19816 cat confdefs.h
>>conftest.
$ac_ext
19817 cat >>conftest.
$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19820 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19821 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19822 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19823 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19824 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19828 _ascii (); _ebcdic ();
19833 rm -f conftest.
$ac_objext
19834 if { (ac_try
="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19842 grep -v '^ *+' conftest.er1 >conftest.err
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } &&
19847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19848 { (case "(($ac_try" in
19849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19850 *) ac_try_echo
=$ac_try;;
19852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19853 (eval "$ac_try") 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; } &&
19857 { ac_try
='test -s conftest.$ac_objext'
19858 { (case "(($ac_try" in
19859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_try") 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; }; then
19867 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19868 ac_cv_c_bigendian=yes
19870 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19871 if test "$ac_cv_c_bigendian" = unknown; then
19872 ac_cv_c_bigendian=no
19874 # finding both strings is unlikely to happen, but who knows?
19875 ac_cv_c_bigendian=unknown
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.$ac_ext >&5
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 cat >conftest.$ac_ext <<_ACEOF
19890 cat confdefs.h >>conftest.$ac_ext
19891 cat >>conftest.$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19893 $ac_includes_default
19898 /* Are we little or big endian? From Harbison&Steele. */
19902 char c[sizeof (long int)];
19905 return u.c[sizeof (long int) - 1] == 1;
19911 rm -f conftest$ac_exeext
19912 if { (ac_try="$ac_link"
19913 case "(($ac_try" in
19914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19915 *) ac_try_echo
=$ac_try;;
19917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19918 (eval "$ac_link") 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19922 { (case "(($ac_try" in
19923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19924 *) ac_try_echo=$ac_try;;
19926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19927 (eval "$ac_try") 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_cv_c_bigendian=no
19933 echo "$as_me: program exited with status $ac_status" >&5
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19937 ( exit $ac_status )
19938 ac_cv_c_bigendian=yes
19940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19948 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19949 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
19950 case $ac_cv_c_bigendian in
19953 cat >>confdefs.h <<\_ACEOF
19954 #define WORDS_BIGENDIAN 1
19960 { { echo "$as_me:$LINENO: error: unknown endianness
19961 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
19962 echo "$as_me: error: unknown endianness
19963 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
19964 { (exit 1); exit 1; }; } ;;
19967 { echo "$as_me:$LINENO: checking host system type" >&5
19968 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
19969 if test "${ac_cv_host+set}" = set; then
19970 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 if test "x$host_alias" = x; then
19973 ac_cv_host=$ac_cv_build
19975 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
19976 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
19977 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
19978 { (exit 1); exit 1; }; }
19982 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
19983 echo "${ECHO_T}$ac_cv_host" >&6; }
19984 case $ac_cv_host in
19986 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
19987 echo "$as_me: error: invalid value of canonical host" >&2;}
19988 { (exit 1); exit 1; }; };;
19991 ac_save_IFS=$IFS; IFS='-'
19997 # Remember, the first character of IFS is used to create $*,
19998 # except with old shells:
20001 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
20004 for ac_prog in flex lex
20006 # Extract the first word of "$ac_prog", so it can be a program name with args.
20007 set dummy $ac_prog; ac_word=$2
20008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20010 if test "${ac_cv_prog_LEX+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 if test -n "$LEX"; then
20014 ac_cv_prog_LEX="$LEX" # Let the user override the test.
20016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20017 for as_dir in $PATH
20020 test -z "$as_dir" && as_dir=.
20021 for ac_exec_ext in '' $ac_executable_extensions; do
20022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20023 ac_cv_prog_LEX="$ac_prog"
20024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20033 LEX=$ac_cv_prog_LEX
20034 if test -n "$LEX"; then
20035 { echo "$as_me:$LINENO: result: $LEX" >&5
20036 echo "${ECHO_T}$LEX" >&6; }
20038 { echo "$as_me:$LINENO: result: no" >&5
20039 echo "${ECHO_T}no" >&6; }
20043 test -n "$LEX" && break
20045 test -n "$LEX" || LEX=":"
20047 if test -z "$LEXLIB"
20049 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
20050 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
20051 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 ac_check_lib_save_LIBS=$LIBS
20056 cat >conftest.$ac_ext <<_ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20063 /* Override any GCC internal prototype to avoid an error.
20064 Use char because int might match the return type of a GCC
20065 builtin and then its argument prototype would still apply. */
20078 rm -f conftest.$ac_objext conftest$ac_exeext
20079 if { (ac_try="$ac_link"
20080 case "(($ac_try" in
20081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20082 *) ac_try_echo
=$ac_try;;
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_link") 2>conftest.er1
20087 grep -v '^ *+' conftest.er1
>conftest.err
20089 cat conftest.err
>&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } &&
20092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20093 { (case "(($ac_try" in
20094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_try") 2>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); }; } &&
20102 { ac_try='test -s conftest$ac_exeext'
20103 { (case "(($ac_try" in
20104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20105 *) ac_try_echo
=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_try") 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 ac_cv_lib_fl_yywrap
=yes
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.
$ac_ext >&5
20117 ac_cv_lib_fl_yywrap
=no
20120 rm -f core conftest.err conftest.
$ac_objext \
20121 conftest
$ac_exeext conftest.
$ac_ext
20122 LIBS
=$ac_check_lib_save_LIBS
20124 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
20125 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
20126 if test $ac_cv_lib_fl_yywrap = yes; then
20129 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
20130 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
20131 if test "${ac_cv_lib_l_yywrap+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 ac_check_lib_save_LIBS
=$LIBS
20136 cat >conftest.
$ac_ext <<_ACEOF
20139 cat confdefs.h
>>conftest.
$ac_ext
20140 cat >>conftest.
$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20143 /* Override any GCC internal prototype to avoid an error.
20144 Use char because int might match the return type of a GCC
20145 builtin and then its argument prototype would still apply. */
20158 rm -f conftest.
$ac_objext conftest
$ac_exeext
20159 if { (ac_try
="$ac_link"
20160 case "(($ac_try" in
20161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_link") 2>conftest.er1
20167 grep -v '^ *+' conftest.er1 >conftest.err
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } &&
20172 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20173 { (case "(($ac_try" in
20174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20175 *) ac_try_echo
=$ac_try;;
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_try") 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest$ac_exeext'
20183 { (case "(($ac_try" in
20184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20185 *) ac_try_echo=$ac_try;;
20187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20188 (eval "$ac_try") 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; }; then
20192 ac_cv_lib_l_yywrap=yes
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20197 ac_cv_lib_l_yywrap=no
20200 rm -f core conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
20202 LIBS=$ac_check_lib_save_LIBS
20204 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
20205 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
20206 if test $ac_cv_lib_l_yywrap = yes; then
20214 if test "x$LEX" != "x:"; then
20215 { echo "$as_me:$LINENO: checking lex output file root" >&5
20216 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
20217 if test "${ac_cv_prog_lex_root+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20220 # The minimal lex program is just a single line: %%. But some broken lexes
20221 # (Solaris, I think it was) want two %% lines, so accommodate them.
20222 cat >conftest.l <<_ACEOF
20226 { (ac_try="$LEX conftest.l"
20227 case "(($ac_try" in
20228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20229 *) ac_try_echo
=$ac_try;;
20231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20232 (eval "$LEX conftest.l") 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }
20236 if test -f lex.yy.c
; then
20237 ac_cv_prog_lex_root
=lex.yy
20238 elif test -f lexyy.c
; then
20239 ac_cv_prog_lex_root
=lexyy
20241 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
20242 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
20243 { (exit 1); exit 1; }; }
20246 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
20247 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
20249 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
20251 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
20252 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
20253 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 # POSIX says lex can declare yytext either as a pointer or an array; the
20257 # default is implementation-dependent. Figure out which it is, since
20258 # not all implementations provide the %pointer and %array declarations.
20259 ac_cv_prog_lex_yytext_pointer
=no
20260 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
20262 LIBS
="$LIBS $LEXLIB"
20263 cat >conftest.
$ac_ext <<_ACEOF
20264 `cat $LEX_OUTPUT_ROOT.c`
20266 rm -f conftest.
$ac_objext conftest
$ac_exeext
20267 if { (ac_try
="$ac_link"
20268 case "(($ac_try" in
20269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_link") 2>conftest.er1
20275 grep -v '^ *+' conftest.er1 >conftest.err
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20281 { (case "(($ac_try" in
20282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20283 *) ac_try_echo
=$ac_try;;
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_try") 2>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try
='test -s conftest$ac_exeext'
20291 { (case "(($ac_try" in
20292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_try") 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_cv_prog_lex_yytext_pointer=yes
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20308 rm -f core conftest.err conftest.$ac_objext \
20309 conftest$ac_exeext conftest.$ac_ext
20311 rm -f "${LEX_OUTPUT_ROOT}.c"
20314 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
20315 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
20316 if test $ac_cv_prog_lex_yytext_pointer = yes; then
20318 cat >>confdefs.h <<\_ACEOF
20319 #define YYTEXT_POINTER 1
20325 if test "$LEX" = :; then
20326 LEX=${am_missing_run}flex
20328 for ac_prog in 'bison -y' byacc
20330 # Extract the first word of "$ac_prog", so it can be a program name with args.
20331 set dummy $ac_prog; ac_word=$2
20332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20334 if test "${ac_cv_prog_YACC+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 if test -n "$YACC"; then
20338 ac_cv_prog_YACC="$YACC" # Let the user override the test.
20340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20341 for as_dir in $PATH
20344 test -z "$as_dir" && as_dir=.
20345 for ac_exec_ext in '' $ac_executable_extensions; do
20346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20347 ac_cv_prog_YACC="$ac_prog"
20348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20357 YACC=$ac_cv_prog_YACC
20358 if test -n "$YACC"; then
20359 { echo "$as_me:$LINENO: result: $YACC" >&5
20360 echo "${ECHO_T}$YACC" >&6; }
20362 { echo "$as_me:$LINENO: result: no" >&5
20363 echo "${ECHO_T}no" >&6; }
20367 test -n "$YACC" && break
20369 test -n "$YACC" || YACC="yacc"
20372 case "${host_os}" in
20377 case "${host_cpu}" in
20382 echo "#ifndef BUILD_H" >build.h
20383 echo "#define BUILD_H" >>build.h
20384 echo "#define CSQL" >>build.h
20385 echo "#define ${OSTYPE}" >>build.h
20386 echo "#define ${CPUTYPE}" >>build.h
20387 echo "#endif " >>build.h
20404 for ac_header in stdio.h sys/mman.h sys/shm.h sys/errno.h crypt.h unistd.h \
20405 string.h sys/types.h sys/stat.h fcntl.h pthread.h math.h \
20408 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20409 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20410 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 ac_res=`eval echo '${'$as_ac_Header'}'`
20416 { echo "$as_me:$LINENO: result: $ac_res" >&5
20417 echo "${ECHO_T}$ac_res" >&6; }
20419 # Is the header compilable?
20420 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20422 cat >conftest.$ac_ext <<_ACEOF
20425 cat confdefs.h >>conftest.$ac_ext
20426 cat >>conftest.$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 $ac_includes_default
20429 #include <$ac_header>
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20435 *) ac_try_echo
=$ac_try;;
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20440 grep -v '^ *+' conftest.er1
>conftest.err
20442 cat conftest.err
>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } &&
20445 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20446 { (case "(($ac_try" in
20447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_try") 2>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; } &&
20455 { ac_try='test -s conftest.$ac_objext'
20456 { (case "(($ac_try" in
20457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20458 *) ac_try_echo
=$ac_try;;
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 (eval "$ac_try") 2>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; }; then
20465 ac_header_compiler
=yes
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.
$ac_ext >&5
20470 ac_header_compiler
=no
20473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20474 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20475 echo "${ECHO_T}$ac_header_compiler" >&6; }
20477 # Is the header present?
20478 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20480 cat >conftest.
$ac_ext <<_ACEOF
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 #include <$ac_header>
20488 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20489 case "(($ac_try" in
20490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20496 grep -v '^ *+' conftest.er1 >conftest.err
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } >/dev/null; then
20501 if test -s conftest.err; then
20502 ac_cpp_err=$ac_cxx_preproc_warn_flag
20503 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20510 if test -z "$ac_cpp_err"; then
20511 ac_header_preproc=yes
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.$ac_ext >&5
20516 ac_header_preproc=no
20519 rm -f conftest.err conftest.$ac_ext
20520 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20521 echo "${ECHO_T}$ac_header_preproc" >&6; }
20523 # So? What about this header?
20524 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20530 ac_header_preproc=yes
20533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20551 echo $ECHO_N "(cached) $ECHO_C" >&6
20553 eval "$as_ac_Header=\$ac_header_preproc"
20555 ac_res=`eval echo '${'$as_ac_Header'}'`
20556 { echo "$as_me:$LINENO: result: $ac_res" >&5
20557 echo "${ECHO_T}$ac_res" >&6; }
20560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20561 cat >>confdefs.h <<_ACEOF
20562 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20572 ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile src/server/Makefile test/Makefile test/storage/Makefile"
20574 cat >confcache <<\_ACEOF
20575 # This file is a shell script that caches the results of configure
20576 # tests run on this system so they can be shared between configure
20577 # scripts and configure runs, see configure's option --config-cache.
20578 # It is not useful on other systems. If it contains results you don't
20579 # want to keep, you may remove or edit it.
20581 # config.status only pays attention to the cache file if you give it
20582 # the --recheck option to rerun configure.
20584 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20586 # following values.
20590 # The following way of writing the cache mishandles newlines in values,
20591 # but we know of no workaround that is simple, portable, and efficient.
20592 # So, we kill variables containing newlines.
20593 # Ultrix sh set writes to stderr and can't be redirected directly,
20594 # and sets the high bit in the cache file unless we assign to the vars.
20596 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20597 eval ac_val
=\$
$ac_var
20601 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20602 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20605 _ | IFS | as_nl
) ;; #(
20606 *) $as_unset $ac_var ;;
20612 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20613 *${as_nl}ac_space
=\
*)
20614 # `set' does not quote correctly, so add quotes (double-quote
20615 # substitution turns \\\\ into \\, and sed turns \\ into \).
20618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20621 # `set' quotes correctly as required by POSIX, so do not add quotes.
20622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20633 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20635 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20636 if test -w "$cache_file"; then
20637 test "x$cache_file" != "x/dev/null" &&
20638 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20639 echo "$as_me: updating cache $cache_file" >&6;}
20640 cat confcache
>$cache_file
20642 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20643 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20648 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20649 # Let make expand exec_prefix.
20650 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20652 DEFS
=-DHAVE_CONFIG_H
20656 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20657 # 1. Remove the extension, and $U if already installed.
20658 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20659 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20660 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20661 # will be set to the directory where LIBOBJS objects are built.
20662 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20663 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20665 LIBOBJS
=$ac_libobjs
20667 LTLIBOBJS
=$ac_ltlibobjs
20670 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20671 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20672 Usually this means the macro was only invoked conditionally." >&5
20673 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20674 Usually this means the macro was only invoked conditionally." >&2;}
20675 { (exit 1); exit 1; }; }
20677 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20678 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20679 Usually this means the macro was only invoked conditionally." >&5
20680 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20681 Usually this means the macro was only invoked conditionally." >&2;}
20682 { (exit 1); exit 1; }; }
20684 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20685 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20686 Usually this means the macro was only invoked conditionally." >&5
20687 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20688 Usually this means the macro was only invoked conditionally." >&2;}
20689 { (exit 1); exit 1; }; }
20692 : ${CONFIG_STATUS=./config.status}
20693 ac_clean_files_save
=$ac_clean_files
20694 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20695 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20696 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20697 cat >$CONFIG_STATUS <<_ACEOF
20699 # Generated by $as_me.
20700 # Run this file to recreate the current configuration.
20701 # Compiler output produced by configure, useful for debugging
20702 # configure, is in config.log if it exists.
20705 ac_cs_recheck=false
20707 SHELL=\${CONFIG_SHELL-$SHELL}
20710 cat >>$CONFIG_STATUS <<\_ACEOF
20711 ## --------------------- ##
20712 ## M4sh Initialization. ##
20713 ## --------------------- ##
20715 # Be Bourne compatible
20716 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20719 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20720 # is contrary to our usage. Disable this feature.
20721 alias -g '${1+"$@"}'='"$@"'
20722 setopt NO_GLOB_SUBST
20724 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
20726 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
20727 DUALCASE
=1; export DUALCASE
# for MKS sh
20731 # Avoid depending upon Character Ranges.
20732 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20733 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20734 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20735 as_cr_digits
='0123456789'
20736 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20738 # The user is always right.
20739 if test "${PATH_SEPARATOR+set}" != set; then
20740 echo "#! /bin/sh" >conf$$.sh
20741 echo "exit 0" >>conf$$.sh
20743 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20751 # Support unset when possible.
20752 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20760 # We need space, tab and new line, in precisely that order. Quoting is
20761 # there to prevent editors from complaining about space-tab.
20762 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20763 # splitting by setting IFS to empty value.)
20768 # Find who we are. Look in the path if we contain no directory separator.
20770 *[\\/]* ) as_myself
=$0 ;;
20771 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20772 for as_dir
in $PATH
20775 test -z "$as_dir" && as_dir
=.
20776 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20782 # We did not find ourselves, most probably we were run as `sh COMMAND'
20783 # in which case we are not to be found in the path.
20784 if test "x$as_myself" = x
; then
20787 if test ! -f "$as_myself"; then
20788 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20789 { (exit 1); exit 1; }
20792 # Work around bugs in pre-3.0 UWIN ksh.
20793 for as_var
in ENV MAIL MAILPATH
20794 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20802 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20803 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20804 LC_TELEPHONE LC_TIME
20806 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20807 eval $as_var=C
; export $as_var
20809 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20813 # Required to use basename.
20814 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20815 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20821 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20822 as_basename
=basename
20828 # Name of the executable.
20829 as_me
=`$as_basename -- "$0" ||
20830 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20831 X"$0" : 'X\(//\)$' \| \
20832 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20834 sed '/^.*\/\([^/][^/]*\)\/*$/{
20853 as_lineno_1
=$LINENO
20854 as_lineno_2
=$LINENO
20855 test "x$as_lineno_1" != "x$as_lineno_2" &&
20856 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20858 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20859 # uniformly replaced by the line number. The first 'sed' inserts a
20860 # line-number line after each line using $LINENO; the second 'sed'
20861 # does the real work. The second script uses 'N' to pair each
20862 # line-number line with the line containing $LINENO, and appends
20863 # trailing '-' during substitution so that $LINENO is not a special
20864 # case at line end.
20865 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20866 # scripts with optimization help from Paolo Bonzini. Blame Lee
20867 # E. McMahon (1931-1989) for sed's syntax. :-)
20879 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20882 ' >$as_me.lineno
&&
20883 chmod +x
"$as_me.lineno" ||
20884 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20885 { (exit 1); exit 1; }; }
20887 # Don't try to exec as it changes $[0], causing all sort of problems
20888 # (the dirname of $[0] is not the place where we might find the
20889 # original and so on. Autoconf is especially sensitive to this).
20890 .
"./$as_me.lineno"
20891 # Exit status is that of the last command.
20896 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20902 ECHO_C
= ECHO_N
= ECHO_T
=
20903 case `echo -n x` in
20905 case `echo 'x\c'` in
20906 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20913 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20914 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20920 rm -f conf$$ conf$$.exe conf$$.
file
20921 if test -d conf$$.dir
; then
20922 rm -f conf$$.dir
/conf$$.
file
20928 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20930 # ... but there are two gotchas:
20931 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20932 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20933 # In both cases, we have to default to `cp -p'.
20934 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20936 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20941 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20942 rmdir conf$$.dir
2>/dev
/null
20944 if mkdir
-p .
2>/dev
/null
; then
20947 test -d .
/-p && rmdir .
/-p
20951 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
20952 # systems may use methods other than mode bits to determine executability.
20953 cat >conf$$.
file <<_ASEOF
20957 chmod +x conf$$.
file
20958 if test -x conf$$.
file >/dev
/null
2>&1; then
20959 as_executable_p
="test -x"
20965 # Sed expression to map a string onto a valid CPP name.
20966 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20968 # Sed expression to map a string onto a valid variable name.
20969 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20974 # Save the log message, to keep $[0] and so on meaningful, and to
20975 # report actual input values of CONFIG_FILES etc. instead of their
20976 # values after options handling.
20978 This file was extended by $as_me, which was
20979 generated by GNU Autoconf 2.60. Invocation command line was
20981 CONFIG_FILES = $CONFIG_FILES
20982 CONFIG_HEADERS = $CONFIG_HEADERS
20983 CONFIG_LINKS = $CONFIG_LINKS
20984 CONFIG_COMMANDS = $CONFIG_COMMANDS
20987 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20992 cat >>$CONFIG_STATUS <<_ACEOF
20993 # Files that config.status was made for.
20994 config_files="$ac_config_files"
20995 config_headers="$ac_config_headers"
20996 config_commands="$ac_config_commands"
21000 cat >>$CONFIG_STATUS <<\_ACEOF
21002 \`$as_me' instantiates files from templates according to the
21003 current configuration.
21005 Usage: $0 [OPTIONS] [FILE]...
21007 -h, --help print this help, then exit
21008 -V, --version print version number, then exit
21009 -q, --quiet do not print progress messages
21010 -d, --debug don't remove temporary files
21011 --recheck update $as_me by reconfiguring in the same conditions
21012 --file=FILE[:TEMPLATE]
21013 instantiate the configuration file FILE
21014 --header=FILE[:TEMPLATE]
21015 instantiate the configuration header FILE
21017 Configuration files:
21020 Configuration headers:
21023 Configuration commands:
21026 Report bugs to <bug-autoconf@gnu.org>."
21029 cat >>$CONFIG_STATUS <<_ACEOF
21032 configured by $0, generated by GNU Autoconf 2.60,
21033 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21035 Copyright (C) 2006 Free Software Foundation, Inc.
21036 This config.status script is free software; the Free Software Foundation
21037 gives unlimited permission to copy, distribute and modify it."
21044 cat >>$CONFIG_STATUS <<\_ACEOF
21045 # If no file are specified by the user, then we need to provide default
21046 # value. By we need to know if files were specified by the user.
21052 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21053 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21064 # Handling of the options.
21065 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21067 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21068 echo "$ac_cs_version"; exit ;;
21069 --debug |
--debu |
--deb |
--de |
--d |
-d )
21071 --file |
--fil |
--fi |
--f )
21073 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21074 ac_need_defaults
=false
;;
21075 --header |
--heade |
--head |
--hea )
21077 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21078 ac_need_defaults
=false
;;
21080 # Conflict between --help and --header
21081 { echo "$as_me: error: ambiguous option: $1
21082 Try \`$0 --help' for more information." >&2
21083 { (exit 1); exit 1; }; };;
21084 --help |
--hel |
-h )
21085 echo "$ac_cs_usage"; exit ;;
21086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21087 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21090 # This is an error.
21091 -*) { echo "$as_me: error: unrecognized option: $1
21092 Try \`$0 --help' for more information." >&2
21093 { (exit 1); exit 1; }; } ;;
21095 *) ac_config_targets
="$ac_config_targets $1"
21096 ac_need_defaults
=false
;;
21102 ac_configure_extra_args
=
21104 if $ac_cs_silent; then
21106 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21110 cat >>$CONFIG_STATUS <<_ACEOF
21111 if \$ac_cs_recheck; then
21112 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21113 CONFIG_SHELL=$SHELL
21114 export CONFIG_SHELL
21115 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21119 cat >>$CONFIG_STATUS <<\_ACEOF
21123 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21124 ## Running $as_me. ##
21130 cat >>$CONFIG_STATUS <<_ACEOF
21134 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21138 cat >>$CONFIG_STATUS <<\_ACEOF
21140 # Handling of arguments.
21141 for ac_config_target
in $ac_config_targets
21143 case $ac_config_target in
21144 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21145 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21146 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21147 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21148 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21149 "src/server/Makefile") CONFIG_FILES
="$CONFIG_FILES src/server/Makefile" ;;
21150 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
21151 "test/storage/Makefile") CONFIG_FILES
="$CONFIG_FILES test/storage/Makefile" ;;
21153 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21154 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21155 { (exit 1); exit 1; }; };;
21160 # If the user did not use the arguments to specify the items to instantiate,
21161 # then the envvar interface is used. Set only those that are not.
21162 # We use the long form for the default assignment because of an extremely
21163 # bizarre bug on SunOS 4.1.3.
21164 if $ac_need_defaults; then
21165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21170 # Have a temporary directory for convenience. Make it in the build tree
21171 # simply because there is no reason against having it here, and in addition,
21172 # creating and moving files from /tmp can sometimes cause problems.
21173 # Hook for its removal unless debugging.
21174 # Note that there is a small window in which the directory will not be cleaned:
21175 # after its creation but before its name has been assigned to `$tmp'.
21179 trap 'exit_status=$?
21180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21182 trap '{ (exit 1); exit 1; }' 1 2 13 15
21184 # Create a (secure) tmp directory for tmp files.
21187 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21188 test -n "$tmp" && test -d "$tmp"
21191 tmp
=.
/conf$$
-$RANDOM
21192 (umask 077 && mkdir
"$tmp")
21195 echo "$me: cannot create a temporary directory in ." >&2
21196 { (exit 1); exit 1; }
21200 # Set up the sed scripts for CONFIG_FILES section.
21203 # No need to generate the scripts if there are no CONFIG_FILES.
21204 # This happens for instance when ./config.status config.h
21205 if test -n "$CONFIG_FILES"; then
21212 for ac_last_try
in false false false false false
:; do
21213 cat >conf$
$subs.
sed <<_ACEOF
21214 SHELL!$SHELL$ac_delim
21215 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21216 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21217 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21218 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21219 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21220 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21221 exec_prefix!$exec_prefix$ac_delim
21222 prefix!$prefix$ac_delim
21223 program_transform_name!$program_transform_name$ac_delim
21224 bindir!$bindir$ac_delim
21225 sbindir!$sbindir$ac_delim
21226 libexecdir!$libexecdir$ac_delim
21227 datarootdir!$datarootdir$ac_delim
21228 datadir!$datadir$ac_delim
21229 sysconfdir!$sysconfdir$ac_delim
21230 sharedstatedir!$sharedstatedir$ac_delim
21231 localstatedir!$localstatedir$ac_delim
21232 includedir!$includedir$ac_delim
21233 oldincludedir!$oldincludedir$ac_delim
21234 docdir!$docdir$ac_delim
21235 infodir!$infodir$ac_delim
21236 htmldir!$htmldir$ac_delim
21237 dvidir!$dvidir$ac_delim
21238 pdfdir!$pdfdir$ac_delim
21239 psdir!$psdir$ac_delim
21240 libdir!$libdir$ac_delim
21241 localedir!$localedir$ac_delim
21242 mandir!$mandir$ac_delim
21243 DEFS!$DEFS$ac_delim
21244 ECHO_C!$ECHO_C$ac_delim
21245 ECHO_N!$ECHO_N$ac_delim
21246 ECHO_T!$ECHO_T$ac_delim
21247 LIBS!$LIBS$ac_delim
21248 build_alias!$build_alias$ac_delim
21249 host_alias!$host_alias$ac_delim
21250 target_alias!$target_alias$ac_delim
21251 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21252 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21253 INSTALL_DATA!$INSTALL_DATA$ac_delim
21254 CYGPATH_W!$CYGPATH_W$ac_delim
21255 PACKAGE!$PACKAGE$ac_delim
21256 VERSION!$VERSION$ac_delim
21257 ACLOCAL!$ACLOCAL$ac_delim
21258 AUTOCONF!$AUTOCONF$ac_delim
21259 AUTOMAKE!$AUTOMAKE$ac_delim
21260 AUTOHEADER!$AUTOHEADER$ac_delim
21261 MAKEINFO!$MAKEINFO$ac_delim
21262 install_sh!$install_sh$ac_delim
21263 STRIP!$STRIP$ac_delim
21264 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21265 mkdir_p!$mkdir_p$ac_delim
21267 SET_MAKE!$SET_MAKE$ac_delim
21268 am__leading_dot!$am__leading_dot$ac_delim
21269 AMTAR!$AMTAR$ac_delim
21270 am__tar!$am__tar$ac_delim
21271 am__untar!$am__untar$ac_delim
21273 CFLAGS!$CFLAGS$ac_delim
21274 LDFLAGS!$LDFLAGS$ac_delim
21275 CPPFLAGS!$CPPFLAGS$ac_delim
21276 ac_ct_CC!$ac_ct_CC$ac_delim
21277 EXEEXT!$EXEEXT$ac_delim
21278 OBJEXT!$OBJEXT$ac_delim
21279 DEPDIR!$DEPDIR$ac_delim
21280 am__include!$am__include$ac_delim
21281 am__quote!$am__quote$ac_delim
21282 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21283 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21284 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21285 CCDEPMODE!$CCDEPMODE$ac_delim
21286 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21287 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21289 CXXFLAGS!$CXXFLAGS$ac_delim
21290 ac_ct_CXX!$ac_ct_CXX$ac_delim
21291 CXXDEPMODE!$CXXDEPMODE$ac_delim
21292 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21293 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21294 build!$build$ac_delim
21295 build_cpu!$build_cpu$ac_delim
21296 build_vendor!$build_vendor$ac_delim
21297 build_os!$build_os$ac_delim
21298 host!$host$ac_delim
21299 host_cpu!$host_cpu$ac_delim
21300 host_vendor!$host_vendor$ac_delim
21301 host_os!$host_os$ac_delim
21302 GREP!$GREP$ac_delim
21303 EGREP!$EGREP$ac_delim
21304 LN_S!$LN_S$ac_delim
21305 ECHO!$ECHO$ac_delim
21307 RANLIB!$RANLIB$ac_delim
21309 CXXCPP!$CXXCPP$ac_delim
21313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21315 elif $ac_last_try; then
21316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21317 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21318 { (exit 1); exit 1; }; }
21320 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21324 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21325 if test -n "$ac_eof"; then
21326 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21327 ac_eof
=`expr $ac_eof + 1`
21330 cat >>$CONFIG_STATUS <<_ACEOF
21331 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21335 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21336 s/^/s,@/; s/!/@,|#_!!_#|/
21339 s/'"$ac_delim"'$/,g/; t
21341 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21342 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21343 rm -f conf$
$subs.
sed
21344 cat >>$CONFIG_STATUS <<_ACEOF
21350 for ac_last_try
in false false false false false
:; do
21351 cat >conf$
$subs.
sed <<_ACEOF
21352 FFLAGS!$FFLAGS$ac_delim
21353 ac_ct_F77!$ac_ct_F77$ac_delim
21354 LIBTOOL!$LIBTOOL$ac_delim
21356 LEXLIB!$LEXLIB$ac_delim
21357 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21358 YACC!$YACC$ac_delim
21359 YFLAGS!$YFLAGS$ac_delim
21360 LIBOBJS!$LIBOBJS$ac_delim
21361 LTLIBOBJS!$LTLIBOBJS$ac_delim
21364 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21366 elif $ac_last_try; then
21367 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21368 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21369 { (exit 1); exit 1; }; }
21371 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21375 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21376 if test -n "$ac_eof"; then
21377 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21378 ac_eof
=`expr $ac_eof + 1`
21381 cat >>$CONFIG_STATUS <<_ACEOF
21382 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21383 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21386 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21387 s/^/s,@/; s/!/@,|#_!!_#|/
21390 s/'"$ac_delim"'$/,g/; t
21392 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21393 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21394 rm -f conf$
$subs.
sed
21395 cat >>$CONFIG_STATUS <<_ACEOF
21402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21404 # trailing colons and then remove the whole line if VPATH becomes empty
21405 # (actually we leave an empty line to preserve line numbers).
21406 if test "x$srcdir" = x.
; then
21407 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21408 s/:*\$(srcdir):*/:/
21409 s/:*\${srcdir}:*/:/
21411 s/^\([^=]*=[ ]*\):*/\1/
21417 cat >>$CONFIG_STATUS <<\_ACEOF
21418 fi # test -n "$CONFIG_FILES"
21421 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21424 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21426 case $ac_mode$ac_tag in
21428 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21429 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21430 { (exit 1); exit 1; }; };;
21431 :[FH
]-) ac_tag
=-:-;;
21432 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21449 -) ac_f
="$tmp/stdin";;
21450 *) # Look for the file first in the build tree, then in the source tree
21451 # (if the path is not absolute). The absolute path cannot be DOS-style,
21452 # because $ac_f cannot contain `:'.
21456 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21458 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21459 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21460 { (exit 1); exit 1; }; };;
21462 ac_file_inputs
="$ac_file_inputs $ac_f"
21465 # Let's still pretend it is `configure' which instantiates (i.e., don't
21466 # use $as_me), people would be surprised to read:
21467 # /* config.h. Generated by config.status. */
21468 configure_input
="Generated from "`IFS=:
21469 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21470 if test x
"$ac_file" != x-
; then
21471 configure_input
="$ac_file. $configure_input"
21472 { echo "$as_me:$LINENO: creating $ac_file" >&5
21473 echo "$as_me: creating $ac_file" >&6;}
21477 *:-:* |
*:-) cat >"$tmp/stdin";;
21482 ac_dir
=`$as_dirname -- "$ac_file" ||
21483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21484 X"$ac_file" : 'X\(//\)[^/]' \| \
21485 X"$ac_file" : 'X\(//\)$' \| \
21486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21492 /^X\(\/\/\)[^/].*/{
21507 -*) as_dir
=.
/$as_dir;;
21509 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21513 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21514 *) as_qdir
=$as_dir;;
21516 as_dirs
="'$as_qdir' $as_dirs"
21517 as_dir
=`$as_dirname -- "$as_dir" ||
21518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21519 X"$as_dir" : 'X\(//\)[^/]' \| \
21520 X"$as_dir" : 'X\(//\)$' \| \
21521 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21527 /^X\(\/\/\)[^/].*/{
21540 test -d "$as_dir" && break
21542 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21543 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21544 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21545 { (exit 1); exit 1; }; }; }
21549 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21551 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21552 # A ".." for each directory in $ac_dir_suffix.
21553 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21554 case $ac_top_builddir_sub in
21555 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21556 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21559 ac_abs_top_builddir
=$ac_pwd
21560 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21561 # for backward compatibility:
21562 ac_top_builddir
=$ac_top_build_prefix
21565 .
) # We are building in place.
21567 ac_top_srcdir
=$ac_top_builddir_sub
21568 ac_abs_top_srcdir
=$ac_pwd ;;
21569 [\\/]* | ?
:[\\/]* ) # Absolute name.
21570 ac_srcdir
=$srcdir$ac_dir_suffix;
21571 ac_top_srcdir
=$srcdir
21572 ac_abs_top_srcdir
=$srcdir ;;
21573 *) # Relative name.
21574 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21575 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21576 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21578 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21588 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21589 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21593 cat >>$CONFIG_STATUS <<\_ACEOF
21594 # If the template does not know about datarootdir, expand it.
21595 # FIXME: This hack should be removed a few years after 2.60.
21596 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21598 case `sed -n '/datarootdir/ {
21607 ' $ac_file_inputs` in
21608 *datarootdir
*) ac_datarootdir_seen
=yes;;
21609 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21610 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21611 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21613 cat >>$CONFIG_STATUS <<_ACEOF
21614 ac_datarootdir_hack='
21615 s&@datadir@&$datadir&g
21616 s&@docdir@&$docdir&g
21617 s&@infodir@&$infodir&g
21618 s&@localedir@&$localedir&g
21619 s&@mandir@&$mandir&g
21620 s&\\\${datarootdir}&$datarootdir&g' ;;
21624 # Neutralize VPATH when `$srcdir' = `.'.
21625 # Shell code in configure.ac might set extrasub.
21626 # FIXME: do we really want to maintain this feature?
21627 cat >>$CONFIG_STATUS <<_ACEOF
21631 cat >>$CONFIG_STATUS <<\_ACEOF
21633 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21634 s
&@configure_input@
&$configure_input&;t t
21635 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21636 s
&@srcdir@
&$ac_srcdir&;t t
21637 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21638 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21639 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21640 s
&@builddir@
&$ac_builddir&;t t
21641 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21642 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21643 s
&@INSTALL@
&$ac_INSTALL&;t t
21644 $ac_datarootdir_hack
21645 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21648 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21650 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21651 which seems to be undefined. Please make sure it is defined." >&5
21652 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21653 which seems to be undefined. Please make sure it is defined." >&2;}
21657 -) cat "$tmp/out"; rm -f "$tmp/out";;
21658 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21667 # Transform confdefs.h into a sed script `conftest.defines', that
21668 # substitutes the proper values into config.h.in to produce config.h.
21669 rm -f conftest.defines conftest.
tail
21670 # First, append a space to every undef/define line, to ease matching.
21671 echo 's/$/ /' >conftest.defines
21672 # Then, protect against being on the right side of a sed subst, or in
21673 # an unquoted here document, in config.status. If some macros were
21674 # called several times there might be several #defines for the same
21675 # symbol, which is useless. But do not sort them, since the last
21676 # AC_DEFINE must be honored.
21677 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21678 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21679 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21680 # PARAMS is the parameter list in the macro definition--in most cases, it's
21681 # just an empty string.
21682 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21683 ac_dB
='\\)[ (].*,\\1define\\2'
21691 s/^[ ]*#[ ]*define[ ][ ]*//
21696 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21697 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21698 ' >>conftest.defines
21700 # Remove the space that was appended to ease matching.
21701 # Then replace #undef with comments. This is necessary, for
21702 # example, in the case of _POSIX_SOURCE, which is predefined and required
21703 # on some systems where configure will not decide to define it.
21704 # (The regexp can be short, since the line contains either #define or #undef.)
21706 s,^[ #]*u.*,/* & */,' >>conftest.defines
21708 # Break up conftest.defines:
21709 ac_max_sed_lines
=50
21711 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21712 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21713 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21715 ac_in
='$ac_file_inputs'
21716 ac_out
='"$tmp/out1"'
21717 ac_nxt
='"$tmp/out2"'
21721 # Write a here document:
21722 cat >>$CONFIG_STATUS <<_ACEOF
21723 # First, check the format of the line:
21724 cat >"\$tmp/defines.sed" <<\\CEOF
21725 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21726 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21730 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21732 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21733 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21734 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21735 grep . conftest.
tail >/dev
/null ||
break
21736 rm -f conftest.defines
21737 mv conftest.
tail conftest.defines
21739 rm -f conftest.defines conftest.
tail
21741 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21742 cat >>$CONFIG_STATUS <<\_ACEOF
21743 if test x
"$ac_file" != x-
; then
21744 echo "/* $configure_input */" >"$tmp/config.h"
21745 cat "$ac_result" >>"$tmp/config.h"
21746 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21747 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21748 echo "$as_me: $ac_file is unchanged" >&6;}
21751 mv "$tmp/config.h" $ac_file
21754 echo "/* $configure_input */"
21758 # Compute $ac_file's index in $config_headers.
21760 for _am_header
in $config_headers :; do
21761 case $_am_header in
21762 $ac_file |
$ac_file:* )
21765 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21768 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21769 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21770 X$ac_file : 'X\(//\)[^/]' \| \
21771 X$ac_file : 'X\(//\)$' \| \
21772 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21778 /^X\(\/\/\)[^/].*/{
21790 s/.*/./; q'`/stamp-h
$_am_stamp_count
21793 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21794 echo "$as_me: executing $ac_file commands" >&6;}
21799 case $ac_file$ac_mode in
21800 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21801 # Strip MF so we end up with the name of the file.
21802 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21803 # Check whether this is an Automake generated Makefile or not.
21804 # We used to match only the files named `Makefile.in', but
21805 # some people rename them; so instead we look at the file content.
21806 # Grep'ing the first line is not enough: some people post-process
21807 # each Makefile.in and add a new line on top of each file to say so.
21808 # So let's grep whole file.
21809 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21810 dirpart
=`$as_dirname -- "$mf" ||
21811 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21812 X"$mf" : 'X\(//\)[^/]' \| \
21813 X"$mf" : 'X\(//\)$' \| \
21814 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21820 /^X\(\/\/\)[^/].*/{
21836 # Extract the definition of DEPDIR, am__include, and am__quote
21837 # from the Makefile without running `make'.
21838 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21839 test -z "$DEPDIR" && continue
21840 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21841 test -z "am__include" && continue
21842 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21843 # When using ansi2knr, U may be empty or an underscore; expand it
21844 U
=`sed -n 's/^U = //p' < "$mf"`
21845 # Find all dependency output files, they are included files with
21846 # $(DEPDIR) in their names. We invoke sed twice because it is the
21847 # simplest approach to changing $(DEPDIR) to its actual value in the
21849 for file in `sed -n "
21850 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21851 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21852 # Make sure the directory exists.
21853 test -f "$dirpart/$file" && continue
21854 fdir
=`$as_dirname -- "$file" ||
21855 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21856 X"$file" : 'X\(//\)[^/]' \| \
21857 X"$file" : 'X\(//\)$' \| \
21858 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21864 /^X\(\/\/\)[^/].*/{
21877 { as_dir
=$dirpart/$fdir
21879 -*) as_dir
=.
/$as_dir;;
21881 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21885 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21886 *) as_qdir
=$as_dir;;
21888 as_dirs
="'$as_qdir' $as_dirs"
21889 as_dir
=`$as_dirname -- "$as_dir" ||
21890 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21891 X"$as_dir" : 'X\(//\)[^/]' \| \
21892 X"$as_dir" : 'X\(//\)$' \| \
21893 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21899 /^X\(\/\/\)[^/].*/{
21912 test -d "$as_dir" && break
21914 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21915 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21916 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21917 { (exit 1); exit 1; }; }; }
21918 # echo "creating $dirpart/$file"
21919 echo '# dummy' > "$dirpart/$file"
21928 { (exit 0); exit 0; }
21930 chmod +x
$CONFIG_STATUS
21931 ac_clean_files
=$ac_clean_files_save
21934 # configure is writing to config.log, and then calls config.status.
21935 # config.status does its own redirection, appending to config.log.
21936 # Unfortunately, on DOS this fails, as config.log is still kept open
21937 # by configure, so config.status won't be able to write to it; its
21938 # output is simply discarded. So we exec the FD to /dev/null,
21939 # effectively closing config.log, so it can be properly (re)opened and
21940 # appended to by config.status. When coming back to configure, we
21941 # need to make the FD available again.
21942 if test "$no_create" != yes; then
21944 ac_config_status_args
=
21945 test "$silent" = yes &&
21946 ac_config_status_args
="$ac_config_status_args --quiet"
21948 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21950 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21951 # would make configure fail if this is the last instruction.
21952 $ac_cs_success ||
{ (exit 1); exit 1; }