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 CXX C
++ compiler
command
1474 CXXFLAGS 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 CC C compiler
command
1480 CFLAGS 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
='$CXXCPP $CPPFLAGS'
2388 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2391 if test -z "$CXX"; then
2392 if test -n "$CCC"; then
2395 if test -n "$ac_tool_prefix"; then
2396 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2399 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2402 if test "${ac_cv_prog_CXX+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 if test -n "$CXX"; then
2406 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir
=.
2413 for ac_exec_ext
in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2415 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 if test -n "$CXX"; then
2427 { echo "$as_me:$LINENO: result: $CXX" >&5
2428 echo "${ECHO_T}$CXX" >&6; }
2430 { echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6; }
2435 test -n "$CXX" && break
2438 if test -z "$CXX"; then
2440 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_prog", so it can be a program name with args.
2443 set dummy
$ac_prog; ac_word
=$2
2444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2446 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$ac_ct_CXX"; then
2450 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2470 if test -n "$ac_ct_CXX"; then
2471 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2472 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2474 { echo "$as_me:$LINENO: result: no" >&5
2475 echo "${ECHO_T}no" >&6; }
2479 test -n "$ac_ct_CXX" && break
2482 if test "x$ac_ct_CXX" = x
; then
2485 case $cross_compiling:$ac_tool_warned in
2487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2488 whose name does not start with the host triplet. If you think this
2489 configuration is useful to you, please write to autoconf@gnu.org." >&5
2490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2491 whose name does not start with the host triplet. If you think this
2492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2493 ac_tool_warned
=yes ;;
2501 # Provide some information about the compiler.
2502 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2503 ac_compiler
=`set X $ac_compile; echo $2`
2504 { (ac_try
="$ac_compiler --version >&5"
2506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2510 (eval "$ac_compiler --version >&5") 2>&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }
2514 { (ac_try="$ac_compiler -v >&5"
2516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2517 *) ac_try_echo
=$ac_try;;
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_compiler -v >&5") 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }
2524 { (ac_try
="$ac_compiler -V >&5"
2526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2530 (eval "$ac_compiler -V >&5") 2>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }
2535 cat >conftest.$ac_ext <<_ACEOF
2538 cat confdefs.h >>conftest.$ac_ext
2539 cat >>conftest.$ac_ext <<_ACEOF
2540 /* end confdefs.h. */
2550 ac_clean_files_save=$ac_clean_files
2551 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2552 # Try to create an executable without -o first, disregard a.out.
2553 # It will help us diagnose broken compilers, and finding out an intuition
2555 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2556 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2557 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2559 # List of possible output files, starting from the most likely.
2560 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2561 # only as a last resort. b.out is created by i960 compilers.
2562 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2564 # The IRIX 6 linker writes into existing files which may not be
2565 # executable, retaining their permissions. Remove them first so a
2566 # subsequent execution test works.
2568 for ac_file in $ac_files
2571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2572 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2577 if { (ac_try="$ac_link_default"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_link_default") 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; then
2587 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2588 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2589 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2590 # so that the user can short-circuit this test for compilers unknown to
2592 for ac_file
in $ac_files
2594 test -f "$ac_file" ||
continue
2596 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2599 # We found the default executable, but exeext='' is most
2603 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2605 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2607 # We set ac_cv_exeext here because the later test for it is not
2608 # safe: cross compilers may not add the suffix if given an `-o'
2609 # argument, so we may need to know it at that point already.
2610 # Even if this section looks crufty: it has the advantage of
2617 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.
$ac_ext >&5
2623 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2624 See \`config.log' for more details." >&5
2625 echo "$as_me: error: C++ compiler cannot create executables
2626 See \`config.log' for more details." >&2;}
2627 { (exit 77); exit 77; }; }
2630 ac_exeext
=$ac_cv_exeext
2631 { echo "$as_me:$LINENO: result: $ac_file" >&5
2632 echo "${ECHO_T}$ac_file" >&6; }
2634 # Check that the compiler produces executables we can run. If not, either
2635 # the compiler is broken, or we cross compile.
2636 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2637 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2638 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2639 # If not cross compiling, check that we can run a simple program.
2640 if test "$cross_compiling" != yes; then
2641 if { ac_try
='./$ac_file'
2642 { (case "(($ac_try" in
2643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_try") 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2653 if test "$cross_compiling" = maybe; then
2656 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2657 If you meant to cross compile, use \`--host'.
2658 See \`config.log' for more details.
" >&5
2659 echo "$as_me: error
: cannot run C
++ compiled programs.
2660 If you meant to cross compile
, use \
`--host'.
2661 See \`config.log
' for more details." >&2;}
2662 { (exit 1); exit 1; }; }
2666 { echo "$as_me:$LINENO: result: yes" >&5
2667 echo "${ECHO_T}yes" >&6; }
2669 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2670 ac_clean_files=$ac_clean_files_save
2671 # Check that the compiler produces executables we can run. If not, either
2672 # the compiler is broken, or we cross compile.
2673 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2674 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2675 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2676 echo "${ECHO_T}$cross_compiling" >&6; }
2678 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2679 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2680 if { (ac_try="$ac_link"
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_link") 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; then
2690 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2691 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2692 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2694 for ac_file
in conftest.exe conftest conftest.
*; do
2695 test -f "$ac_file" ||
continue
2697 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2698 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2705 See \`config.log' for more details." >&5
2706 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2707 See \`config.log' for more details." >&2;}
2708 { (exit 1); exit 1; }; }
2711 rm -f conftest
$ac_cv_exeext
2712 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2713 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2715 rm -f conftest.
$ac_ext
2716 EXEEXT
=$ac_cv_exeext
2718 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2719 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2720 if test "${ac_cv_objext+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.
$ac_ext <<_ACEOF
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2738 rm -f conftest.o conftest.obj
2739 if { (ac_try
="$ac_compile"
2741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2745 (eval "$ac_compile") 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; then
2749 for ac_file in conftest.o conftest.obj conftest.*; do
2750 test -f "$ac_file" || continue;
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2753 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2762 See \`config.log
' for more details." >&5
2763 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2764 See \`config.log' for more details.
" >&2;}
2765 { (exit 1); exit 1; }; }
2768 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2770 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2771 echo "${ECHO_T}$ac_cv_objext" >&6; }
2772 OBJEXT=$ac_cv_objext
2774 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2775 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2776 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2777 echo $ECHO_N "(cached
) $ECHO_C" >&6
2779 cat >conftest.$ac_ext <<_ACEOF
2782 cat confdefs.h >>conftest.$ac_ext
2783 cat >>conftest.$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2797 rm -f conftest.$ac_objext
2798 if { (ac_try="$ac_compile"
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2804 (eval "$ac_compile") 2>conftest.er1
2806 grep -v '^ *+' conftest.er1 >conftest.err
2808 cat conftest.err >&5
2809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2812 { (case "(($ac_try" in
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_try") 2>&5
2819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2820 (exit $ac_status); }; } &&
2821 { ac_try='test -s conftest.$ac_objext'
2822 { (case "(($ac_try" in
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_try") 2>&5
2829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2830 (exit $ac_status); }; }; then
2833 echo "$as_me: failed program was
:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2843 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2844 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2845 GXX=`test $ac_compiler_gnu = yes && echo yes`
2846 ac_test_CXXFLAGS=${CXXFLAGS+set}
2847 ac_save_CXXFLAGS=$CXXFLAGS
2848 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2849 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2850 if test "${ac_cv_prog_cxx_g+set}" = set; then
2851 echo $ECHO_N "(cached
) $ECHO_C" >&6
2853 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2854 ac_cxx_werror_flag=yes
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2872 rm -f conftest.$ac_objext
2873 if { (ac_try="$ac_compile"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_compile") 2>conftest.er1
2881 grep -v '^ *+' conftest.er1 >conftest.err
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2887 { (case "(($ac_try" in
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2892 (eval "$ac_try") 2>&5
2894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (case "(($ac_try" in
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2902 (eval "$ac_try") 2>&5
2904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2905 (exit $ac_status); }; }; then
2906 ac_cv_prog_cxx_g=yes
2908 echo "$as_me: failed program was
:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2912 cat >conftest.$ac_ext <<_ACEOF
2915 cat confdefs.h >>conftest.$ac_ext
2916 cat >>conftest.$ac_ext <<_ACEOF
2917 /* end confdefs.h. */
2927 rm -f conftest.$ac_objext
2928 if { (ac_try="$ac_compile"
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2934 (eval "$ac_compile") 2>conftest.er1
2936 grep -v '^ *+' conftest.er1 >conftest.err
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2942 { (case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_try") 2>&5
2949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2950 (exit $ac_status); }; } &&
2951 { ac_try='test -s conftest.$ac_objext'
2952 { (case "(($ac_try" in
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2957 (eval "$ac_try") 2>&5
2959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2960 (exit $ac_status); }; }; then
2963 echo "$as_me: failed program was
:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2966 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2968 cat >conftest.$ac_ext <<_ACEOF
2971 cat confdefs.h >>conftest.$ac_ext
2972 cat >>conftest.$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2983 rm -f conftest.$ac_objext
2984 if { (ac_try="$ac_compile"
2986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2990 (eval "$ac_compile") 2>conftest.er1
2992 grep -v '^ *+' conftest.er1 >conftest.err
2994 cat conftest.err >&5
2995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2996 (exit $ac_status); } &&
2997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2998 { (case "(($ac_try" in
2999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_try") 2>&5
3005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3006 (exit $ac_status); }; } &&
3007 { ac_try='test -s conftest.$ac_objext'
3008 { (case "(($ac_try" in
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3013 (eval "$ac_try") 2>&5
3015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 ac_cv_prog_cxx_g=yes
3019 echo "$as_me: failed program was
:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3034 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3035 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3036 if test "$ac_test_CXXFLAGS" = set; then
3037 CXXFLAGS=$ac_save_CXXFLAGS
3038 elif test $ac_cv_prog_cxx_g = yes; then
3039 if test "$GXX" = yes; then
3045 if test "$GXX" = yes; then
3052 ac_cpp='$CXXCPP $CPPFLAGS'
3053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3056 DEPDIR="${am__leading_dot}deps
"
3058 ac_config_commands="$ac_config_commands depfiles
"
3061 am_make=${MAKE-make}
3062 cat > confinc << 'END'
3067 # If we don't find an include directive, just comment out the code.
3068 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3069 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3073 # First try GNU make style include.
3074 echo "include confinc" > confmf
3075 # We grep out `Entering directory' and `Leaving directory'
3076 # messages which can occur if `w' ends up in MAKEFLAGS.
3077 # In particular we don't look at `^make:' because GNU make might
3078 # be invoked under some other name (usually "gmake"), in which
3079 # case it prints its new name instead of `make'.
3080 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3085 # Now try BSD make style include.
3086 if test "$am__include" = "#"; then
3087 echo '.include "confinc"' > confmf
3088 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3089 am__include
=.include
3096 { echo "$as_me:$LINENO: result: $_am_result" >&5
3097 echo "${ECHO_T}$_am_result" >&6; }
3098 rm -f confinc confmf
3100 # Check whether --enable-dependency-tracking was given.
3101 if test "${enable_dependency_tracking+set}" = set; then
3102 enableval
=$enable_dependency_tracking;
3105 if test "x$enable_dependency_tracking" != xno
; then
3106 am_depcomp
="$ac_aux_dir/depcomp"
3111 if test "x$enable_dependency_tracking" != xno; then
3122 depcc
="$CXX" am_compiler_list
=
3124 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3125 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3126 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3127 echo $ECHO_N "(cached) $ECHO_C" >&6
3129 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3130 # We make a subdir and do the tests there. Otherwise we can end up
3131 # making bogus files that we don't know about and never remove. For
3132 # instance it was reported that on HP-UX the gcc test will end up
3133 # making a dummy file named `D' -- because `-MD' means `put the output
3136 # Copy depcomp to subdir because otherwise we won't find it if we're
3137 # using a relative directory.
3138 cp "$am_depcomp" conftest.dir
3140 # We will build objects and dependencies in a subdirectory because
3141 # it helps to detect inapplicable dependency modes. For instance
3142 # both Tru64's cc and ICC support -MD to output dependencies as a
3143 # side effect of compilation, but ICC will put the dependencies in
3144 # the current directory while Tru64 will put them in the object
3148 am_cv_CXX_dependencies_compiler_type
=none
3149 if test "$am_compiler_list" = ""; then
3150 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3152 for depmode
in $am_compiler_list; do
3153 # Setup a source with many dependencies, because some compilers
3154 # like to wrap large dependency lists on column 80 (with \), and
3155 # we should not choose a depcomp mode which is confused by this.
3157 # We need to recreate these files for each test, as the compiler may
3158 # overwrite some of them when testing with obscure command lines.
3159 # This happens at least with the AIX C compiler.
3161 for i
in 1 2 3 4 5 6; do
3162 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3163 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3164 # Solaris 8's {/usr,}/bin/sh.
3165 touch sub
/conftst
$i.h
3167 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3171 # after this tag, mechanisms are not by side-effect, so they'll
3172 # only be used when explicitly requested
3173 if test "x$enable_dependency_tracking" = xyes
; then
3181 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3182 # mode. It turns out that the SunPro C++ compiler does not properly
3183 # handle `-M -o', and we need to detect this.
3184 if depmode
=$depmode \
3185 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3186 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3187 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3188 >/dev
/null
2>conftest.err
&&
3189 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3190 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3191 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3192 # icc doesn't choke on unknown options, it will just issue warnings
3193 # or remarks (even with -Werror). So we grep stderr for any message
3194 # that says an option was ignored or not supported.
3195 # When given -MP, icc 7.0 and 7.1 complain thusly:
3196 # icc: Command line warning: ignoring option '-M'; no argument required
3197 # The diagnosis changed in icc 8.0:
3198 # icc: Command line remark: option '-MP' not supported
3199 if (grep 'ignoring option' conftest.err ||
3200 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3201 am_cv_CXX_dependencies_compiler_type
=$depmode
3210 am_cv_CXX_dependencies_compiler_type
=none
3214 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3215 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3216 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3221 test "x$enable_dependency_tracking" != xno \
3222 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3223 am__fastdepCXX_TRUE
=
3224 am__fastdepCXX_FALSE
='#'
3226 am__fastdepCXX_TRUE
='#'
3227 am__fastdepCXX_FALSE
=
3232 # Check whether --enable-shared was given.
3233 if test "${enable_shared+set}" = set; then
3234 enableval
=$enable_shared; p
=${PACKAGE-default}
3236 yes) enable_shared
=yes ;;
3237 no
) enable_shared
=no
;;
3240 # Look at the argument we got. We use all the common list separators.
3241 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3242 for pkg
in $enableval; do
3244 if test "X$pkg" = "X$p"; then
3256 # Check whether --enable-static was given.
3257 if test "${enable_static+set}" = set; then
3258 enableval
=$enable_static; p
=${PACKAGE-default}
3260 yes) enable_static
=yes ;;
3261 no
) enable_static
=no
;;
3264 # Look at the argument we got. We use all the common list separators.
3265 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3266 for pkg
in $enableval; do
3268 if test "X$pkg" = "X$p"; then
3280 # Check whether --enable-fast-install was given.
3281 if test "${enable_fast_install+set}" = set; then
3282 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3284 yes) enable_fast_install
=yes ;;
3285 no
) enable_fast_install
=no
;;
3287 enable_fast_install
=no
3288 # Look at the argument we got. We use all the common list separators.
3289 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3290 for pkg
in $enableval; do
3292 if test "X$pkg" = "X$p"; then
3293 enable_fast_install
=yes
3300 enable_fast_install
=yes
3304 # Make sure we can run config.sub.
3305 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3306 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3307 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3308 { (exit 1); exit 1; }; }
3310 { echo "$as_me:$LINENO: checking build system type" >&5
3311 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3312 if test "${ac_cv_build+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 ac_build_alias
=$build_alias
3316 test "x$ac_build_alias" = x
&&
3317 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3318 test "x$ac_build_alias" = x
&&
3319 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3320 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3321 { (exit 1); exit 1; }; }
3322 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3323 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3324 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3325 { (exit 1); exit 1; }; }
3328 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3329 echo "${ECHO_T}$ac_cv_build" >&6; }
3330 case $ac_cv_build in
3332 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3333 echo "$as_me: error: invalid value of canonical build" >&2;}
3334 { (exit 1); exit 1; }; };;
3337 ac_save_IFS
=$IFS; IFS
='-'
3343 # Remember, the first character of IFS is used to create $*,
3344 # except with old shells:
3347 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3350 { echo "$as_me:$LINENO: checking host system type" >&5
3351 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3352 if test "${ac_cv_host+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if test "x$host_alias" = x
; then
3356 ac_cv_host
=$ac_cv_build
3358 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3359 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3360 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3361 { (exit 1); exit 1; }; }
3365 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3366 echo "${ECHO_T}$ac_cv_host" >&6; }
3369 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3370 echo "$as_me: error: invalid value of canonical host" >&2;}
3371 { (exit 1); exit 1; }; };;
3374 ac_save_IFS
=$IFS; IFS
='-'
3380 # Remember, the first character of IFS is used to create $*,
3381 # except with old shells:
3384 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3388 ac_cpp
='$CPP $CPPFLAGS'
3389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3394 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3397 if test "${ac_cv_prog_CC+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$CC"; then
3401 ac_cv_prog_CC
="$CC" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test -n "$CC"; then
3422 { echo "$as_me:$LINENO: result: $CC" >&5
3423 echo "${ECHO_T}$CC" >&6; }
3425 { echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6; }
3431 if test -z "$ac_cv_prog_CC"; then
3433 # Extract the first word of "gcc", so it can be a program name with args.
3434 set dummy gcc
; ac_word
=$2
3435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3437 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 if test -n "$ac_ct_CC"; then
3441 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir
=.
3448 for ac_exec_ext
in '' $ac_executable_extensions; do
3449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3450 ac_cv_prog_ac_ct_CC
="gcc"
3451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3461 if test -n "$ac_ct_CC"; then
3462 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3463 echo "${ECHO_T}$ac_ct_CC" >&6; }
3465 { echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6; }
3469 if test "x$ac_ct_CC" = x
; then
3472 case $cross_compiling:$ac_tool_warned in
3474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3475 whose name does not start with the host triplet. If you think this
3476 configuration is useful to you, please write to autoconf@gnu.org." >&5
3477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3478 whose name does not start with the host triplet. If you think this
3479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3480 ac_tool_warned
=yes ;;
3488 if test -z "$CC"; then
3489 if test -n "$ac_tool_prefix"; then
3490 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3491 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3494 if test "${ac_cv_prog_CC+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 if test -n "$CC"; then
3498 ac_cv_prog_CC
="$CC" # Let the user override the test.
3500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3504 test -z "$as_dir" && as_dir
=.
3505 for ac_exec_ext
in '' $ac_executable_extensions; do
3506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3507 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 if test -n "$CC"; then
3519 { echo "$as_me:$LINENO: result: $CC" >&5
3520 echo "${ECHO_T}$CC" >&6; }
3522 { echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6; }
3529 if test -z "$CC"; then
3530 # Extract the first word of "cc", so it can be a program name with args.
3531 set dummy cc
; ac_word
=$2
3532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3534 if test "${ac_cv_prog_CC+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 if test -n "$CC"; then
3538 ac_cv_prog_CC
="$CC" # Let the user override the test.
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3549 ac_prog_rejected
=yes
3553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 if test $ac_prog_rejected = yes; then
3561 # We found a bogon in the path, so make sure we never use it.
3562 set dummy
$ac_cv_prog_CC
3564 if test $# != 0; then
3565 # We chose a different compiler from the bogus one.
3566 # However, it has the same basename, so the bogon will be chosen
3567 # first if we set CC to just the basename; use the full file name.
3569 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3575 if test -n "$CC"; then
3576 { echo "$as_me:$LINENO: result: $CC" >&5
3577 echo "${ECHO_T}$CC" >&6; }
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3585 if test -z "$CC"; then
3586 if test -n "$ac_tool_prefix"; then
3587 for ac_prog
in cl.exe
3589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3590 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_CC+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 if test -n "$CC"; then
3597 ac_cv_prog_CC
="$CC" # Let the user override the test.
3599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir
=.
3604 for ac_exec_ext
in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 if test -n "$CC"; then
3618 { echo "$as_me:$LINENO: result: $CC" >&5
3619 echo "${ECHO_T}$CC" >&6; }
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3626 test -n "$CC" && break
3629 if test -z "$CC"; then
3631 for ac_prog
in cl.exe
3633 # Extract the first word of "$ac_prog", so it can be a program name with args.
3634 set dummy
$ac_prog; ac_word
=$2
3635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 if test -n "$ac_ct_CC"; then
3641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_ac_ct_CC
="$ac_prog"
3651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3661 if test -n "$ac_ct_CC"; then
3662 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3663 echo "${ECHO_T}$ac_ct_CC" >&6; }
3665 { echo "$as_me:$LINENO: result: no" >&5
3666 echo "${ECHO_T}no" >&6; }
3670 test -n "$ac_ct_CC" && break
3673 if test "x$ac_ct_CC" = x
; then
3676 case $cross_compiling:$ac_tool_warned in
3678 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3679 whose name does not start with the host triplet. If you think this
3680 configuration is useful to you, please write to autoconf@gnu.org." >&5
3681 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3682 whose name does not start with the host triplet. If you think this
3683 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3684 ac_tool_warned
=yes ;;
3693 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3694 See \`config.log' for more details." >&5
3695 echo "$as_me: error: no acceptable C compiler found in \$PATH
3696 See \`config.log' for more details." >&2;}
3697 { (exit 1); exit 1; }; }
3699 # Provide some information about the compiler.
3700 echo "$as_me:$LINENO: checking for C compiler version" >&5
3701 ac_compiler
=`set X $ac_compile; echo $2`
3702 { (ac_try
="$ac_compiler --version >&5"
3704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_compiler --version >&5") 2>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }
3712 { (ac_try="$ac_compiler -v >&5"
3714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3715 *) ac_try_echo
=$ac_try;;
3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718 (eval "$ac_compiler -v >&5") 2>&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); }
3722 { (ac_try
="$ac_compiler -V >&5"
3724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_compiler -V >&5") 2>&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); }
3733 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3734 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3735 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 cat >conftest.$ac_ext <<_ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3756 rm -f conftest.$ac_objext
3757 if { (ac_try="$ac_compile"
3759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3760 *) ac_try_echo
=$ac_try;;
3762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763 (eval "$ac_compile") 2>conftest.er1
3765 grep -v '^ *+' conftest.er1
>conftest.err
3767 cat conftest.err
>&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3771 { (case "(($ac_try" in
3772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776 (eval "$ac_try") 2>&5
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; } &&
3780 { ac_try='test -s conftest.$ac_objext'
3781 { (case "(($ac_try" in
3782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3783 *) ac_try_echo
=$ac_try;;
3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786 (eval "$ac_try") 2>&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3799 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3802 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3803 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3804 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3805 ac_test_CFLAGS
=${CFLAGS+set}
3806 ac_save_CFLAGS
=$CFLAGS
3807 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3808 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3809 if test "${ac_cv_prog_cc_g+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 ac_save_c_werror_flag
=$ac_c_werror_flag
3813 ac_c_werror_flag
=yes
3816 cat >conftest.
$ac_ext <<_ACEOF
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3831 rm -f conftest.
$ac_objext
3832 if { (ac_try
="$ac_compile"
3834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3835 *) ac_try_echo=$ac_try;;
3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3838 (eval "$ac_compile") 2>conftest.er1
3840 grep -v '^ *+' conftest.er1 >conftest.err
3842 cat conftest.err >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } &&
3845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3846 { (case "(($ac_try" in
3847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3848 *) ac_try_echo
=$ac_try;;
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_try") 2>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); }; } &&
3855 { ac_try
='test -s conftest.$ac_objext'
3856 { (case "(($ac_try" in
3857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_try") 2>&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; }; then
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3886 rm -f conftest.$ac_objext
3887 if { (ac_try="$ac_compile"
3889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3890 *) ac_try_echo
=$ac_try;;
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_compile") 2>conftest.er1
3895 grep -v '^ *+' conftest.er1
>conftest.err
3897 cat conftest.err
>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } &&
3900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3901 { (case "(($ac_try" in
3902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3903 *) ac_try_echo=$ac_try;;
3905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3906 (eval "$ac_try") 2>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); }; } &&
3910 { ac_try='test -s conftest.$ac_objext'
3911 { (case "(($ac_try" in
3912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3913 *) ac_try_echo
=$ac_try;;
3915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3916 (eval "$ac_try") 2>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; }; then
3922 echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.
$ac_ext >&5
3925 ac_c_werror_flag
=$ac_save_c_werror_flag
3927 cat >conftest.
$ac_ext <<_ACEOF
3930 cat confdefs.h
>>conftest.
$ac_ext
3931 cat >>conftest.
$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3942 rm -f conftest.
$ac_objext
3943 if { (ac_try
="$ac_compile"
3945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949 (eval "$ac_compile") 2>conftest.er1
3951 grep -v '^ *+' conftest.er1 >conftest.err
3953 cat conftest.err >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } &&
3956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3957 { (case "(($ac_try" in
3958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3959 *) ac_try_echo
=$ac_try;;
3961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 (eval "$ac_try") 2>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; } &&
3966 { ac_try
='test -s conftest.$ac_objext'
3967 { (case "(($ac_try" in
3968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3972 (eval "$ac_try") 2>&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; }; then
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 ac_c_werror_flag=$ac_save_c_werror_flag
3993 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3994 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3995 if test "$ac_test_CFLAGS" = set; then
3996 CFLAGS=$ac_save_CFLAGS
3997 elif test $ac_cv_prog_cc_g = yes; then
3998 if test "$GCC" = yes; then
4004 if test "$GCC" = yes; then
4010 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4011 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4012 if test "${ac_cv_prog_cc_c89+set}" = set; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 ac_cv_prog_cc_c89=no
4017 cat >conftest.$ac_ext <<_ACEOF
4020 cat confdefs.h >>conftest.$ac_ext
4021 cat >>conftest.$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4025 #include <sys/types.h>
4026 #include <sys/stat.h>
4027 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4028 struct buf { int x; };
4029 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4030 static char *e (p, i)
4036 static char *f (char * (*g) (char **, int), char **p, ...)
4041 s = g (p, va_arg (v,int));
4046 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4047 function prototypes and stuff, but not '\xHH' hex character constants.
4048 These don't provoke an error unfortunately, instead are silently treated
4049 as 'x'. The following induces an error, until -std is added to get
4050 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4051 array size at least. It's necessary to write '\x00'==0 to get something
4052 that's true only with -std. */
4053 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4055 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4056 inside strings and character constants. */
4058 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4060 int test (int i, double x);
4061 struct s1 {int (*f) (int a);};
4062 struct s2 {int (*f) (double a);};
4063 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4069 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4074 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4075 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4077 CC="$ac_save_CC $ac_arg"
4078 rm -f conftest.$ac_objext
4079 if { (ac_try="$ac_compile"
4081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4082 *) ac_try_echo
=$ac_try;;
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_compile") 2>conftest.er1
4087 grep -v '^ *+' conftest.er1
>conftest.err
4089 cat conftest.err
>&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } &&
4092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4093 { (case "(($ac_try" in
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_try") 2>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; } &&
4102 { ac_try='test -s conftest.$ac_objext'
4103 { (case "(($ac_try" in
4104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4105 *) ac_try_echo
=$ac_try;;
4107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4108 (eval "$ac_try") 2>&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_prog_cc_c89
=$ac_arg
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4120 rm -f core conftest.err conftest.
$ac_objext
4121 test "x$ac_cv_prog_cc_c89" != "xno" && break
4123 rm -f conftest.
$ac_ext
4128 case "x$ac_cv_prog_cc_c89" in
4130 { echo "$as_me:$LINENO: result: none needed" >&5
4131 echo "${ECHO_T}none needed" >&6; } ;;
4133 { echo "$as_me:$LINENO: result: unsupported" >&5
4134 echo "${ECHO_T}unsupported" >&6; } ;;
4136 CC
="$CC $ac_cv_prog_cc_c89"
4137 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4138 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4143 ac_cpp
='$CXXCPP $CPPFLAGS'
4144 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4145 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4146 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4148 depcc
="$CC" am_compiler_list
=
4150 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4151 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4152 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4155 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4156 # We make a subdir and do the tests there. Otherwise we can end up
4157 # making bogus files that we don't know about and never remove. For
4158 # instance it was reported that on HP-UX the gcc test will end up
4159 # making a dummy file named `D' -- because `-MD' means `put the output
4162 # Copy depcomp to subdir because otherwise we won't find it if we're
4163 # using a relative directory.
4164 cp "$am_depcomp" conftest.dir
4166 # We will build objects and dependencies in a subdirectory because
4167 # it helps to detect inapplicable dependency modes. For instance
4168 # both Tru64's cc and ICC support -MD to output dependencies as a
4169 # side effect of compilation, but ICC will put the dependencies in
4170 # the current directory while Tru64 will put them in the object
4174 am_cv_CC_dependencies_compiler_type
=none
4175 if test "$am_compiler_list" = ""; then
4176 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4178 for depmode
in $am_compiler_list; do
4179 # Setup a source with many dependencies, because some compilers
4180 # like to wrap large dependency lists on column 80 (with \), and
4181 # we should not choose a depcomp mode which is confused by this.
4183 # We need to recreate these files for each test, as the compiler may
4184 # overwrite some of them when testing with obscure command lines.
4185 # This happens at least with the AIX C compiler.
4187 for i
in 1 2 3 4 5 6; do
4188 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4189 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4190 # Solaris 8's {/usr,}/bin/sh.
4191 touch sub
/conftst
$i.h
4193 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4197 # after this tag, mechanisms are not by side-effect, so they'll
4198 # only be used when explicitly requested
4199 if test "x$enable_dependency_tracking" = xyes
; then
4207 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4208 # mode. It turns out that the SunPro C++ compiler does not properly
4209 # handle `-M -o', and we need to detect this.
4210 if depmode
=$depmode \
4211 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4212 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4213 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4214 >/dev
/null
2>conftest.err
&&
4215 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4216 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4217 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4218 # icc doesn't choke on unknown options, it will just issue warnings
4219 # or remarks (even with -Werror). So we grep stderr for any message
4220 # that says an option was ignored or not supported.
4221 # When given -MP, icc 7.0 and 7.1 complain thusly:
4222 # icc: Command line warning: ignoring option '-M'; no argument required
4223 # The diagnosis changed in icc 8.0:
4224 # icc: Command line remark: option '-MP' not supported
4225 if (grep 'ignoring option' conftest.err ||
4226 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4227 am_cv_CC_dependencies_compiler_type
=$depmode
4236 am_cv_CC_dependencies_compiler_type
=none
4240 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4241 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4242 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4247 test "x$enable_dependency_tracking" != xno \
4248 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4250 am__fastdepCC_FALSE
='#'
4252 am__fastdepCC_TRUE
='#'
4253 am__fastdepCC_FALSE
=
4257 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4258 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4259 if test "${lt_cv_path_SED+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 # Loop through the user's path and test for sed and gsed.
4263 # Then use that list of sed's as ones to test for truncation.
4264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4268 test -z "$as_dir" && as_dir
=.
4269 for lt_ac_prog
in sed gsed
; do
4270 for ac_exec_ext
in '' $ac_executable_extensions; do
4271 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4272 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4279 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4280 # along with /bin/sed that truncates output.
4281 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4282 test ! -f $lt_ac_sed && continue
4283 cat /dev
/null
> conftest.
in
4285 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4286 # Check for GNU sed and select it if it is found.
4287 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4288 lt_cv_path_SED
=$lt_ac_sed
4292 cat conftest.
in conftest.
in >conftest.tmp
4293 mv conftest.tmp conftest.
in
4294 cp conftest.
in conftest.
nl
4296 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4297 cmp -s conftest.out conftest.
nl ||
break
4298 # 10000 chars as input seems more than enough
4299 test $lt_ac_count -gt 10 && break
4300 lt_ac_count
=`expr $lt_ac_count + 1`
4301 if test $lt_ac_count -gt $lt_ac_max; then
4302 lt_ac_max
=$lt_ac_count
4303 lt_cv_path_SED
=$lt_ac_sed
4311 { echo "$as_me:$LINENO: result: $SED" >&5
4312 echo "${ECHO_T}$SED" >&6; }
4314 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4315 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4316 if test "${ac_cv_path_GREP+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 # Extract the first word of "grep ggrep" to use in msg output
4320 if test -z "$GREP"; then
4321 set dummy
grep ggrep
; ac_prog_name
=$2
4322 if test "${ac_cv_path_GREP+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 ac_path_GREP_found
=false
4326 # Loop through the user's path and test for each of PROGNAME-LIST
4327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4328 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4331 test -z "$as_dir" && as_dir
=.
4332 for ac_prog
in grep ggrep
; do
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4335 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
4336 # Check for GNU ac_path_GREP and select it if it is found.
4337 # Check for GNU $ac_path_GREP
4338 case `"$ac_path_GREP" --version 2>&1` in
4340 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4343 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4346 cat "conftest.in" "conftest.in" >"conftest.tmp"
4347 mv "conftest.tmp" "conftest.in"
4348 cp "conftest.in" "conftest.nl"
4349 echo 'GREP' >> "conftest.nl"
4350 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4351 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4352 ac_count
=`expr $ac_count + 1`
4353 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4354 # Best one so far, save it but keep looking for a better one
4355 ac_cv_path_GREP
="$ac_path_GREP"
4356 ac_path_GREP_max
=$ac_count
4358 # 10*(2^10) chars as input seems more than enough
4359 test $ac_count -gt 10 && break
4361 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4365 $ac_path_GREP_found && break 3
4375 GREP
="$ac_cv_path_GREP"
4376 if test -z "$GREP"; then
4377 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4378 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4379 { (exit 1); exit 1; }; }
4383 ac_cv_path_GREP
=$GREP
4388 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4389 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4390 GREP
="$ac_cv_path_GREP"
4393 { echo "$as_me:$LINENO: checking for egrep" >&5
4394 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4395 if test "${ac_cv_path_EGREP+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4399 then ac_cv_path_EGREP
="$GREP -E"
4401 # Extract the first word of "egrep" to use in msg output
4402 if test -z "$EGREP"; then
4403 set dummy
egrep; ac_prog_name
=$2
4404 if test "${ac_cv_path_EGREP+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 ac_path_EGREP_found
=false
4408 # Loop through the user's path and test for each of PROGNAME-LIST
4409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4413 test -z "$as_dir" && as_dir
=.
4414 for ac_prog
in egrep; do
4415 for ac_exec_ext
in '' $ac_executable_extensions; do
4416 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4417 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4418 # Check for GNU ac_path_EGREP and select it if it is found.
4419 # Check for GNU $ac_path_EGREP
4420 case `"$ac_path_EGREP" --version 2>&1` in
4422 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4425 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4428 cat "conftest.in" "conftest.in" >"conftest.tmp"
4429 mv "conftest.tmp" "conftest.in"
4430 cp "conftest.in" "conftest.nl"
4431 echo 'EGREP' >> "conftest.nl"
4432 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4433 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4434 ac_count
=`expr $ac_count + 1`
4435 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4436 # Best one so far, save it but keep looking for a better one
4437 ac_cv_path_EGREP
="$ac_path_EGREP"
4438 ac_path_EGREP_max
=$ac_count
4440 # 10*(2^10) chars as input seems more than enough
4441 test $ac_count -gt 10 && break
4443 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4447 $ac_path_EGREP_found && break 3
4457 EGREP
="$ac_cv_path_EGREP"
4458 if test -z "$EGREP"; then
4459 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4460 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4461 { (exit 1); exit 1; }; }
4465 ac_cv_path_EGREP
=$EGREP
4471 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4472 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4473 EGREP
="$ac_cv_path_EGREP"
4477 # Check whether --with-gnu-ld was given.
4478 if test "${with_gnu_ld+set}" = set; then
4479 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4485 if test "$GCC" = yes; then
4486 # Check if gcc -print-prog-name=ld gives a path.
4487 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4488 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4491 # gcc leaves a trailing carriage return which upsets mingw
4492 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4494 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4497 # Accept absolute paths.
4499 re_direlt
='/[^/][^/]*/\.\./'
4500 # Canonicalize the pathname of ld
4501 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4502 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4503 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4505 test -z "$LD" && LD
="$ac_prog"
4508 # If it fails, then pretend we aren't using GCC.
4512 # If it is relative, then search for the first ld in PATH.
4516 elif test "$with_gnu_ld" = yes; then
4517 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4518 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4520 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4521 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4523 if test "${lt_cv_path_LD+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 if test -z "$LD"; then
4527 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4528 for ac_dir
in $PATH; do
4530 test -z "$ac_dir" && ac_dir
=.
4531 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4532 lt_cv_path_LD
="$ac_dir/$ac_prog"
4533 # Check to see if the program is GNU ld. I'd rather use --version,
4534 # but apparently some variants of GNU ld only accept -v.
4535 # Break only if it was the GNU/non-GNU ld that we prefer.
4536 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4537 *GNU
* |
*'with BFD'*)
4538 test "$with_gnu_ld" != no
&& break
4541 test "$with_gnu_ld" != yes && break
4548 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4553 if test -n "$LD"; then
4554 { echo "$as_me:$LINENO: result: $LD" >&5
4555 echo "${ECHO_T}$LD" >&6; }
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4560 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4561 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4562 { (exit 1); exit 1; }; }
4563 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4564 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4565 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4569 case `$LD -v 2>&1 </dev/null` in
4570 *GNU
* |
*'with BFD'*)
4571 lt_cv_prog_gnu_ld
=yes
4574 lt_cv_prog_gnu_ld
=no
4578 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4579 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4580 with_gnu_ld
=$lt_cv_prog_gnu_ld
4583 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4584 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4585 if test "${lt_cv_ld_reload_flag+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 lt_cv_ld_reload_flag
='-r'
4590 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4591 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4592 reload_flag
=$lt_cv_ld_reload_flag
4593 case $reload_flag in
4595 *) reload_flag
=" $reload_flag" ;;
4597 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4600 if test "$GCC" = yes; then
4601 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4603 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4608 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4609 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4610 if test "${lt_cv_path_NM+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 if test -n "$NM"; then
4614 # Let the user override the test.
4617 lt_nm_to_check
="${ac_tool_prefix}nm"
4618 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4619 lt_nm_to_check
="$lt_nm_to_check nm"
4621 for lt_tmp_nm
in $lt_nm_to_check; do
4622 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4623 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4625 test -z "$ac_dir" && ac_dir
=.
4626 tmp_nm
="$ac_dir/$lt_tmp_nm"
4627 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4628 # Check to see if the nm accepts a BSD-compat flag.
4629 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4630 # nm: unknown option "B" ignored
4631 # Tru64's nm complains that /dev/null is an invalid object file
4632 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4633 */dev
/null
* |
*'Invalid file or object type'*)
4634 lt_cv_path_NM
="$tmp_nm -B"
4638 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4640 lt_cv_path_NM
="$tmp_nm -p"
4644 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4645 continue # so that we can try to find one that supports BSD flags
4654 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4657 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4658 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4661 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4662 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4664 if test "$LN_S" = "ln -s"; then
4665 { echo "$as_me:$LINENO: result: yes" >&5
4666 echo "${ECHO_T}yes" >&6; }
4668 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4669 echo "${ECHO_T}no, using $LN_S" >&6; }
4672 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4673 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4674 if test "${lt_cv_deplibs_check_method+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4678 lt_cv_file_magic_test_file
=
4679 lt_cv_deplibs_check_method
='unknown'
4680 # Need to set the preceding variable on all platforms that support
4681 # interlibrary dependencies.
4682 # 'none' -- dependencies not supported.
4683 # `unknown' -- same as none, but documents that we really don't know.
4684 # 'pass_all' -- all dependencies passed with no checks.
4685 # 'test_compile' -- check by making test program.
4686 # 'file_magic [[regex]]' -- check by looking for files in library path
4687 # which responds to the $file_magic_cmd with a given extended regex.
4688 # If you have `file' or equivalent on your system and you're not sure
4689 # whether `pass_all' will *always* work, you probably want this one.
4693 lt_cv_deplibs_check_method
=pass_all
4697 lt_cv_deplibs_check_method
=pass_all
4701 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4702 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4703 lt_cv_file_magic_test_file
=/shlib
/libc.so
4707 # func_win32_libid is a shell function defined in ltmain.sh
4708 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4709 lt_cv_file_magic_cmd
='func_win32_libid'
4713 # Base MSYS/MinGW do not provide the 'file' command needed by
4714 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4715 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4716 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4719 darwin
* | rhapsody
*)
4720 lt_cv_deplibs_check_method
=pass_all
4723 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4724 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4727 # Not sure whether the presence of OpenBSD here was a mistake.
4728 # Let's accept both of them until this is cleared up.
4729 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4730 lt_cv_file_magic_cmd
=/usr
/bin
/file
4731 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4735 lt_cv_deplibs_check_method
=pass_all
4740 lt_cv_deplibs_check_method
=pass_all
4743 hpux10.20
* | hpux11
*)
4744 lt_cv_file_magic_cmd
=/usr
/bin
/file
4747 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4748 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4751 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]'
4752 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4755 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4756 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4762 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4763 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4766 irix5
* | irix6
* | nonstopux
*)
4768 *-32|
*"-32 ") libmagic
=32-bit;;
4769 *-n32|
*"-n32 ") libmagic
=N32
;;
4770 *-64|
*"-64 ") libmagic
=64-bit;;
4771 *) libmagic
=never-match
;;
4773 lt_cv_deplibs_check_method
=pass_all
4776 # This must be Linux ELF.
4778 lt_cv_deplibs_check_method
=pass_all
4782 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4783 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4785 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4790 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4791 lt_cv_file_magic_cmd
=/usr
/bin
/file
4792 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4796 lt_cv_deplibs_check_method
=unknown
4800 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4801 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4803 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4807 osf3
* | osf4
* | osf5
*)
4808 lt_cv_deplibs_check_method
=pass_all
4812 lt_cv_deplibs_check_method
=pass_all
4816 case $host_vendor in
4818 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]'
4819 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4822 lt_cv_deplibs_check_method
=pass_all
4825 lt_cv_file_magic_cmd
='/bin/file'
4826 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4829 lt_cv_file_magic_cmd
='/bin/file'
4830 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4831 lt_cv_file_magic_test_file
=/lib
/libc.so
4834 lt_cv_deplibs_check_method
=pass_all
4837 lt_cv_deplibs_check_method
=pass_all
4842 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4843 lt_cv_deplibs_check_method
=pass_all
4848 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4849 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4850 file_magic_cmd
=$lt_cv_file_magic_cmd
4851 deplibs_check_method
=$lt_cv_deplibs_check_method
4852 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4857 # If no C compiler was specified, use CC.
4860 # If no C compiler flags were specified, use CFLAGS.
4861 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4863 # Allow CC to be a program name with arguments.
4867 # Check whether --enable-libtool-lock was given.
4868 if test "${enable_libtool_lock+set}" = set; then
4869 enableval
=$enable_libtool_lock;
4872 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4874 # Some flags need to be propagated to the compiler or linker for good
4878 # Find out which ABI we are using.
4879 echo 'int i;' > conftest.
$ac_ext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4881 (eval $ac_compile) 2>&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; then
4885 case `/usr/bin/file conftest.$ac_objext` in
4897 # Find out which ABI we are using.
4898 echo '#line 4898 "configure"' > conftest.
$ac_ext
4899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900 (eval $ac_compile) 2>&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; then
4904 if test "$lt_cv_prog_gnu_ld" = yes; then
4905 case `/usr/bin/file conftest.$ac_objext` in
4907 LD
="${LD-ld} -melf32bsmip"
4910 LD
="${LD-ld} -melf32bmipn32"
4913 LD
="${LD-ld} -melf64bmip"
4917 case `/usr/bin/file conftest.$ac_objext` in
4933 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4934 # Find out which ABI we are using.
4935 echo 'int i;' > conftest.
$ac_ext
4936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4937 (eval $ac_compile) 2>&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; then
4941 case `/usr/bin/file conftest.o` in
4945 LD
="${LD-ld} -m elf_i386"
4947 ppc64-
*linux
*|powerpc64-
*linux
*)
4948 LD
="${LD-ld} -m elf32ppclinux"
4951 LD
="${LD-ld} -m elf_s390"
4954 LD
="${LD-ld} -m elf32_sparc"
4961 LD
="${LD-ld} -m elf_x86_64"
4963 ppc
*-*linux
*|powerpc
*-*linux
*)
4964 LD
="${LD-ld} -m elf64ppc"
4967 LD
="${LD-ld} -m elf64_s390"
4970 LD
="${LD-ld} -m elf64_sparc"
4980 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4981 SAVE_CFLAGS
="$CFLAGS"
4982 CFLAGS
="$CFLAGS -belf"
4983 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4984 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4985 if test "${lt_cv_cc_needs_belf+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4989 ac_cpp
='$CPP $CPPFLAGS'
4990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4994 cat >conftest.
$ac_ext <<_ACEOF
4997 cat confdefs.h
>>conftest.
$ac_ext
4998 cat >>conftest.
$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5009 rm -f conftest.
$ac_objext conftest
$ac_exeext
5010 if { (ac_try
="$ac_link"
5012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5013 *) ac_try_echo=$ac_try;;
5015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5016 (eval "$ac_link") 2>conftest.er1
5018 grep -v '^ *+' conftest.er1 >conftest.err
5020 cat conftest.err >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } &&
5023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5024 { (case "(($ac_try" in
5025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5026 *) ac_try_echo
=$ac_try;;
5028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5029 (eval "$ac_try") 2>&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); }; } &&
5033 { ac_try
='test -s conftest$ac_exeext'
5034 { (case "(($ac_try" in
5035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5039 (eval "$ac_try") 2>&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; }; then
5043 lt_cv_cc_needs_belf=yes
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.$ac_ext >&5
5048 lt_cv_cc_needs_belf=no
5051 rm -f core conftest.err conftest.$ac_objext \
5052 conftest$ac_exeext conftest.$ac_ext
5054 ac_cpp='$CPP $CPPFLAGS'
5055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5060 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5061 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5062 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5063 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5064 CFLAGS="$SAVE_CFLAGS"
5068 # Find out which ABI we are using.
5069 echo 'int i;' > conftest.$ac_ext
5070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5071 (eval $ac_compile) 2>&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; then
5075 case `/usr
/bin
/file conftest.o
` in
5077 case $lt_cv_prog_gnu_ld in
5078 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5079 *) LD="${LD-ld} -64" ;;
5090 need_locks="$enable_libtool_lock"
5094 ac_cpp='$CPP $CPPFLAGS'
5095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5098 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5099 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5100 # On Suns, sometimes $CPP names a directory.
5101 if test -n "$CPP" && test -d "$CPP"; then
5104 if test -z "$CPP"; then
5105 if test "${ac_cv_prog_CPP+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 # Double quotes because CPP needs to be expanded
5109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5112 for ac_c_preproc_warn_flag in '' yes
5114 # Use a header file that comes with gcc, so configuring glibc
5115 # with a fresh cross-compiler works.
5116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5117 # <limits.h> exists even on freestanding compilers.
5118 # On the NeXT, cc -E runs the code through the compiler's parser,
5119 # not just through cpp. "Syntax error" is here to catch this case.
5120 cat >conftest.$ac_ext <<_ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5127 # include <limits.h>
5129 # include <assert.h>
5133 if { (ac_try="$ac_cpp conftest.$ac_ext"
5135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5136 *) ac_try_echo
=$ac_try;;
5138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5141 grep -v '^ *+' conftest.er1
>conftest.err
5143 cat conftest.err
>&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } >/dev
/null
; then
5146 if test -s conftest.err
; then
5147 ac_cpp_err
=$ac_c_preproc_warn_flag
5148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5155 if test -z "$ac_cpp_err"; then
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.
$ac_ext >&5
5161 # Broken: fails on valid input.
5165 rm -f conftest.err conftest.
$ac_ext
5167 # OK, works on sane cases. Now check whether nonexistent headers
5168 # can be detected and how.
5169 cat >conftest.
$ac_ext <<_ACEOF
5172 cat confdefs.h
>>conftest.
$ac_ext
5173 cat >>conftest.
$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5175 #include <ac_nonexistent.h>
5177 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5180 *) ac_try_echo=$ac_try;;
5182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5185 grep -v '^ *+' conftest.er1 >conftest.err
5187 cat conftest.err >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } >/dev/null; then
5190 if test -s conftest.err; then
5191 ac_cpp_err=$ac_c_preproc_warn_flag
5192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5199 if test -z "$ac_cpp_err"; then
5200 # Broken: success on invalid input.
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.$ac_ext >&5
5206 # Passes both tests.
5211 rm -f conftest.err conftest.$ac_ext
5214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5215 rm -f conftest.err conftest.
$ac_ext
5216 if $ac_preproc_ok; then
5228 { echo "$as_me:$LINENO: result: $CPP" >&5
5229 echo "${ECHO_T}$CPP" >&6; }
5231 for ac_c_preproc_warn_flag
in '' yes
5233 # Use a header file that comes with gcc, so configuring glibc
5234 # with a fresh cross-compiler works.
5235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5236 # <limits.h> exists even on freestanding compilers.
5237 # On the NeXT, cc -E runs the code through the compiler's parser,
5238 # not just through cpp. "Syntax error" is here to catch this case.
5239 cat >conftest.
$ac_ext <<_ACEOF
5242 cat confdefs.h
>>conftest.
$ac_ext
5243 cat >>conftest.
$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5246 # include <limits.h>
5248 # include <assert.h>
5252 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5260 grep -v '^ *+' conftest.er1 >conftest.err
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } >/dev/null; then
5265 if test -s conftest.err; then
5266 ac_cpp_err=$ac_c_preproc_warn_flag
5267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5274 if test -z "$ac_cpp_err"; then
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.$ac_ext >&5
5280 # Broken: fails on valid input.
5284 rm -f conftest.err conftest.$ac_ext
5286 # OK, works on sane cases. Now check whether nonexistent headers
5287 # can be detected and how.
5288 cat >conftest.$ac_ext <<_ACEOF
5291 cat confdefs.h >>conftest.$ac_ext
5292 cat >>conftest.$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5294 #include <ac_nonexistent.h>
5296 if { (ac_try="$ac_cpp conftest.$ac_ext"
5298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5299 *) ac_try_echo
=$ac_try;;
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5304 grep -v '^ *+' conftest.er1
>conftest.err
5306 cat conftest.err
>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } >/dev
/null
; then
5309 if test -s conftest.err
; then
5310 ac_cpp_err
=$ac_c_preproc_warn_flag
5311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5318 if test -z "$ac_cpp_err"; then
5319 # Broken: success on invalid input.
5322 echo "$as_me: failed program was:" >&5
5323 sed 's/^/| /' conftest.
$ac_ext >&5
5325 # Passes both tests.
5330 rm -f conftest.err conftest.
$ac_ext
5333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5334 rm -f conftest.err conftest.
$ac_ext
5335 if $ac_preproc_ok; then
5338 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5339 See \`config.log' for more details." >&5
5340 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5341 See \`config.log' for more details." >&2;}
5342 { (exit 1); exit 1; }; }
5346 ac_cpp
='$CPP $CPPFLAGS'
5347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5352 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5353 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5354 if test "${ac_cv_header_stdc+set}" = set; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5357 cat >conftest.
$ac_ext <<_ACEOF
5360 cat confdefs.h
>>conftest.
$ac_ext
5361 cat >>conftest.
$ac_ext <<_ACEOF
5362 /* end confdefs.h. */
5376 rm -f conftest.
$ac_objext
5377 if { (ac_try
="$ac_compile"
5379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5380 *) ac_try_echo=$ac_try;;
5382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5383 (eval "$ac_compile") 2>conftest.er1
5385 grep -v '^ *+' conftest.er1 >conftest.err
5387 cat conftest.err >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); } &&
5390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5391 { (case "(($ac_try" in
5392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5393 *) ac_try_echo
=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_try") 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; } &&
5400 { ac_try
='test -s conftest.$ac_objext'
5401 { (case "(($ac_try" in
5402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5403 *) ac_try_echo=$ac_try;;
5405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5406 (eval "$ac_try") 2>&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }; then
5410 ac_cv_header_stdc=yes
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5415 ac_cv_header_stdc=no
5418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5420 if test $ac_cv_header_stdc = yes; then
5421 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5422 cat >conftest.$ac_ext <<_ACEOF
5425 cat confdefs.h >>conftest.$ac_ext
5426 cat >>conftest.$ac_ext <<_ACEOF
5427 /* end confdefs.h. */
5431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5432 $EGREP "memchr" >/dev/null 2>&1; then
5435 ac_cv_header_stdc=no
5441 if test $ac_cv_header_stdc = yes; then
5442 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5443 cat >conftest.$ac_ext <<_ACEOF
5446 cat confdefs.h >>conftest.$ac_ext
5447 cat >>conftest.$ac_ext <<_ACEOF
5448 /* end confdefs.h. */
5452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5453 $EGREP "free" >/dev/null 2>&1; then
5456 ac_cv_header_stdc=no
5462 if test $ac_cv_header_stdc = yes; then
5463 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5464 if test "$cross_compiling" = yes; then
5467 cat >conftest.$ac_ext <<_ACEOF
5470 cat confdefs.h >>conftest.$ac_ext
5471 cat >>conftest.$ac_ext <<_ACEOF
5472 /* end confdefs.h. */
5475 #if ((' ' & 0x0FF) == 0x020)
5476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5479 # define ISLOWER(c) \
5480 (('a' <= (c) && (c) <= 'i') \
5481 || ('j' <= (c) && (c) <= 'r') \
5482 || ('s' <= (c) && (c) <= 'z'))
5483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5491 for (i = 0; i < 256; i++)
5492 if (XOR (islower (i), ISLOWER (i))
5493 || toupper (i) != TOUPPER (i))
5498 rm -f conftest$ac_exeext
5499 if { (ac_try="$ac_link"
5501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5502 *) ac_try_echo
=$ac_try;;
5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505 (eval "$ac_link") 2>&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5509 { (case "(($ac_try" in
5510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5511 *) ac_try_echo=$ac_try;;
5513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5514 (eval "$ac_try") 2>&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; }; then
5520 echo "$as_me: program exited with status $ac_status" >&5
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5
5525 ac_cv_header_stdc=no
5527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5533 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5534 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5535 if test $ac_cv_header_stdc = yes; then
5537 cat >>confdefs.h <<\_ACEOF
5538 #define STDC_HEADERS 1
5543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5553 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5554 inttypes.h stdint.h unistd.h
5556 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5562 cat >conftest.$ac_ext <<_ACEOF
5565 cat confdefs.h >>conftest.$ac_ext
5566 cat >>conftest.$ac_ext <<_ACEOF
5567 /* end confdefs.h. */
5568 $ac_includes_default
5570 #include <$ac_header>
5572 rm -f conftest.$ac_objext
5573 if { (ac_try="$ac_compile"
5575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5576 *) ac_try_echo
=$ac_try;;
5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5579 (eval "$ac_compile") 2>conftest.er1
5581 grep -v '^ *+' conftest.er1
>conftest.err
5583 cat conftest.err
>&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); } &&
5586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5587 { (case "(($ac_try" in
5588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5589 *) ac_try_echo=$ac_try;;
5591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5592 (eval "$ac_try") 2>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); }; } &&
5596 { ac_try='test -s conftest.$ac_objext'
5597 { (case "(($ac_try" in
5598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5599 *) ac_try_echo
=$ac_try;;
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_try") 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5606 eval "$as_ac_Header=yes"
5608 echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.
$ac_ext >&5
5611 eval "$as_ac_Header=no"
5614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5616 ac_res
=`eval echo '${'$as_ac_Header'}'`
5617 { echo "$as_me:$LINENO: result: $ac_res" >&5
5618 echo "${ECHO_T}$ac_res" >&6; }
5619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5620 cat >>confdefs.h
<<_ACEOF
5621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5630 for ac_header
in dlfcn.h
5632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5633 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5636 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 ac_res
=`eval echo '${'$as_ac_Header'}'`
5640 { echo "$as_me:$LINENO: result: $ac_res" >&5
5641 echo "${ECHO_T}$ac_res" >&6; }
5643 # Is the header compilable?
5644 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5646 cat >conftest.
$ac_ext <<_ACEOF
5649 cat confdefs.h
>>conftest.
$ac_ext
5650 cat >>conftest.
$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 $ac_includes_default
5653 #include <$ac_header>
5655 rm -f conftest.
$ac_objext
5656 if { (ac_try
="$ac_compile"
5658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5659 *) ac_try_echo=$ac_try;;
5661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5662 (eval "$ac_compile") 2>conftest.er1
5664 grep -v '^ *+' conftest.er1 >conftest.err
5666 cat conftest.err >&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } &&
5669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5670 { (case "(($ac_try" in
5671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5672 *) ac_try_echo
=$ac_try;;
5674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675 (eval "$ac_try") 2>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); }; } &&
5679 { ac_try
='test -s conftest.$ac_objext'
5680 { (case "(($ac_try" in
5681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5682 *) ac_try_echo=$ac_try;;
5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685 (eval "$ac_try") 2>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 ac_header_compiler=yes
5691 echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.$ac_ext >&5
5694 ac_header_compiler=no
5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5698 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5699 echo "${ECHO_T}$ac_header_compiler" >&6; }
5701 # Is the header present?
5702 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5704 cat >conftest.$ac_ext <<_ACEOF
5707 cat confdefs.h >>conftest.$ac_ext
5708 cat >>conftest.$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5710 #include <$ac_header>
5712 if { (ac_try="$ac_cpp conftest.$ac_ext"
5714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5715 *) ac_try_echo
=$ac_try;;
5717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5720 grep -v '^ *+' conftest.er1
>conftest.err
5722 cat conftest.err
>&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } >/dev
/null
; then
5725 if test -s conftest.err
; then
5726 ac_cpp_err
=$ac_c_preproc_warn_flag
5727 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5734 if test -z "$ac_cpp_err"; then
5735 ac_header_preproc
=yes
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.
$ac_ext >&5
5740 ac_header_preproc
=no
5743 rm -f conftest.err conftest.
$ac_ext
5744 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5745 echo "${ECHO_T}$ac_header_preproc" >&6; }
5747 # So? What about this header?
5748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5754 ac_header_preproc
=yes
5757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5772 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5774 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 eval "$as_ac_Header=\$ac_header_preproc"
5779 ac_res
=`eval echo '${'$as_ac_Header'}'`
5780 { echo "$as_me:$LINENO: result: $ac_res" >&5
5781 echo "${ECHO_T}$ac_res" >&6; }
5784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5785 cat >>confdefs.h
<<_ACEOF
5786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5795 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5796 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5797 (test "X$CXX" != "Xg++"))) ; then
5799 ac_cpp
='$CXXCPP $CPPFLAGS'
5800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5803 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5804 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5805 if test -z "$CXXCPP"; then
5806 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 # Double quotes because CXXCPP needs to be expanded
5810 for CXXCPP
in "$CXX -E" "/lib/cpp"
5813 for ac_cxx_preproc_warn_flag
in '' yes
5815 # Use a header file that comes with gcc, so configuring glibc
5816 # with a fresh cross-compiler works.
5817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5818 # <limits.h> exists even on freestanding compilers.
5819 # On the NeXT, cc -E runs the code through the compiler's parser,
5820 # not just through cpp. "Syntax error" is here to catch this case.
5821 cat >conftest.
$ac_ext <<_ACEOF
5824 cat confdefs.h
>>conftest.
$ac_ext
5825 cat >>conftest.
$ac_ext <<_ACEOF
5826 /* end confdefs.h. */
5828 # include <limits.h>
5830 # include <assert.h>
5834 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5837 *) ac_try_echo=$ac_try;;
5839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5842 grep -v '^ *+' conftest.er1 >conftest.err
5844 cat conftest.err >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } >/dev/null; then
5847 if test -s conftest.err; then
5848 ac_cpp_err=$ac_cxx_preproc_warn_flag
5849 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5856 if test -z "$ac_cpp_err"; then
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5862 # Broken: fails on valid input.
5866 rm -f conftest.err conftest.$ac_ext
5868 # OK, works on sane cases. Now check whether nonexistent headers
5869 # can be detected and how.
5870 cat >conftest.$ac_ext <<_ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5876 #include <ac_nonexistent.h>
5878 if { (ac_try="$ac_cpp conftest.$ac_ext"
5880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5881 *) ac_try_echo
=$ac_try;;
5883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5886 grep -v '^ *+' conftest.er1
>conftest.err
5888 cat conftest.err
>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } >/dev
/null
; then
5891 if test -s conftest.err
; then
5892 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5893 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5900 if test -z "$ac_cpp_err"; then
5901 # Broken: success on invalid input.
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.
$ac_ext >&5
5907 # Passes both tests.
5912 rm -f conftest.err conftest.
$ac_ext
5915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5916 rm -f conftest.err conftest.
$ac_ext
5917 if $ac_preproc_ok; then
5922 ac_cv_prog_CXXCPP
=$CXXCPP
5925 CXXCPP
=$ac_cv_prog_CXXCPP
5927 ac_cv_prog_CXXCPP
=$CXXCPP
5929 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5930 echo "${ECHO_T}$CXXCPP" >&6; }
5932 for ac_cxx_preproc_warn_flag
in '' yes
5934 # Use a header file that comes with gcc, so configuring glibc
5935 # with a fresh cross-compiler works.
5936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5937 # <limits.h> exists even on freestanding compilers.
5938 # On the NeXT, cc -E runs the code through the compiler's parser,
5939 # not just through cpp. "Syntax error" is here to catch this case.
5940 cat >conftest.
$ac_ext <<_ACEOF
5943 cat confdefs.h
>>conftest.
$ac_ext
5944 cat >>conftest.
$ac_ext <<_ACEOF
5945 /* end confdefs.h. */
5947 # include <limits.h>
5949 # include <assert.h>
5953 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5956 *) ac_try_echo=$ac_try;;
5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1 >conftest.err
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } >/dev/null; then
5966 if test -s conftest.err; then
5967 ac_cpp_err=$ac_cxx_preproc_warn_flag
5968 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5975 if test -z "$ac_cpp_err"; then
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5981 # Broken: fails on valid input.
5985 rm -f conftest.err conftest.$ac_ext
5987 # OK, works on sane cases. Now check whether nonexistent headers
5988 # can be detected and how.
5989 cat >conftest.$ac_ext <<_ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ac_nonexistent.h>
5997 if { (ac_try="$ac_cpp conftest.$ac_ext"
5999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6000 *) ac_try_echo
=$ac_try;;
6002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } >/dev
/null
; then
6010 if test -s conftest.err
; then
6011 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6012 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6019 if test -z "$ac_cpp_err"; then
6020 # Broken: success on invalid input.
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6026 # Passes both tests.
6031 rm -f conftest.err conftest.
$ac_ext
6034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6035 rm -f conftest.err conftest.
$ac_ext
6036 if $ac_preproc_ok; then
6039 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6040 See \`config.log' for more details." >&5
6041 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6042 See \`config.log' for more details." >&2;}
6043 { (exit 1); exit 1; }; }
6047 ac_cpp
='$CXXCPP $CPPFLAGS'
6048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6056 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6057 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6058 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6059 if test -n "$ac_tool_prefix"; then
6060 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
6062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6063 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6066 if test "${ac_cv_prog_F77+set}" = set; then
6067 echo $ECHO_N "(cached) $ECHO_C" >&6
6069 if test -n "$F77"; then
6070 ac_cv_prog_F77
="$F77" # Let the user override the test.
6072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6076 test -z "$as_dir" && as_dir
=.
6077 for ac_exec_ext
in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6090 if test -n "$F77"; then
6091 { echo "$as_me:$LINENO: result: $F77" >&5
6092 echo "${ECHO_T}$F77" >&6; }
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6099 test -n "$F77" && break
6102 if test -z "$F77"; then
6104 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
6106 # Extract the first word of "$ac_prog", so it can be a program name with args.
6107 set dummy
$ac_prog; ac_word
=$2
6108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6110 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 if test -n "$ac_ct_F77"; then
6114 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6120 test -z "$as_dir" && as_dir
=.
6121 for ac_exec_ext
in '' $ac_executable_extensions; do
6122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6123 ac_cv_prog_ac_ct_F77
="$ac_prog"
6124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6134 if test -n "$ac_ct_F77"; then
6135 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6136 echo "${ECHO_T}$ac_ct_F77" >&6; }
6138 { echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6; }
6143 test -n "$ac_ct_F77" && break
6146 if test "x$ac_ct_F77" = x
; then
6149 case $cross_compiling:$ac_tool_warned in
6151 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6152 whose name does not start with the host triplet. If you think this
6153 configuration is useful to you, please write to autoconf@gnu.org." >&5
6154 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6155 whose name does not start with the host triplet. If you think this
6156 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6157 ac_tool_warned
=yes ;;
6164 # Provide some information about the compiler.
6165 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6166 ac_compiler
=`set X $ac_compile; echo $2`
6167 { (ac_try
="$ac_compiler --version >&5"
6169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6170 *) ac_try_echo=$ac_try;;
6172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6173 (eval "$ac_compiler --version >&5") 2>&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }
6177 { (ac_try="$ac_compiler -v >&5"
6179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6180 *) ac_try_echo
=$ac_try;;
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_compiler -v >&5") 2>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }
6187 { (ac_try
="$ac_compiler -V >&5"
6189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6190 *) ac_try_echo=$ac_try;;
6192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6193 (eval "$ac_compiler -V >&5") 2>&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); }
6199 # If we don't use `.F
' as extension, the preprocessor is not run on the
6200 # input file. (Note that this only needs to work for GNU compilers.)
6203 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6204 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6205 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 cat >conftest.$ac_ext <<_ACEOF
6216 rm -f conftest.$ac_objext
6217 if { (ac_try="$ac_compile"
6219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6220 *) ac_try_echo=$ac_try;;
6222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6223 (eval "$ac_compile") 2>conftest.er1
6225 grep -v '^
*+' conftest.er1 >conftest.err
6227 cat conftest.err >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); } &&
6230 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6231 { (case "(($ac_try" in
6232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6233 *) ac_try_echo=$ac_try;;
6235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6236 (eval "$ac_try") 2>&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; } &&
6240 { ac_try='test -s conftest.
$ac_objext'
6241 { (case "(($ac_try" in
6242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6243 *) ac_try_echo=$ac_try;;
6245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6246 (eval "$ac_try") 2>&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; }; then
6252 echo "$as_me: failed program was:" >&5
6253 sed 's
/^
/|
/' conftest.$ac_ext >&5
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6262 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6263 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6265 ac_test_FFLAGS=${FFLAGS+set}
6266 ac_save_FFLAGS=$FFLAGS
6268 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6269 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6270 if test "${ac_cv_prog_f77_g+set}" = set; then
6271 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 cat >conftest.$ac_ext <<_ACEOF
6279 rm -f conftest.$ac_objext
6280 if { (ac_try="$ac_compile"
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_compile") 2>conftest.er1
6288 grep -v '^
*+' conftest.er1 >conftest.err
6290 cat conftest.err >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } &&
6293 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6294 { (case "(($ac_try" in
6295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6296 *) ac_try_echo=$ac_try;;
6298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6299 (eval "$ac_try") 2>&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try='test -s conftest.
$ac_objext'
6304 { (case "(($ac_try" in
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306 *) ac_try_echo=$ac_try;;
6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6309 (eval "$ac_try") 2>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; }; then
6313 ac_cv_prog_f77_g=yes
6315 echo "$as_me: failed program was:" >&5
6316 sed 's
/^
/|
/' conftest.$ac_ext >&5
6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6324 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6325 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6326 if test "$ac_test_FFLAGS" = set; then
6327 FFLAGS=$ac_save_FFLAGS
6328 elif test $ac_cv_prog_f77_g = yes; then
6329 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6335 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6342 G77=`test $ac_compiler_gnu = yes && echo yes`
6344 ac_cpp='$CXXCPP $CPPFLAGS'
6345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6346 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6351 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6353 # find the maximum length of command line arguments
6354 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6355 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6356 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6357 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 # On DJGPP, this test can blow up pretty badly due to problems in libc
6365 # (any single argument exceeding 2000 bytes causes a buffer overrun
6366 # during glob expansion). Even if it were fixed, the result of this
6367 # check would be larger than it should be.
6368 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6372 # Under GNU Hurd, this test is not required because there is
6373 # no limit to the length of command line arguments.
6374 # Libtool will interpret -1 as no limit whatsoever
6375 lt_cv_sys_max_cmd_len
=-1;
6379 # On Win9x/ME, this test blows up -- it succeeds, but takes
6380 # about 5 minutes as the teststring grows exponentially.
6381 # Worse, since 9x/ME are not pre-emptively multitasking,
6382 # you end up with a "frozen" computer, even though with patience
6383 # the test eventually succeeds (with a max line length of 256k).
6384 # Instead, let's just punt: use the minimum linelength reported by
6385 # all of the supported platforms: 8192 (on NT/2K/XP).
6386 lt_cv_sys_max_cmd_len
=8192;
6390 # On AmigaOS with pdksh, this test takes hours, literally.
6391 # So we just punt and use a minimum line length of 8192.
6392 lt_cv_sys_max_cmd_len
=8192;
6395 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6396 # This has been around since 386BSD, at least. Likely further.
6397 if test -x /sbin
/sysctl
; then
6398 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6399 elif test -x /usr
/sbin
/sysctl
; then
6400 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6402 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6404 # And add a safety zone
6405 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6406 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6410 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6411 lt_cv_sys_max_cmd_len
=196608
6415 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6416 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6417 # nice to cause kernel panics so lets avoid the loop below.
6418 # First set a reasonable default.
6419 lt_cv_sys_max_cmd_len
=16384
6421 if test -x /sbin
/sysconfig
; then
6422 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6423 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6428 lt_cv_sys_max_cmd_len
=102400
6430 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6431 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6432 if test -n "$kargmax"; then
6433 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6435 lt_cv_sys_max_cmd_len
=32768
6439 # If test is not a shell built-in, we'll probably end up computing a
6440 # maximum length that is only half of the actual maximum length, but
6442 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6443 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6444 = "XX$teststring") >/dev
/null
2>&1 &&
6445 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6446 lt_cv_sys_max_cmd_len
=$new_result &&
6447 test $i != 17 # 1/2 MB should be enough
6450 teststring
=$teststring$teststring
6453 # Add a significant safety factor because C++ compilers can tack on massive
6454 # amounts of additional arguments before passing them to the linker.
6455 # It appears as though 1/2 is a usable value.
6456 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6462 if test -n $lt_cv_sys_max_cmd_len ; then
6463 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6464 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6466 { echo "$as_me:$LINENO: result: none" >&5
6467 echo "${ECHO_T}none" >&6; }
6473 # Check for command to grab the raw symbol name followed by C symbol from nm.
6474 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6475 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6476 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 # These are sane defaults that work on at least a few old systems.
6481 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6483 # Character class describing NM global symbol codes.
6484 symcode
='[BCDEGRST]'
6486 # Regexp to match symbols that can be accessed directly from C.
6487 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6489 # Transform an extracted symbol line into a proper C declaration
6490 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6492 # Transform an extracted symbol line into symbol name and symbol address
6493 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'"
6495 # Define system-specific variables.
6500 cygwin
* | mingw
* | pw32
*)
6501 symcode
='[ABCDGISTW]'
6503 hpux
*) # Its linker distinguishes data from code symbols
6504 if test "$host_cpu" = ia64
; then
6505 symcode
='[ABCDEGRST]'
6507 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6508 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'"
6511 if test "$host_cpu" = ia64
; then
6512 symcode
='[ABCDGIRSTW]'
6513 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6514 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'"
6518 symcode
='[BCDEGRST]'
6521 symcode
='[BCDEGQRST]'
6532 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6540 # Handle CRLF in mingw tool chain
6544 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6548 # If we're using GNU nm, then use its standard symbol codes.
6549 case `$NM -V 2>&1` in
6550 *GNU
* |
*'with BFD'*)
6551 symcode
='[ABCDGIRSTW]' ;;
6554 # Try without a prefix undercore, then with it.
6555 for ac_symprfx
in "" "_"; do
6557 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6558 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6560 # Write the raw and C identifiers.
6561 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6563 # Check to see that the pipe works correctly.
6567 cat > conftest.
$ac_ext <<EOF
6572 void nm_test_func(){}
6576 int main(){nm_test_var='a';nm_test_func();return(0);}
6579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6580 (eval $ac_compile) 2>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; then
6584 # Now try to grab the symbols.
6586 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6587 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } && test -s "$nlist"; then
6591 # Try sorting and uniquifying the output.
6592 if sort "$nlist" |
uniq > "$nlist"T
; then
6593 mv -f "$nlist"T
"$nlist"
6598 # Make sure that we snagged all the symbols we need.
6599 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6600 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6601 cat <<EOF > conftest.$ac_ext
6607 # Now generate the symbol file.
6608 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6610 cat <<EOF >> conftest.$ac_ext
6611 #if defined (__STDC__) && __STDC__
6612 # define lt_ptr_t void *
6614 # define lt_ptr_t char *
6618 /* The mapping between symbol names and symbols. */
6623 lt_preloaded_symbols[] =
6626 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6627 cat <<\EOF
>> conftest.
$ac_ext
6635 # Now try linking the two files.
6636 mv conftest.
$ac_objext conftstm.
$ac_objext
6637 lt_save_LIBS
="$LIBS"
6638 lt_save_CFLAGS
="$CFLAGS"
6639 LIBS
="conftstm.$ac_objext"
6640 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6642 (eval $ac_link) 2>&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6648 LIBS
="$lt_save_LIBS"
6649 CFLAGS
="$lt_save_CFLAGS"
6651 echo "cannot find nm_test_func in $nlist" >&5
6654 echo "cannot find nm_test_var in $nlist" >&5
6657 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6660 echo "$progname: failed program was:" >&5
6661 cat conftest.
$ac_ext >&5
6663 rm -f conftest
* conftst
*
6665 # Do not use the global_symbol_pipe unless it works.
6666 if test "$pipe_works" = yes; then
6669 lt_cv_sys_global_symbol_pipe
=
6675 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6676 lt_cv_sys_global_symbol_to_cdecl
=
6678 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6679 { echo "$as_me:$LINENO: result: failed" >&5
6680 echo "${ECHO_T}failed" >&6; }
6682 { echo "$as_me:$LINENO: result: ok" >&5
6683 echo "${ECHO_T}ok" >&6; }
6686 { echo "$as_me:$LINENO: checking for objdir" >&5
6687 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6688 if test "${lt_cv_objdir+set}" = set; then
6689 echo $ECHO_N "(cached) $ECHO_C" >&6
6691 rm -f .libs
2>/dev
/null
6692 mkdir .libs
2>/dev
/null
6693 if test -d .libs
; then
6696 # MS-DOS does not allow filenames that begin with a dot.
6699 rmdir .libs
2>/dev
/null
6701 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6702 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6703 objdir
=$lt_cv_objdir
6711 # AIX sometimes has problems with the GCC collect2 program. For some
6712 # reason, if we set the COLLECT_NAMES environment variable, the problems
6713 # vanish in a puff of smoke.
6714 if test "X${COLLECT_NAMES+set}" != Xset
; then
6716 export COLLECT_NAMES
6721 # Sed substitution that helps us do robust quoting. It backslashifies
6722 # metacharacters that are still active within double-quoted strings.
6723 Xsed
='sed -e 1s/^X//'
6724 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6726 # Same as above, but do not quote variable references.
6727 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6729 # Sed substitution to delay expansion of an escaped shell variable in a
6730 # double_quote_subst'ed string.
6731 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6733 # Sed substitution to avoid accidental globbing in evaled expressions
6734 no_glob_subst
='s/\*/\\\*/g'
6740 default_ofile
=libtool
6741 can_build_shared
=yes
6743 # All known linkers require a `.a' archive for static linking (except MSVC,
6744 # which needs '.lib').
6746 ltmain
="$ac_aux_dir/ltmain.sh"
6747 ofile
="$default_ofile"
6748 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6750 if test -n "$ac_tool_prefix"; then
6751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6752 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6755 if test "${ac_cv_prog_AR+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 if test -n "$AR"; then
6759 ac_cv_prog_AR
="$AR" # Let the user override the test.
6761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir
=.
6766 for ac_exec_ext
in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 if test -n "$AR"; then
6780 { echo "$as_me:$LINENO: result: $AR" >&5
6781 echo "${ECHO_T}$AR" >&6; }
6783 { echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6; }
6789 if test -z "$ac_cv_prog_AR"; then
6791 # Extract the first word of "ar", so it can be a program name with args.
6792 set dummy
ar; ac_word
=$2
6793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6795 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 if test -n "$ac_ct_AR"; then
6799 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir
=.
6806 for ac_exec_ext
in '' $ac_executable_extensions; do
6807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6808 ac_cv_prog_ac_ct_AR
="ar"
6809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6819 if test -n "$ac_ct_AR"; then
6820 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6821 echo "${ECHO_T}$ac_ct_AR" >&6; }
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6827 if test "x$ac_ct_AR" = x
; then
6830 case $cross_compiling:$ac_tool_warned in
6832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6833 whose name does not start with the host triplet. If you think this
6834 configuration is useful to you, please write to autoconf@gnu.org." >&5
6835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6836 whose name does not start with the host triplet. If you think this
6837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6838 ac_tool_warned
=yes ;;
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6848 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6851 if test "${ac_cv_prog_RANLIB+set}" = set; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 if test -n "$RANLIB"; then
6855 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 RANLIB
=$ac_cv_prog_RANLIB
6875 if test -n "$RANLIB"; then
6876 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6877 echo "${ECHO_T}$RANLIB" >&6; }
6879 { echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6; }
6885 if test -z "$ac_cv_prog_RANLIB"; then
6886 ac_ct_RANLIB
=$RANLIB
6887 # Extract the first word of "ranlib", so it can be a program name with args.
6888 set dummy ranlib
; ac_word
=$2
6889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6891 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 if test -n "$ac_ct_RANLIB"; then
6895 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir
=.
6902 for ac_exec_ext
in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6915 if test -n "$ac_ct_RANLIB"; then
6916 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6917 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6919 { echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6; }
6923 if test "x$ac_ct_RANLIB" = x
; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6929 whose name does not start with the host triplet. If you think this
6930 configuration is useful to you, please write to autoconf@gnu.org." >&5
6931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6932 whose name does not start with the host triplet. If you think this
6933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6934 ac_tool_warned
=yes ;;
6936 RANLIB
=$ac_ct_RANLIB
6939 RANLIB
="$ac_cv_prog_RANLIB"
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6944 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6947 if test "${ac_cv_prog_STRIP+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 if test -n "$STRIP"; then
6951 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir
=.
6958 for ac_exec_ext
in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 STRIP
=$ac_cv_prog_STRIP
6971 if test -n "$STRIP"; then
6972 { echo "$as_me:$LINENO: result: $STRIP" >&5
6973 echo "${ECHO_T}$STRIP" >&6; }
6975 { echo "$as_me:$LINENO: result: no" >&5
6976 echo "${ECHO_T}no" >&6; }
6981 if test -z "$ac_cv_prog_STRIP"; then
6983 # Extract the first word of "strip", so it can be a program name with args.
6984 set dummy strip
; ac_word
=$2
6985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6987 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 if test -n "$ac_ct_STRIP"; then
6991 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir
=.
6998 for ac_exec_ext
in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_STRIP
="strip"
7001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7011 if test -n "$ac_ct_STRIP"; then
7012 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7013 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7015 { echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6; }
7019 if test "x$ac_ct_STRIP" = x
; then
7022 case $cross_compiling:$ac_tool_warned in
7024 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7025 whose name does not start with the host triplet. If you think this
7026 configuration is useful to you, please write to autoconf@gnu.org." >&5
7027 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7028 whose name does not start with the host triplet. If you think this
7029 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7030 ac_tool_warned
=yes ;;
7035 STRIP
="$ac_cv_prog_STRIP"
7040 old_CFLAGS
="$CFLAGS"
7042 # Set sane defaults for various variables
7043 test -z "$AR" && AR
=ar
7044 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7045 test -z "$AS" && AS
=as
7046 test -z "$CC" && CC
=cc
7047 test -z "$LTCC" && LTCC
=$CC
7048 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7049 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7050 test -z "$LD" && LD
=ld
7051 test -z "$LN_S" && LN_S
="ln -s"
7052 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7053 test -z "$NM" && NM
=nm
7054 test -z "$SED" && SED
=sed
7055 test -z "$OBJDUMP" && OBJDUMP
=objdump
7056 test -z "$RANLIB" && RANLIB
=:
7057 test -z "$STRIP" && STRIP
=:
7058 test -z "$ac_objext" && ac_objext
=o
7060 # Determine commands to create old-style static archives.
7061 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7062 old_postinstall_cmds
='chmod 644 $oldlib'
7063 old_postuninstall_cmds
=
7065 if test -n "$RANLIB"; then
7068 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7071 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7074 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7077 for cc_temp
in $compiler""; do
7079 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7080 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7085 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7088 # Only perform the check for file, if the check method requires it
7089 case $deplibs_check_method in
7091 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7092 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7093 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7094 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7095 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7102 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7103 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7104 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7105 for ac_dir
in $ac_dummy; do
7107 test -z "$ac_dir" && ac_dir
=.
7108 if test -f $ac_dir/${ac_tool_prefix}file; then
7109 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7110 if test -n "$file_magic_test_file"; then
7111 case $deplibs_check_method in
7113 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7114 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7115 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7116 $EGREP "$file_magic_regex" > /dev
/null
; then
7121 *** Warning: the command libtool uses to detect shared libraries,
7122 *** $file_magic_cmd, produces output that libtool cannot recognize.
7123 *** The result is that libtool may fail to recognize shared libraries
7124 *** as such. This will affect the creation of libtool libraries that
7125 *** depend on shared libraries, but programs linked with such libtool
7126 *** libraries will work regardless of this problem. Nevertheless, you
7127 *** may want to report the problem to your system manager and/or to
7128 *** bug-libtool@gnu.org
7138 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7143 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7144 if test -n "$MAGIC_CMD"; then
7145 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7146 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7148 { echo "$as_me:$LINENO: result: no" >&5
7149 echo "${ECHO_T}no" >&6; }
7152 if test -z "$lt_cv_path_MAGIC_CMD"; then
7153 if test -n "$ac_tool_prefix"; then
7154 { echo "$as_me:$LINENO: checking for file" >&5
7155 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7156 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7164 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7165 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7166 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7167 for ac_dir
in $ac_dummy; do
7169 test -z "$ac_dir" && ac_dir
=.
7170 if test -f $ac_dir/file; then
7171 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7172 if test -n "$file_magic_test_file"; then
7173 case $deplibs_check_method in
7175 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7176 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7177 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7178 $EGREP "$file_magic_regex" > /dev
/null
; then
7183 *** Warning: the command libtool uses to detect shared libraries,
7184 *** $file_magic_cmd, produces output that libtool cannot recognize.
7185 *** The result is that libtool may fail to recognize shared libraries
7186 *** as such. This will affect the creation of libtool libraries that
7187 *** depend on shared libraries, but programs linked with such libtool
7188 *** libraries will work regardless of this problem. Nevertheless, you
7189 *** may want to report the problem to your system manager and/or to
7190 *** bug-libtool@gnu.org
7200 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7205 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7206 if test -n "$MAGIC_CMD"; then
7207 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7208 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7210 { echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6; }
7226 # Check whether --enable-libtool-lock was given.
7227 if test "${enable_libtool_lock+set}" = set; then
7228 enableval
=$enable_libtool_lock;
7231 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7234 # Check whether --with-pic was given.
7235 if test "${with_pic+set}" = set; then
7236 withval
=$with_pic; pic_mode
="$withval"
7241 test -z "$pic_mode" && pic_mode
=default
7243 # Use C for the default configuration in the libtool script
7247 ac_cpp
='$CPP $CPPFLAGS'
7248 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7249 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7250 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7253 # Source file extension for C test sources.
7256 # Object file extension for compiled C test sources.
7260 # Code to be used in simple compile tests
7261 lt_simple_compile_test_code
="int some_variable = 0;\n"
7263 # Code to be used in simple link tests
7264 lt_simple_link_test_code
='int main(){return(0);}\n'
7267 # If no C compiler was specified, use CC.
7270 # If no C compiler flags were specified, use CFLAGS.
7271 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7273 # Allow CC to be a program name with arguments.
7277 # save warnings/boilerplate of simple test code
7278 ac_outfile
=conftest.
$ac_objext
7279 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7280 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7281 _lt_compiler_boilerplate
=`cat conftest.err`
7284 ac_outfile
=conftest.
$ac_objext
7285 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7286 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7287 _lt_linker_boilerplate
=`cat conftest.err`
7292 lt_prog_compiler_no_builtin_flag
=
7294 if test "$GCC" = yes; then
7295 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7298 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7299 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7300 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 lt_cv_prog_compiler_rtti_exceptions
=no
7304 ac_outfile
=conftest.
$ac_objext
7305 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7306 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7307 # Insert the option either (1) after the last *FLAGS variable, or
7308 # (2) before a word containing "conftest.", or (3) at the end.
7309 # Note that $ac_compile itself does not contain backslashes and begins
7310 # with a dollar sign (not a hyphen), so the echo should work correctly.
7311 # The option is referenced via a variable to avoid confusing sed.
7312 lt_compile
=`echo "$ac_compile" | $SED \
7313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7315 -e 's:$: $lt_compiler_flag:'`
7316 (eval echo "\"\$as_me:7316: $lt_compile\"" >&5)
7317 (eval "$lt_compile" 2>conftest.err
)
7319 cat conftest.err
>&5
7320 echo "$as_me:7320: \$? = $ac_status" >&5
7321 if (exit $ac_status) && test -s "$ac_outfile"; then
7322 # The compiler can only warn and ignore the option if not recognized
7323 # So say no if there are warnings other than the usual output.
7324 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7326 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7327 lt_cv_prog_compiler_rtti_exceptions
=yes
7333 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7334 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7336 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7337 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7344 lt_prog_compiler_wl
=
7345 lt_prog_compiler_pic
=
7346 lt_prog_compiler_static
=
7348 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7349 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7351 if test "$GCC" = yes; then
7352 lt_prog_compiler_wl
='-Wl,'
7353 lt_prog_compiler_static
='-static'
7357 # All AIX code is PIC.
7358 if test "$host_cpu" = ia64
; then
7359 # AIX 5 now supports IA64 processor
7360 lt_prog_compiler_static
='-Bstatic'
7365 # FIXME: we need at least 68020 code to build shared libraries, but
7366 # adding the `-m68020' flag to GCC prevents building anything better,
7368 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7371 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7372 # PIC is the default for these OSes.
7375 mingw
* | pw32
* | os2
*)
7376 # This hack is so that the source file can tell whether it is being
7377 # built for inclusion in a dll (and should export symbols for example).
7378 lt_prog_compiler_pic
='-DDLL_EXPORT'
7381 darwin
* | rhapsody
*)
7382 # PIC is the default on this platform
7383 # Common symbols not allowed in MH_DYLIB files
7384 lt_prog_compiler_pic
='-fno-common'
7388 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7389 # Instead, we relocate shared libraries at runtime.
7393 # Just because we use GCC doesn't mean we suddenly get shared libraries
7394 # on systems that don't support them.
7395 lt_prog_compiler_can_build_shared
=no
7400 if test -d /usr
/nec
; then
7401 lt_prog_compiler_pic
=-Kconform_pic
7406 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7413 lt_prog_compiler_pic
='-fPIC'
7419 lt_prog_compiler_pic
='-fPIC'
7423 # PORTME Check for flag to pass linker flags through the system compiler.
7426 lt_prog_compiler_wl
='-Wl,'
7427 if test "$host_cpu" = ia64
; then
7428 # AIX 5 now supports IA64 processor
7429 lt_prog_compiler_static
='-Bstatic'
7431 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7435 # PIC is the default on this platform
7436 # Common symbols not allowed in MH_DYLIB files
7437 case $cc_basename in
7439 lt_prog_compiler_pic
='-qnocommon'
7440 lt_prog_compiler_wl
='-Wl,'
7445 mingw
* | pw32
* | os2
*)
7446 # This hack is so that the source file can tell whether it is being
7447 # built for inclusion in a dll (and should export symbols for example).
7448 lt_prog_compiler_pic
='-DDLL_EXPORT'
7451 hpux9
* | hpux10
* | hpux11
*)
7452 lt_prog_compiler_wl
='-Wl,'
7453 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7460 lt_prog_compiler_pic
='+Z'
7463 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7464 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7467 irix5
* | irix6
* | nonstopux
*)
7468 lt_prog_compiler_wl
='-Wl,'
7469 # PIC (with -KPIC) is the default.
7470 lt_prog_compiler_static
='-non_shared'
7474 lt_prog_compiler_pic
='-KPIC'
7475 lt_prog_compiler_static
='-Bstatic'
7479 case $cc_basename in
7481 lt_prog_compiler_wl
='-Wl,'
7482 lt_prog_compiler_pic
='-KPIC'
7483 lt_prog_compiler_static
='-static'
7485 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7486 # Portland Group compilers (*not* the Pentium gcc compiler,
7487 # which looks to be a dead project)
7488 lt_prog_compiler_wl
='-Wl,'
7489 lt_prog_compiler_pic
='-fpic'
7490 lt_prog_compiler_static
='-Bstatic'
7493 lt_prog_compiler_wl
='-Wl,'
7494 # All Alpha code is PIC.
7495 lt_prog_compiler_static
='-non_shared'
7500 osf3
* | osf4
* | osf5
*)
7501 lt_prog_compiler_wl
='-Wl,'
7502 # All OSF/1 code is PIC.
7503 lt_prog_compiler_static
='-non_shared'
7507 lt_prog_compiler_pic
='-KPIC'
7508 lt_prog_compiler_static
='-Bstatic'
7509 case $cc_basename in
7511 lt_prog_compiler_wl
='-Qoption ld ';;
7513 lt_prog_compiler_wl
='-Wl,';;
7518 lt_prog_compiler_wl
='-Qoption ld '
7519 lt_prog_compiler_pic
='-PIC'
7520 lt_prog_compiler_static
='-Bstatic'
7523 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7524 lt_prog_compiler_wl
='-Wl,'
7525 lt_prog_compiler_pic
='-KPIC'
7526 lt_prog_compiler_static
='-Bstatic'
7530 if test -d /usr
/nec
;then
7531 lt_prog_compiler_pic
='-Kconform_pic'
7532 lt_prog_compiler_static
='-Bstatic'
7536 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7537 lt_prog_compiler_wl
='-Wl,'
7538 lt_prog_compiler_pic
='-KPIC'
7539 lt_prog_compiler_static
='-Bstatic'
7543 lt_prog_compiler_wl
='-Wl,'
7544 lt_prog_compiler_can_build_shared
=no
7548 lt_prog_compiler_pic
='-pic'
7549 lt_prog_compiler_static
='-Bstatic'
7553 lt_prog_compiler_can_build_shared
=no
7558 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7559 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7562 # Check to make sure the PIC flag actually works.
7564 if test -n "$lt_prog_compiler_pic"; then
7566 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7567 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7568 if test "${lt_prog_compiler_pic_works+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 lt_prog_compiler_pic_works
=no
7572 ac_outfile
=conftest.
$ac_objext
7573 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7574 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7575 # Insert the option either (1) after the last *FLAGS variable, or
7576 # (2) before a word containing "conftest.", or (3) at the end.
7577 # Note that $ac_compile itself does not contain backslashes and begins
7578 # with a dollar sign (not a hyphen), so the echo should work correctly.
7579 # The option is referenced via a variable to avoid confusing sed.
7580 lt_compile
=`echo "$ac_compile" | $SED \
7581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7583 -e 's:$: $lt_compiler_flag:'`
7584 (eval echo "\"\$as_me:7584: $lt_compile\"" >&5)
7585 (eval "$lt_compile" 2>conftest.err
)
7587 cat conftest.err
>&5
7588 echo "$as_me:7588: \$? = $ac_status" >&5
7589 if (exit $ac_status) && test -s "$ac_outfile"; then
7590 # The compiler can only warn and ignore the option if not recognized
7591 # So say no if there are warnings other than the usual output.
7592 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7593 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7594 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7595 lt_prog_compiler_pic_works
=yes
7601 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7602 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7604 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7605 case $lt_prog_compiler_pic in
7607 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7610 lt_prog_compiler_pic
=
7611 lt_prog_compiler_can_build_shared
=no
7616 # For platforms which do not support PIC, -DPIC is meaningless:
7618 lt_prog_compiler_pic
=
7621 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7626 # Check to make sure the static flag actually works.
7628 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7629 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7630 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7631 if test "${lt_prog_compiler_static_works+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 lt_prog_compiler_static_works
=no
7635 save_LDFLAGS
="$LDFLAGS"
7636 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7637 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7639 # The linker can only warn and ignore the option if not recognized
7640 # So say no if there are warnings
7641 if test -s conftest.err
; then
7642 # Append any errors to the config.log.
7643 cat conftest.err
1>&5
7644 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7646 if diff conftest.exp conftest.er2
>/dev
/null
; then
7647 lt_prog_compiler_static_works
=yes
7650 lt_prog_compiler_static_works
=yes
7654 LDFLAGS
="$save_LDFLAGS"
7657 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7658 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7660 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7663 lt_prog_compiler_static
=
7667 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7668 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7669 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7670 echo $ECHO_N "(cached) $ECHO_C" >&6
7672 lt_cv_prog_compiler_c_o
=no
7673 $rm -r conftest
2>/dev
/null
7677 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7679 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7680 # Insert the option either (1) after the last *FLAGS variable, or
7681 # (2) before a word containing "conftest.", or (3) at the end.
7682 # Note that $ac_compile itself does not contain backslashes and begins
7683 # with a dollar sign (not a hyphen), so the echo should work correctly.
7684 lt_compile
=`echo "$ac_compile" | $SED \
7685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7687 -e 's:$: $lt_compiler_flag:'`
7688 (eval echo "\"\$as_me:7688: $lt_compile\"" >&5)
7689 (eval "$lt_compile" 2>out
/conftest.err
)
7691 cat out
/conftest.err
>&5
7692 echo "$as_me:7692: \$? = $ac_status" >&5
7693 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7695 # The compiler can only warn and ignore the option if not recognized
7696 # So say no if there are warnings
7697 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7698 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7699 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7700 lt_cv_prog_compiler_c_o
=yes
7705 # SGI C++ compiler will create directory out/ii_files/ for
7706 # template instantiation
7707 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7708 $rm out
/* && rmdir out
7714 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7715 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7718 hard_links
="nottested"
7719 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7720 # do not overwrite the value of need_locks provided by the user
7721 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7722 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7725 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7727 ln conftest.a conftest.b
2>&5 || hard_links
=no
7728 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7729 { echo "$as_me:$LINENO: result: $hard_links" >&5
7730 echo "${ECHO_T}$hard_links" >&6; }
7731 if test "$hard_links" = no
; then
7732 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7733 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7740 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7741 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7744 allow_undefined_flag
=
7745 enable_shared_with_static_runtimes
=no
7747 archive_expsym_cmds
=
7748 old_archive_From_new_cmds
=
7749 old_archive_from_expsyms_cmds
=
7750 export_dynamic_flag_spec
=
7751 whole_archive_flag_spec
=
7752 thread_safe_flag_spec
=
7753 hardcode_libdir_flag_spec
=
7754 hardcode_libdir_flag_spec_ld
=
7755 hardcode_libdir_separator
=
7758 hardcode_shlibpath_var
=unsupported
7759 link_all_deplibs
=unknown
7760 hardcode_automatic
=no
7763 always_export_symbols
=no
7764 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7765 # include_expsyms should be a list of space-separated symbols to be *always*
7766 # included in the symbol list
7768 # exclude_expsyms can be an extended regexp of symbols to exclude
7769 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7770 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7771 # as well as any symbol that contains `d'.
7772 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7773 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7774 # platforms (ab)use it in PIC code, but their linkers get confused if
7775 # the symbol is explicitly referenced. Since portable code cannot
7776 # rely on this symbol name, it's probably fine to never include it in
7777 # preloaded symbol tables.
7778 extract_expsyms_cmds
=
7779 # Just being paranoid about ensuring that cc_basename is set.
7780 for cc_temp
in $compiler""; do
7782 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7783 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7788 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7791 cygwin
* | mingw
* | pw32
*)
7792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7793 # When not using gcc, we currently assume that we are using
7794 # Microsoft Visual C++.
7795 if test "$GCC" != yes; then
7800 # we just hope/assume this is gcc and not c89 (= MSVC++)
7809 if test "$with_gnu_ld" = yes; then
7810 # If archive_cmds runs LD, not CC, wlarc should be empty
7813 # Set some defaults for GNU ld with shared library support. These
7814 # are reset later if shared libraries are not supported. Putting them
7815 # here allows them to be overridden if necessary.
7816 runpath_var
=LD_RUN_PATH
7817 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7818 export_dynamic_flag_spec
='${wl}--export-dynamic'
7819 # ancient GNU ld didn't support --whole-archive et. al.
7820 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7821 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7823 whole_archive_flag_spec
=
7825 supports_anon_versioning
=no
7826 case `$LD -v 2>/dev/null` in
7827 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7828 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7829 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7830 *\
2.11.
*) ;; # other 2.11 versions
7831 *) supports_anon_versioning
=yes ;;
7834 # See if GNU ld supports shared libraries.
7836 aix3
* | aix4
* | aix5
*)
7837 # On AIX/PPC, the GNU linker is very broken
7838 if test "$host_cpu" != ia64
; then
7842 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7843 *** to be unable to reliably create shared libraries on AIX.
7844 *** Therefore, libtool is disabling shared libraries support. If you
7845 *** really care for shared libraries, you may want to modify your PATH
7846 *** so that a non-GNU linker is found, and then restart.
7853 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)'
7854 hardcode_libdir_flag_spec
='-L$libdir'
7855 hardcode_minus_L
=yes
7857 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7858 # that the semantics of dynamic libraries on AmigaOS, at least up
7859 # to version 4, is to share data among multiple programs linked
7860 # with the same dynamic library. Since this doesn't match the
7861 # behavior of shared libraries on other platforms, we can't use
7867 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7868 allow_undefined_flag
=unsupported
7869 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7870 # support --undefined. This deserves some investigation. FIXME
7871 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7877 cygwin
* | mingw
* | pw32
*)
7878 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7879 # as there is no search path for DLLs.
7880 hardcode_libdir_flag_spec
='-L$libdir'
7881 allow_undefined_flag
=unsupported
7882 always_export_symbols
=no
7883 enable_shared_with_static_runtimes
=yes
7884 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7886 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7888 # If the export-symbols file already is a .def file (1st line
7889 # is EXPORTS), use it as is; otherwise, prepend...
7890 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7891 cp $export_symbols $output_objdir/$soname.def;
7893 echo EXPORTS > $output_objdir/$soname.def;
7894 cat $export_symbols >> $output_objdir/$soname.def;
7896 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7904 hardcode_shlibpath_var
=no
7905 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7906 export_dynamic_flag_spec
='${wl}-E'
7907 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7908 # Instead, shared libraries are loaded at an image base (0x10000000 by
7909 # default) and relocated if they conflict, which is a slow very memory
7910 # consuming and fragmenting process. To avoid this, we pick a random,
7911 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7912 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7913 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7914 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'
7918 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7920 case $cc_basename,$host_cpu in
7921 pgcc
*) # Portland Group C compiler
7922 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'
7923 tmp_addflag
=' $pic_flag'
7925 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7926 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'
7927 tmp_addflag
=' $pic_flag -Mnomain' ;;
7928 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7929 tmp_addflag
=' -i_dynamic' ;;
7930 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7931 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7932 ifc
* | ifort
*) # Intel Fortran compiler
7933 tmp_addflag
=' -nofor_main' ;;
7935 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7937 if test $supports_anon_versioning = yes; then
7938 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7939 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7940 $echo "local: *; };" >> $output_objdir/$libname.ver~
7941 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7949 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7950 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7953 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7954 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7959 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7963 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7964 *** create shared libraries on Solaris systems. Therefore, libtool
7965 *** is disabling shared libraries support. We urge you to upgrade GNU
7966 *** binutils to release 2.9.1 or newer. Another option is to modify
7967 *** your PATH or compiler configuration so that the native linker is
7968 *** used, and then restart.
7971 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7972 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7973 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7979 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7980 case `$LD -v 2>&1` in
7981 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7985 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7986 *** reliably create shared libraries on SCO systems. Therefore, libtool
7987 *** is disabling shared libraries support. We urge you to upgrade GNU
7988 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7989 *** your PATH or compiler configuration so that the native linker is
7990 *** used, and then restart.
7995 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7996 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7998 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8007 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8010 hardcode_shlibpath_var
=no
8014 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8016 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8023 if test "$ld_shlibs" = no
; then
8025 hardcode_libdir_flag_spec
=
8026 export_dynamic_flag_spec
=
8027 whole_archive_flag_spec
=
8030 # PORTME fill in a description of your system's linker (not GNU ld)
8033 allow_undefined_flag
=unsupported
8034 always_export_symbols
=yes
8035 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'
8036 # Note: this linker hardcodes the directories in LIBPATH if there
8037 # are no directories specified by -L.
8038 hardcode_minus_L
=yes
8039 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8040 # Neither direct hardcoding nor static linking is supported with a
8042 hardcode_direct
=unsupported
8047 if test "$host_cpu" = ia64
; then
8048 # On IA64, the linker does run time linking by default, so we don't
8049 # have to do anything special.
8050 aix_use_runtimelinking
=no
8051 exp_sym_flag
='-Bexport'
8054 # If we're using GNU nm, then we don't want the "-C" option.
8055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8056 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8057 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'
8059 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'
8061 aix_use_runtimelinking
=no
8063 # Test if we are trying to use run time linking or normal
8064 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8065 # need to do runtime linking.
8066 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8067 for ld_flag
in $LDFLAGS; do
8068 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8069 aix_use_runtimelinking
=yes
8076 exp_sym_flag
='-bexport'
8077 no_entry_flag
='-bnoentry'
8080 # When large executables or shared objects are built, AIX ld can
8081 # have problems creating the table of contents. If linking a library
8082 # or program results in "error TOC overflow" add -mminimal-toc to
8083 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8084 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8088 hardcode_libdir_separator
=':'
8089 link_all_deplibs
=yes
8091 if test "$GCC" = yes; then
8092 case $host_os in aix4.
[012]|aix4.
[012].
*)
8093 # We only want to do this on AIX 4.2 and lower, the check
8094 # below for broken collect2 doesn't work under 4.3+
8095 collect2name
=`${CC} -print-prog-name=collect2`
8096 if test -f "$collect2name" && \
8097 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8099 # We have reworked collect2
8102 # We have old collect2
8103 hardcode_direct
=unsupported
8104 # It fails to find uninstalled libraries when the uninstalled
8105 # path is not listed in the libpath. Setting hardcode_minus_L
8106 # to unsupported forces relinking
8107 hardcode_minus_L
=yes
8108 hardcode_libdir_flag_spec
='-L$libdir'
8109 hardcode_libdir_separator
=
8113 shared_flag
='-shared'
8114 if test "$aix_use_runtimelinking" = yes; then
8115 shared_flag
="$shared_flag "'${wl}-G'
8119 if test "$host_cpu" = ia64
; then
8120 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8121 # chokes on -Wl,-G. The following line is correct:
8124 if test "$aix_use_runtimelinking" = yes; then
8125 shared_flag
='${wl}-G'
8127 shared_flag
='${wl}-bM:SRE'
8132 # It seems that -bexpall does not export symbols beginning with
8133 # underscore (_), so it is better to generate a list of symbols to export.
8134 always_export_symbols
=yes
8135 if test "$aix_use_runtimelinking" = yes; then
8136 # Warning - without using the other runtime loading flags (-brtl),
8137 # -berok will link without error, but may produce a broken library.
8138 allow_undefined_flag
='-berok'
8139 # Determine the default libpath from the value encoded in an empty executable.
8140 cat >conftest.
$ac_ext <<_ACEOF
8143 cat confdefs.h
>>conftest.
$ac_ext
8144 cat >>conftest.
$ac_ext <<_ACEOF
8145 /* end confdefs.h. */
8155 rm -f conftest.
$ac_objext conftest
$ac_exeext
8156 if { (ac_try
="$ac_link"
8158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8159 *) ac_try_echo=$ac_try;;
8161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8162 (eval "$ac_link") 2>conftest.er1
8164 grep -v '^ *+' conftest.er1 >conftest.err
8166 cat conftest.err >&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); } &&
8169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8170 { (case "(($ac_try" in
8171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8172 *) ac_try_echo
=$ac_try;;
8174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8175 (eval "$ac_try") 2>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; } &&
8179 { ac_try
='test -s conftest$ac_exeext'
8180 { (case "(($ac_try" in
8181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8182 *) ac_try_echo=$ac_try;;
8184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8185 (eval "$ac_try") 2>&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); }; }; then
8190 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8192 # Check for a 64-bit object if we didn't find anything.
8193 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; }
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.$ac_ext >&5
8202 rm -f core conftest.err conftest.$ac_objext \
8203 conftest$ac_exeext conftest.$ac_ext
8204 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8206 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8207 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"
8209 if test "$host_cpu" = ia64; then
8210 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8211 allow_undefined_flag="-z nodefs"
8212 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"
8214 # Determine the default libpath from the value encoded in an empty executable.
8215 cat >conftest.$ac_ext <<_ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8230 rm -f conftest.$ac_objext conftest$ac_exeext
8231 if { (ac_try="$ac_link"
8233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8234 *) ac_try_echo
=$ac_try;;
8236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8237 (eval "$ac_link") 2>conftest.er1
8239 grep -v '^ *+' conftest.er1
>conftest.err
8241 cat conftest.err
>&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } &&
8244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8245 { (case "(($ac_try" in
8246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8247 *) ac_try_echo=$ac_try;;
8249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250 (eval "$ac_try") 2>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; } &&
8254 { ac_try='test -s conftest$ac_exeext'
8255 { (case "(($ac_try" in
8256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8257 *) ac_try_echo
=$ac_try;;
8259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8260 (eval "$ac_try") 2>&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); }; }; then
8265 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8267 # Check for a 64-bit object if we didn't find anything.
8268 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; }
8271 echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.
$ac_ext >&5
8277 rm -f core conftest.err conftest.
$ac_objext \
8278 conftest
$ac_exeext conftest.
$ac_ext
8279 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8281 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8282 # Warning - without using the other run time loading flags,
8283 # -berok will link without error, but may produce a broken library.
8284 no_undefined_flag
=' ${wl}-bernotok'
8285 allow_undefined_flag
=' ${wl}-berok'
8286 # Exported symbols can be pulled into shared objects from archives
8287 whole_archive_flag_spec
='$convenience'
8288 archive_cmds_need_lc
=yes
8289 # This is similar to how AIX traditionally builds its shared libraries.
8290 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'
8296 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)'
8297 hardcode_libdir_flag_spec
='-L$libdir'
8298 hardcode_minus_L
=yes
8299 # see comment about different semantics on the GNU ld section
8304 export_dynamic_flag_spec
=-rdynamic
8307 cygwin
* | mingw
* | pw32
*)
8308 # When not using gcc, we currently assume that we are using
8309 # Microsoft Visual C++.
8310 # hardcode_libdir_flag_spec is actually meaningless, as there is
8311 # no search path for DLLs.
8312 hardcode_libdir_flag_spec
=' '
8313 allow_undefined_flag
=unsupported
8314 # Tell ltmain to make .lib files, not .a files.
8316 # Tell ltmain to make .dll files, not .so files.
8318 # FIXME: Setting linknames here is a bad hack.
8319 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8320 # The linker will automatically build a .lib file if we build a DLL.
8321 old_archive_From_new_cmds
='true'
8322 # FIXME: Should let the user specify the lib program.
8323 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8324 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8325 enable_shared_with_static_runtimes
=yes
8328 darwin
* | rhapsody
*)
8330 rhapsody
* | darwin1.
[012])
8331 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8334 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8335 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8337 case ${MACOSX_DEPLOYMENT_TARGET} in
8339 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8342 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8348 archive_cmds_need_lc
=no
8350 hardcode_automatic
=yes
8351 hardcode_shlibpath_var
=unsupported
8352 whole_archive_flag_spec
=''
8353 link_all_deplibs
=yes
8354 if test "$GCC" = yes ; then
8355 output_verbose_link_cmd
='echo'
8356 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8357 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8359 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}'
8360 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}'
8362 case $cc_basename in
8364 output_verbose_link_cmd
='echo'
8365 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8366 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8367 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8368 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}'
8369 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}'
8379 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8380 hardcode_libdir_flag_spec
='-L$libdir'
8381 hardcode_shlibpath_var
=no
8388 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8389 # support. Future versions do this automatically, but an explicit c++rt0.o
8390 # does not break anything, and helps significantly (at the cost of a little
8393 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8394 hardcode_libdir_flag_spec
='-R$libdir'
8396 hardcode_shlibpath_var
=no
8399 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8401 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8403 hardcode_minus_L
=yes
8404 hardcode_shlibpath_var
=no
8407 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8408 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8409 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8410 hardcode_libdir_flag_spec
='-R$libdir'
8412 hardcode_shlibpath_var
=no
8416 if test "$GCC" = yes; then
8417 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'
8419 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'
8421 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8422 hardcode_libdir_separator
=:
8425 # hardcode_minus_L: Not really in the search PATH,
8426 # but as the default location of the library.
8427 hardcode_minus_L
=yes
8428 export_dynamic_flag_spec
='${wl}-E'
8432 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8433 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8435 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8437 if test "$with_gnu_ld" = no
; then
8438 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8439 hardcode_libdir_separator
=:
8442 export_dynamic_flag_spec
='${wl}-E'
8444 # hardcode_minus_L: Not really in the search PATH,
8445 # but as the default location of the library.
8446 hardcode_minus_L
=yes
8451 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8454 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8457 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8460 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8466 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8469 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8472 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8476 if test "$with_gnu_ld" = no
; then
8477 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8478 hardcode_libdir_separator
=:
8482 hardcode_libdir_flag_spec_ld
='+b $libdir'
8484 hardcode_shlibpath_var
=no
8488 export_dynamic_flag_spec
='${wl}-E'
8490 # hardcode_minus_L: Not really in the search PATH,
8491 # but as the default location of the library.
8492 hardcode_minus_L
=yes
8498 irix5
* | irix6
* | nonstopux
*)
8499 if test "$GCC" = yes; then
8500 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'
8502 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'
8503 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8505 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8506 hardcode_libdir_separator
=:
8507 link_all_deplibs
=yes
8511 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8512 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8514 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8516 hardcode_libdir_flag_spec
='-R$libdir'
8518 hardcode_shlibpath_var
=no
8522 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8525 hardcode_libdir_separator
=:
8526 hardcode_shlibpath_var
=no
8531 hardcode_shlibpath_var
=no
8532 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8533 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8534 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8535 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8536 export_dynamic_flag_spec
='${wl}-E'
8539 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8540 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8541 hardcode_libdir_flag_spec
='-R$libdir'
8544 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8545 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8552 hardcode_libdir_flag_spec
='-L$libdir'
8553 hardcode_minus_L
=yes
8554 allow_undefined_flag
=unsupported
8555 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'
8556 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8560 if test "$GCC" = yes; then
8561 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8562 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'
8564 allow_undefined_flag
=' -expect_unresolved \*'
8565 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'
8567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8568 hardcode_libdir_separator
=:
8571 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8572 if test "$GCC" = yes; then
8573 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8574 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'
8575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8577 allow_undefined_flag
=' -expect_unresolved \*'
8578 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'
8579 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8580 $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'
8582 # Both c and cxx compiler support -rpath directly
8583 hardcode_libdir_flag_spec
='-rpath $libdir'
8585 hardcode_libdir_separator
=:
8589 no_undefined_flag
=' -z text'
8590 if test "$GCC" = yes; then
8592 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8593 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8594 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8597 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8598 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8599 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8601 hardcode_libdir_flag_spec
='-R$libdir'
8602 hardcode_shlibpath_var
=no
8604 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8606 # The compiler driver will combine linker options so we
8607 # cannot just pass the convience library names through
8608 # without $wl, iff we do not link with $LD.
8609 # Luckily, gcc supports the same syntax we need for Sun Studio.
8610 # Supported since Solaris 2.6 (maybe 2.5.1?)
8613 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8615 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' ;;
8618 link_all_deplibs
=yes
8622 if test "x$host_vendor" = xsequent
; then
8623 # Use $CC to link under sequent, because it throws in some extra .o
8624 # files that make .init and .fini sections work.
8625 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8627 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8629 hardcode_libdir_flag_spec
='-L$libdir'
8631 hardcode_minus_L
=yes
8632 hardcode_shlibpath_var
=no
8636 case $host_vendor in
8638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8639 hardcode_direct
=yes # is this really true???
8642 ## LD is ld it makes a PLAMLIB
8643 ## CC just makes a GrossModule.
8644 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8645 reload_cmds
='$CC -r -o $output$reload_objs'
8649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8650 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8653 runpath_var
='LD_RUN_PATH'
8654 hardcode_shlibpath_var
=no
8658 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8659 hardcode_shlibpath_var
=no
8660 export_dynamic_flag_spec
='-Bexport'
8664 if test -d /usr
/nec
; then
8665 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8666 hardcode_shlibpath_var
=no
8667 runpath_var
=LD_RUN_PATH
8668 hardcode_runpath_var
=yes
8673 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8674 no_undefined_flag
='${wl}-z,text'
8675 archive_cmds_need_lc
=no
8676 hardcode_shlibpath_var
=no
8677 runpath_var
='LD_RUN_PATH'
8679 if test "$GCC" = yes; then
8680 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8681 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8683 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8684 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8688 sysv5
* | sco3.2v5
* | sco5v6
*)
8689 # Note: We can NOT use -z defs as we might desire, because we do not
8690 # link with -lc, and that would cause any symbols used from libc to
8691 # always be unresolved, which means just about no library would
8692 # ever link correctly. If we're not using GNU ld we use -z text
8693 # though, which does catch some bad symbols but isn't as heavy-handed
8695 no_undefined_flag
='${wl}-z,text'
8696 allow_undefined_flag
='${wl}-z,nodefs'
8697 archive_cmds_need_lc
=no
8698 hardcode_shlibpath_var
=no
8699 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8700 hardcode_libdir_separator
=':'
8701 link_all_deplibs
=yes
8702 export_dynamic_flag_spec
='${wl}-Bexport'
8703 runpath_var
='LD_RUN_PATH'
8705 if test "$GCC" = yes; then
8706 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8707 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8710 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8715 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8716 hardcode_libdir_flag_spec
='-L$libdir'
8717 hardcode_shlibpath_var
=no
8726 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8727 echo "${ECHO_T}$ld_shlibs" >&6; }
8728 test "$ld_shlibs" = no
&& can_build_shared
=no
8731 # Do we need to explicitly link libc?
8733 case "x$archive_cmds_need_lc" in
8735 # Assume -lc should be added
8736 archive_cmds_need_lc
=yes
8738 if test "$enable_shared" = yes && test "$GCC" = yes; then
8739 case $archive_cmds in
8741 # FIXME: we may have to deal with multi-command sequences.
8744 # Test whether the compiler implicitly links with -lc since on some
8745 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8746 # to ld, don't add -lc before -lgcc.
8747 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8748 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8750 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753 (eval $ac_compile) 2>&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } 2>conftest.err
; then
8759 libobjs
=conftest.
$ac_objext
8761 wl
=$lt_prog_compiler_wl
8762 pic_flag
=$lt_prog_compiler_pic
8768 lt_save_allow_undefined_flag
=$allow_undefined_flag
8769 allow_undefined_flag
=
8770 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8771 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); }
8776 archive_cmds_need_lc
=no
8778 archive_cmds_need_lc
=yes
8780 allow_undefined_flag
=$lt_save_allow_undefined_flag
8782 cat conftest.err
1>&5
8785 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8786 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8793 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8794 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8796 libname_spec
='lib$name'
8804 shlibpath_overrides_runpath
=unknown
8806 dynamic_linker
="$host_os ld.so"
8807 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8808 if test "$GCC" = yes; then
8809 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8810 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8811 # if the path contains ";" then we assume it to be the separator
8812 # otherwise default to the standard path separator (i.e. ":") - it is
8813 # assumed that no part of a normal pathname contains ";" but that should
8814 # okay in the real world where ";" in dirpaths is itself problematic.
8815 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8817 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8820 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8822 need_lib_prefix
=unknown
8823 hardcode_into_libs
=no
8825 # when you set need_version to no, make sure it does not cause -set_version
8826 # flags to be left without arguments
8827 need_version
=unknown
8832 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8833 shlibpath_var
=LIBPATH
8835 # AIX 3 has no versioning support, so we append a major version to the name.
8836 soname_spec
='${libname}${release}${shared_ext}$major'
8843 hardcode_into_libs
=yes
8844 if test "$host_cpu" = ia64
; then
8845 # AIX 5 supports IA64
8846 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8847 shlibpath_var
=LD_LIBRARY_PATH
8849 # With GCC up to 2.95.x, collect2 would create an import file
8850 # for dependence libraries. The import file would start with
8851 # the line `#! .'. This would cause the generated library to
8852 # depend on `.', always an invalid library. This was fixed in
8853 # development snapshots of GCC prior to 3.0.
8855 aix4 | aix4.
[01] | aix4.
[01].
*)
8856 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8858 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8865 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8866 # soname into executable. Probably we can add versioning support to
8867 # collect2, so additional links can be useful in future.
8868 if test "$aix_use_runtimelinking" = yes; then
8869 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8870 # instead of lib<name>.a to let people know that these are not
8871 # typical AIX shared libraries.
8872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8874 # We preserve .a as extension for shared libraries through AIX4.2
8875 # and later when we are not doing run time linking.
8876 library_names_spec
='${libname}${release}.a $libname.a'
8877 soname_spec
='${libname}${release}${shared_ext}$major'
8879 shlibpath_var
=LIBPATH
8884 library_names_spec
='$libname.ixlibrary $libname.a'
8885 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8886 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'
8890 library_names_spec
='${libname}${shared_ext}'
8891 dynamic_linker
="$host_os ld.so"
8892 shlibpath_var
=LIBRARY_PATH
8898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8899 soname_spec
='${libname}${release}${shared_ext}$major'
8900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8901 shlibpath_var
=LD_LIBRARY_PATH
8902 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8903 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8904 # the default ld.so.conf also contains /usr/contrib/lib and
8905 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8906 # libtool to hard-code these into programs
8909 cygwin
* | mingw
* | pw32
*)
8910 version_type
=windows
8915 case $GCC,$host_os in
8916 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8917 library_names_spec
='$libname.dll.a'
8918 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8919 postinstall_cmds
='base_file=`basename \${file}`~
8920 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8921 dldir=$destdir/`dirname \$dlpath`~
8922 test -d \$dldir || mkdir -p \$dldir~
8923 $install_prog $dir/$dlname \$dldir/$dlname~
8924 chmod a+x \$dldir/$dlname'
8925 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8926 dlpath=$dir/\$dldll~
8928 shlibpath_overrides_runpath
=yes
8932 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8933 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8934 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8937 # MinGW DLLs use traditional 'lib' prefix
8938 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8939 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8940 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8941 # It is most probably a Windows format PATH printed by
8942 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8943 # path with ; separators, and with drive letters. We can handle the
8944 # drive letters (cygwin fileutils understands them), so leave them,
8945 # especially as we might pass files found there to a mingw objdump,
8946 # which wouldn't understand a cygwinified path. Ahh.
8947 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8949 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8953 # pw32 DLLs use 'pw' prefix rather than 'lib'
8954 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8960 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8963 dynamic_linker
='Win32 ld.exe'
8964 # FIXME: first we should search . and the directory the executable is in
8968 darwin
* | rhapsody
*)
8969 dynamic_linker
="$host_os dyld"
8973 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8974 soname_spec
='${libname}${release}${major}$shared_ext'
8975 shlibpath_overrides_runpath
=yes
8976 shlibpath_var
=DYLD_LIBRARY_PATH
8977 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8978 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8979 if test "$GCC" = yes; then
8980 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"`
8982 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8984 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8992 soname_spec
='${libname}${release}${shared_ext}$major'
8993 shlibpath_var
=LD_LIBRARY_PATH
9004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9005 soname_spec
='${libname}${release}${shared_ext}$major'
9006 shlibpath_var
=LD_LIBRARY_PATH
9007 shlibpath_overrides_runpath
=no
9008 hardcode_into_libs
=yes
9009 dynamic_linker
='GNU ld.so'
9012 freebsd
* | dragonfly
*)
9013 # DragonFly does not have aout. When/if they implement a new
9014 # versioning mechanism, adjust this.
9015 if test -x /usr
/bin
/objformat
; then
9016 objformat
=`/usr/bin/objformat`
9019 freebsd
[123]*) objformat
=aout
;;
9023 version_type
=freebsd-
$objformat
9024 case $version_type in
9026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9031 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9035 shlibpath_var
=LD_LIBRARY_PATH
9038 shlibpath_overrides_runpath
=yes
9040 freebsd3.
[01]* | freebsdelf3.
[01]*)
9041 shlibpath_overrides_runpath
=yes
9042 hardcode_into_libs
=yes
9044 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9045 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9046 shlibpath_overrides_runpath
=no
9047 hardcode_into_libs
=yes
9049 freebsd
*) # from 4.6 on
9050 shlibpath_overrides_runpath
=yes
9051 hardcode_into_libs
=yes
9060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9061 soname_spec
='${libname}${release}${shared_ext}$major'
9062 shlibpath_var
=LD_LIBRARY_PATH
9063 hardcode_into_libs
=yes
9066 hpux9
* | hpux10
* | hpux11
*)
9067 # Give a soname corresponding to the major version so that dld.sl refuses to
9068 # link against other versions.
9075 hardcode_into_libs
=yes
9076 dynamic_linker
="$host_os dld.so"
9077 shlibpath_var
=LD_LIBRARY_PATH
9078 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9080 soname_spec
='${libname}${release}${shared_ext}$major'
9081 if test "X$HPUX_IA64_MODE" = X32
; then
9082 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9084 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9086 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9090 hardcode_into_libs
=yes
9091 dynamic_linker
="$host_os dld.sl"
9092 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9093 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9095 soname_spec
='${libname}${release}${shared_ext}$major'
9096 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9097 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9101 dynamic_linker
="$host_os dld.sl"
9102 shlibpath_var
=SHLIB_PATH
9103 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9105 soname_spec
='${libname}${release}${shared_ext}$major'
9108 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9109 postinstall_cmds
='chmod 555 $lib'
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9117 soname_spec
='${libname}${release}${shared_ext}$major'
9118 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9119 shlibpath_var
=LD_LIBRARY_PATH
9120 shlibpath_overrides_runpath
=no
9121 hardcode_into_libs
=yes
9124 irix5
* | irix6
* | nonstopux
*)
9126 nonstopux
*) version_type
=nonstopux
;;
9128 if test "$lt_cv_prog_gnu_ld" = yes; then
9136 soname_spec
='${libname}${release}${shared_ext}$major'
9137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9139 irix5
* | nonstopux
*)
9143 case $LD in # libtool.m4 will add one of these switches to LD
9144 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9145 libsuff
= shlibsuff
= libmagic
=32-bit;;
9146 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9147 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9148 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9149 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9150 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9154 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9155 shlibpath_overrides_runpath
=no
9156 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9157 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9158 hardcode_into_libs
=yes
9161 # No shared lib support for Linux oldld, aout, or coff.
9162 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9166 # This must be Linux ELF.
9171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9172 soname_spec
='${libname}${release}${shared_ext}$major'
9173 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9174 shlibpath_var
=LD_LIBRARY_PATH
9175 shlibpath_overrides_runpath
=no
9176 # This implies no fast_install, which is unacceptable.
9177 # Some rework will be needed to allow for fast_install
9178 # before this can be enabled.
9179 hardcode_into_libs
=yes
9181 # Append ld.so.conf contents to the search path
9182 if test -f /etc
/ld.so.conf
; then
9183 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' ' '`
9184 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9187 # We used to test for /lib/ld.so.1 and disable shared libraries on
9188 # powerpc, because MkLinux only supported shared libraries with the
9189 # GNU dynamic linker. Since this was broken with cross compilers,
9190 # most powerpc-linux boxes support dynamic linking these days and
9191 # people can always --disable-shared, the test was removed, and we
9192 # assume the GNU/Linux dynamic linker is in use.
9193 dynamic_linker
='GNU/Linux ld.so'
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9201 soname_spec
='${libname}${release}${shared_ext}$major'
9202 shlibpath_var
=LD_LIBRARY_PATH
9203 shlibpath_overrides_runpath
=no
9204 hardcode_into_libs
=yes
9205 dynamic_linker
='GNU ld.so'
9212 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9214 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9215 dynamic_linker
='NetBSD (a.out) ld.so'
9217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9218 soname_spec
='${libname}${release}${shared_ext}$major'
9219 dynamic_linker
='NetBSD ld.elf_so'
9221 shlibpath_var
=LD_LIBRARY_PATH
9222 shlibpath_overrides_runpath
=yes
9223 hardcode_into_libs
=yes
9228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9229 shlibpath_var
=LD_LIBRARY_PATH
9230 shlibpath_overrides_runpath
=yes
9237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9238 soname_spec
='${libname}${release}${shared_ext}$major'
9239 shlibpath_var
=LD_LIBRARY_PATH
9240 shlibpath_overrides_runpath
=yes
9245 sys_lib_dlsearch_path_spec
="/usr/lib"
9247 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9249 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9250 *) need_version
=no
;;
9252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9253 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9254 shlibpath_var
=LD_LIBRARY_PATH
9255 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9257 openbsd2.
[89] | openbsd2.
[89].
*)
9258 shlibpath_overrides_runpath
=no
9261 shlibpath_overrides_runpath
=yes
9265 shlibpath_overrides_runpath
=yes
9270 libname_spec
='$name'
9273 library_names_spec
='$libname${shared_ext} $libname.a'
9274 dynamic_linker
='OS/2 ld.exe'
9275 shlibpath_var
=LIBPATH
9278 osf3
* | osf4
* | osf5
*)
9282 soname_spec
='${libname}${release}${shared_ext}$major'
9283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9284 shlibpath_var
=LD_LIBRARY_PATH
9285 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9286 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9294 soname_spec
='${libname}${release}${shared_ext}$major'
9295 shlibpath_var
=LD_LIBRARY_PATH
9296 shlibpath_overrides_runpath
=yes
9297 hardcode_into_libs
=yes
9298 # ldd complains unless libraries are executable
9299 postinstall_cmds
='chmod +x $lib'
9304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9305 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9306 shlibpath_var
=LD_LIBRARY_PATH
9307 shlibpath_overrides_runpath
=yes
9308 if test "$with_gnu_ld" = yes; then
9316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9317 soname_spec
='${libname}${release}${shared_ext}$major'
9318 shlibpath_var
=LD_LIBRARY_PATH
9319 case $host_vendor in
9321 shlibpath_overrides_runpath
=no
9323 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9324 runpath_var
=LD_RUN_PATH
9332 shlibpath_overrides_runpath
=no
9333 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9339 if test -d /usr
/nec
;then
9341 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9342 soname_spec
='$libname${shared_ext}.$major'
9343 shlibpath_var
=LD_LIBRARY_PATH
9347 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9348 version_type
=freebsd-elf
9351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9352 soname_spec
='${libname}${release}${shared_ext}$major'
9353 shlibpath_var
=LD_LIBRARY_PATH
9354 hardcode_into_libs
=yes
9355 if test "$with_gnu_ld" = yes; then
9356 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9357 shlibpath_overrides_runpath
=no
9359 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9360 shlibpath_overrides_runpath
=yes
9363 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9367 sys_lib_dlsearch_path_spec
='/usr/lib'
9372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9373 soname_spec
='${libname}${release}${shared_ext}$major'
9374 shlibpath_var
=LD_LIBRARY_PATH
9381 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9382 echo "${ECHO_T}$dynamic_linker" >&6; }
9383 test "$dynamic_linker" = no
&& can_build_shared
=no
9385 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9386 if test "$GCC" = yes; then
9387 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9390 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9391 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9393 if test -n "$hardcode_libdir_flag_spec" || \
9394 test -n "$runpath_var" || \
9395 test "X$hardcode_automatic" = "Xyes" ; then
9397 # We can hardcode non-existant directories.
9398 if test "$hardcode_direct" != no
&&
9399 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9400 # have to relink, otherwise we might link with an installed library
9401 # when we should be linking with a yet-to-be-installed one
9402 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9403 test "$hardcode_minus_L" != no
; then
9404 # Linking always hardcodes the temporary library directory.
9405 hardcode_action
=relink
9407 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9408 hardcode_action
=immediate
9411 # We cannot hardcode anything, or else we can only hardcode existing
9413 hardcode_action
=unsupported
9415 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9416 echo "${ECHO_T}$hardcode_action" >&6; }
9418 if test "$hardcode_action" = relink
; then
9419 # Fast installation is not supported
9420 enable_fast_install
=no
9421 elif test "$shlibpath_overrides_runpath" = yes ||
9422 test "$enable_shared" = no
; then
9423 # Fast installation is not necessary
9424 enable_fast_install
=needless
9429 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9430 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9431 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9432 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9433 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9434 { echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6; }
9437 # FIXME - insert some real tests, host_os isn't really good enough
9440 if test -n "$STRIP" ; then
9441 striplib
="$STRIP -x"
9442 { echo "$as_me:$LINENO: result: yes" >&5
9443 echo "${ECHO_T}yes" >&6; }
9445 { echo "$as_me:$LINENO: result: no" >&5
9446 echo "${ECHO_T}no" >&6; }
9450 { echo "$as_me:$LINENO: result: no" >&5
9451 echo "${ECHO_T}no" >&6; }
9456 if test "x$enable_dlopen" != xyes
; then
9457 enable_dlopen
=unknown
9458 enable_dlopen_self
=unknown
9459 enable_dlopen_self_static
=unknown
9466 lt_cv_dlopen
="load_add_on"
9468 lt_cv_dlopen_self
=yes
9472 lt_cv_dlopen
="LoadLibrary"
9477 lt_cv_dlopen
="dlopen"
9482 # if libdl is installed we need to link against it
9483 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9484 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9485 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 ac_check_lib_save_LIBS
=$LIBS
9490 cat >conftest.
$ac_ext <<_ACEOF
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9497 /* Override any GCC internal prototype to avoid an error.
9498 Use char because int might match the return type of a GCC
9499 builtin and then its argument prototype would still apply. */
9512 rm -f conftest.
$ac_objext conftest
$ac_exeext
9513 if { (ac_try
="$ac_link"
9515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9516 *) ac_try_echo=$ac_try;;
9518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9519 (eval "$ac_link") 2>conftest.er1
9521 grep -v '^ *+' conftest.er1 >conftest.err
9523 cat conftest.err >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } &&
9526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9527 { (case "(($ac_try" in
9528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9529 *) ac_try_echo
=$ac_try;;
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_try") 2>&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); }; } &&
9536 { ac_try
='test -s conftest$ac_exeext'
9537 { (case "(($ac_try" in
9538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9539 *) ac_try_echo=$ac_try;;
9541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9542 (eval "$ac_try") 2>&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; }; then
9546 ac_cv_lib_dl_dlopen=yes
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9551 ac_cv_lib_dl_dlopen=no
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_lib_save_LIBS
9558 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9559 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9560 if test $ac_cv_lib_dl_dlopen = yes; then
9561 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9566 lt_cv_dlopen_self=yes
9573 { echo "$as_me:$LINENO: checking for shl_load" >&5
9574 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9575 if test "${ac_cv_func_shl_load+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 cat >conftest.$ac_ext <<_ACEOF
9581 cat confdefs.h >>conftest.$ac_ext
9582 cat >>conftest.$ac_ext <<_ACEOF
9583 /* end confdefs.h. */
9584 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9586 #define shl_load innocuous_shl_load
9588 /* System header to define __stub macros and hopefully few prototypes,
9589 which can conflict with char shl_load (); below.
9590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9591 <limits.h> exists even on freestanding compilers. */
9594 # include <limits.h>
9596 # include <assert.h>
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9608 /* The GNU C library defines this for functions which it implements
9609 to always fail with ENOSYS. Some functions are actually named
9610 something starting with __ and the normal name is an alias. */
9611 #if defined __stub_shl_load || defined __stub___shl_load
9623 rm -f conftest.$ac_objext conftest$ac_exeext
9624 if { (ac_try="$ac_link"
9626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9627 *) ac_try_echo
=$ac_try;;
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_link") 2>conftest.er1
9632 grep -v '^ *+' conftest.er1
>conftest.err
9634 cat conftest.err
>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } &&
9637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9638 { (case "(($ac_try" in
9639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_try") 2>&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (case "(($ac_try" in
9649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9650 *) ac_try_echo
=$ac_try;;
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_try") 2>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 ac_cv_func_shl_load
=yes
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.
$ac_ext >&5
9662 ac_cv_func_shl_load
=no
9665 rm -f core conftest.err conftest.
$ac_objext \
9666 conftest
$ac_exeext conftest.
$ac_ext
9668 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9669 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9670 if test $ac_cv_func_shl_load = yes; then
9671 lt_cv_dlopen
="shl_load"
9673 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9674 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9675 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 ac_check_lib_save_LIBS
=$LIBS
9680 cat >conftest.
$ac_ext <<_ACEOF
9683 cat confdefs.h
>>conftest.
$ac_ext
9684 cat >>conftest.
$ac_ext <<_ACEOF
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9702 rm -f conftest.
$ac_objext conftest
$ac_exeext
9703 if { (ac_try
="$ac_link"
9705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9706 *) ac_try_echo=$ac_try;;
9708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9709 (eval "$ac_link") 2>conftest.er1
9711 grep -v '^ *+' conftest.er1 >conftest.err
9713 cat conftest.err >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } &&
9716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9717 { (case "(($ac_try" in
9718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9719 *) ac_try_echo
=$ac_try;;
9721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9722 (eval "$ac_try") 2>&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); }; } &&
9726 { ac_try
='test -s conftest$ac_exeext'
9727 { (case "(($ac_try" in
9728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9729 *) ac_try_echo=$ac_try;;
9731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9732 (eval "$ac_try") 2>&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); }; }; then
9736 ac_cv_lib_dld_shl_load=yes
9738 echo "$as_me: failed program was:" >&5
9739 sed 's/^/| /' conftest.$ac_ext >&5
9741 ac_cv_lib_dld_shl_load=no
9744 rm -f core conftest.err conftest.$ac_objext \
9745 conftest$ac_exeext conftest.$ac_ext
9746 LIBS=$ac_check_lib_save_LIBS
9748 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9749 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9750 if test $ac_cv_lib_dld_shl_load = yes; then
9751 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9753 { echo "$as_me:$LINENO: checking for dlopen" >&5
9754 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9755 if test "${ac_cv_func_dlopen+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 cat >conftest.$ac_ext <<_ACEOF
9761 cat confdefs.h >>conftest.$ac_ext
9762 cat >>conftest.$ac_ext <<_ACEOF
9763 /* end confdefs.h. */
9764 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9766 #define dlopen innocuous_dlopen
9768 /* System header to define __stub macros and hopefully few prototypes,
9769 which can conflict with char dlopen (); below.
9770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9771 <limits.h> exists even on freestanding compilers. */
9774 # include <limits.h>
9776 # include <assert.h>
9781 /* Override any GCC internal prototype to avoid an error.
9782 Use char because int might match the return type of a GCC
9783 builtin and then its argument prototype would still apply. */
9788 /* The GNU C library defines this for functions which it implements
9789 to always fail with ENOSYS. Some functions are actually named
9790 something starting with __ and the normal name is an alias. */
9791 #if defined __stub_dlopen || defined __stub___dlopen
9803 rm -f conftest.$ac_objext conftest$ac_exeext
9804 if { (ac_try="$ac_link"
9806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9807 *) ac_try_echo
=$ac_try;;
9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_link") 2>conftest.er1
9812 grep -v '^ *+' conftest.er1
>conftest.err
9814 cat conftest.err
>&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); } &&
9817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9818 { (case "(($ac_try" in
9819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9820 *) ac_try_echo=$ac_try;;
9822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9823 (eval "$ac_try") 2>&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); }; } &&
9827 { ac_try='test -s conftest$ac_exeext'
9828 { (case "(($ac_try" in
9829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9830 *) ac_try_echo
=$ac_try;;
9832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9833 (eval "$ac_try") 2>&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; }; then
9837 ac_cv_func_dlopen
=yes
9839 echo "$as_me: failed program was:" >&5
9840 sed 's/^/| /' conftest.
$ac_ext >&5
9842 ac_cv_func_dlopen
=no
9845 rm -f core conftest.err conftest.
$ac_objext \
9846 conftest
$ac_exeext conftest.
$ac_ext
9848 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9849 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9850 if test $ac_cv_func_dlopen = yes; then
9851 lt_cv_dlopen
="dlopen"
9853 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9854 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9855 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 ac_check_lib_save_LIBS
=$LIBS
9860 cat >conftest.
$ac_ext <<_ACEOF
9863 cat confdefs.h
>>conftest.
$ac_ext
9864 cat >>conftest.
$ac_ext <<_ACEOF
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9882 rm -f conftest.
$ac_objext conftest
$ac_exeext
9883 if { (ac_try
="$ac_link"
9885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9886 *) ac_try_echo=$ac_try;;
9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9889 (eval "$ac_link") 2>conftest.er1
9891 grep -v '^ *+' conftest.er1 >conftest.err
9893 cat conftest.err >&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } &&
9896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9897 { (case "(($ac_try" in
9898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9899 *) ac_try_echo
=$ac_try;;
9901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9902 (eval "$ac_try") 2>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; } &&
9906 { ac_try
='test -s conftest$ac_exeext'
9907 { (case "(($ac_try" in
9908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9909 *) ac_try_echo=$ac_try;;
9911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9912 (eval "$ac_try") 2>&5
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9916 ac_cv_lib_dl_dlopen=yes
9918 echo "$as_me: failed program was:" >&5
9919 sed 's/^/| /' conftest.$ac_ext >&5
9921 ac_cv_lib_dl_dlopen=no
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_lib_save_LIBS
9928 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9929 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9930 if test $ac_cv_lib_dl_dlopen = yes; then
9931 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9933 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9934 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9935 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 ac_check_lib_save_LIBS=$LIBS
9940 cat >conftest.$ac_ext <<_ACEOF
9943 cat confdefs.h >>conftest.$ac_ext
9944 cat >>conftest.$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9947 /* Override any GCC internal prototype to avoid an error.
9948 Use char because int might match the return type of a GCC
9949 builtin and then its argument prototype would still apply. */
9962 rm -f conftest.$ac_objext conftest$ac_exeext
9963 if { (ac_try="$ac_link"
9965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9966 *) ac_try_echo
=$ac_try;;
9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 (eval "$ac_link") 2>conftest.er1
9971 grep -v '^ *+' conftest.er1
>conftest.err
9973 cat conftest.err
>&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } &&
9976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9977 { (case "(($ac_try" in
9978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9979 *) ac_try_echo=$ac_try;;
9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 (eval "$ac_try") 2>&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; } &&
9986 { ac_try='test -s conftest$ac_exeext'
9987 { (case "(($ac_try" in
9988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9989 *) ac_try_echo
=$ac_try;;
9991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9992 (eval "$ac_try") 2>&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; }; then
9996 ac_cv_lib_svld_dlopen
=yes
9998 echo "$as_me: failed program was:" >&5
9999 sed 's/^/| /' conftest.
$ac_ext >&5
10001 ac_cv_lib_svld_dlopen
=no
10004 rm -f core conftest.err conftest.
$ac_objext \
10005 conftest
$ac_exeext conftest.
$ac_ext
10006 LIBS
=$ac_check_lib_save_LIBS
10008 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10009 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10010 if test $ac_cv_lib_svld_dlopen = yes; then
10011 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10013 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10014 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 ac_check_lib_save_LIBS
=$LIBS
10020 cat >conftest.
$ac_ext <<_ACEOF
10023 cat confdefs.h
>>conftest.
$ac_ext
10024 cat >>conftest.
$ac_ext <<_ACEOF
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10037 return dld_link ();
10042 rm -f conftest.
$ac_objext conftest
$ac_exeext
10043 if { (ac_try
="$ac_link"
10044 case "(($ac_try" in
10045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10051 grep -v '^ *+' conftest.er1 >conftest.err
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10057 { (case "(($ac_try" in
10058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10059 *) ac_try_echo
=$ac_try;;
10061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10062 (eval "$ac_try") 2>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); }; } &&
10066 { ac_try
='test -s conftest$ac_exeext'
10067 { (case "(($ac_try" in
10068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10069 *) ac_try_echo=$ac_try;;
10071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10072 (eval "$ac_try") 2>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; }; then
10076 ac_cv_lib_dld_dld_link=yes
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10081 ac_cv_lib_dld_dld_link=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10089 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10090 if test $ac_cv_lib_dld_dld_link = yes; then
10091 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10112 if test "x$lt_cv_dlopen" != xno; then
10118 case $lt_cv_dlopen in
10120 save_CPPFLAGS="$CPPFLAGS"
10121 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10123 save_LDFLAGS="$LDFLAGS"
10124 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10127 LIBS="$lt_cv_dlopen_libs $LIBS"
10129 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10130 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10131 if test "${lt_cv_dlopen_self+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 if test "$cross_compiling" = yes; then :
10135 lt_cv_dlopen_self=cross
10137 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10138 lt_status=$lt_dlunknown
10139 cat > conftest.$ac_ext <<EOF
10140 #line 10140 "configure"
10141 #include "confdefs.h"
10150 # define LT_DLGLOBAL RTLD_GLOBAL
10153 # define LT_DLGLOBAL DL_GLOBAL
10155 # define LT_DLGLOBAL 0
10159 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10160 find out it does not work in some platform. */
10161 #ifndef LT_DLLAZY_OR_NOW
10163 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10166 # define LT_DLLAZY_OR_NOW DL_LAZY
10169 # define LT_DLLAZY_OR_NOW RTLD_NOW
10172 # define LT_DLLAZY_OR_NOW DL_NOW
10174 # define LT_DLLAZY_OR_NOW 0
10182 extern "C" void exit (int);
10185 void fnord() { int i=42;}
10188 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10189 int status = $lt_dlunknown;
10193 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10194 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10195 /* dlclose (self); */
10203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10204 (eval $ac_link) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10208 (./conftest; exit; ) >&5 2>/dev/null
10210 case x$lt_status in
10211 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10212 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10213 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10216 # compilation failed
10217 lt_cv_dlopen_self=no
10224 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10225 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10227 if test "x$lt_cv_dlopen_self" = xyes; then
10228 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10229 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10230 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10231 if test "${lt_cv_dlopen_self_static+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 if test "$cross_compiling" = yes; then :
10235 lt_cv_dlopen_self_static=cross
10237 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10238 lt_status=$lt_dlunknown
10239 cat > conftest.$ac_ext <<EOF
10240 #line 10240 "configure"
10241 #include "confdefs.h"
10250 # define LT_DLGLOBAL RTLD_GLOBAL
10253 # define LT_DLGLOBAL DL_GLOBAL
10255 # define LT_DLGLOBAL 0
10259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10260 find out it does not work in some platform. */
10261 #ifndef LT_DLLAZY_OR_NOW
10263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10266 # define LT_DLLAZY_OR_NOW DL_LAZY
10269 # define LT_DLLAZY_OR_NOW RTLD_NOW
10272 # define LT_DLLAZY_OR_NOW DL_NOW
10274 # define LT_DLLAZY_OR_NOW 0
10282 extern "C" void exit (int);
10285 void fnord() { int i=42;}
10288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10289 int status = $lt_dlunknown;
10293 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10294 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10295 /* dlclose (self); */
10303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10304 (eval $ac_link) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10308 (./conftest; exit; ) >&5 2>/dev/null
10310 case x$lt_status in
10311 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10312 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10313 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10316 # compilation failed
10317 lt_cv_dlopen_self_static=no
10324 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10325 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10328 CPPFLAGS="$save_CPPFLAGS"
10329 LDFLAGS="$save_LDFLAGS"
10334 case $lt_cv_dlopen_self in
10335 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10336 *) enable_dlopen_self=unknown ;;
10339 case $lt_cv_dlopen_self_static in
10340 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10341 *) enable_dlopen_self_static=unknown ;;
10346 # Report which library types will actually be built
10347 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10348 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10349 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10350 echo "${ECHO_T}$can_build_shared" >&6; }
10352 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10353 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10354 test "$can_build_shared" = "no" && enable_shared=no
10356 # On AIX, shared libraries and static libraries use the same namespace, and
10357 # are all built from PIC.
10360 test "$enable_shared" = yes && enable_static=no
10361 if test -n "$RANLIB"; then
10362 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10363 postinstall_cmds='$RANLIB $lib'
10368 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10369 test "$enable_shared" = yes && enable_static=no
10373 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10374 echo "${ECHO_T}$enable_shared" >&6; }
10376 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10377 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10378 # Make sure either enable_shared or enable_static is yes.
10379 test "$enable_shared" = yes || enable_static=yes
10380 { echo "$as_me:$LINENO: result: $enable_static" >&5
10381 echo "${ECHO_T}$enable_static" >&6; }
10383 # The else clause should only fire when bootstrapping the
10384 # libtool distribution, otherwise you forgot to ship ltmain.sh
10385 # with your package, and you will get complaints that there are
10386 # no rules to generate ltmain.sh.
10387 if test -f "$ltmain"; then
10388 # See if we are running on zsh, and set the options which allow our commands through
10389 # without removal of \ escapes.
10390 if test -n "${ZSH_VERSION+set}" ; then
10391 setopt NO_GLOB_SUBST
10393 # Now quote all the things that may contain metacharacters while being
10394 # careful not to overquote the AC_SUBSTed values. We take copies of the
10395 # variables and quote the copies for generation of the libtool script.
10396 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10398 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10399 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10400 deplibs_check_method reload_flag reload_cmds need_locks \
10401 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10402 lt_cv_sys_global_symbol_to_c_name_address \
10403 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10404 old_postinstall_cmds old_postuninstall_cmds \
10408 lt_prog_compiler_wl \
10409 lt_prog_compiler_pic \
10410 lt_prog_compiler_static \
10411 lt_prog_compiler_no_builtin_flag \
10412 export_dynamic_flag_spec \
10413 thread_safe_flag_spec \
10414 whole_archive_flag_spec \
10415 enable_shared_with_static_runtimes \
10417 old_archive_from_new_cmds \
10422 compiler_lib_search_path \
10424 archive_expsym_cmds \
10426 postuninstall_cmds \
10427 old_archive_from_expsyms_cmds \
10428 allow_undefined_flag \
10429 no_undefined_flag \
10430 export_symbols_cmds \
10431 hardcode_libdir_flag_spec \
10432 hardcode_libdir_flag_spec_ld \
10433 hardcode_libdir_separator \
10434 hardcode_automatic \
10436 module_expsym_cmds \
10437 lt_cv_prog_compiler_c_o \
10439 include_expsyms; do
10442 old_archive_cmds | \
10443 old_archive_from_new_cmds | \
10445 archive_expsym_cmds | \
10447 module_expsym_cmds | \
10448 old_archive_from_expsyms_cmds | \
10449 export_symbols_cmds | \
10450 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10451 postinstall_cmds | postuninstall_cmds | \
10452 old_postinstall_cmds | old_postuninstall_cmds | \
10453 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10454 # Double-quote double-evaled strings.
10455 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10458 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10464 *'\$0 --fallback-echo"')
10465 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10469 cfgfile="${ofile}T"
10470 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10472 { echo "$as_me:$LINENO: creating $ofile" >&5
10473 echo "$as_me: creating $ofile" >&6;}
10475 cat <<__EOF__ >> "$cfgfile"
10478 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10479 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10482 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10483 # Free Software Foundation, Inc.
10485 # This file is part of GNU Libtool:
10486 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10488 # This program is free software; you can redistribute it and/or modify
10489 # it under the terms of the GNU General Public License as published by
10490 # the Free Software Foundation; either version 2 of the License, or
10491 # (at your option) any later version.
10493 # This program is distributed in the hope that it will be useful, but
10494 # WITHOUT ANY WARRANTY; without even the implied warranty of
10495 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10496 # General Public License for more details.
10498 # You should have received a copy of the GNU General Public License
10499 # along with this program; if not, write to the Free Software
10500 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10502 # As a special exception to the GNU General Public License, if you
10503 # distribute this file as part of a program that contains a
10504 # configuration script generated by Autoconf, you may include it under
10505 # the same distribution terms that you use for the rest of that program.
10507 # A sed program that does not truncate output.
10510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10511 Xsed="$SED -e 1s/^X//"
10513 # The HP-UX ksh and POSIX shell print the target directory to stdout
10514 # if CDPATH is set.
10515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10517 # The names of the tagged configurations supported by this script.
10520 # ### BEGIN LIBTOOL CONFIG
10522 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10524 # Shell to use when invoking shell scripts.
10527 # Whether or not to build shared libraries.
10528 build_libtool_libs=$enable_shared
10530 # Whether or not to build static libraries.
10531 build_old_libs=$enable_static
10533 # Whether or not to add -lc for building shared libraries.
10534 build_libtool_need_lc=$archive_cmds_need_lc
10536 # Whether or not to disallow shared libs when runtime libs are static
10537 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10539 # Whether or not to optimize for fast installation.
10540 fast_install=$enable_fast_install
10543 host_alias=$host_alias
10547 # The build system.
10548 build_alias=$build_alias
10552 # An echo program that does not interpret backslashes.
10557 AR_FLAGS=$lt_AR_FLAGS
10562 # LTCC compiler flags.
10563 LTCFLAGS=$lt_LTCFLAGS
10565 # A language-specific compiler.
10568 # Is the compiler the GNU C compiler?
10574 # The linker used to build libraries.
10577 # Whether we need hard or soft links.
10580 # A BSD-compatible nm program.
10583 # A symbol stripping program
10586 # Used to examine libraries when file_magic_cmd begins "file"
10587 MAGIC_CMD=$MAGIC_CMD
10589 # Used on cygwin: DLL creation program.
10592 # Used on cygwin: object dumper.
10595 # Used on cygwin: assembler.
10598 # The name of the directory that contains temporary libtool files.
10601 # How to create reloadable object files.
10602 reload_flag=$lt_reload_flag
10603 reload_cmds=$lt_reload_cmds
10605 # How to pass a linker flag through the compiler.
10606 wl=$lt_lt_prog_compiler_wl
10608 # Object file suffix (normally "o").
10609 objext="$ac_objext"
10611 # Old archive suffix (normally "a").
10614 # Shared library suffix (normally ".so").
10615 shrext_cmds='$shrext_cmds'
10617 # Executable file suffix (normally "").
10620 # Additional compiler flags for building library objects.
10621 pic_flag=$lt_lt_prog_compiler_pic
10624 # What is the maximum length of a command?
10625 max_cmd_len=$lt_cv_sys_max_cmd_len
10627 # Does compiler simultaneously support -c and -o options?
10628 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10630 # Must we lock files when doing compilation?
10631 need_locks=$lt_need_locks
10633 # Do we need the lib prefix for modules?
10634 need_lib_prefix=$need_lib_prefix
10636 # Do we need a version for libraries?
10637 need_version=$need_version
10639 # Whether dlopen is supported.
10640 dlopen_support=$enable_dlopen
10642 # Whether dlopen of programs is supported.
10643 dlopen_self=$enable_dlopen_self
10645 # Whether dlopen of statically linked programs is supported.
10646 dlopen_self_static=$enable_dlopen_self_static
10648 # Compiler flag to prevent dynamic linking.
10649 link_static_flag=$lt_lt_prog_compiler_static
10651 # Compiler flag to turn off builtin functions.
10652 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10654 # Compiler flag to allow reflexive dlopens.
10655 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10657 # Compiler flag to generate shared objects directly from archives.
10658 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10660 # Compiler flag to generate thread-safe objects.
10661 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10663 # Library versioning type.
10664 version_type=$version_type
10666 # Format of library name prefix.
10667 libname_spec=$lt_libname_spec
10669 # List of archive names. First name is the real one, the rest are links.
10670 # The last name is the one that the linker finds with -lNAME.
10671 library_names_spec=$lt_library_names_spec
10673 # The coded name of the library, if different from the real name.
10674 soname_spec=$lt_soname_spec
10676 # Commands used to build and install an old-style archive.
10678 old_archive_cmds=$lt_old_archive_cmds
10679 old_postinstall_cmds=$lt_old_postinstall_cmds
10680 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10682 # Create an old-style archive from a shared archive.
10683 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10685 # Create a temporary old-style archive to link instead of a shared archive.
10686 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10688 # Commands used to build and install a shared archive.
10689 archive_cmds=$lt_archive_cmds
10690 archive_expsym_cmds=$lt_archive_expsym_cmds
10691 postinstall_cmds=$lt_postinstall_cmds
10692 postuninstall_cmds=$lt_postuninstall_cmds
10694 # Commands used to build a loadable module (assumed same as above if empty)
10695 module_cmds=$lt_module_cmds
10696 module_expsym_cmds=$lt_module_expsym_cmds
10698 # Commands to strip libraries.
10699 old_striplib=$lt_old_striplib
10700 striplib=$lt_striplib
10702 # Dependencies to place before the objects being linked to create a
10704 predep_objects=$lt_predep_objects
10706 # Dependencies to place after the objects being linked to create a
10708 postdep_objects=$lt_postdep_objects
10710 # Dependencies to place before the objects being linked to create a
10712 predeps=$lt_predeps
10714 # Dependencies to place after the objects being linked to create a
10716 postdeps=$lt_postdeps
10718 # The library search path used internally by the compiler when linking
10719 # a shared library.
10720 compiler_lib_search_path=$lt_compiler_lib_search_path
10722 # Method to check whether dependent libraries are shared objects.
10723 deplibs_check_method=$lt_deplibs_check_method
10725 # Command to use when deplibs_check_method == file_magic.
10726 file_magic_cmd=$lt_file_magic_cmd
10728 # Flag that allows shared libraries with undefined symbols to be built.
10729 allow_undefined_flag=$lt_allow_undefined_flag
10731 # Flag that forces no undefined symbols.
10732 no_undefined_flag=$lt_no_undefined_flag
10734 # Commands used to finish a libtool library installation in a directory.
10735 finish_cmds=$lt_finish_cmds
10737 # Same as above, but a single script fragment to be evaled but not shown.
10738 finish_eval=$lt_finish_eval
10740 # Take the output of nm and produce a listing of raw symbols and C names.
10741 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10743 # Transform the output of nm in a proper C declaration
10744 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10746 # Transform the output of nm in a C name address pair
10747 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10749 # This is the shared library runtime path variable.
10750 runpath_var=$runpath_var
10752 # This is the shared library path variable.
10753 shlibpath_var=$shlibpath_var
10755 # Is shlibpath searched before the hard-coded library search path?
10756 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10758 # How to hardcode a shared library path into an executable.
10759 hardcode_action=$hardcode_action
10761 # Whether we should hardcode library paths into libraries.
10762 hardcode_into_libs=$hardcode_into_libs
10764 # Flag to hardcode \$libdir into a binary during linking.
10765 # This must work even if \$libdir does not exist.
10766 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10768 # If ld is used when linking, flag to hardcode \$libdir into
10769 # a binary during linking. This must work even if \$libdir does
10771 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10773 # Whether we need a single -rpath flag with a separated argument.
10774 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10776 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10777 # resulting binary.
10778 hardcode_direct=$hardcode_direct
10780 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10781 # resulting binary.
10782 hardcode_minus_L=$hardcode_minus_L
10784 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10785 # the resulting binary.
10786 hardcode_shlibpath_var=$hardcode_shlibpath_var
10788 # Set to yes if building a shared library automatically hardcodes DIR into the library
10789 # and all subsequent libraries and executables linked against it.
10790 hardcode_automatic=$hardcode_automatic
10792 # Variables whose values should be saved in libtool wrapper scripts and
10793 # restored at relink time.
10794 variables_saved_for_relink="$variables_saved_for_relink"
10796 # Whether libtool must link a program against all its dependency libraries.
10797 link_all_deplibs=$link_all_deplibs
10799 # Compile-time system search path for libraries
10800 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10802 # Run-time system search path for libraries
10803 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10805 # Fix the shell variable \$srcfile for the compiler.
10806 fix_srcfile_path="$fix_srcfile_path"
10808 # Set to yes if exported symbols are required.
10809 always_export_symbols=$always_export_symbols
10811 # The commands to list exported symbols.
10812 export_symbols_cmds=$lt_export_symbols_cmds
10814 # The commands to extract the exported symbol list from a shared archive.
10815 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10817 # Symbols that should not be listed in the preloaded symbols.
10818 exclude_expsyms=$lt_exclude_expsyms
10820 # Symbols that must always be exported.
10821 include_expsyms=$lt_include_expsyms
10823 # ### END LIBTOOL CONFIG
10830 cat <<\EOF >> "$cfgfile"
10832 # AIX sometimes has problems with the GCC collect2 program. For some
10833 # reason, if we set the COLLECT_NAMES environment variable, the problems
10834 # vanish in a puff of smoke.
10835 if test "X${COLLECT_NAMES+set}" != Xset; then
10837 export COLLECT_NAMES
10843 # We use sed instead of cat because bash on DJGPP gets confused if
10844 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10845 # text mode, it properly converts lines to CR/LF. This bash problem
10846 # is reportedly fixed, but why not run on old versions too?
10847 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10849 mv -f "$cfgfile" "$ofile" || \
10850 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10854 # If there is no Makefile yet, we rely on a make rule to execute
10855 # `config.status
--recheck' to rerun these tests and create the
10856 # libtool script then.
10857 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10858 if test -f "$ltmain_in"; then
10859 test -f Makefile && make "$ltmain"
10865 ac_cpp='$CXXCPP $CPPFLAGS'
10866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10867 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10873 # Check whether --with-tags was given.
10874 if test "${with_tags+set}" = set; then
10875 withval=$with_tags; tagnames="$withval"
10879 if test -f "$ltmain" && test -n "$tagnames"; then
10880 if test ! -f "${ofile}"; then
10881 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10882 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10885 if test -z "$LTCC"; then
10886 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10887 if test -z "$LTCC"; then
10888 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10889 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10891 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10892 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10895 if test -z "$LTCFLAGS"; then
10896 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10899 # Extract list of available tagged configurations in $ofile.
10900 # Note that this assumes the entire list is on one line.
10901 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10903 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10904 for tagname in $tagnames; do
10906 # Check whether tagname contains only valid characters
10907 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10909 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10910 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10911 { (exit 1); exit 1; }; }
10915 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10917 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10918 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10919 { (exit 1); exit 1; }; }
10922 # Update the list of available tags.
10923 if test -n "$tagname"; then
10924 echo appending configuration tag \"$tagname\" to $ofile
10928 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10929 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10930 (test "X$CXX" != "Xg++"))) ; then
10932 ac_cpp='$CXXCPP $CPPFLAGS'
10933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10940 archive_cmds_need_lc_CXX=no
10941 allow_undefined_flag_CXX=
10942 always_export_symbols_CXX=no
10943 archive_expsym_cmds_CXX=
10944 export_dynamic_flag_spec_CXX=
10945 hardcode_direct_CXX=no
10946 hardcode_libdir_flag_spec_CXX=
10947 hardcode_libdir_flag_spec_ld_CXX=
10948 hardcode_libdir_separator_CXX=
10949 hardcode_minus_L_CXX=no
10950 hardcode_shlibpath_var_CXX=unsupported
10951 hardcode_automatic_CXX=no
10953 module_expsym_cmds_CXX=
10954 link_all_deplibs_CXX=unknown
10955 old_archive_cmds_CXX=$old_archive_cmds
10956 no_undefined_flag_CXX=
10957 whole_archive_flag_spec_CXX=
10958 enable_shared_with_static_runtimes_CXX=no
10960 # Dependencies to place before and after the object being linked:
10961 predep_objects_CXX=
10962 postdep_objects_CXX=
10965 compiler_lib_search_path_CXX=
10967 # Source file extension for C++ test sources.
10970 # Object file extension for compiled C++ test sources.
10974 # Code to be used in simple compile tests
10975 lt_simple_compile_test_code="int some_variable = 0;\n"
10977 # Code to be used in simple link tests
10978 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10980 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10982 # If no C compiler was specified, use CC.
10985 # If no C compiler flags were specified, use CFLAGS.
10986 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10988 # Allow CC to be a program name with arguments.
10992 # save warnings/boilerplate of simple test code
10993 ac_outfile=conftest.$ac_objext
10994 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10995 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10996 _lt_compiler_boilerplate=`cat conftest.err
`
10999 ac_outfile=conftest.$ac_objext
11000 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11001 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11002 _lt_linker_boilerplate=`cat conftest.err
`
11006 # Allow CC to be a program name with arguments.
11011 lt_save_with_gnu_ld=$with_gnu_ld
11012 lt_save_path_LD=$lt_cv_path_LD
11013 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11014 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11016 $as_unset lt_cv_prog_gnu_ld
11018 if test -n "${lt_cv_path_LDCXX+set}"; then
11019 lt_cv_path_LD=$lt_cv_path_LDCXX
11021 $as_unset lt_cv_path_LD
11023 test -z "${LDCXX+set}" || LD=$LDCXX
11027 for cc_temp in $compiler""; do
11029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11035 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11038 # We don't want -fno-exception wen compiling C++ code, so set the
11039 # no_builtin_flag separately
11040 if test "$GXX" = yes; then
11041 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11043 lt_prog_compiler_no_builtin_flag_CXX=
11046 if test "$GXX" = yes; then
11047 # Set up default GNU C++ configuration
11050 # Check whether --with-gnu-ld was given.
11051 if test "${with_gnu_ld+set}" = set; then
11052 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11058 if test "$GCC" = yes; then
11059 # Check if gcc -print-prog-name=ld gives a path.
11060 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11061 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11064 # gcc leaves a trailing carriage return which upsets mingw
11065 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11067 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11070 # Accept absolute paths.
11072 re_direlt='/[^/][^/]*/\.\./'
11073 # Canonicalize the pathname of ld
11074 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11075 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11076 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11078 test -z "$LD" && LD="$ac_prog"
11081 # If it fails, then pretend we aren't using GCC.
11085 # If it is relative, then search for the first ld in PATH.
11086 with_gnu_ld=unknown
11089 elif test "$with_gnu_ld" = yes; then
11090 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11091 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11093 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11094 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11096 if test "${lt_cv_path_LD+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 if test -z "$LD"; then
11100 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11101 for ac_dir in $PATH; do
11103 test -z "$ac_dir" && ac_dir=.
11104 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11105 lt_cv_path_LD="$ac_dir/$ac_prog"
11106 # Check to see if the program is GNU ld. I'd rather use --version,
11107 # but apparently some variants of GNU ld only accept -v.
11108 # Break only if it was the GNU/non-GNU ld that we prefer.
11109 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11110 *GNU* | *'with BFD'*)
11111 test "$with_gnu_ld" != no && break
11114 test "$with_gnu_ld" != yes && break
11121 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11125 LD="$lt_cv_path_LD"
11126 if test -n "$LD"; then
11127 { echo "$as_me:$LINENO: result: $LD" >&5
11128 echo "${ECHO_T}$LD" >&6; }
11130 { echo "$as_me:$LINENO: result: no" >&5
11131 echo "${ECHO_T}no" >&6; }
11133 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11134 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11135 { (exit 1); exit 1; }; }
11136 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11137 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11138 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11142 case `$LD -v 2>&1 </dev
/null
` in
11143 *GNU* | *'with BFD'*)
11144 lt_cv_prog_gnu_ld=yes
11147 lt_cv_prog_gnu_ld=no
11151 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11152 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11153 with_gnu_ld=$lt_cv_prog_gnu_ld
11157 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11158 # archiving commands below assume that GNU ld is being used.
11159 if test "$with_gnu_ld" = yes; then
11160 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11161 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'
11163 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11164 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11166 # If archive_cmds runs LD, not CC, wlarc should be empty
11167 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11168 # investigate it a little bit more. (MM)
11171 # ancient GNU ld didn't support --whole-archive et. al.
11172 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11173 grep 'no-whole-archive' > /dev/null; then
11174 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11176 whole_archive_flag_spec_CXX=
11182 # A generic and very simple default shared library creation
11183 # command for GNU C++ for the case where it uses the native
11184 # linker, instead of GNU ld. If possible, this setting should
11185 # overridden to take advantage of the native linker features on
11186 # the platform it is being used on.
11187 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11190 # Commands to make compiler produce verbose output that lists
11191 # what "hidden" libraries, object files and flags are used when
11192 # linking a shared library.
11193 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11201 # PORTME: fill in a description of your system's C++ link characteristics
11202 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11203 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11207 # FIXME: insert proper C++ library support
11211 if test "$host_cpu" = ia64; then
11212 # On IA64, the linker does run time linking by default, so we don't
11213 # have to do anything special.
11214 aix_use_runtimelinking=no
11215 exp_sym_flag='-Bexport'
11218 aix_use_runtimelinking=no
11220 # Test if we are trying to use run time linking or normal
11221 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11222 # need to do runtime linking.
11223 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11224 for ld_flag in $LDFLAGS; do
11227 aix_use_runtimelinking=yes
11235 exp_sym_flag='-bexport'
11236 no_entry_flag='-bnoentry'
11239 # When large executables or shared objects are built, AIX ld can
11240 # have problems creating the table of contents. If linking a library
11241 # or program results in "error TOC overflow" add -mminimal-toc to
11242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11245 archive_cmds_CXX=''
11246 hardcode_direct_CXX=yes
11247 hardcode_libdir_separator_CXX=':'
11248 link_all_deplibs_CXX=yes
11250 if test "$GXX" = yes; then
11251 case $host_os in aix4.[012]|aix4.[012].*)
11252 # We only want to do this on AIX 4.2 and lower, the check
11253 # below for broken collect2 doesn't work under 4.3+
11254 collect2name=`${CC} -print-prog-name=collect2
`
11255 if test -f "$collect2name" && \
11256 strings "$collect2name" | grep resolve_lib_name >/dev/null
11258 # We have reworked collect2
11259 hardcode_direct_CXX=yes
11261 # We have old collect2
11262 hardcode_direct_CXX=unsupported
11263 # It fails to find uninstalled libraries when the uninstalled
11264 # path is not listed in the libpath. Setting hardcode_minus_L
11265 # to unsupported forces relinking
11266 hardcode_minus_L_CXX=yes
11267 hardcode_libdir_flag_spec_CXX='-L$libdir'
11268 hardcode_libdir_separator_CXX=
11272 shared_flag='-shared'
11273 if test "$aix_use_runtimelinking" = yes; then
11274 shared_flag="$shared_flag "'${wl}-G'
11278 if test "$host_cpu" = ia64; then
11279 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11280 # chokes on -Wl,-G. The following line is correct:
11283 if test "$aix_use_runtimelinking" = yes; then
11284 shared_flag='${wl}-G'
11286 shared_flag='${wl}-bM:SRE'
11291 # It seems that -bexpall does not export symbols beginning with
11292 # underscore (_), so it is better to generate a list of symbols to export.
11293 always_export_symbols_CXX=yes
11294 if test "$aix_use_runtimelinking" = yes; then
11295 # Warning - without using the other runtime loading flags (-brtl),
11296 # -berok will link without error, but may produce a broken library.
11297 allow_undefined_flag_CXX='-berok'
11298 # Determine the default libpath from the value encoded in an empty executable.
11299 cat >conftest.$ac_ext <<_ACEOF
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11314 rm -f conftest.$ac_objext conftest$ac_exeext
11315 if { (ac_try="$ac_link"
11316 case "(($ac_try" in
11317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11318 *) ac_try_echo
=$ac_try;;
11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_link") 2>conftest.er1
11323 grep -v '^ *+' conftest.er1
>conftest.err
11325 cat conftest.err
>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11329 { (case "(($ac_try" in
11330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11331 *) ac_try_echo=$ac_try;;
11333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11334 (eval "$ac_try") 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; } &&
11338 { ac_try='test -s conftest$ac_exeext'
11339 { (case "(($ac_try" in
11340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11341 *) ac_try_echo
=$ac_try;;
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_try") 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; }; then
11349 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11351 # Check for a 64-bit object if we didn't find anything.
11352 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; }
11355 echo "$as_me: failed program was:" >&5
11356 sed 's/^/| /' conftest.
$ac_ext >&5
11361 rm -f core conftest.err conftest.
$ac_objext \
11362 conftest
$ac_exeext conftest.
$ac_ext
11363 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11365 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11367 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"
11369 if test "$host_cpu" = ia64
; then
11370 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11371 allow_undefined_flag_CXX
="-z nodefs"
11372 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"
11374 # Determine the default libpath from the value encoded in an empty executable.
11375 cat >conftest.
$ac_ext <<_ACEOF
11378 cat confdefs.h
>>conftest.
$ac_ext
11379 cat >>conftest.
$ac_ext <<_ACEOF
11380 /* end confdefs.h. */
11390 rm -f conftest.
$ac_objext conftest
$ac_exeext
11391 if { (ac_try
="$ac_link"
11392 case "(($ac_try" in
11393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_link") 2>conftest.er1
11399 grep -v '^ *+' conftest.er1 >conftest.err
11401 cat conftest.err >&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } &&
11404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11405 { (case "(($ac_try" in
11406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11407 *) ac_try_echo
=$ac_try;;
11409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11410 (eval "$ac_try") 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; } &&
11414 { ac_try
='test -s conftest$ac_exeext'
11415 { (case "(($ac_try" in
11416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_try") 2>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); }; }; then
11425 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11427 # Check for a 64-bit object if we didn't find anything.
11428 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; }
11431 echo "$as_me: failed program was:" >&5
11432 sed 's/^/| /' conftest.$ac_ext >&5
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11441 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11442 # Warning - without using the other run time loading flags,
11443 # -berok will link without error, but may produce a broken library.
11444 no_undefined_flag_CXX=' ${wl}-bernotok'
11445 allow_undefined_flag_CXX=' ${wl}-berok'
11446 # Exported symbols can be pulled into shared objects from archives
11447 whole_archive_flag_spec_CXX='$convenience'
11448 archive_cmds_need_lc_CXX=yes
11449 # This is similar to how AIX traditionally builds its shared libraries.
11450 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'
11456 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11457 allow_undefined_flag_CXX=unsupported
11458 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11459 # support --undefined. This deserves some investigation. FIXME
11460 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11467 case $cc_basename in
11469 # FIXME: insert proper C++ library support
11475 cygwin* | mingw* | pw32*)
11476 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11477 # as there is no search path for DLLs.
11478 hardcode_libdir_flag_spec_CXX='-L$libdir'
11479 allow_undefined_flag_CXX=unsupported
11480 always_export_symbols_CXX=no
11481 enable_shared_with_static_runtimes_CXX=yes
11483 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11484 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'
11485 # If the export-symbols file already is a .def file (1st line
11486 # is EXPORTS), use it as is; otherwise, prepend...
11487 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11488 cp $export_symbols $output_objdir/$soname.def;
11490 echo EXPORTS > $output_objdir/$soname.def;
11491 cat $export_symbols >> $output_objdir/$soname.def;
11493 $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'
11498 darwin* | rhapsody*)
11500 rhapsody* | darwin1.[012])
11501 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11504 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11505 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11507 case ${MACOSX_DEPLOYMENT_TARGET} in
11509 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11512 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11518 archive_cmds_need_lc_CXX=no
11519 hardcode_direct_CXX=no
11520 hardcode_automatic_CXX=yes
11521 hardcode_shlibpath_var_CXX=unsupported
11522 whole_archive_flag_spec_CXX=''
11523 link_all_deplibs_CXX=yes
11525 if test "$GXX" = yes ; then
11526 lt_int_apple_cc_single_mod=no
11527 output_verbose_link_cmd='echo'
11528 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11529 lt_int_apple_cc_single_mod=yes
11531 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11532 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11534 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'
11536 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11537 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11538 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11539 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}'
11541 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}'
11543 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}'
11545 case $cc_basename in
11547 output_verbose_link_cmd='echo'
11548 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'
11549 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11550 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11551 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}'
11552 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}'
11562 case $cc_basename in
11564 # FIXME: insert proper C++ library support
11568 # Green Hills C++ Compiler
11569 # FIXME: insert proper C++ library support
11573 # FIXME: insert proper C++ library support
11579 # C++ shared libraries reported to be fairly broken before switch to ELF
11583 archive_cmds_need_lc_CXX=no
11585 freebsd* | kfreebsd*-gnu | dragonfly*)
11586 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11593 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11594 hardcode_libdir_separator_CXX=:
11595 export_dynamic_flag_spec_CXX='${wl}-E'
11596 hardcode_direct_CXX=yes
11597 hardcode_minus_L_CXX=yes # Not in the search PATH,
11598 # but as the default
11599 # location of the library.
11601 case $cc_basename in
11603 # FIXME: insert proper C++ library support
11607 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'
11608 # Commands to make compiler produce verbose output that lists
11609 # what "hidden" libraries, object files and flags are used when
11610 # linking a shared library.
11612 # There doesn't appear to be a way to prevent this compiler from
11613 # explicitly linking system object files so we need to strip them
11614 # from the output so that they don't get included in the library
11616 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'
11619 if test "$GXX" = yes; then
11620 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'
11622 # FIXME: insert proper C++ library support
11629 if test $with_gnu_ld = no; then
11630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11631 hardcode_libdir_separator_CXX=:
11635 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11638 export_dynamic_flag_spec_CXX='${wl}-E'
11644 hardcode_direct_CXX=no
11645 hardcode_shlibpath_var_CXX=no
11648 hardcode_direct_CXX=yes
11649 hardcode_minus_L_CXX=yes # Not in the search PATH,
11650 # but as the default
11651 # location of the library.
11655 case $cc_basename in
11657 # FIXME: insert proper C++ library support
11663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11672 # Commands to make compiler produce verbose output that lists
11673 # what "hidden" libraries, object files and flags are used when
11674 # linking a shared library.
11676 # There doesn't appear to be a way to prevent this compiler from
11677 # explicitly linking system object files so we need to strip them
11678 # from the output so that they don't get included in the library
11680 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'
11683 if test "$GXX" = yes; then
11684 if test $with_gnu_ld = no; then
11687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11693 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'
11698 # FIXME: insert proper C++ library support
11705 hardcode_direct_CXX=no
11706 hardcode_shlibpath_var_CXX=no
11707 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11708 export_dynamic_flag_spec_CXX='${wl}-E'
11709 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11710 # Instead, shared libraries are loaded at an image base (0x10000000 by
11711 # default) and relocated if they conflict, which is a slow very memory
11712 # consuming and fragmenting process. To avoid this, we pick a random,
11713 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11714 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11715 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'
11716 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'
11719 case $cc_basename in
11722 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'
11724 # Archives containing C++ object files must be created using
11725 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11726 # necessary to make sure instantiated templates are included
11728 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11731 if test "$GXX" = yes; then
11732 if test "$with_gnu_ld" = no; then
11733 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'
11735 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'
11738 link_all_deplibs_CXX=yes
11741 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11742 hardcode_libdir_separator_CXX=:
11745 case $cc_basename in
11747 # Kuck and Associates, Inc. (KAI) C++ Compiler
11749 # KCC will only create a shared library if the output file
11750 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11751 # to its proper name (with version) after linking.
11752 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'
11753 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'
11754 # Commands to make compiler produce verbose output that lists
11755 # what "hidden" libraries, object files and flags are used when
11756 # linking a shared library.
11758 # There doesn't appear to be a way to prevent this compiler from
11759 # explicitly linking system object files so we need to strip them
11760 # from the output so that they don't get included in the library
11762 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'
11764 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11765 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11767 # Archives containing C++ object files must be created using
11768 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11769 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11774 # version 8.0 and above of icpc choke on multiply defined symbols
11775 # if we add $predep_objects and $postdep_objects, however 7.1 and
11776 # earlier do not add the objects themselves.
11777 case `$CC -V 2>&1` in
11779 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11780 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'
11782 *) # Version 8.0 or newer
11785 ia64
*) tmp_idyn
=' -i_dynamic';;
11787 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11788 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'
11791 archive_cmds_need_lc_CXX
=no
11792 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11793 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11794 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11797 # Portland Group C++ compiler
11798 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11799 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'
11801 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11802 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11803 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'
11807 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11808 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'
11810 runpath_var
=LD_RUN_PATH
11811 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11812 hardcode_libdir_separator_CXX
=:
11814 # Commands to make compiler produce verbose output that lists
11815 # what "hidden" libraries, object files and flags are used when
11816 # linking a shared library.
11818 # There doesn't appear to be a way to prevent this compiler from
11819 # explicitly linking system object files so we need to strip them
11820 # from the output so that they don't get included in the library
11822 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'
11827 # FIXME: insert proper C++ library support
11831 # FIXME: insert proper C++ library support
11835 case $cc_basename in
11837 # FIXME: insert proper C++ library support
11841 # FIXME: insert proper C++ library support
11847 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11848 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11850 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11851 hardcode_direct_CXX
=yes
11852 hardcode_shlibpath_var_CXX
=no
11854 # Workaround some broken pre-1.5 toolchains
11855 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11858 # C++ shared libraries are fairly broken
11862 hardcode_direct_CXX
=yes
11863 hardcode_shlibpath_var_CXX
=no
11864 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11865 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11866 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11867 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11868 export_dynamic_flag_spec_CXX
='${wl}-E'
11869 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11871 output_verbose_link_cmd
='echo'
11874 case $cc_basename in
11876 # Kuck and Associates, Inc. (KAI) C++ Compiler
11878 # KCC will only create a shared library if the output file
11879 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11880 # to its proper name (with version) after linking.
11881 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'
11883 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11884 hardcode_libdir_separator_CXX
=:
11886 # Archives containing C++ object files must be created using
11887 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11888 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11892 # Rational C++ 2.4.1
11893 # FIXME: insert proper C++ library support
11897 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11898 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'
11900 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11901 hardcode_libdir_separator_CXX
=:
11903 # Commands to make compiler produce verbose output that lists
11904 # what "hidden" libraries, object files and flags are used when
11905 # linking a shared library.
11907 # There doesn't appear to be a way to prevent this compiler from
11908 # explicitly linking system object files so we need to strip them
11909 # from the output so that they don't get included in the library
11911 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'
11914 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11915 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11916 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'
11918 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11919 hardcode_libdir_separator_CXX
=:
11921 # Commands to make compiler produce verbose output that lists
11922 # what "hidden" libraries, object files and flags are used when
11923 # linking a shared library.
11924 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11927 # FIXME: insert proper C++ library support
11934 case $cc_basename in
11936 # Kuck and Associates, Inc. (KAI) C++ Compiler
11938 # KCC will only create a shared library if the output file
11939 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11940 # to its proper name (with version) after linking.
11941 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'
11943 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11944 hardcode_libdir_separator_CXX
=:
11946 # Archives containing C++ object files must be created using
11947 # the KAI C++ compiler.
11948 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11951 # Rational C++ 2.4.1
11952 # FIXME: insert proper C++ library support
11956 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11957 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'
11958 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11959 echo "-hidden">> $lib.exp~
11960 $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~
11963 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11964 hardcode_libdir_separator_CXX
=:
11966 # Commands to make compiler produce verbose output that lists
11967 # what "hidden" libraries, object files and flags are used when
11968 # linking a shared library.
11970 # There doesn't appear to be a way to prevent this compiler from
11971 # explicitly linking system object files so we need to strip them
11972 # from the output so that they don't get included in the library
11974 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'
11977 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11978 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11979 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'
11981 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11982 hardcode_libdir_separator_CXX
=:
11984 # Commands to make compiler produce verbose output that lists
11985 # what "hidden" libraries, object files and flags are used when
11986 # linking a shared library.
11987 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11990 # FIXME: insert proper C++ library support
11997 # FIXME: insert proper C++ library support
12001 case $cc_basename in
12004 # FIXME: insert proper C++ library support
12009 # FIXME: insert proper C++ library support
12013 # FIXME: insert proper C++ library support
12019 case $cc_basename in
12021 # Sun C++ 4.2, 5.x and Centerline C++
12022 archive_cmds_need_lc_CXX
=yes
12023 no_undefined_flag_CXX
=' -zdefs'
12024 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12025 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12026 $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'
12028 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12029 hardcode_shlibpath_var_CXX
=no
12031 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12033 # The C++ compiler is used as linker so we must use $wl
12034 # flag to pass the commands to the underlying system
12035 # linker. We must also pass each convience library through
12036 # to the system linker between allextract/defaultextract.
12037 # The C++ compiler will combine linker options so we
12038 # cannot just pass the convience library names through
12040 # Supported since Solaris 2.6 (maybe 2.5.1?)
12041 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'
12044 link_all_deplibs_CXX
=yes
12046 output_verbose_link_cmd
='echo'
12048 # Archives containing C++ object files must be created using
12049 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12050 # necessary to make sure instantiated templates are included
12052 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12055 # Green Hills C++ Compiler
12056 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12058 # The C++ compiler must be used to create the archive.
12059 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12062 # GNU C++ compiler with Solaris linker
12063 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12064 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12065 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12066 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12067 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12068 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12070 # Commands to make compiler produce verbose output that lists
12071 # what "hidden" libraries, object files and flags are used when
12072 # linking a shared library.
12073 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12075 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12077 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12078 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12079 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12081 # Commands to make compiler produce verbose output that lists
12082 # what "hidden" libraries, object files and flags are used when
12083 # linking a shared library.
12084 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12087 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12092 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12093 no_undefined_flag_CXX
='${wl}-z,text'
12094 archive_cmds_need_lc_CXX
=no
12095 hardcode_shlibpath_var_CXX
=no
12096 runpath_var
='LD_RUN_PATH'
12098 case $cc_basename in
12100 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12101 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12105 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12109 sysv5
* | sco3.2v5
* | sco5v6
*)
12110 # Note: We can NOT use -z defs as we might desire, because we do not
12111 # link with -lc, and that would cause any symbols used from libc to
12112 # always be unresolved, which means just about no library would
12113 # ever link correctly. If we're not using GNU ld we use -z text
12114 # though, which does catch some bad symbols but isn't as heavy-handed
12116 # For security reasons, it is highly recommended that you always
12117 # use absolute paths for naming shared libraries, and exclude the
12118 # DT_RUNPATH tag from executables and libraries. But doing so
12119 # requires that you compile everything twice, which is a pain.
12120 # So that behaviour is only enabled if SCOABSPATH is set to a
12121 # non-empty value in the environment. Most likely only useful for
12122 # creating official distributions of packages.
12123 # This is a hack until libtool officially supports absolute path
12124 # names for shared libraries.
12125 no_undefined_flag_CXX
='${wl}-z,text'
12126 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12127 archive_cmds_need_lc_CXX
=no
12128 hardcode_shlibpath_var_CXX
=no
12129 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12130 hardcode_libdir_separator_CXX
=':'
12131 link_all_deplibs_CXX
=yes
12132 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12133 runpath_var
='LD_RUN_PATH'
12135 case $cc_basename in
12137 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12138 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12141 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12142 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12147 case $cc_basename in
12149 # NonStop-UX NCC 3.20
12150 # FIXME: insert proper C++ library support
12154 # FIXME: insert proper C++ library support
12160 # FIXME: insert proper C++ library support
12164 # FIXME: insert proper C++ library support
12168 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12169 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12170 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12176 cat > conftest.
$ac_ext <<EOF
12180 Foo (void) { a = 0; }
12186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12187 (eval $ac_compile) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; then
12191 # Parse the compiler output and extract the necessary
12192 # objects, libraries and library flags.
12194 # Sentinel used to keep track of whether or not we are before
12195 # the conftest object file.
12196 pre_test_object_deps_done
=no
12198 # The `*' in the case matches for architectures that use `case' in
12199 # $output_verbose_cmd can trigger glob expansion during the loop
12200 # eval without this substitution.
12201 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12203 for p
in `eval $output_verbose_link_cmd`; do
12207 # Some compilers place space between "-{L,R}" and the path.
12208 # Remove the space.
12209 if test $p = "-L" \
12210 ||
test $p = "-R"; then
12217 if test "$pre_test_object_deps_done" = no
; then
12220 # Internal compiler library paths should come after those
12221 # provided the user. The postdeps already come after the
12222 # user supplied libs so there is no need to process them.
12223 if test -z "$compiler_lib_search_path_CXX"; then
12224 compiler_lib_search_path_CXX
="${prev}${p}"
12226 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12229 # The "-l" case would never come before the object being
12230 # linked, so don't bother handling this case.
12233 if test -z "$postdeps_CXX"; then
12234 postdeps_CXX
="${prev}${p}"
12236 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12242 # This assumes that the test object file only shows up
12243 # once in the compiler output.
12244 if test "$p" = "conftest.$objext"; then
12245 pre_test_object_deps_done
=yes
12249 if test "$pre_test_object_deps_done" = no
; then
12250 if test -z "$predep_objects_CXX"; then
12251 predep_objects_CXX
="$p"
12253 predep_objects_CXX
="$predep_objects_CXX $p"
12256 if test -z "$postdep_objects_CXX"; then
12257 postdep_objects_CXX
="$p"
12259 postdep_objects_CXX
="$postdep_objects_CXX $p"
12264 *) ;; # Ignore the rest.
12272 echo "libtool.m4: error: problem compiling CXX test program"
12275 $rm -f confest.
$objext
12277 # PORTME: override above test on systems where it is broken
12280 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12281 # hack all around it, let's just trust "g++" to DTRT.
12282 predep_objects_CXX
=
12283 postdep_objects_CXX
=
12288 case $cc_basename in
12290 # Adding this requires a known-good setup of shared libraries for
12291 # Sun compiler versions before 5.6, else PIC objects from an old
12292 # archive will be linked into the output, leading to subtle bugs.
12293 postdeps_CXX
='-lCstd -lCrun'
12300 case " $postdeps_CXX " in
12301 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12304 lt_prog_compiler_wl_CXX
=
12305 lt_prog_compiler_pic_CXX
=
12306 lt_prog_compiler_static_CXX
=
12308 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12309 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12311 # C++ specific cases for pic, static, wl, etc.
12312 if test "$GXX" = yes; then
12313 lt_prog_compiler_wl_CXX
='-Wl,'
12314 lt_prog_compiler_static_CXX
='-static'
12318 # All AIX code is PIC.
12319 if test "$host_cpu" = ia64
; then
12320 # AIX 5 now supports IA64 processor
12321 lt_prog_compiler_static_CXX
='-Bstatic'
12325 # FIXME: we need at least 68020 code to build shared libraries, but
12326 # adding the `-m68020' flag to GCC prevents building anything better,
12328 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12330 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12331 # PIC is the default for these OSes.
12333 mingw
* | os2
* | pw32
*)
12334 # This hack is so that the source file can tell whether it is being
12335 # built for inclusion in a dll (and should export symbols for example).
12336 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12338 darwin
* | rhapsody
*)
12339 # PIC is the default on this platform
12340 # Common symbols not allowed in MH_DYLIB files
12341 lt_prog_compiler_pic_CXX
='-fno-common'
12344 # DJGPP does not support shared libraries at all
12345 lt_prog_compiler_pic_CXX
=
12348 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12349 # Instead, we relocate shared libraries at runtime.
12352 if test -d /usr
/nec
; then
12353 lt_prog_compiler_pic_CXX
=-Kconform_pic
12357 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12358 # not for PA HP-UX.
12363 lt_prog_compiler_pic_CXX
='-fPIC'
12368 lt_prog_compiler_pic_CXX
='-fPIC'
12374 # All AIX code is PIC.
12375 if test "$host_cpu" = ia64
; then
12376 # AIX 5 now supports IA64 processor
12377 lt_prog_compiler_static_CXX
='-Bstatic'
12379 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12383 case $cc_basename in
12385 # Green Hills C++ Compiler
12386 # _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"
12391 # PIC is the default on this platform
12392 # Common symbols not allowed in MH_DYLIB files
12393 case $cc_basename in
12395 lt_prog_compiler_pic_CXX
='-qnocommon'
12396 lt_prog_compiler_wl_CXX
='-Wl,'
12401 case $cc_basename in
12403 lt_prog_compiler_pic_CXX
='-KPIC'
12406 # Green Hills C++ Compiler
12407 lt_prog_compiler_pic_CXX
='-pic'
12413 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12414 # FreeBSD uses GNU C++
12416 hpux9
* | hpux10
* | hpux11
*)
12417 case $cc_basename in
12419 lt_prog_compiler_wl_CXX
='-Wl,'
12420 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12421 if test "$host_cpu" != ia64
; then
12422 lt_prog_compiler_pic_CXX
='+Z'
12426 lt_prog_compiler_wl_CXX
='-Wl,'
12427 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12433 lt_prog_compiler_pic_CXX
='+Z'
12442 # This is c89, which is MS Visual C++ (no shared libs)
12443 # Anyone wants to do a port?
12445 irix5
* | irix6
* | nonstopux
*)
12446 case $cc_basename in
12448 lt_prog_compiler_wl_CXX
='-Wl,'
12449 lt_prog_compiler_static_CXX
='-non_shared'
12450 # CC pic flag -KPIC is the default.
12457 case $cc_basename in
12460 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12461 lt_prog_compiler_pic_CXX
='-fPIC'
12465 lt_prog_compiler_wl_CXX
='-Wl,'
12466 lt_prog_compiler_pic_CXX
='-KPIC'
12467 lt_prog_compiler_static_CXX
='-static'
12470 # Portland Group C++ compiler.
12471 lt_prog_compiler_wl_CXX
='-Wl,'
12472 lt_prog_compiler_pic_CXX
='-fpic'
12473 lt_prog_compiler_static_CXX
='-Bstatic'
12477 # Make sure the PIC flag is empty. It appears that all Alpha
12478 # Linux and Compaq Tru64 Unix objects are PIC.
12479 lt_prog_compiler_pic_CXX
=
12480 lt_prog_compiler_static_CXX
='-non_shared'
12491 case $cc_basename in
12493 lt_prog_compiler_pic_CXX
='-W c,exportall'
12501 osf3
* | osf4
* | osf5
*)
12502 case $cc_basename in
12504 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12507 # Rational C++ 2.4.1
12508 lt_prog_compiler_pic_CXX
='-pic'
12511 # Digital/Compaq C++
12512 lt_prog_compiler_wl_CXX
='-Wl,'
12513 # Make sure the PIC flag is empty. It appears that all Alpha
12514 # Linux and Compaq Tru64 Unix objects are PIC.
12515 lt_prog_compiler_pic_CXX
=
12516 lt_prog_compiler_static_CXX
='-non_shared'
12525 case $cc_basename in
12527 # Sun C++ 4.2, 5.x and Centerline C++
12528 lt_prog_compiler_pic_CXX
='-KPIC'
12529 lt_prog_compiler_static_CXX
='-Bstatic'
12530 lt_prog_compiler_wl_CXX
='-Qoption ld '
12533 # Green Hills C++ Compiler
12534 lt_prog_compiler_pic_CXX
='-PIC'
12541 case $cc_basename in
12544 lt_prog_compiler_pic_CXX
='-pic'
12545 lt_prog_compiler_static_CXX
='-Bstatic'
12549 lt_prog_compiler_pic_CXX
='-pic'
12556 case $cc_basename in
12558 # NonStop-UX NCC 3.20
12559 lt_prog_compiler_pic_CXX
='-KPIC'
12565 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12566 case $cc_basename in
12568 lt_prog_compiler_wl_CXX
='-Wl,'
12569 lt_prog_compiler_pic_CXX
='-KPIC'
12570 lt_prog_compiler_static_CXX
='-Bstatic'
12577 lt_prog_compiler_can_build_shared_CXX
=no
12582 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12583 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12586 # Check to make sure the PIC flag actually works.
12588 if test -n "$lt_prog_compiler_pic_CXX"; then
12590 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12591 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12592 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 lt_prog_compiler_pic_works_CXX
=no
12596 ac_outfile
=conftest.
$ac_objext
12597 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12598 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12599 # Insert the option either (1) after the last *FLAGS variable, or
12600 # (2) before a word containing "conftest.", or (3) at the end.
12601 # Note that $ac_compile itself does not contain backslashes and begins
12602 # with a dollar sign (not a hyphen), so the echo should work correctly.
12603 # The option is referenced via a variable to avoid confusing sed.
12604 lt_compile
=`echo "$ac_compile" | $SED \
12605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12607 -e 's:$: $lt_compiler_flag:'`
12608 (eval echo "\"\$as_me:12608: $lt_compile\"" >&5)
12609 (eval "$lt_compile" 2>conftest.err
)
12611 cat conftest.err
>&5
12612 echo "$as_me:12612: \$? = $ac_status" >&5
12613 if (exit $ac_status) && test -s "$ac_outfile"; then
12614 # The compiler can only warn and ignore the option if not recognized
12615 # So say no if there are warnings other than the usual output.
12616 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12617 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12618 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12619 lt_prog_compiler_pic_works_CXX
=yes
12625 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12626 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12628 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12629 case $lt_prog_compiler_pic_CXX in
12631 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12634 lt_prog_compiler_pic_CXX
=
12635 lt_prog_compiler_can_build_shared_CXX
=no
12640 # For platforms which do not support PIC, -DPIC is meaningless:
12642 lt_prog_compiler_pic_CXX
=
12645 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12650 # Check to make sure the static flag actually works.
12652 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12653 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12654 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12655 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 lt_prog_compiler_static_works_CXX
=no
12659 save_LDFLAGS
="$LDFLAGS"
12660 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12661 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12662 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12663 # The linker can only warn and ignore the option if not recognized
12664 # So say no if there are warnings
12665 if test -s conftest.err
; then
12666 # Append any errors to the config.log.
12667 cat conftest.err
1>&5
12668 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12669 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12670 if diff conftest.exp conftest.er2
>/dev
/null
; then
12671 lt_prog_compiler_static_works_CXX
=yes
12674 lt_prog_compiler_static_works_CXX
=yes
12678 LDFLAGS
="$save_LDFLAGS"
12681 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12682 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12684 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12687 lt_prog_compiler_static_CXX
=
12691 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12692 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12693 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 lt_cv_prog_compiler_c_o_CXX
=no
12697 $rm -r conftest
2>/dev
/null
12701 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12703 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12704 # Insert the option either (1) after the last *FLAGS variable, or
12705 # (2) before a word containing "conftest.", or (3) at the end.
12706 # Note that $ac_compile itself does not contain backslashes and begins
12707 # with a dollar sign (not a hyphen), so the echo should work correctly.
12708 lt_compile
=`echo "$ac_compile" | $SED \
12709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12711 -e 's:$: $lt_compiler_flag:'`
12712 (eval echo "\"\$as_me:12712: $lt_compile\"" >&5)
12713 (eval "$lt_compile" 2>out
/conftest.err
)
12715 cat out
/conftest.err
>&5
12716 echo "$as_me:12716: \$? = $ac_status" >&5
12717 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12719 # The compiler can only warn and ignore the option if not recognized
12720 # So say no if there are warnings
12721 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12722 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12723 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12724 lt_cv_prog_compiler_c_o_CXX
=yes
12729 # SGI C++ compiler will create directory out/ii_files/ for
12730 # template instantiation
12731 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12732 $rm out
/* && rmdir out
12738 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12739 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12742 hard_links
="nottested"
12743 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12744 # do not overwrite the value of need_locks provided by the user
12745 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12746 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12749 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12751 ln conftest.a conftest.b
2>&5 || hard_links
=no
12752 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12753 { echo "$as_me:$LINENO: result: $hard_links" >&5
12754 echo "${ECHO_T}$hard_links" >&6; }
12755 if test "$hard_links" = no
; then
12756 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12757 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12764 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12765 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12767 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12770 # If we're using GNU nm, then we don't want the "-C" option.
12771 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12772 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12773 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'
12775 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'
12779 export_symbols_cmds_CXX
="$ltdll_cmds"
12782 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'
12785 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12789 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12790 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12791 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12794 # Do we need to explicitly link libc?
12796 case "x$archive_cmds_need_lc_CXX" in
12798 # Assume -lc should be added
12799 archive_cmds_need_lc_CXX
=yes
12801 if test "$enable_shared" = yes && test "$GCC" = yes; then
12802 case $archive_cmds_CXX in
12804 # FIXME: we may have to deal with multi-command sequences.
12807 # Test whether the compiler implicitly links with -lc since on some
12808 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12809 # to ld, don't add -lc before -lgcc.
12810 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12811 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12813 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816 (eval $ac_compile) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } 2>conftest.err
; then
12822 libobjs
=conftest.
$ac_objext
12824 wl
=$lt_prog_compiler_wl_CXX
12825 pic_flag
=$lt_prog_compiler_pic_CXX
12831 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12832 allow_undefined_flag_CXX
=
12833 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12834 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }
12839 archive_cmds_need_lc_CXX
=no
12841 archive_cmds_need_lc_CXX
=yes
12843 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12845 cat conftest.err
1>&5
12848 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12849 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12856 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12857 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12858 library_names_spec
=
12859 libname_spec
='lib$name'
12863 postuninstall_cmds
=
12867 shlibpath_overrides_runpath
=unknown
12869 dynamic_linker
="$host_os ld.so"
12870 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12871 if test "$GCC" = yes; then
12872 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12873 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12874 # if the path contains ";" then we assume it to be the separator
12875 # otherwise default to the standard path separator (i.e. ":") - it is
12876 # assumed that no part of a normal pathname contains ";" but that should
12877 # okay in the real world where ";" in dirpaths is itself problematic.
12878 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12880 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12883 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12885 need_lib_prefix
=unknown
12886 hardcode_into_libs
=no
12888 # when you set need_version to no, make sure it does not cause -set_version
12889 # flags to be left without arguments
12890 need_version
=unknown
12895 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12896 shlibpath_var
=LIBPATH
12898 # AIX 3 has no versioning support, so we append a major version to the name.
12899 soname_spec
='${libname}${release}${shared_ext}$major'
12906 hardcode_into_libs
=yes
12907 if test "$host_cpu" = ia64
; then
12908 # AIX 5 supports IA64
12909 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12910 shlibpath_var
=LD_LIBRARY_PATH
12912 # With GCC up to 2.95.x, collect2 would create an import file
12913 # for dependence libraries. The import file would start with
12914 # the line `#! .'. This would cause the generated library to
12915 # depend on `.', always an invalid library. This was fixed in
12916 # development snapshots of GCC prior to 3.0.
12918 aix4 | aix4.
[01] | aix4.
[01].
*)
12919 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12921 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12924 can_build_shared
=no
12928 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12929 # soname into executable. Probably we can add versioning support to
12930 # collect2, so additional links can be useful in future.
12931 if test "$aix_use_runtimelinking" = yes; then
12932 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12933 # instead of lib<name>.a to let people know that these are not
12934 # typical AIX shared libraries.
12935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12937 # We preserve .a as extension for shared libraries through AIX4.2
12938 # and later when we are not doing run time linking.
12939 library_names_spec
='${libname}${release}.a $libname.a'
12940 soname_spec
='${libname}${release}${shared_ext}$major'
12942 shlibpath_var
=LIBPATH
12947 library_names_spec
='$libname.ixlibrary $libname.a'
12948 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12949 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'
12953 library_names_spec
='${libname}${shared_ext}'
12954 dynamic_linker
="$host_os ld.so"
12955 shlibpath_var
=LIBRARY_PATH
12961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12962 soname_spec
='${libname}${release}${shared_ext}$major'
12963 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12964 shlibpath_var
=LD_LIBRARY_PATH
12965 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12966 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12967 # the default ld.so.conf also contains /usr/contrib/lib and
12968 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12969 # libtool to hard-code these into programs
12972 cygwin
* | mingw
* | pw32
*)
12973 version_type
=windows
12978 case $GCC,$host_os in
12979 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12980 library_names_spec
='$libname.dll.a'
12981 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12982 postinstall_cmds
='base_file=`basename \${file}`~
12983 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12984 dldir=$destdir/`dirname \$dlpath`~
12985 test -d \$dldir || mkdir -p \$dldir~
12986 $install_prog $dir/$dlname \$dldir/$dlname~
12987 chmod a+x \$dldir/$dlname'
12988 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12989 dlpath=$dir/\$dldll~
12991 shlibpath_overrides_runpath
=yes
12995 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12996 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12997 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13000 # MinGW DLLs use traditional 'lib' prefix
13001 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13002 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13003 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13004 # It is most probably a Windows format PATH printed by
13005 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13006 # path with ; separators, and with drive letters. We can handle the
13007 # drive letters (cygwin fileutils understands them), so leave them,
13008 # especially as we might pass files found there to a mingw objdump,
13009 # which wouldn't understand a cygwinified path. Ahh.
13010 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13012 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13016 # pw32 DLLs use 'pw' prefix rather than 'lib'
13017 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13023 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13026 dynamic_linker
='Win32 ld.exe'
13027 # FIXME: first we should search . and the directory the executable is in
13031 darwin
* | rhapsody
*)
13032 dynamic_linker
="$host_os dyld"
13033 version_type
=darwin
13036 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13037 soname_spec
='${libname}${release}${major}$shared_ext'
13038 shlibpath_overrides_runpath
=yes
13039 shlibpath_var
=DYLD_LIBRARY_PATH
13040 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13041 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13042 if test "$GCC" = yes; then
13043 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"`
13045 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13047 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13055 soname_spec
='${libname}${release}${shared_ext}$major'
13056 shlibpath_var
=LD_LIBRARY_PATH
13067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13068 soname_spec
='${libname}${release}${shared_ext}$major'
13069 shlibpath_var
=LD_LIBRARY_PATH
13070 shlibpath_overrides_runpath
=no
13071 hardcode_into_libs
=yes
13072 dynamic_linker
='GNU ld.so'
13075 freebsd
* | dragonfly
*)
13076 # DragonFly does not have aout. When/if they implement a new
13077 # versioning mechanism, adjust this.
13078 if test -x /usr
/bin
/objformat
; then
13079 objformat
=`/usr/bin/objformat`
13082 freebsd
[123]*) objformat
=aout
;;
13083 *) objformat
=elf
;;
13086 version_type
=freebsd-
$objformat
13087 case $version_type in
13089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13094 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13098 shlibpath_var
=LD_LIBRARY_PATH
13101 shlibpath_overrides_runpath
=yes
13103 freebsd3.
[01]* | freebsdelf3.
[01]*)
13104 shlibpath_overrides_runpath
=yes
13105 hardcode_into_libs
=yes
13107 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13108 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13109 shlibpath_overrides_runpath
=no
13110 hardcode_into_libs
=yes
13112 freebsd
*) # from 4.6 on
13113 shlibpath_overrides_runpath
=yes
13114 hardcode_into_libs
=yes
13123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13124 soname_spec
='${libname}${release}${shared_ext}$major'
13125 shlibpath_var
=LD_LIBRARY_PATH
13126 hardcode_into_libs
=yes
13129 hpux9
* | hpux10
* | hpux11
*)
13130 # Give a soname corresponding to the major version so that dld.sl refuses to
13131 # link against other versions.
13138 hardcode_into_libs
=yes
13139 dynamic_linker
="$host_os dld.so"
13140 shlibpath_var
=LD_LIBRARY_PATH
13141 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13143 soname_spec
='${libname}${release}${shared_ext}$major'
13144 if test "X$HPUX_IA64_MODE" = X32
; then
13145 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13147 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13149 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13153 hardcode_into_libs
=yes
13154 dynamic_linker
="$host_os dld.sl"
13155 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13156 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13158 soname_spec
='${libname}${release}${shared_ext}$major'
13159 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13160 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13164 dynamic_linker
="$host_os dld.sl"
13165 shlibpath_var
=SHLIB_PATH
13166 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13168 soname_spec
='${libname}${release}${shared_ext}$major'
13171 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13172 postinstall_cmds
='chmod 555 $lib'
13179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13180 soname_spec
='${libname}${release}${shared_ext}$major'
13181 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13182 shlibpath_var
=LD_LIBRARY_PATH
13183 shlibpath_overrides_runpath
=no
13184 hardcode_into_libs
=yes
13187 irix5
* | irix6
* | nonstopux
*)
13189 nonstopux
*) version_type
=nonstopux
;;
13191 if test "$lt_cv_prog_gnu_ld" = yes; then
13199 soname_spec
='${libname}${release}${shared_ext}$major'
13200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13202 irix5
* | nonstopux
*)
13203 libsuff
= shlibsuff
=
13206 case $LD in # libtool.m4 will add one of these switches to LD
13207 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13208 libsuff
= shlibsuff
= libmagic
=32-bit;;
13209 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13210 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13211 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13212 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13213 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13217 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13218 shlibpath_overrides_runpath
=no
13219 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13220 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13221 hardcode_into_libs
=yes
13224 # No shared lib support for Linux oldld, aout, or coff.
13225 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13229 # This must be Linux ELF.
13234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13235 soname_spec
='${libname}${release}${shared_ext}$major'
13236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13237 shlibpath_var
=LD_LIBRARY_PATH
13238 shlibpath_overrides_runpath
=no
13239 # This implies no fast_install, which is unacceptable.
13240 # Some rework will be needed to allow for fast_install
13241 # before this can be enabled.
13242 hardcode_into_libs
=yes
13244 # Append ld.so.conf contents to the search path
13245 if test -f /etc
/ld.so.conf
; then
13246 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' ' '`
13247 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13250 # We used to test for /lib/ld.so.1 and disable shared libraries on
13251 # powerpc, because MkLinux only supported shared libraries with the
13252 # GNU dynamic linker. Since this was broken with cross compilers,
13253 # most powerpc-linux boxes support dynamic linking these days and
13254 # people can always --disable-shared, the test was removed, and we
13255 # assume the GNU/Linux dynamic linker is in use.
13256 dynamic_linker
='GNU/Linux ld.so'
13263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13264 soname_spec
='${libname}${release}${shared_ext}$major'
13265 shlibpath_var
=LD_LIBRARY_PATH
13266 shlibpath_overrides_runpath
=no
13267 hardcode_into_libs
=yes
13268 dynamic_linker
='GNU ld.so'
13275 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13278 dynamic_linker
='NetBSD (a.out) ld.so'
13280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13281 soname_spec
='${libname}${release}${shared_ext}$major'
13282 dynamic_linker
='NetBSD ld.elf_so'
13284 shlibpath_var
=LD_LIBRARY_PATH
13285 shlibpath_overrides_runpath
=yes
13286 hardcode_into_libs
=yes
13291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13292 shlibpath_var
=LD_LIBRARY_PATH
13293 shlibpath_overrides_runpath
=yes
13300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13301 soname_spec
='${libname}${release}${shared_ext}$major'
13302 shlibpath_var
=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath
=yes
13308 sys_lib_dlsearch_path_spec
="/usr/lib"
13310 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13312 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13313 *) need_version
=no
;;
13315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13316 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13317 shlibpath_var
=LD_LIBRARY_PATH
13318 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13320 openbsd2.
[89] | openbsd2.
[89].
*)
13321 shlibpath_overrides_runpath
=no
13324 shlibpath_overrides_runpath
=yes
13328 shlibpath_overrides_runpath
=yes
13333 libname_spec
='$name'
13336 library_names_spec
='$libname${shared_ext} $libname.a'
13337 dynamic_linker
='OS/2 ld.exe'
13338 shlibpath_var
=LIBPATH
13341 osf3
* | osf4
* | osf5
*)
13345 soname_spec
='${libname}${release}${shared_ext}$major'
13346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13347 shlibpath_var
=LD_LIBRARY_PATH
13348 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13349 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13357 soname_spec
='${libname}${release}${shared_ext}$major'
13358 shlibpath_var
=LD_LIBRARY_PATH
13359 shlibpath_overrides_runpath
=yes
13360 hardcode_into_libs
=yes
13361 # ldd complains unless libraries are executable
13362 postinstall_cmds
='chmod +x $lib'
13367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13368 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13369 shlibpath_var
=LD_LIBRARY_PATH
13370 shlibpath_overrides_runpath
=yes
13371 if test "$with_gnu_ld" = yes; then
13379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13380 soname_spec
='${libname}${release}${shared_ext}$major'
13381 shlibpath_var
=LD_LIBRARY_PATH
13382 case $host_vendor in
13384 shlibpath_overrides_runpath
=no
13386 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13387 runpath_var
=LD_RUN_PATH
13395 shlibpath_overrides_runpath
=no
13396 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13402 if test -d /usr
/nec
;then
13404 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13405 soname_spec
='$libname${shared_ext}.$major'
13406 shlibpath_var
=LD_LIBRARY_PATH
13410 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13411 version_type
=freebsd-elf
13414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13415 soname_spec
='${libname}${release}${shared_ext}$major'
13416 shlibpath_var
=LD_LIBRARY_PATH
13417 hardcode_into_libs
=yes
13418 if test "$with_gnu_ld" = yes; then
13419 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13420 shlibpath_overrides_runpath
=no
13422 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13423 shlibpath_overrides_runpath
=yes
13426 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13430 sys_lib_dlsearch_path_spec
='/usr/lib'
13435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13436 soname_spec
='${libname}${release}${shared_ext}$major'
13437 shlibpath_var
=LD_LIBRARY_PATH
13444 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13445 echo "${ECHO_T}$dynamic_linker" >&6; }
13446 test "$dynamic_linker" = no
&& can_build_shared
=no
13448 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13449 if test "$GCC" = yes; then
13450 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13453 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13454 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13455 hardcode_action_CXX
=
13456 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13457 test -n "$runpath_var_CXX" || \
13458 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13460 # We can hardcode non-existant directories.
13461 if test "$hardcode_direct_CXX" != no
&&
13462 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13463 # have to relink, otherwise we might link with an installed library
13464 # when we should be linking with a yet-to-be-installed one
13465 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13466 test "$hardcode_minus_L_CXX" != no
; then
13467 # Linking always hardcodes the temporary library directory.
13468 hardcode_action_CXX
=relink
13470 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13471 hardcode_action_CXX
=immediate
13474 # We cannot hardcode anything, or else we can only hardcode existing
13476 hardcode_action_CXX
=unsupported
13478 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13479 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13481 if test "$hardcode_action_CXX" = relink
; then
13482 # Fast installation is not supported
13483 enable_fast_install
=no
13484 elif test "$shlibpath_overrides_runpath" = yes ||
13485 test "$enable_shared" = no
; then
13486 # Fast installation is not necessary
13487 enable_fast_install
=needless
13491 # The else clause should only fire when bootstrapping the
13492 # libtool distribution, otherwise you forgot to ship ltmain.sh
13493 # with your package, and you will get complaints that there are
13494 # no rules to generate ltmain.sh.
13495 if test -f "$ltmain"; then
13496 # See if we are running on zsh, and set the options which allow our commands through
13497 # without removal of \ escapes.
13498 if test -n "${ZSH_VERSION+set}" ; then
13499 setopt NO_GLOB_SUBST
13501 # Now quote all the things that may contain metacharacters while being
13502 # careful not to overquote the AC_SUBSTed values. We take copies of the
13503 # variables and quote the copies for generation of the libtool script.
13504 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13506 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13507 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13508 deplibs_check_method reload_flag reload_cmds need_locks \
13509 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13510 lt_cv_sys_global_symbol_to_c_name_address \
13511 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13512 old_postinstall_cmds old_postuninstall_cmds \
13516 lt_prog_compiler_wl_CXX \
13517 lt_prog_compiler_pic_CXX \
13518 lt_prog_compiler_static_CXX \
13519 lt_prog_compiler_no_builtin_flag_CXX \
13520 export_dynamic_flag_spec_CXX \
13521 thread_safe_flag_spec_CXX \
13522 whole_archive_flag_spec_CXX \
13523 enable_shared_with_static_runtimes_CXX \
13524 old_archive_cmds_CXX \
13525 old_archive_from_new_cmds_CXX \
13526 predep_objects_CXX \
13527 postdep_objects_CXX \
13530 compiler_lib_search_path_CXX \
13532 archive_expsym_cmds_CXX \
13533 postinstall_cmds_CXX \
13534 postuninstall_cmds_CXX \
13535 old_archive_from_expsyms_cmds_CXX \
13536 allow_undefined_flag_CXX \
13537 no_undefined_flag_CXX \
13538 export_symbols_cmds_CXX \
13539 hardcode_libdir_flag_spec_CXX \
13540 hardcode_libdir_flag_spec_ld_CXX \
13541 hardcode_libdir_separator_CXX \
13542 hardcode_automatic_CXX \
13544 module_expsym_cmds_CXX \
13545 lt_cv_prog_compiler_c_o_CXX \
13546 exclude_expsyms_CXX \
13547 include_expsyms_CXX
; do
13550 old_archive_cmds_CXX | \
13551 old_archive_from_new_cmds_CXX | \
13552 archive_cmds_CXX | \
13553 archive_expsym_cmds_CXX | \
13554 module_cmds_CXX | \
13555 module_expsym_cmds_CXX | \
13556 old_archive_from_expsyms_cmds_CXX | \
13557 export_symbols_cmds_CXX | \
13558 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13559 postinstall_cmds | postuninstall_cmds | \
13560 old_postinstall_cmds | old_postuninstall_cmds | \
13561 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13562 # Double-quote double-evaled strings.
13563 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13566 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13572 *'\$0 --fallback-echo"')
13573 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13579 cat <<__EOF__ >> "$cfgfile"
13580 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13582 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13584 # Shell to use when invoking shell scripts.
13587 # Whether or not to build shared libraries.
13588 build_libtool_libs=$enable_shared
13590 # Whether or not to build static libraries.
13591 build_old_libs=$enable_static
13593 # Whether or not to add -lc for building shared libraries.
13594 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13596 # Whether or not to disallow shared libs when runtime libs are static
13597 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13599 # Whether or not to optimize for fast installation.
13600 fast_install=$enable_fast_install
13603 host_alias=$host_alias
13607 # The build system.
13608 build_alias=$build_alias
13612 # An echo program that does not interpret backslashes.
13617 AR_FLAGS=$lt_AR_FLAGS
13622 # LTCC compiler flags.
13623 LTCFLAGS=$lt_LTCFLAGS
13625 # A language-specific compiler.
13626 CC=$lt_compiler_CXX
13628 # Is the compiler the GNU C compiler?
13634 # The linker used to build libraries.
13637 # Whether we need hard or soft links.
13640 # A BSD-compatible nm program.
13643 # A symbol stripping program
13646 # Used to examine libraries when file_magic_cmd begins "file"
13647 MAGIC_CMD=$MAGIC_CMD
13649 # Used on cygwin: DLL creation program.
13652 # Used on cygwin: object dumper.
13655 # Used on cygwin: assembler.
13658 # The name of the directory that contains temporary libtool files.
13661 # How to create reloadable object files.
13662 reload_flag=$lt_reload_flag
13663 reload_cmds=$lt_reload_cmds
13665 # How to pass a linker flag through the compiler.
13666 wl=$lt_lt_prog_compiler_wl_CXX
13668 # Object file suffix (normally "o").
13669 objext="$ac_objext"
13671 # Old archive suffix (normally "a").
13674 # Shared library suffix (normally ".so").
13675 shrext_cmds='$shrext_cmds'
13677 # Executable file suffix (normally "").
13680 # Additional compiler flags for building library objects.
13681 pic_flag=$lt_lt_prog_compiler_pic_CXX
13684 # What is the maximum length of a command?
13685 max_cmd_len=$lt_cv_sys_max_cmd_len
13687 # Does compiler simultaneously support -c and -o options?
13688 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13690 # Must we lock files when doing compilation?
13691 need_locks=$lt_need_locks
13693 # Do we need the lib prefix for modules?
13694 need_lib_prefix=$need_lib_prefix
13696 # Do we need a version for libraries?
13697 need_version=$need_version
13699 # Whether dlopen is supported.
13700 dlopen_support=$enable_dlopen
13702 # Whether dlopen of programs is supported.
13703 dlopen_self=$enable_dlopen_self
13705 # Whether dlopen of statically linked programs is supported.
13706 dlopen_self_static=$enable_dlopen_self_static
13708 # Compiler flag to prevent dynamic linking.
13709 link_static_flag=$lt_lt_prog_compiler_static_CXX
13711 # Compiler flag to turn off builtin functions.
13712 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13714 # Compiler flag to allow reflexive dlopens.
13715 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13717 # Compiler flag to generate shared objects directly from archives.
13718 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13720 # Compiler flag to generate thread-safe objects.
13721 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13723 # Library versioning type.
13724 version_type=$version_type
13726 # Format of library name prefix.
13727 libname_spec=$lt_libname_spec
13729 # List of archive names. First name is the real one, the rest are links.
13730 # The last name is the one that the linker finds with -lNAME.
13731 library_names_spec=$lt_library_names_spec
13733 # The coded name of the library, if different from the real name.
13734 soname_spec=$lt_soname_spec
13736 # Commands used to build and install an old-style archive.
13738 old_archive_cmds=$lt_old_archive_cmds_CXX
13739 old_postinstall_cmds=$lt_old_postinstall_cmds
13740 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13742 # Create an old-style archive from a shared archive.
13743 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13745 # Create a temporary old-style archive to link instead of a shared archive.
13746 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13748 # Commands used to build and install a shared archive.
13749 archive_cmds=$lt_archive_cmds_CXX
13750 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13751 postinstall_cmds=$lt_postinstall_cmds
13752 postuninstall_cmds=$lt_postuninstall_cmds
13754 # Commands used to build a loadable module (assumed same as above if empty)
13755 module_cmds=$lt_module_cmds_CXX
13756 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13758 # Commands to strip libraries.
13759 old_striplib=$lt_old_striplib
13760 striplib=$lt_striplib
13762 # Dependencies to place before the objects being linked to create a
13764 predep_objects=$lt_predep_objects_CXX
13766 # Dependencies to place after the objects being linked to create a
13768 postdep_objects=$lt_postdep_objects_CXX
13770 # Dependencies to place before the objects being linked to create a
13772 predeps=$lt_predeps_CXX
13774 # Dependencies to place after the objects being linked to create a
13776 postdeps=$lt_postdeps_CXX
13778 # The library search path used internally by the compiler when linking
13779 # a shared library.
13780 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13782 # Method to check whether dependent libraries are shared objects.
13783 deplibs_check_method=$lt_deplibs_check_method
13785 # Command to use when deplibs_check_method == file_magic.
13786 file_magic_cmd=$lt_file_magic_cmd
13788 # Flag that allows shared libraries with undefined symbols to be built.
13789 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13791 # Flag that forces no undefined symbols.
13792 no_undefined_flag=$lt_no_undefined_flag_CXX
13794 # Commands used to finish a libtool library installation in a directory.
13795 finish_cmds=$lt_finish_cmds
13797 # Same as above, but a single script fragment to be evaled but not shown.
13798 finish_eval=$lt_finish_eval
13800 # Take the output of nm and produce a listing of raw symbols and C names.
13801 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13803 # Transform the output of nm in a proper C declaration
13804 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13806 # Transform the output of nm in a C name address pair
13807 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13809 # This is the shared library runtime path variable.
13810 runpath_var=$runpath_var
13812 # This is the shared library path variable.
13813 shlibpath_var=$shlibpath_var
13815 # Is shlibpath searched before the hard-coded library search path?
13816 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13818 # How to hardcode a shared library path into an executable.
13819 hardcode_action=$hardcode_action_CXX
13821 # Whether we should hardcode library paths into libraries.
13822 hardcode_into_libs=$hardcode_into_libs
13824 # Flag to hardcode \$libdir into a binary during linking.
13825 # This must work even if \$libdir does not exist.
13826 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13828 # If ld is used when linking, flag to hardcode \$libdir into
13829 # a binary during linking. This must work even if \$libdir does
13831 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13833 # Whether we need a single -rpath flag with a separated argument.
13834 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13836 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13837 # resulting binary.
13838 hardcode_direct=$hardcode_direct_CXX
13840 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13841 # resulting binary.
13842 hardcode_minus_L=$hardcode_minus_L_CXX
13844 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13845 # the resulting binary.
13846 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13848 # Set to yes if building a shared library automatically hardcodes DIR into the library
13849 # and all subsequent libraries and executables linked against it.
13850 hardcode_automatic=$hardcode_automatic_CXX
13852 # Variables whose values should be saved in libtool wrapper scripts and
13853 # restored at relink time.
13854 variables_saved_for_relink="$variables_saved_for_relink"
13856 # Whether libtool must link a program against all its dependency libraries.
13857 link_all_deplibs=$link_all_deplibs_CXX
13859 # Compile-time system search path for libraries
13860 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13862 # Run-time system search path for libraries
13863 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13865 # Fix the shell variable \$srcfile for the compiler.
13866 fix_srcfile_path="$fix_srcfile_path_CXX"
13868 # Set to yes if exported symbols are required.
13869 always_export_symbols=$always_export_symbols_CXX
13871 # The commands to list exported symbols.
13872 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13874 # The commands to extract the exported symbol list from a shared archive.
13875 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13877 # Symbols that should not be listed in the preloaded symbols.
13878 exclude_expsyms=$lt_exclude_expsyms_CXX
13880 # Symbols that must always be exported.
13881 include_expsyms=$lt_include_expsyms_CXX
13883 # ### END LIBTOOL TAG CONFIG: $tagname
13889 # If there is no Makefile yet, we rely on a make rule to execute
13890 # `config.status --recheck' to rerun these tests and create the
13891 # libtool script then.
13892 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13893 if test -f "$ltmain_in"; then
13894 test -f Makefile
&& make "$ltmain"
13900 ac_cpp
='$CXXCPP $CPPFLAGS'
13901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13909 with_gnu_ldcxx
=$with_gnu_ld
13910 with_gnu_ld
=$lt_save_with_gnu_ld
13911 lt_cv_path_LDCXX
=$lt_cv_path_LD
13912 lt_cv_path_LD
=$lt_save_path_LD
13913 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13914 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13922 if test -n "$F77" && test "X$F77" != "Xno"; then
13925 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13926 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13930 archive_cmds_need_lc_F77
=no
13931 allow_undefined_flag_F77
=
13932 always_export_symbols_F77
=no
13933 archive_expsym_cmds_F77
=
13934 export_dynamic_flag_spec_F77
=
13935 hardcode_direct_F77
=no
13936 hardcode_libdir_flag_spec_F77
=
13937 hardcode_libdir_flag_spec_ld_F77
=
13938 hardcode_libdir_separator_F77
=
13939 hardcode_minus_L_F77
=no
13940 hardcode_automatic_F77
=no
13942 module_expsym_cmds_F77
=
13943 link_all_deplibs_F77
=unknown
13944 old_archive_cmds_F77
=$old_archive_cmds
13945 no_undefined_flag_F77
=
13946 whole_archive_flag_spec_F77
=
13947 enable_shared_with_static_runtimes_F77
=no
13949 # Source file extension for f77 test sources.
13952 # Object file extension for compiled f77 test sources.
13956 # Code to be used in simple compile tests
13957 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13959 # Code to be used in simple link tests
13960 lt_simple_link_test_code
=" program t\n end\n"
13962 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13964 # If no C compiler was specified, use CC.
13967 # If no C compiler flags were specified, use CFLAGS.
13968 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13970 # Allow CC to be a program name with arguments.
13974 # save warnings/boilerplate of simple test code
13975 ac_outfile
=conftest.
$ac_objext
13976 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13977 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13978 _lt_compiler_boilerplate
=`cat conftest.err`
13981 ac_outfile
=conftest.
$ac_objext
13982 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13983 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13984 _lt_linker_boilerplate
=`cat conftest.err`
13988 # Allow CC to be a program name with arguments.
13993 for cc_temp
in $compiler""; do
13995 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13996 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14001 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14004 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14005 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14006 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14007 echo "${ECHO_T}$can_build_shared" >&6; }
14009 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14010 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14011 test "$can_build_shared" = "no" && enable_shared
=no
14013 # On AIX, shared libraries and static libraries use the same namespace, and
14014 # are all built from PIC.
14017 test "$enable_shared" = yes && enable_static
=no
14018 if test -n "$RANLIB"; then
14019 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14020 postinstall_cmds
='$RANLIB $lib'
14024 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14025 test "$enable_shared" = yes && enable_static
=no
14029 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14030 echo "${ECHO_T}$enable_shared" >&6; }
14032 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14033 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14034 # Make sure either enable_shared or enable_static is yes.
14035 test "$enable_shared" = yes || enable_static
=yes
14036 { echo "$as_me:$LINENO: result: $enable_static" >&5
14037 echo "${ECHO_T}$enable_static" >&6; }
14042 lt_prog_compiler_wl_F77
=
14043 lt_prog_compiler_pic_F77
=
14044 lt_prog_compiler_static_F77
=
14046 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14047 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14049 if test "$GCC" = yes; then
14050 lt_prog_compiler_wl_F77
='-Wl,'
14051 lt_prog_compiler_static_F77
='-static'
14055 # All AIX code is PIC.
14056 if test "$host_cpu" = ia64
; then
14057 # AIX 5 now supports IA64 processor
14058 lt_prog_compiler_static_F77
='-Bstatic'
14063 # FIXME: we need at least 68020 code to build shared libraries, but
14064 # adding the `-m68020' flag to GCC prevents building anything better,
14066 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14069 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14070 # PIC is the default for these OSes.
14073 mingw
* | pw32
* | os2
*)
14074 # This hack is so that the source file can tell whether it is being
14075 # built for inclusion in a dll (and should export symbols for example).
14076 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14079 darwin
* | rhapsody
*)
14080 # PIC is the default on this platform
14081 # Common symbols not allowed in MH_DYLIB files
14082 lt_prog_compiler_pic_F77
='-fno-common'
14086 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14087 # Instead, we relocate shared libraries at runtime.
14091 # Just because we use GCC doesn't mean we suddenly get shared libraries
14092 # on systems that don't support them.
14093 lt_prog_compiler_can_build_shared_F77
=no
14098 if test -d /usr
/nec
; then
14099 lt_prog_compiler_pic_F77
=-Kconform_pic
14104 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14105 # not for PA HP-UX.
14111 lt_prog_compiler_pic_F77
='-fPIC'
14117 lt_prog_compiler_pic_F77
='-fPIC'
14121 # PORTME Check for flag to pass linker flags through the system compiler.
14124 lt_prog_compiler_wl_F77
='-Wl,'
14125 if test "$host_cpu" = ia64
; then
14126 # AIX 5 now supports IA64 processor
14127 lt_prog_compiler_static_F77
='-Bstatic'
14129 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14133 # PIC is the default on this platform
14134 # Common symbols not allowed in MH_DYLIB files
14135 case $cc_basename in
14137 lt_prog_compiler_pic_F77
='-qnocommon'
14138 lt_prog_compiler_wl_F77
='-Wl,'
14143 mingw
* | pw32
* | os2
*)
14144 # This hack is so that the source file can tell whether it is being
14145 # built for inclusion in a dll (and should export symbols for example).
14146 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14149 hpux9
* | hpux10
* | hpux11
*)
14150 lt_prog_compiler_wl_F77
='-Wl,'
14151 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14152 # not for PA HP-UX.
14158 lt_prog_compiler_pic_F77
='+Z'
14161 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14162 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14165 irix5
* | irix6
* | nonstopux
*)
14166 lt_prog_compiler_wl_F77
='-Wl,'
14167 # PIC (with -KPIC) is the default.
14168 lt_prog_compiler_static_F77
='-non_shared'
14172 lt_prog_compiler_pic_F77
='-KPIC'
14173 lt_prog_compiler_static_F77
='-Bstatic'
14177 case $cc_basename in
14179 lt_prog_compiler_wl_F77
='-Wl,'
14180 lt_prog_compiler_pic_F77
='-KPIC'
14181 lt_prog_compiler_static_F77
='-static'
14183 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14184 # Portland Group compilers (*not* the Pentium gcc compiler,
14185 # which looks to be a dead project)
14186 lt_prog_compiler_wl_F77
='-Wl,'
14187 lt_prog_compiler_pic_F77
='-fpic'
14188 lt_prog_compiler_static_F77
='-Bstatic'
14191 lt_prog_compiler_wl_F77
='-Wl,'
14192 # All Alpha code is PIC.
14193 lt_prog_compiler_static_F77
='-non_shared'
14198 osf3
* | osf4
* | osf5
*)
14199 lt_prog_compiler_wl_F77
='-Wl,'
14200 # All OSF/1 code is PIC.
14201 lt_prog_compiler_static_F77
='-non_shared'
14205 lt_prog_compiler_pic_F77
='-KPIC'
14206 lt_prog_compiler_static_F77
='-Bstatic'
14207 case $cc_basename in
14208 f77
* | f90
* | f95
*)
14209 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14211 lt_prog_compiler_wl_F77
='-Wl,';;
14216 lt_prog_compiler_wl_F77
='-Qoption ld '
14217 lt_prog_compiler_pic_F77
='-PIC'
14218 lt_prog_compiler_static_F77
='-Bstatic'
14221 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14222 lt_prog_compiler_wl_F77
='-Wl,'
14223 lt_prog_compiler_pic_F77
='-KPIC'
14224 lt_prog_compiler_static_F77
='-Bstatic'
14228 if test -d /usr
/nec
;then
14229 lt_prog_compiler_pic_F77
='-Kconform_pic'
14230 lt_prog_compiler_static_F77
='-Bstatic'
14234 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14235 lt_prog_compiler_wl_F77
='-Wl,'
14236 lt_prog_compiler_pic_F77
='-KPIC'
14237 lt_prog_compiler_static_F77
='-Bstatic'
14241 lt_prog_compiler_wl_F77
='-Wl,'
14242 lt_prog_compiler_can_build_shared_F77
=no
14246 lt_prog_compiler_pic_F77
='-pic'
14247 lt_prog_compiler_static_F77
='-Bstatic'
14251 lt_prog_compiler_can_build_shared_F77
=no
14256 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14257 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14260 # Check to make sure the PIC flag actually works.
14262 if test -n "$lt_prog_compiler_pic_F77"; then
14264 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14265 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14266 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 lt_prog_compiler_pic_works_F77
=no
14270 ac_outfile
=conftest.
$ac_objext
14271 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14272 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14273 # Insert the option either (1) after the last *FLAGS variable, or
14274 # (2) before a word containing "conftest.", or (3) at the end.
14275 # Note that $ac_compile itself does not contain backslashes and begins
14276 # with a dollar sign (not a hyphen), so the echo should work correctly.
14277 # The option is referenced via a variable to avoid confusing sed.
14278 lt_compile
=`echo "$ac_compile" | $SED \
14279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14281 -e 's:$: $lt_compiler_flag:'`
14282 (eval echo "\"\$as_me:14282: $lt_compile\"" >&5)
14283 (eval "$lt_compile" 2>conftest.err
)
14285 cat conftest.err
>&5
14286 echo "$as_me:14286: \$? = $ac_status" >&5
14287 if (exit $ac_status) && test -s "$ac_outfile"; then
14288 # The compiler can only warn and ignore the option if not recognized
14289 # So say no if there are warnings other than the usual output.
14290 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14291 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14292 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14293 lt_prog_compiler_pic_works_F77
=yes
14299 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14300 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14302 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14303 case $lt_prog_compiler_pic_F77 in
14305 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14308 lt_prog_compiler_pic_F77
=
14309 lt_prog_compiler_can_build_shared_F77
=no
14314 # For platforms which do not support PIC, -DPIC is meaningless:
14316 lt_prog_compiler_pic_F77
=
14319 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14324 # Check to make sure the static flag actually works.
14326 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14327 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14328 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14329 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 lt_prog_compiler_static_works_F77
=no
14333 save_LDFLAGS
="$LDFLAGS"
14334 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14335 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14336 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14337 # The linker can only warn and ignore the option if not recognized
14338 # So say no if there are warnings
14339 if test -s conftest.err
; then
14340 # Append any errors to the config.log.
14341 cat conftest.err
1>&5
14342 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14343 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14344 if diff conftest.exp conftest.er2
>/dev
/null
; then
14345 lt_prog_compiler_static_works_F77
=yes
14348 lt_prog_compiler_static_works_F77
=yes
14352 LDFLAGS
="$save_LDFLAGS"
14355 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14356 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14358 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14361 lt_prog_compiler_static_F77
=
14365 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14366 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14367 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 lt_cv_prog_compiler_c_o_F77
=no
14371 $rm -r conftest
2>/dev
/null
14375 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14377 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14378 # Insert the option either (1) after the last *FLAGS variable, or
14379 # (2) before a word containing "conftest.", or (3) at the end.
14380 # Note that $ac_compile itself does not contain backslashes and begins
14381 # with a dollar sign (not a hyphen), so the echo should work correctly.
14382 lt_compile
=`echo "$ac_compile" | $SED \
14383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14385 -e 's:$: $lt_compiler_flag:'`
14386 (eval echo "\"\$as_me:14386: $lt_compile\"" >&5)
14387 (eval "$lt_compile" 2>out
/conftest.err
)
14389 cat out
/conftest.err
>&5
14390 echo "$as_me:14390: \$? = $ac_status" >&5
14391 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14393 # The compiler can only warn and ignore the option if not recognized
14394 # So say no if there are warnings
14395 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14396 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14397 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14398 lt_cv_prog_compiler_c_o_F77
=yes
14403 # SGI C++ compiler will create directory out/ii_files/ for
14404 # template instantiation
14405 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14406 $rm out
/* && rmdir out
14412 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14413 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14416 hard_links
="nottested"
14417 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14418 # do not overwrite the value of need_locks provided by the user
14419 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14420 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14423 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14425 ln conftest.a conftest.b
2>&5 || hard_links
=no
14426 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14427 { echo "$as_me:$LINENO: result: $hard_links" >&5
14428 echo "${ECHO_T}$hard_links" >&6; }
14429 if test "$hard_links" = no
; then
14430 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14431 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14438 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14439 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14442 allow_undefined_flag_F77
=
14443 enable_shared_with_static_runtimes_F77
=no
14445 archive_expsym_cmds_F77
=
14446 old_archive_From_new_cmds_F77
=
14447 old_archive_from_expsyms_cmds_F77
=
14448 export_dynamic_flag_spec_F77
=
14449 whole_archive_flag_spec_F77
=
14450 thread_safe_flag_spec_F77
=
14451 hardcode_libdir_flag_spec_F77
=
14452 hardcode_libdir_flag_spec_ld_F77
=
14453 hardcode_libdir_separator_F77
=
14454 hardcode_direct_F77
=no
14455 hardcode_minus_L_F77
=no
14456 hardcode_shlibpath_var_F77
=unsupported
14457 link_all_deplibs_F77
=unknown
14458 hardcode_automatic_F77
=no
14460 module_expsym_cmds_F77
=
14461 always_export_symbols_F77
=no
14462 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14463 # include_expsyms should be a list of space-separated symbols to be *always*
14464 # included in the symbol list
14465 include_expsyms_F77
=
14466 # exclude_expsyms can be an extended regexp of symbols to exclude
14467 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14468 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14469 # as well as any symbol that contains `d'.
14470 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14471 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14472 # platforms (ab)use it in PIC code, but their linkers get confused if
14473 # the symbol is explicitly referenced. Since portable code cannot
14474 # rely on this symbol name, it's probably fine to never include it in
14475 # preloaded symbol tables.
14476 extract_expsyms_cmds
=
14477 # Just being paranoid about ensuring that cc_basename is set.
14478 for cc_temp
in $compiler""; do
14480 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14481 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14486 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14489 cygwin
* | mingw
* | pw32
*)
14490 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14491 # When not using gcc, we currently assume that we are using
14492 # Microsoft Visual C++.
14493 if test "$GCC" != yes; then
14498 # we just hope/assume this is gcc and not c89 (= MSVC++)
14507 if test "$with_gnu_ld" = yes; then
14508 # If archive_cmds runs LD, not CC, wlarc should be empty
14511 # Set some defaults for GNU ld with shared library support. These
14512 # are reset later if shared libraries are not supported. Putting them
14513 # here allows them to be overridden if necessary.
14514 runpath_var
=LD_RUN_PATH
14515 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14516 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14517 # ancient GNU ld didn't support --whole-archive et. al.
14518 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14519 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14521 whole_archive_flag_spec_F77
=
14523 supports_anon_versioning
=no
14524 case `$LD -v 2>/dev/null` in
14525 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14526 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14527 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14528 *\
2.11.
*) ;; # other 2.11 versions
14529 *) supports_anon_versioning
=yes ;;
14532 # See if GNU ld supports shared libraries.
14534 aix3
* | aix4
* | aix5
*)
14535 # On AIX/PPC, the GNU linker is very broken
14536 if test "$host_cpu" != ia64
; then
14540 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14541 *** to be unable to reliably create shared libraries on AIX.
14542 *** Therefore, libtool is disabling shared libraries support. If you
14543 *** really care for shared libraries, you may want to modify your PATH
14544 *** so that a non-GNU linker is found, and then restart.
14551 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)'
14552 hardcode_libdir_flag_spec_F77
='-L$libdir'
14553 hardcode_minus_L_F77
=yes
14555 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14556 # that the semantics of dynamic libraries on AmigaOS, at least up
14557 # to version 4, is to share data among multiple programs linked
14558 # with the same dynamic library. Since this doesn't match the
14559 # behavior of shared libraries on other platforms, we can't use
14565 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14566 allow_undefined_flag_F77
=unsupported
14567 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14568 # support --undefined. This deserves some investigation. FIXME
14569 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14575 cygwin
* | mingw
* | pw32
*)
14576 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14577 # as there is no search path for DLLs.
14578 hardcode_libdir_flag_spec_F77
='-L$libdir'
14579 allow_undefined_flag_F77
=unsupported
14580 always_export_symbols_F77
=no
14581 enable_shared_with_static_runtimes_F77
=yes
14582 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14584 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14585 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14586 # If the export-symbols file already is a .def file (1st line
14587 # is EXPORTS), use it as is; otherwise, prepend...
14588 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14589 cp $export_symbols $output_objdir/$soname.def;
14591 echo EXPORTS > $output_objdir/$soname.def;
14592 cat $export_symbols >> $output_objdir/$soname.def;
14594 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14601 hardcode_direct_F77
=no
14602 hardcode_shlibpath_var_F77
=no
14603 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14604 export_dynamic_flag_spec_F77
='${wl}-E'
14605 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14606 # Instead, shared libraries are loaded at an image base (0x10000000 by
14607 # default) and relocated if they conflict, which is a slow very memory
14608 # consuming and fragmenting process. To avoid this, we pick a random,
14609 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14610 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14611 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'
14612 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'
14616 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14618 case $cc_basename,$host_cpu in
14619 pgcc
*) # Portland Group C compiler
14620 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'
14621 tmp_addflag
=' $pic_flag'
14623 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14624 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'
14625 tmp_addflag
=' $pic_flag -Mnomain' ;;
14626 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14627 tmp_addflag
=' -i_dynamic' ;;
14628 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14629 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14630 ifc
* | ifort
*) # Intel Fortran compiler
14631 tmp_addflag
=' -nofor_main' ;;
14633 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14635 if test $supports_anon_versioning = yes; then
14636 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14637 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14638 $echo "local: *; };" >> $output_objdir/$libname.ver~
14639 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14647 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14648 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14651 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14652 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14657 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14661 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14662 *** create shared libraries on Solaris systems. Therefore, libtool
14663 *** is disabling shared libraries support. We urge you to upgrade GNU
14664 *** binutils to release 2.9.1 or newer. Another option is to modify
14665 *** your PATH or compiler configuration so that the native linker is
14666 *** used, and then restart.
14669 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14670 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14671 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14677 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14678 case `$LD -v 2>&1` in
14679 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14683 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14684 *** reliably create shared libraries on SCO systems. Therefore, libtool
14685 *** is disabling shared libraries support. We urge you to upgrade GNU
14686 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14687 *** your PATH or compiler configuration so that the native linker is
14688 *** used, and then restart.
14693 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14694 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14695 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14696 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14705 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14707 hardcode_direct_F77
=yes
14708 hardcode_shlibpath_var_F77
=no
14712 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14713 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14714 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14721 if test "$ld_shlibs_F77" = no
; then
14723 hardcode_libdir_flag_spec_F77
=
14724 export_dynamic_flag_spec_F77
=
14725 whole_archive_flag_spec_F77
=
14728 # PORTME fill in a description of your system's linker (not GNU ld)
14731 allow_undefined_flag_F77
=unsupported
14732 always_export_symbols_F77
=yes
14733 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'
14734 # Note: this linker hardcodes the directories in LIBPATH if there
14735 # are no directories specified by -L.
14736 hardcode_minus_L_F77
=yes
14737 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14738 # Neither direct hardcoding nor static linking is supported with a
14740 hardcode_direct_F77
=unsupported
14745 if test "$host_cpu" = ia64
; then
14746 # On IA64, the linker does run time linking by default, so we don't
14747 # have to do anything special.
14748 aix_use_runtimelinking
=no
14749 exp_sym_flag
='-Bexport'
14752 # If we're using GNU nm, then we don't want the "-C" option.
14753 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14754 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14755 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'
14757 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'
14759 aix_use_runtimelinking
=no
14761 # Test if we are trying to use run time linking or normal
14762 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14763 # need to do runtime linking.
14764 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14765 for ld_flag
in $LDFLAGS; do
14766 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14767 aix_use_runtimelinking
=yes
14774 exp_sym_flag
='-bexport'
14775 no_entry_flag
='-bnoentry'
14778 # When large executables or shared objects are built, AIX ld can
14779 # have problems creating the table of contents. If linking a library
14780 # or program results in "error TOC overflow" add -mminimal-toc to
14781 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14782 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14784 archive_cmds_F77
=''
14785 hardcode_direct_F77
=yes
14786 hardcode_libdir_separator_F77
=':'
14787 link_all_deplibs_F77
=yes
14789 if test "$GCC" = yes; then
14790 case $host_os in aix4.
[012]|aix4.
[012].
*)
14791 # We only want to do this on AIX 4.2 and lower, the check
14792 # below for broken collect2 doesn't work under 4.3+
14793 collect2name
=`${CC} -print-prog-name=collect2`
14794 if test -f "$collect2name" && \
14795 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14797 # We have reworked collect2
14798 hardcode_direct_F77
=yes
14800 # We have old collect2
14801 hardcode_direct_F77
=unsupported
14802 # It fails to find uninstalled libraries when the uninstalled
14803 # path is not listed in the libpath. Setting hardcode_minus_L
14804 # to unsupported forces relinking
14805 hardcode_minus_L_F77
=yes
14806 hardcode_libdir_flag_spec_F77
='-L$libdir'
14807 hardcode_libdir_separator_F77
=
14811 shared_flag
='-shared'
14812 if test "$aix_use_runtimelinking" = yes; then
14813 shared_flag
="$shared_flag "'${wl}-G'
14817 if test "$host_cpu" = ia64
; then
14818 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14819 # chokes on -Wl,-G. The following line is correct:
14822 if test "$aix_use_runtimelinking" = yes; then
14823 shared_flag
='${wl}-G'
14825 shared_flag
='${wl}-bM:SRE'
14830 # It seems that -bexpall does not export symbols beginning with
14831 # underscore (_), so it is better to generate a list of symbols to export.
14832 always_export_symbols_F77
=yes
14833 if test "$aix_use_runtimelinking" = yes; then
14834 # Warning - without using the other runtime loading flags (-brtl),
14835 # -berok will link without error, but may produce a broken library.
14836 allow_undefined_flag_F77
='-berok'
14837 # Determine the default libpath from the value encoded in an empty executable.
14838 cat >conftest.
$ac_ext <<_ACEOF
14843 rm -f conftest.
$ac_objext conftest
$ac_exeext
14844 if { (ac_try
="$ac_link"
14845 case "(($ac_try" in
14846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14847 *) ac_try_echo=$ac_try;;
14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14850 (eval "$ac_link") 2>conftest.er1
14852 grep -v '^ *+' conftest.er1 >conftest.err
14854 cat conftest.err >&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); } &&
14857 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14858 { (case "(($ac_try" in
14859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14860 *) ac_try_echo
=$ac_try;;
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_try") 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try
='test -s conftest$ac_exeext'
14868 { (case "(($ac_try" in
14869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_try") 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14878 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14880 # Check for a 64-bit object if we didn't find anything.
14881 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; }
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.$ac_ext >&5
14890 rm -f core conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14894 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14895 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"
14897 if test "$host_cpu" = ia64; then
14898 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14899 allow_undefined_flag_F77="-z nodefs"
14900 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"
14902 # Determine the default libpath from the value encoded in an empty executable.
14903 cat >conftest.$ac_ext <<_ACEOF
14908 rm -f conftest.$ac_objext conftest$ac_exeext
14909 if { (ac_try="$ac_link"
14910 case "(($ac_try" in
14911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14912 *) ac_try_echo
=$ac_try;;
14914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14915 (eval "$ac_link") 2>conftest.er1
14917 grep -v '^ *+' conftest.er1
>conftest.err
14919 cat conftest.err
>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); } &&
14922 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14923 { (case "(($ac_try" in
14924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_try") 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; } &&
14932 { ac_try='test -s conftest$ac_exeext'
14933 { (case "(($ac_try" in
14934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14935 *) ac_try_echo
=$ac_try;;
14937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14938 (eval "$ac_try") 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14943 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14945 # Check for a 64-bit object if we didn't find anything.
14946 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; }
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.
$ac_ext >&5
14955 rm -f core conftest.err conftest.
$ac_objext \
14956 conftest
$ac_exeext conftest.
$ac_ext
14957 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14959 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14960 # Warning - without using the other run time loading flags,
14961 # -berok will link without error, but may produce a broken library.
14962 no_undefined_flag_F77
=' ${wl}-bernotok'
14963 allow_undefined_flag_F77
=' ${wl}-berok'
14964 # Exported symbols can be pulled into shared objects from archives
14965 whole_archive_flag_spec_F77
='$convenience'
14966 archive_cmds_need_lc_F77
=yes
14967 # This is similar to how AIX traditionally builds its shared libraries.
14968 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'
14974 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)'
14975 hardcode_libdir_flag_spec_F77
='-L$libdir'
14976 hardcode_minus_L_F77
=yes
14977 # see comment about different semantics on the GNU ld section
14982 export_dynamic_flag_spec_F77
=-rdynamic
14985 cygwin
* | mingw
* | pw32
*)
14986 # When not using gcc, we currently assume that we are using
14987 # Microsoft Visual C++.
14988 # hardcode_libdir_flag_spec is actually meaningless, as there is
14989 # no search path for DLLs.
14990 hardcode_libdir_flag_spec_F77
=' '
14991 allow_undefined_flag_F77
=unsupported
14992 # Tell ltmain to make .lib files, not .a files.
14994 # Tell ltmain to make .dll files, not .so files.
14996 # FIXME: Setting linknames here is a bad hack.
14997 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14998 # The linker will automatically build a .lib file if we build a DLL.
14999 old_archive_From_new_cmds_F77
='true'
15000 # FIXME: Should let the user specify the lib program.
15001 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15002 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15003 enable_shared_with_static_runtimes_F77
=yes
15006 darwin
* | rhapsody
*)
15008 rhapsody
* | darwin1.
[012])
15009 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15012 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15013 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15015 case ${MACOSX_DEPLOYMENT_TARGET} in
15017 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15020 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15026 archive_cmds_need_lc_F77
=no
15027 hardcode_direct_F77
=no
15028 hardcode_automatic_F77
=yes
15029 hardcode_shlibpath_var_F77
=unsupported
15030 whole_archive_flag_spec_F77
=''
15031 link_all_deplibs_F77
=yes
15032 if test "$GCC" = yes ; then
15033 output_verbose_link_cmd
='echo'
15034 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15035 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15036 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15037 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}'
15038 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}'
15040 case $cc_basename in
15042 output_verbose_link_cmd
='echo'
15043 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15044 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15045 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15046 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}'
15047 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}'
15057 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15058 hardcode_libdir_flag_spec_F77
='-L$libdir'
15059 hardcode_shlibpath_var_F77
=no
15066 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15067 # support. Future versions do this automatically, but an explicit c++rt0.o
15068 # does not break anything, and helps significantly (at the cost of a little
15071 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15072 hardcode_libdir_flag_spec_F77
='-R$libdir'
15073 hardcode_direct_F77
=yes
15074 hardcode_shlibpath_var_F77
=no
15077 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15079 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15080 hardcode_direct_F77
=yes
15081 hardcode_minus_L_F77
=yes
15082 hardcode_shlibpath_var_F77
=no
15085 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15086 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15087 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15088 hardcode_libdir_flag_spec_F77
='-R$libdir'
15089 hardcode_direct_F77
=yes
15090 hardcode_shlibpath_var_F77
=no
15094 if test "$GCC" = yes; then
15095 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'
15097 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'
15099 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15100 hardcode_libdir_separator_F77
=:
15101 hardcode_direct_F77
=yes
15103 # hardcode_minus_L: Not really in the search PATH,
15104 # but as the default location of the library.
15105 hardcode_minus_L_F77
=yes
15106 export_dynamic_flag_spec_F77
='${wl}-E'
15110 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15111 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15113 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15115 if test "$with_gnu_ld" = no
; then
15116 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15117 hardcode_libdir_separator_F77
=:
15119 hardcode_direct_F77
=yes
15120 export_dynamic_flag_spec_F77
='${wl}-E'
15122 # hardcode_minus_L: Not really in the search PATH,
15123 # but as the default location of the library.
15124 hardcode_minus_L_F77
=yes
15129 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15132 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15135 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15138 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15144 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15147 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15150 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15154 if test "$with_gnu_ld" = no
; then
15155 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15156 hardcode_libdir_separator_F77
=:
15160 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15161 hardcode_direct_F77
=no
15162 hardcode_shlibpath_var_F77
=no
15165 hardcode_direct_F77
=yes
15166 export_dynamic_flag_spec_F77
='${wl}-E'
15168 # hardcode_minus_L: Not really in the search PATH,
15169 # but as the default location of the library.
15170 hardcode_minus_L_F77
=yes
15176 irix5
* | irix6
* | nonstopux
*)
15177 if test "$GCC" = yes; then
15178 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'
15180 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'
15181 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15183 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15184 hardcode_libdir_separator_F77
=:
15185 link_all_deplibs_F77
=yes
15189 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15190 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15192 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15194 hardcode_libdir_flag_spec_F77
='-R$libdir'
15195 hardcode_direct_F77
=yes
15196 hardcode_shlibpath_var_F77
=no
15200 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15201 hardcode_direct_F77
=yes
15202 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15203 hardcode_libdir_separator_F77
=:
15204 hardcode_shlibpath_var_F77
=no
15208 hardcode_direct_F77
=yes
15209 hardcode_shlibpath_var_F77
=no
15210 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15211 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15212 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15213 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15214 export_dynamic_flag_spec_F77
='${wl}-E'
15217 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15218 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15219 hardcode_libdir_flag_spec_F77
='-R$libdir'
15222 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15223 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15230 hardcode_libdir_flag_spec_F77
='-L$libdir'
15231 hardcode_minus_L_F77
=yes
15232 allow_undefined_flag_F77
=unsupported
15233 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'
15234 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15238 if test "$GCC" = yes; then
15239 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15240 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'
15242 allow_undefined_flag_F77
=' -expect_unresolved \*'
15243 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'
15245 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15246 hardcode_libdir_separator_F77
=:
15249 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15250 if test "$GCC" = yes; then
15251 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15252 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'
15253 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15255 allow_undefined_flag_F77
=' -expect_unresolved \*'
15256 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'
15257 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~
15258 $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'
15260 # Both c and cxx compiler support -rpath directly
15261 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15263 hardcode_libdir_separator_F77
=:
15267 no_undefined_flag_F77
=' -z text'
15268 if test "$GCC" = yes; then
15270 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15271 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15272 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15275 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15276 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15277 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15279 hardcode_libdir_flag_spec_F77
='-R$libdir'
15280 hardcode_shlibpath_var_F77
=no
15282 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15284 # The compiler driver will combine linker options so we
15285 # cannot just pass the convience library names through
15286 # without $wl, iff we do not link with $LD.
15287 # Luckily, gcc supports the same syntax we need for Sun Studio.
15288 # Supported since Solaris 2.6 (maybe 2.5.1?)
15291 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15293 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' ;;
15296 link_all_deplibs_F77
=yes
15300 if test "x$host_vendor" = xsequent
; then
15301 # Use $CC to link under sequent, because it throws in some extra .o
15302 # files that make .init and .fini sections work.
15303 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15305 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15307 hardcode_libdir_flag_spec_F77
='-L$libdir'
15308 hardcode_direct_F77
=yes
15309 hardcode_minus_L_F77
=yes
15310 hardcode_shlibpath_var_F77
=no
15314 case $host_vendor in
15316 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15317 hardcode_direct_F77
=yes # is this really true???
15320 ## LD is ld it makes a PLAMLIB
15321 ## CC just makes a GrossModule.
15322 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15323 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15324 hardcode_direct_F77
=no
15327 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15328 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15331 runpath_var
='LD_RUN_PATH'
15332 hardcode_shlibpath_var_F77
=no
15336 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15337 hardcode_shlibpath_var_F77
=no
15338 export_dynamic_flag_spec_F77
='-Bexport'
15342 if test -d /usr
/nec
; then
15343 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15344 hardcode_shlibpath_var_F77
=no
15345 runpath_var
=LD_RUN_PATH
15346 hardcode_runpath_var
=yes
15351 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15352 no_undefined_flag_F77
='${wl}-z,text'
15353 archive_cmds_need_lc_F77
=no
15354 hardcode_shlibpath_var_F77
=no
15355 runpath_var
='LD_RUN_PATH'
15357 if test "$GCC" = yes; then
15358 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15359 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15361 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15362 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15366 sysv5
* | sco3.2v5
* | sco5v6
*)
15367 # Note: We can NOT use -z defs as we might desire, because we do not
15368 # link with -lc, and that would cause any symbols used from libc to
15369 # always be unresolved, which means just about no library would
15370 # ever link correctly. If we're not using GNU ld we use -z text
15371 # though, which does catch some bad symbols but isn't as heavy-handed
15373 no_undefined_flag_F77
='${wl}-z,text'
15374 allow_undefined_flag_F77
='${wl}-z,nodefs'
15375 archive_cmds_need_lc_F77
=no
15376 hardcode_shlibpath_var_F77
=no
15377 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15378 hardcode_libdir_separator_F77
=':'
15379 link_all_deplibs_F77
=yes
15380 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15381 runpath_var
='LD_RUN_PATH'
15383 if test "$GCC" = yes; then
15384 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15385 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15387 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15388 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15393 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15394 hardcode_libdir_flag_spec_F77
='-L$libdir'
15395 hardcode_shlibpath_var_F77
=no
15404 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15405 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15406 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15409 # Do we need to explicitly link libc?
15411 case "x$archive_cmds_need_lc_F77" in
15413 # Assume -lc should be added
15414 archive_cmds_need_lc_F77
=yes
15416 if test "$enable_shared" = yes && test "$GCC" = yes; then
15417 case $archive_cmds_F77 in
15419 # FIXME: we may have to deal with multi-command sequences.
15422 # Test whether the compiler implicitly links with -lc since on some
15423 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15424 # to ld, don't add -lc before -lgcc.
15425 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15426 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15428 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); } 2>conftest.err
; then
15437 libobjs
=conftest.
$ac_objext
15439 wl
=$lt_prog_compiler_wl_F77
15440 pic_flag
=$lt_prog_compiler_pic_F77
15446 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15447 allow_undefined_flag_F77
=
15448 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15449 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }
15454 archive_cmds_need_lc_F77
=no
15456 archive_cmds_need_lc_F77
=yes
15458 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15460 cat conftest.err
1>&5
15463 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15464 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15471 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15472 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15473 library_names_spec
=
15474 libname_spec
='lib$name'
15478 postuninstall_cmds
=
15482 shlibpath_overrides_runpath
=unknown
15484 dynamic_linker
="$host_os ld.so"
15485 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15486 if test "$GCC" = yes; then
15487 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15488 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15489 # if the path contains ";" then we assume it to be the separator
15490 # otherwise default to the standard path separator (i.e. ":") - it is
15491 # assumed that no part of a normal pathname contains ";" but that should
15492 # okay in the real world where ";" in dirpaths is itself problematic.
15493 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15495 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15498 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15500 need_lib_prefix
=unknown
15501 hardcode_into_libs
=no
15503 # when you set need_version to no, make sure it does not cause -set_version
15504 # flags to be left without arguments
15505 need_version
=unknown
15510 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15511 shlibpath_var
=LIBPATH
15513 # AIX 3 has no versioning support, so we append a major version to the name.
15514 soname_spec
='${libname}${release}${shared_ext}$major'
15521 hardcode_into_libs
=yes
15522 if test "$host_cpu" = ia64
; then
15523 # AIX 5 supports IA64
15524 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15525 shlibpath_var
=LD_LIBRARY_PATH
15527 # With GCC up to 2.95.x, collect2 would create an import file
15528 # for dependence libraries. The import file would start with
15529 # the line `#! .'. This would cause the generated library to
15530 # depend on `.', always an invalid library. This was fixed in
15531 # development snapshots of GCC prior to 3.0.
15533 aix4 | aix4.
[01] | aix4.
[01].
*)
15534 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15536 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15539 can_build_shared
=no
15543 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15544 # soname into executable. Probably we can add versioning support to
15545 # collect2, so additional links can be useful in future.
15546 if test "$aix_use_runtimelinking" = yes; then
15547 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15548 # instead of lib<name>.a to let people know that these are not
15549 # typical AIX shared libraries.
15550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15552 # We preserve .a as extension for shared libraries through AIX4.2
15553 # and later when we are not doing run time linking.
15554 library_names_spec
='${libname}${release}.a $libname.a'
15555 soname_spec
='${libname}${release}${shared_ext}$major'
15557 shlibpath_var
=LIBPATH
15562 library_names_spec
='$libname.ixlibrary $libname.a'
15563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15564 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'
15568 library_names_spec
='${libname}${shared_ext}'
15569 dynamic_linker
="$host_os ld.so"
15570 shlibpath_var
=LIBRARY_PATH
15576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15577 soname_spec
='${libname}${release}${shared_ext}$major'
15578 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15579 shlibpath_var
=LD_LIBRARY_PATH
15580 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15581 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15582 # the default ld.so.conf also contains /usr/contrib/lib and
15583 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15584 # libtool to hard-code these into programs
15587 cygwin
* | mingw
* | pw32
*)
15588 version_type
=windows
15593 case $GCC,$host_os in
15594 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15595 library_names_spec
='$libname.dll.a'
15596 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15597 postinstall_cmds
='base_file=`basename \${file}`~
15598 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15599 dldir=$destdir/`dirname \$dlpath`~
15600 test -d \$dldir || mkdir -p \$dldir~
15601 $install_prog $dir/$dlname \$dldir/$dlname~
15602 chmod a+x \$dldir/$dlname'
15603 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15604 dlpath=$dir/\$dldll~
15606 shlibpath_overrides_runpath
=yes
15610 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15611 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15612 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15615 # MinGW DLLs use traditional 'lib' prefix
15616 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15617 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15618 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15619 # It is most probably a Windows format PATH printed by
15620 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15621 # path with ; separators, and with drive letters. We can handle the
15622 # drive letters (cygwin fileutils understands them), so leave them,
15623 # especially as we might pass files found there to a mingw objdump,
15624 # which wouldn't understand a cygwinified path. Ahh.
15625 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15627 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15631 # pw32 DLLs use 'pw' prefix rather than 'lib'
15632 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15638 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15641 dynamic_linker
='Win32 ld.exe'
15642 # FIXME: first we should search . and the directory the executable is in
15646 darwin
* | rhapsody
*)
15647 dynamic_linker
="$host_os dyld"
15648 version_type
=darwin
15651 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15652 soname_spec
='${libname}${release}${major}$shared_ext'
15653 shlibpath_overrides_runpath
=yes
15654 shlibpath_var
=DYLD_LIBRARY_PATH
15655 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15656 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15657 if test "$GCC" = yes; then
15658 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"`
15660 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15662 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15670 soname_spec
='${libname}${release}${shared_ext}$major'
15671 shlibpath_var
=LD_LIBRARY_PATH
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15683 soname_spec
='${libname}${release}${shared_ext}$major'
15684 shlibpath_var
=LD_LIBRARY_PATH
15685 shlibpath_overrides_runpath
=no
15686 hardcode_into_libs
=yes
15687 dynamic_linker
='GNU ld.so'
15690 freebsd
* | dragonfly
*)
15691 # DragonFly does not have aout. When/if they implement a new
15692 # versioning mechanism, adjust this.
15693 if test -x /usr
/bin
/objformat
; then
15694 objformat
=`/usr/bin/objformat`
15697 freebsd
[123]*) objformat
=aout
;;
15698 *) objformat
=elf
;;
15701 version_type
=freebsd-
$objformat
15702 case $version_type in
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15709 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15713 shlibpath_var
=LD_LIBRARY_PATH
15716 shlibpath_overrides_runpath
=yes
15718 freebsd3.
[01]* | freebsdelf3.
[01]*)
15719 shlibpath_overrides_runpath
=yes
15720 hardcode_into_libs
=yes
15722 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15723 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15724 shlibpath_overrides_runpath
=no
15725 hardcode_into_libs
=yes
15727 freebsd
*) # from 4.6 on
15728 shlibpath_overrides_runpath
=yes
15729 hardcode_into_libs
=yes
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15739 soname_spec
='${libname}${release}${shared_ext}$major'
15740 shlibpath_var
=LD_LIBRARY_PATH
15741 hardcode_into_libs
=yes
15744 hpux9
* | hpux10
* | hpux11
*)
15745 # Give a soname corresponding to the major version so that dld.sl refuses to
15746 # link against other versions.
15753 hardcode_into_libs
=yes
15754 dynamic_linker
="$host_os dld.so"
15755 shlibpath_var
=LD_LIBRARY_PATH
15756 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 soname_spec
='${libname}${release}${shared_ext}$major'
15759 if test "X$HPUX_IA64_MODE" = X32
; then
15760 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15762 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15764 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15768 hardcode_into_libs
=yes
15769 dynamic_linker
="$host_os dld.sl"
15770 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15771 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15773 soname_spec
='${libname}${release}${shared_ext}$major'
15774 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15775 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15779 dynamic_linker
="$host_os dld.sl"
15780 shlibpath_var
=SHLIB_PATH
15781 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15783 soname_spec
='${libname}${release}${shared_ext}$major'
15786 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15787 postinstall_cmds
='chmod 555 $lib'
15794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15795 soname_spec
='${libname}${release}${shared_ext}$major'
15796 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15797 shlibpath_var
=LD_LIBRARY_PATH
15798 shlibpath_overrides_runpath
=no
15799 hardcode_into_libs
=yes
15802 irix5
* | irix6
* | nonstopux
*)
15804 nonstopux
*) version_type
=nonstopux
;;
15806 if test "$lt_cv_prog_gnu_ld" = yes; then
15814 soname_spec
='${libname}${release}${shared_ext}$major'
15815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15817 irix5
* | nonstopux
*)
15818 libsuff
= shlibsuff
=
15821 case $LD in # libtool.m4 will add one of these switches to LD
15822 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15823 libsuff
= shlibsuff
= libmagic
=32-bit;;
15824 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15825 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15826 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15827 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15828 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15832 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15833 shlibpath_overrides_runpath
=no
15834 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15835 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15836 hardcode_into_libs
=yes
15839 # No shared lib support for Linux oldld, aout, or coff.
15840 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15844 # This must be Linux ELF.
15849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15850 soname_spec
='${libname}${release}${shared_ext}$major'
15851 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15852 shlibpath_var
=LD_LIBRARY_PATH
15853 shlibpath_overrides_runpath
=no
15854 # This implies no fast_install, which is unacceptable.
15855 # Some rework will be needed to allow for fast_install
15856 # before this can be enabled.
15857 hardcode_into_libs
=yes
15859 # Append ld.so.conf contents to the search path
15860 if test -f /etc
/ld.so.conf
; then
15861 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' ' '`
15862 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15865 # We used to test for /lib/ld.so.1 and disable shared libraries on
15866 # powerpc, because MkLinux only supported shared libraries with the
15867 # GNU dynamic linker. Since this was broken with cross compilers,
15868 # most powerpc-linux boxes support dynamic linking these days and
15869 # people can always --disable-shared, the test was removed, and we
15870 # assume the GNU/Linux dynamic linker is in use.
15871 dynamic_linker
='GNU/Linux ld.so'
15878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15879 soname_spec
='${libname}${release}${shared_ext}$major'
15880 shlibpath_var
=LD_LIBRARY_PATH
15881 shlibpath_overrides_runpath
=no
15882 hardcode_into_libs
=yes
15883 dynamic_linker
='GNU ld.so'
15890 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15892 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15893 dynamic_linker
='NetBSD (a.out) ld.so'
15895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15896 soname_spec
='${libname}${release}${shared_ext}$major'
15897 dynamic_linker
='NetBSD ld.elf_so'
15899 shlibpath_var
=LD_LIBRARY_PATH
15900 shlibpath_overrides_runpath
=yes
15901 hardcode_into_libs
=yes
15906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15907 shlibpath_var
=LD_LIBRARY_PATH
15908 shlibpath_overrides_runpath
=yes
15915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15916 soname_spec
='${libname}${release}${shared_ext}$major'
15917 shlibpath_var
=LD_LIBRARY_PATH
15918 shlibpath_overrides_runpath
=yes
15923 sys_lib_dlsearch_path_spec
="/usr/lib"
15925 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15927 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15928 *) need_version
=no
;;
15930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15931 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15932 shlibpath_var
=LD_LIBRARY_PATH
15933 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15935 openbsd2.
[89] | openbsd2.
[89].
*)
15936 shlibpath_overrides_runpath
=no
15939 shlibpath_overrides_runpath
=yes
15943 shlibpath_overrides_runpath
=yes
15948 libname_spec
='$name'
15951 library_names_spec
='$libname${shared_ext} $libname.a'
15952 dynamic_linker
='OS/2 ld.exe'
15953 shlibpath_var
=LIBPATH
15956 osf3
* | osf4
* | osf5
*)
15960 soname_spec
='${libname}${release}${shared_ext}$major'
15961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15962 shlibpath_var
=LD_LIBRARY_PATH
15963 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15964 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15972 soname_spec
='${libname}${release}${shared_ext}$major'
15973 shlibpath_var
=LD_LIBRARY_PATH
15974 shlibpath_overrides_runpath
=yes
15975 hardcode_into_libs
=yes
15976 # ldd complains unless libraries are executable
15977 postinstall_cmds
='chmod +x $lib'
15982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15983 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15984 shlibpath_var
=LD_LIBRARY_PATH
15985 shlibpath_overrides_runpath
=yes
15986 if test "$with_gnu_ld" = yes; then
15994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15995 soname_spec
='${libname}${release}${shared_ext}$major'
15996 shlibpath_var
=LD_LIBRARY_PATH
15997 case $host_vendor in
15999 shlibpath_overrides_runpath
=no
16001 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16002 runpath_var
=LD_RUN_PATH
16010 shlibpath_overrides_runpath
=no
16011 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16017 if test -d /usr
/nec
;then
16019 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16020 soname_spec
='$libname${shared_ext}.$major'
16021 shlibpath_var
=LD_LIBRARY_PATH
16025 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16026 version_type
=freebsd-elf
16029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16030 soname_spec
='${libname}${release}${shared_ext}$major'
16031 shlibpath_var
=LD_LIBRARY_PATH
16032 hardcode_into_libs
=yes
16033 if test "$with_gnu_ld" = yes; then
16034 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16035 shlibpath_overrides_runpath
=no
16037 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16038 shlibpath_overrides_runpath
=yes
16041 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16045 sys_lib_dlsearch_path_spec
='/usr/lib'
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051 soname_spec
='${libname}${release}${shared_ext}$major'
16052 shlibpath_var
=LD_LIBRARY_PATH
16059 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16060 echo "${ECHO_T}$dynamic_linker" >&6; }
16061 test "$dynamic_linker" = no
&& can_build_shared
=no
16063 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16064 if test "$GCC" = yes; then
16065 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16068 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16069 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16070 hardcode_action_F77
=
16071 if test -n "$hardcode_libdir_flag_spec_F77" || \
16072 test -n "$runpath_var_F77" || \
16073 test "X$hardcode_automatic_F77" = "Xyes" ; then
16075 # We can hardcode non-existant directories.
16076 if test "$hardcode_direct_F77" != no
&&
16077 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16078 # have to relink, otherwise we might link with an installed library
16079 # when we should be linking with a yet-to-be-installed one
16080 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16081 test "$hardcode_minus_L_F77" != no
; then
16082 # Linking always hardcodes the temporary library directory.
16083 hardcode_action_F77
=relink
16085 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16086 hardcode_action_F77
=immediate
16089 # We cannot hardcode anything, or else we can only hardcode existing
16091 hardcode_action_F77
=unsupported
16093 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16094 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16096 if test "$hardcode_action_F77" = relink
; then
16097 # Fast installation is not supported
16098 enable_fast_install
=no
16099 elif test "$shlibpath_overrides_runpath" = yes ||
16100 test "$enable_shared" = no
; then
16101 # Fast installation is not necessary
16102 enable_fast_install
=needless
16106 # The else clause should only fire when bootstrapping the
16107 # libtool distribution, otherwise you forgot to ship ltmain.sh
16108 # with your package, and you will get complaints that there are
16109 # no rules to generate ltmain.sh.
16110 if test -f "$ltmain"; then
16111 # See if we are running on zsh, and set the options which allow our commands through
16112 # without removal of \ escapes.
16113 if test -n "${ZSH_VERSION+set}" ; then
16114 setopt NO_GLOB_SUBST
16116 # Now quote all the things that may contain metacharacters while being
16117 # careful not to overquote the AC_SUBSTed values. We take copies of the
16118 # variables and quote the copies for generation of the libtool script.
16119 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16121 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16122 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16123 deplibs_check_method reload_flag reload_cmds need_locks \
16124 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16125 lt_cv_sys_global_symbol_to_c_name_address \
16126 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16127 old_postinstall_cmds old_postuninstall_cmds \
16131 lt_prog_compiler_wl_F77 \
16132 lt_prog_compiler_pic_F77 \
16133 lt_prog_compiler_static_F77 \
16134 lt_prog_compiler_no_builtin_flag_F77 \
16135 export_dynamic_flag_spec_F77 \
16136 thread_safe_flag_spec_F77 \
16137 whole_archive_flag_spec_F77 \
16138 enable_shared_with_static_runtimes_F77 \
16139 old_archive_cmds_F77 \
16140 old_archive_from_new_cmds_F77 \
16141 predep_objects_F77 \
16142 postdep_objects_F77 \
16145 compiler_lib_search_path_F77 \
16147 archive_expsym_cmds_F77 \
16148 postinstall_cmds_F77 \
16149 postuninstall_cmds_F77 \
16150 old_archive_from_expsyms_cmds_F77 \
16151 allow_undefined_flag_F77 \
16152 no_undefined_flag_F77 \
16153 export_symbols_cmds_F77 \
16154 hardcode_libdir_flag_spec_F77 \
16155 hardcode_libdir_flag_spec_ld_F77 \
16156 hardcode_libdir_separator_F77 \
16157 hardcode_automatic_F77 \
16159 module_expsym_cmds_F77 \
16160 lt_cv_prog_compiler_c_o_F77 \
16161 exclude_expsyms_F77 \
16162 include_expsyms_F77
; do
16165 old_archive_cmds_F77 | \
16166 old_archive_from_new_cmds_F77 | \
16167 archive_cmds_F77 | \
16168 archive_expsym_cmds_F77 | \
16169 module_cmds_F77 | \
16170 module_expsym_cmds_F77 | \
16171 old_archive_from_expsyms_cmds_F77 | \
16172 export_symbols_cmds_F77 | \
16173 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16174 postinstall_cmds | postuninstall_cmds | \
16175 old_postinstall_cmds | old_postuninstall_cmds | \
16176 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16177 # Double-quote double-evaled strings.
16178 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16181 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16187 *'\$0 --fallback-echo"')
16188 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16194 cat <<__EOF__ >> "$cfgfile"
16195 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16197 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16199 # Shell to use when invoking shell scripts.
16202 # Whether or not to build shared libraries.
16203 build_libtool_libs=$enable_shared
16205 # Whether or not to build static libraries.
16206 build_old_libs=$enable_static
16208 # Whether or not to add -lc for building shared libraries.
16209 build_libtool_need_lc=$archive_cmds_need_lc_F77
16211 # Whether or not to disallow shared libs when runtime libs are static
16212 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16214 # Whether or not to optimize for fast installation.
16215 fast_install=$enable_fast_install
16218 host_alias=$host_alias
16222 # The build system.
16223 build_alias=$build_alias
16227 # An echo program that does not interpret backslashes.
16232 AR_FLAGS=$lt_AR_FLAGS
16237 # LTCC compiler flags.
16238 LTCFLAGS=$lt_LTCFLAGS
16240 # A language-specific compiler.
16241 CC=$lt_compiler_F77
16243 # Is the compiler the GNU C compiler?
16249 # The linker used to build libraries.
16252 # Whether we need hard or soft links.
16255 # A BSD-compatible nm program.
16258 # A symbol stripping program
16261 # Used to examine libraries when file_magic_cmd begins "file"
16262 MAGIC_CMD=$MAGIC_CMD
16264 # Used on cygwin: DLL creation program.
16267 # Used on cygwin: object dumper.
16270 # Used on cygwin: assembler.
16273 # The name of the directory that contains temporary libtool files.
16276 # How to create reloadable object files.
16277 reload_flag=$lt_reload_flag
16278 reload_cmds=$lt_reload_cmds
16280 # How to pass a linker flag through the compiler.
16281 wl=$lt_lt_prog_compiler_wl_F77
16283 # Object file suffix (normally "o").
16284 objext="$ac_objext"
16286 # Old archive suffix (normally "a").
16289 # Shared library suffix (normally ".so").
16290 shrext_cmds='$shrext_cmds'
16292 # Executable file suffix (normally "").
16295 # Additional compiler flags for building library objects.
16296 pic_flag=$lt_lt_prog_compiler_pic_F77
16299 # What is the maximum length of a command?
16300 max_cmd_len=$lt_cv_sys_max_cmd_len
16302 # Does compiler simultaneously support -c and -o options?
16303 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16305 # Must we lock files when doing compilation?
16306 need_locks=$lt_need_locks
16308 # Do we need the lib prefix for modules?
16309 need_lib_prefix=$need_lib_prefix
16311 # Do we need a version for libraries?
16312 need_version=$need_version
16314 # Whether dlopen is supported.
16315 dlopen_support=$enable_dlopen
16317 # Whether dlopen of programs is supported.
16318 dlopen_self=$enable_dlopen_self
16320 # Whether dlopen of statically linked programs is supported.
16321 dlopen_self_static=$enable_dlopen_self_static
16323 # Compiler flag to prevent dynamic linking.
16324 link_static_flag=$lt_lt_prog_compiler_static_F77
16326 # Compiler flag to turn off builtin functions.
16327 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16329 # Compiler flag to allow reflexive dlopens.
16330 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16332 # Compiler flag to generate shared objects directly from archives.
16333 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16335 # Compiler flag to generate thread-safe objects.
16336 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16338 # Library versioning type.
16339 version_type=$version_type
16341 # Format of library name prefix.
16342 libname_spec=$lt_libname_spec
16344 # List of archive names. First name is the real one, the rest are links.
16345 # The last name is the one that the linker finds with -lNAME.
16346 library_names_spec=$lt_library_names_spec
16348 # The coded name of the library, if different from the real name.
16349 soname_spec=$lt_soname_spec
16351 # Commands used to build and install an old-style archive.
16353 old_archive_cmds=$lt_old_archive_cmds_F77
16354 old_postinstall_cmds=$lt_old_postinstall_cmds
16355 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16357 # Create an old-style archive from a shared archive.
16358 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16360 # Create a temporary old-style archive to link instead of a shared archive.
16361 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16363 # Commands used to build and install a shared archive.
16364 archive_cmds=$lt_archive_cmds_F77
16365 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16366 postinstall_cmds=$lt_postinstall_cmds
16367 postuninstall_cmds=$lt_postuninstall_cmds
16369 # Commands used to build a loadable module (assumed same as above if empty)
16370 module_cmds=$lt_module_cmds_F77
16371 module_expsym_cmds=$lt_module_expsym_cmds_F77
16373 # Commands to strip libraries.
16374 old_striplib=$lt_old_striplib
16375 striplib=$lt_striplib
16377 # Dependencies to place before the objects being linked to create a
16379 predep_objects=$lt_predep_objects_F77
16381 # Dependencies to place after the objects being linked to create a
16383 postdep_objects=$lt_postdep_objects_F77
16385 # Dependencies to place before the objects being linked to create a
16387 predeps=$lt_predeps_F77
16389 # Dependencies to place after the objects being linked to create a
16391 postdeps=$lt_postdeps_F77
16393 # The library search path used internally by the compiler when linking
16394 # a shared library.
16395 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16397 # Method to check whether dependent libraries are shared objects.
16398 deplibs_check_method=$lt_deplibs_check_method
16400 # Command to use when deplibs_check_method == file_magic.
16401 file_magic_cmd=$lt_file_magic_cmd
16403 # Flag that allows shared libraries with undefined symbols to be built.
16404 allow_undefined_flag=$lt_allow_undefined_flag_F77
16406 # Flag that forces no undefined symbols.
16407 no_undefined_flag=$lt_no_undefined_flag_F77
16409 # Commands used to finish a libtool library installation in a directory.
16410 finish_cmds=$lt_finish_cmds
16412 # Same as above, but a single script fragment to be evaled but not shown.
16413 finish_eval=$lt_finish_eval
16415 # Take the output of nm and produce a listing of raw symbols and C names.
16416 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16418 # Transform the output of nm in a proper C declaration
16419 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16421 # Transform the output of nm in a C name address pair
16422 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16424 # This is the shared library runtime path variable.
16425 runpath_var=$runpath_var
16427 # This is the shared library path variable.
16428 shlibpath_var=$shlibpath_var
16430 # Is shlibpath searched before the hard-coded library search path?
16431 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16433 # How to hardcode a shared library path into an executable.
16434 hardcode_action=$hardcode_action_F77
16436 # Whether we should hardcode library paths into libraries.
16437 hardcode_into_libs=$hardcode_into_libs
16439 # Flag to hardcode \$libdir into a binary during linking.
16440 # This must work even if \$libdir does not exist.
16441 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16443 # If ld is used when linking, flag to hardcode \$libdir into
16444 # a binary during linking. This must work even if \$libdir does
16446 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16448 # Whether we need a single -rpath flag with a separated argument.
16449 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16451 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16452 # resulting binary.
16453 hardcode_direct=$hardcode_direct_F77
16455 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16456 # resulting binary.
16457 hardcode_minus_L=$hardcode_minus_L_F77
16459 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16460 # the resulting binary.
16461 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16463 # Set to yes if building a shared library automatically hardcodes DIR into the library
16464 # and all subsequent libraries and executables linked against it.
16465 hardcode_automatic=$hardcode_automatic_F77
16467 # Variables whose values should be saved in libtool wrapper scripts and
16468 # restored at relink time.
16469 variables_saved_for_relink="$variables_saved_for_relink"
16471 # Whether libtool must link a program against all its dependency libraries.
16472 link_all_deplibs=$link_all_deplibs_F77
16474 # Compile-time system search path for libraries
16475 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16477 # Run-time system search path for libraries
16478 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16480 # Fix the shell variable \$srcfile for the compiler.
16481 fix_srcfile_path="$fix_srcfile_path_F77"
16483 # Set to yes if exported symbols are required.
16484 always_export_symbols=$always_export_symbols_F77
16486 # The commands to list exported symbols.
16487 export_symbols_cmds=$lt_export_symbols_cmds_F77
16489 # The commands to extract the exported symbol list from a shared archive.
16490 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16492 # Symbols that should not be listed in the preloaded symbols.
16493 exclude_expsyms=$lt_exclude_expsyms_F77
16495 # Symbols that must always be exported.
16496 include_expsyms=$lt_include_expsyms_F77
16498 # ### END LIBTOOL TAG CONFIG: $tagname
16504 # If there is no Makefile yet, we rely on a make rule to execute
16505 # `config.status --recheck' to rerun these tests and create the
16506 # libtool script then.
16507 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16508 if test -f "$ltmain_in"; then
16509 test -f Makefile
&& make "$ltmain"
16515 ac_cpp
='$CXXCPP $CPPFLAGS'
16516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16528 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16531 # Source file extension for Java test sources.
16534 # Object file extension for compiled Java test sources.
16538 # Code to be used in simple compile tests
16539 lt_simple_compile_test_code
="class foo {}\n"
16541 # Code to be used in simple link tests
16542 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16544 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16546 # If no C compiler was specified, use CC.
16549 # If no C compiler flags were specified, use CFLAGS.
16550 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16552 # Allow CC to be a program name with arguments.
16556 # save warnings/boilerplate of simple test code
16557 ac_outfile
=conftest.
$ac_objext
16558 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16559 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16560 _lt_compiler_boilerplate
=`cat conftest.err`
16563 ac_outfile
=conftest.
$ac_objext
16564 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16565 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16566 _lt_linker_boilerplate
=`cat conftest.err`
16570 # Allow CC to be a program name with arguments.
16575 for cc_temp
in $compiler""; do
16577 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16578 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16583 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16586 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16587 archive_cmds_need_lc_GCJ
=no
16589 old_archive_cmds_GCJ
=$old_archive_cmds
16592 lt_prog_compiler_no_builtin_flag_GCJ
=
16594 if test "$GCC" = yes; then
16595 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16598 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16599 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16600 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 lt_cv_prog_compiler_rtti_exceptions
=no
16604 ac_outfile
=conftest.
$ac_objext
16605 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16606 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16607 # Insert the option either (1) after the last *FLAGS variable, or
16608 # (2) before a word containing "conftest.", or (3) at the end.
16609 # Note that $ac_compile itself does not contain backslashes and begins
16610 # with a dollar sign (not a hyphen), so the echo should work correctly.
16611 # The option is referenced via a variable to avoid confusing sed.
16612 lt_compile
=`echo "$ac_compile" | $SED \
16613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16615 -e 's:$: $lt_compiler_flag:'`
16616 (eval echo "\"\$as_me:16616: $lt_compile\"" >&5)
16617 (eval "$lt_compile" 2>conftest.err
)
16619 cat conftest.err
>&5
16620 echo "$as_me:16620: \$? = $ac_status" >&5
16621 if (exit $ac_status) && test -s "$ac_outfile"; then
16622 # The compiler can only warn and ignore the option if not recognized
16623 # So say no if there are warnings other than the usual output.
16624 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16625 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16626 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16627 lt_cv_prog_compiler_rtti_exceptions
=yes
16633 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16634 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16636 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16637 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16644 lt_prog_compiler_wl_GCJ
=
16645 lt_prog_compiler_pic_GCJ
=
16646 lt_prog_compiler_static_GCJ
=
16648 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16649 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16651 if test "$GCC" = yes; then
16652 lt_prog_compiler_wl_GCJ
='-Wl,'
16653 lt_prog_compiler_static_GCJ
='-static'
16657 # All AIX code is PIC.
16658 if test "$host_cpu" = ia64
; then
16659 # AIX 5 now supports IA64 processor
16660 lt_prog_compiler_static_GCJ
='-Bstatic'
16665 # FIXME: we need at least 68020 code to build shared libraries, but
16666 # adding the `-m68020' flag to GCC prevents building anything better,
16668 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16671 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16672 # PIC is the default for these OSes.
16675 mingw
* | pw32
* | os2
*)
16676 # This hack is so that the source file can tell whether it is being
16677 # built for inclusion in a dll (and should export symbols for example).
16678 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16681 darwin
* | rhapsody
*)
16682 # PIC is the default on this platform
16683 # Common symbols not allowed in MH_DYLIB files
16684 lt_prog_compiler_pic_GCJ
='-fno-common'
16688 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16689 # Instead, we relocate shared libraries at runtime.
16693 # Just because we use GCC doesn't mean we suddenly get shared libraries
16694 # on systems that don't support them.
16695 lt_prog_compiler_can_build_shared_GCJ
=no
16700 if test -d /usr
/nec
; then
16701 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16706 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16707 # not for PA HP-UX.
16713 lt_prog_compiler_pic_GCJ
='-fPIC'
16719 lt_prog_compiler_pic_GCJ
='-fPIC'
16723 # PORTME Check for flag to pass linker flags through the system compiler.
16726 lt_prog_compiler_wl_GCJ
='-Wl,'
16727 if test "$host_cpu" = ia64
; then
16728 # AIX 5 now supports IA64 processor
16729 lt_prog_compiler_static_GCJ
='-Bstatic'
16731 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16735 # PIC is the default on this platform
16736 # Common symbols not allowed in MH_DYLIB files
16737 case $cc_basename in
16739 lt_prog_compiler_pic_GCJ
='-qnocommon'
16740 lt_prog_compiler_wl_GCJ
='-Wl,'
16745 mingw
* | pw32
* | os2
*)
16746 # This hack is so that the source file can tell whether it is being
16747 # built for inclusion in a dll (and should export symbols for example).
16748 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16751 hpux9
* | hpux10
* | hpux11
*)
16752 lt_prog_compiler_wl_GCJ
='-Wl,'
16753 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16754 # not for PA HP-UX.
16760 lt_prog_compiler_pic_GCJ
='+Z'
16763 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16764 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16767 irix5
* | irix6
* | nonstopux
*)
16768 lt_prog_compiler_wl_GCJ
='-Wl,'
16769 # PIC (with -KPIC) is the default.
16770 lt_prog_compiler_static_GCJ
='-non_shared'
16774 lt_prog_compiler_pic_GCJ
='-KPIC'
16775 lt_prog_compiler_static_GCJ
='-Bstatic'
16779 case $cc_basename in
16781 lt_prog_compiler_wl_GCJ
='-Wl,'
16782 lt_prog_compiler_pic_GCJ
='-KPIC'
16783 lt_prog_compiler_static_GCJ
='-static'
16785 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16786 # Portland Group compilers (*not* the Pentium gcc compiler,
16787 # which looks to be a dead project)
16788 lt_prog_compiler_wl_GCJ
='-Wl,'
16789 lt_prog_compiler_pic_GCJ
='-fpic'
16790 lt_prog_compiler_static_GCJ
='-Bstatic'
16793 lt_prog_compiler_wl_GCJ
='-Wl,'
16794 # All Alpha code is PIC.
16795 lt_prog_compiler_static_GCJ
='-non_shared'
16800 osf3
* | osf4
* | osf5
*)
16801 lt_prog_compiler_wl_GCJ
='-Wl,'
16802 # All OSF/1 code is PIC.
16803 lt_prog_compiler_static_GCJ
='-non_shared'
16807 lt_prog_compiler_pic_GCJ
='-KPIC'
16808 lt_prog_compiler_static_GCJ
='-Bstatic'
16809 case $cc_basename in
16810 f77
* | f90
* | f95
*)
16811 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16813 lt_prog_compiler_wl_GCJ
='-Wl,';;
16818 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16819 lt_prog_compiler_pic_GCJ
='-PIC'
16820 lt_prog_compiler_static_GCJ
='-Bstatic'
16823 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16824 lt_prog_compiler_wl_GCJ
='-Wl,'
16825 lt_prog_compiler_pic_GCJ
='-KPIC'
16826 lt_prog_compiler_static_GCJ
='-Bstatic'
16830 if test -d /usr
/nec
;then
16831 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16832 lt_prog_compiler_static_GCJ
='-Bstatic'
16836 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16837 lt_prog_compiler_wl_GCJ
='-Wl,'
16838 lt_prog_compiler_pic_GCJ
='-KPIC'
16839 lt_prog_compiler_static_GCJ
='-Bstatic'
16843 lt_prog_compiler_wl_GCJ
='-Wl,'
16844 lt_prog_compiler_can_build_shared_GCJ
=no
16848 lt_prog_compiler_pic_GCJ
='-pic'
16849 lt_prog_compiler_static_GCJ
='-Bstatic'
16853 lt_prog_compiler_can_build_shared_GCJ
=no
16858 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16859 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16862 # Check to make sure the PIC flag actually works.
16864 if test -n "$lt_prog_compiler_pic_GCJ"; then
16866 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16867 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16868 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 lt_prog_compiler_pic_works_GCJ
=no
16872 ac_outfile
=conftest.
$ac_objext
16873 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16874 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16875 # Insert the option either (1) after the last *FLAGS variable, or
16876 # (2) before a word containing "conftest.", or (3) at the end.
16877 # Note that $ac_compile itself does not contain backslashes and begins
16878 # with a dollar sign (not a hyphen), so the echo should work correctly.
16879 # The option is referenced via a variable to avoid confusing sed.
16880 lt_compile
=`echo "$ac_compile" | $SED \
16881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16883 -e 's:$: $lt_compiler_flag:'`
16884 (eval echo "\"\$as_me:16884: $lt_compile\"" >&5)
16885 (eval "$lt_compile" 2>conftest.err
)
16887 cat conftest.err
>&5
16888 echo "$as_me:16888: \$? = $ac_status" >&5
16889 if (exit $ac_status) && test -s "$ac_outfile"; then
16890 # The compiler can only warn and ignore the option if not recognized
16891 # So say no if there are warnings other than the usual output.
16892 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16893 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16894 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16895 lt_prog_compiler_pic_works_GCJ
=yes
16901 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16902 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16904 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16905 case $lt_prog_compiler_pic_GCJ in
16907 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16910 lt_prog_compiler_pic_GCJ
=
16911 lt_prog_compiler_can_build_shared_GCJ
=no
16916 # For platforms which do not support PIC, -DPIC is meaningless:
16918 lt_prog_compiler_pic_GCJ
=
16921 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16926 # Check to make sure the static flag actually works.
16928 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16929 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16930 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16931 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 lt_prog_compiler_static_works_GCJ
=no
16935 save_LDFLAGS
="$LDFLAGS"
16936 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16937 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16938 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16939 # The linker can only warn and ignore the option if not recognized
16940 # So say no if there are warnings
16941 if test -s conftest.err
; then
16942 # Append any errors to the config.log.
16943 cat conftest.err
1>&5
16944 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16945 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16946 if diff conftest.exp conftest.er2
>/dev
/null
; then
16947 lt_prog_compiler_static_works_GCJ
=yes
16950 lt_prog_compiler_static_works_GCJ
=yes
16954 LDFLAGS
="$save_LDFLAGS"
16957 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16958 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16960 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16963 lt_prog_compiler_static_GCJ
=
16967 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16968 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16969 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 lt_cv_prog_compiler_c_o_GCJ
=no
16973 $rm -r conftest
2>/dev
/null
16977 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16979 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16980 # Insert the option either (1) after the last *FLAGS variable, or
16981 # (2) before a word containing "conftest.", or (3) at the end.
16982 # Note that $ac_compile itself does not contain backslashes and begins
16983 # with a dollar sign (not a hyphen), so the echo should work correctly.
16984 lt_compile
=`echo "$ac_compile" | $SED \
16985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16987 -e 's:$: $lt_compiler_flag:'`
16988 (eval echo "\"\$as_me:16988: $lt_compile\"" >&5)
16989 (eval "$lt_compile" 2>out
/conftest.err
)
16991 cat out
/conftest.err
>&5
16992 echo "$as_me:16992: \$? = $ac_status" >&5
16993 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16995 # The compiler can only warn and ignore the option if not recognized
16996 # So say no if there are warnings
16997 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16998 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16999 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17000 lt_cv_prog_compiler_c_o_GCJ
=yes
17005 # SGI C++ compiler will create directory out/ii_files/ for
17006 # template instantiation
17007 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17008 $rm out
/* && rmdir out
17014 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17015 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17018 hard_links
="nottested"
17019 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17020 # do not overwrite the value of need_locks provided by the user
17021 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17022 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17025 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17027 ln conftest.a conftest.b
2>&5 || hard_links
=no
17028 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17029 { echo "$as_me:$LINENO: result: $hard_links" >&5
17030 echo "${ECHO_T}$hard_links" >&6; }
17031 if test "$hard_links" = no
; then
17032 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17033 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17040 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17041 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17044 allow_undefined_flag_GCJ
=
17045 enable_shared_with_static_runtimes_GCJ
=no
17047 archive_expsym_cmds_GCJ
=
17048 old_archive_From_new_cmds_GCJ
=
17049 old_archive_from_expsyms_cmds_GCJ
=
17050 export_dynamic_flag_spec_GCJ
=
17051 whole_archive_flag_spec_GCJ
=
17052 thread_safe_flag_spec_GCJ
=
17053 hardcode_libdir_flag_spec_GCJ
=
17054 hardcode_libdir_flag_spec_ld_GCJ
=
17055 hardcode_libdir_separator_GCJ
=
17056 hardcode_direct_GCJ
=no
17057 hardcode_minus_L_GCJ
=no
17058 hardcode_shlibpath_var_GCJ
=unsupported
17059 link_all_deplibs_GCJ
=unknown
17060 hardcode_automatic_GCJ
=no
17062 module_expsym_cmds_GCJ
=
17063 always_export_symbols_GCJ
=no
17064 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17065 # include_expsyms should be a list of space-separated symbols to be *always*
17066 # included in the symbol list
17067 include_expsyms_GCJ
=
17068 # exclude_expsyms can be an extended regexp of symbols to exclude
17069 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17070 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17071 # as well as any symbol that contains `d'.
17072 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17073 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17074 # platforms (ab)use it in PIC code, but their linkers get confused if
17075 # the symbol is explicitly referenced. Since portable code cannot
17076 # rely on this symbol name, it's probably fine to never include it in
17077 # preloaded symbol tables.
17078 extract_expsyms_cmds
=
17079 # Just being paranoid about ensuring that cc_basename is set.
17080 for cc_temp
in $compiler""; do
17082 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17083 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17088 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17091 cygwin
* | mingw
* | pw32
*)
17092 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17093 # When not using gcc, we currently assume that we are using
17094 # Microsoft Visual C++.
17095 if test "$GCC" != yes; then
17100 # we just hope/assume this is gcc and not c89 (= MSVC++)
17109 if test "$with_gnu_ld" = yes; then
17110 # If archive_cmds runs LD, not CC, wlarc should be empty
17113 # Set some defaults for GNU ld with shared library support. These
17114 # are reset later if shared libraries are not supported. Putting them
17115 # here allows them to be overridden if necessary.
17116 runpath_var
=LD_RUN_PATH
17117 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17118 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17119 # ancient GNU ld didn't support --whole-archive et. al.
17120 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17121 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17123 whole_archive_flag_spec_GCJ
=
17125 supports_anon_versioning
=no
17126 case `$LD -v 2>/dev/null` in
17127 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17128 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17129 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17130 *\
2.11.
*) ;; # other 2.11 versions
17131 *) supports_anon_versioning
=yes ;;
17134 # See if GNU ld supports shared libraries.
17136 aix3
* | aix4
* | aix5
*)
17137 # On AIX/PPC, the GNU linker is very broken
17138 if test "$host_cpu" != ia64
; then
17142 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17143 *** to be unable to reliably create shared libraries on AIX.
17144 *** Therefore, libtool is disabling shared libraries support. If you
17145 *** really care for shared libraries, you may want to modify your PATH
17146 *** so that a non-GNU linker is found, and then restart.
17153 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)'
17154 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17155 hardcode_minus_L_GCJ
=yes
17157 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17158 # that the semantics of dynamic libraries on AmigaOS, at least up
17159 # to version 4, is to share data among multiple programs linked
17160 # with the same dynamic library. Since this doesn't match the
17161 # behavior of shared libraries on other platforms, we can't use
17167 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17168 allow_undefined_flag_GCJ
=unsupported
17169 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17170 # support --undefined. This deserves some investigation. FIXME
17171 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17177 cygwin
* | mingw
* | pw32
*)
17178 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17179 # as there is no search path for DLLs.
17180 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17181 allow_undefined_flag_GCJ
=unsupported
17182 always_export_symbols_GCJ
=no
17183 enable_shared_with_static_runtimes_GCJ
=yes
17184 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17186 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17187 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17188 # If the export-symbols file already is a .def file (1st line
17189 # is EXPORTS), use it as is; otherwise, prepend...
17190 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17191 cp $export_symbols $output_objdir/$soname.def;
17193 echo EXPORTS > $output_objdir/$soname.def;
17194 cat $export_symbols >> $output_objdir/$soname.def;
17196 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17203 hardcode_direct_GCJ
=no
17204 hardcode_shlibpath_var_GCJ
=no
17205 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17206 export_dynamic_flag_spec_GCJ
='${wl}-E'
17207 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17208 # Instead, shared libraries are loaded at an image base (0x10000000 by
17209 # default) and relocated if they conflict, which is a slow very memory
17210 # consuming and fragmenting process. To avoid this, we pick a random,
17211 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17212 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17213 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'
17214 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'
17218 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17220 case $cc_basename,$host_cpu in
17221 pgcc
*) # Portland Group C compiler
17222 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'
17223 tmp_addflag
=' $pic_flag'
17225 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17226 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'
17227 tmp_addflag
=' $pic_flag -Mnomain' ;;
17228 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17229 tmp_addflag
=' -i_dynamic' ;;
17230 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17231 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17232 ifc
* | ifort
*) # Intel Fortran compiler
17233 tmp_addflag
=' -nofor_main' ;;
17235 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17237 if test $supports_anon_versioning = yes; then
17238 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17239 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17240 $echo "local: *; };" >> $output_objdir/$libname.ver~
17241 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17249 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17250 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17253 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17254 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17259 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17263 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17264 *** create shared libraries on Solaris systems. Therefore, libtool
17265 *** is disabling shared libraries support. We urge you to upgrade GNU
17266 *** binutils to release 2.9.1 or newer. Another option is to modify
17267 *** your PATH or compiler configuration so that the native linker is
17268 *** used, and then restart.
17271 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17272 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17273 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17279 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17280 case `$LD -v 2>&1` in
17281 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17285 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17286 *** reliably create shared libraries on SCO systems. Therefore, libtool
17287 *** is disabling shared libraries support. We urge you to upgrade GNU
17288 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17289 *** your PATH or compiler configuration so that the native linker is
17290 *** used, and then restart.
17295 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17296 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17297 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17298 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17307 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17309 hardcode_direct_GCJ
=yes
17310 hardcode_shlibpath_var_GCJ
=no
17314 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17315 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17316 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17323 if test "$ld_shlibs_GCJ" = no
; then
17325 hardcode_libdir_flag_spec_GCJ
=
17326 export_dynamic_flag_spec_GCJ
=
17327 whole_archive_flag_spec_GCJ
=
17330 # PORTME fill in a description of your system's linker (not GNU ld)
17333 allow_undefined_flag_GCJ
=unsupported
17334 always_export_symbols_GCJ
=yes
17335 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'
17336 # Note: this linker hardcodes the directories in LIBPATH if there
17337 # are no directories specified by -L.
17338 hardcode_minus_L_GCJ
=yes
17339 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17340 # Neither direct hardcoding nor static linking is supported with a
17342 hardcode_direct_GCJ
=unsupported
17347 if test "$host_cpu" = ia64
; then
17348 # On IA64, the linker does run time linking by default, so we don't
17349 # have to do anything special.
17350 aix_use_runtimelinking
=no
17351 exp_sym_flag
='-Bexport'
17354 # If we're using GNU nm, then we don't want the "-C" option.
17355 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17356 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17357 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'
17359 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'
17361 aix_use_runtimelinking
=no
17363 # Test if we are trying to use run time linking or normal
17364 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17365 # need to do runtime linking.
17366 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17367 for ld_flag
in $LDFLAGS; do
17368 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17369 aix_use_runtimelinking
=yes
17376 exp_sym_flag
='-bexport'
17377 no_entry_flag
='-bnoentry'
17380 # When large executables or shared objects are built, AIX ld can
17381 # have problems creating the table of contents. If linking a library
17382 # or program results in "error TOC overflow" add -mminimal-toc to
17383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17386 archive_cmds_GCJ
=''
17387 hardcode_direct_GCJ
=yes
17388 hardcode_libdir_separator_GCJ
=':'
17389 link_all_deplibs_GCJ
=yes
17391 if test "$GCC" = yes; then
17392 case $host_os in aix4.
[012]|aix4.
[012].
*)
17393 # We only want to do this on AIX 4.2 and lower, the check
17394 # below for broken collect2 doesn't work under 4.3+
17395 collect2name
=`${CC} -print-prog-name=collect2`
17396 if test -f "$collect2name" && \
17397 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17399 # We have reworked collect2
17400 hardcode_direct_GCJ
=yes
17402 # We have old collect2
17403 hardcode_direct_GCJ
=unsupported
17404 # It fails to find uninstalled libraries when the uninstalled
17405 # path is not listed in the libpath. Setting hardcode_minus_L
17406 # to unsupported forces relinking
17407 hardcode_minus_L_GCJ
=yes
17408 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17409 hardcode_libdir_separator_GCJ
=
17413 shared_flag
='-shared'
17414 if test "$aix_use_runtimelinking" = yes; then
17415 shared_flag
="$shared_flag "'${wl}-G'
17419 if test "$host_cpu" = ia64
; then
17420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17421 # chokes on -Wl,-G. The following line is correct:
17424 if test "$aix_use_runtimelinking" = yes; then
17425 shared_flag
='${wl}-G'
17427 shared_flag
='${wl}-bM:SRE'
17432 # It seems that -bexpall does not export symbols beginning with
17433 # underscore (_), so it is better to generate a list of symbols to export.
17434 always_export_symbols_GCJ
=yes
17435 if test "$aix_use_runtimelinking" = yes; then
17436 # Warning - without using the other runtime loading flags (-brtl),
17437 # -berok will link without error, but may produce a broken library.
17438 allow_undefined_flag_GCJ
='-berok'
17439 # Determine the default libpath from the value encoded in an empty executable.
17440 cat >conftest.
$ac_ext <<_ACEOF
17443 cat confdefs.h
>>conftest.
$ac_ext
17444 cat >>conftest.
$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17455 rm -f conftest.
$ac_objext conftest
$ac_exeext
17456 if { (ac_try
="$ac_link"
17457 case "(($ac_try" in
17458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_link") 2>conftest.er1
17464 grep -v '^ *+' conftest.er1 >conftest.err
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17470 { (case "(($ac_try" in
17471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17472 *) ac_try_echo
=$ac_try;;
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_try") 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try
='test -s conftest$ac_exeext'
17480 { (case "(($ac_try" in
17481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17482 *) ac_try_echo=$ac_try;;
17484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17485 (eval "$ac_try") 2>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; }; then
17490 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17492 # Check for a 64-bit object if we didn't find anything.
17493 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; }
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17502 rm -f core conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17504 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17506 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17507 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"
17509 if test "$host_cpu" = ia64; then
17510 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17511 allow_undefined_flag_GCJ="-z nodefs"
17512 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"
17514 # Determine the default libpath from the value encoded in an empty executable.
17515 cat >conftest.$ac_ext <<_ACEOF
17518 cat confdefs.h >>conftest.$ac_ext
17519 cat >>conftest.$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17530 rm -f conftest.$ac_objext conftest$ac_exeext
17531 if { (ac_try="$ac_link"
17532 case "(($ac_try" in
17533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17534 *) ac_try_echo
=$ac_try;;
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_link") 2>conftest.er1
17539 grep -v '^ *+' conftest.er1
>conftest.err
17541 cat conftest.err
>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } &&
17544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17545 { (case "(($ac_try" in
17546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_try") 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; } &&
17554 { ac_try='test -s conftest$ac_exeext'
17555 { (case "(($ac_try" in
17556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17557 *) ac_try_echo
=$ac_try;;
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_try") 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17565 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17567 # Check for a 64-bit object if we didn't find anything.
17568 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; }
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.
$ac_ext >&5
17577 rm -f core conftest.err conftest.
$ac_objext \
17578 conftest
$ac_exeext conftest.
$ac_ext
17579 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17581 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17582 # Warning - without using the other run time loading flags,
17583 # -berok will link without error, but may produce a broken library.
17584 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17585 allow_undefined_flag_GCJ
=' ${wl}-berok'
17586 # Exported symbols can be pulled into shared objects from archives
17587 whole_archive_flag_spec_GCJ
='$convenience'
17588 archive_cmds_need_lc_GCJ
=yes
17589 # This is similar to how AIX traditionally builds its shared libraries.
17590 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'
17596 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)'
17597 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17598 hardcode_minus_L_GCJ
=yes
17599 # see comment about different semantics on the GNU ld section
17604 export_dynamic_flag_spec_GCJ
=-rdynamic
17607 cygwin
* | mingw
* | pw32
*)
17608 # When not using gcc, we currently assume that we are using
17609 # Microsoft Visual C++.
17610 # hardcode_libdir_flag_spec is actually meaningless, as there is
17611 # no search path for DLLs.
17612 hardcode_libdir_flag_spec_GCJ
=' '
17613 allow_undefined_flag_GCJ
=unsupported
17614 # Tell ltmain to make .lib files, not .a files.
17616 # Tell ltmain to make .dll files, not .so files.
17618 # FIXME: Setting linknames here is a bad hack.
17619 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17620 # The linker will automatically build a .lib file if we build a DLL.
17621 old_archive_From_new_cmds_GCJ
='true'
17622 # FIXME: Should let the user specify the lib program.
17623 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17624 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17625 enable_shared_with_static_runtimes_GCJ
=yes
17628 darwin
* | rhapsody
*)
17630 rhapsody
* | darwin1.
[012])
17631 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17634 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17635 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17637 case ${MACOSX_DEPLOYMENT_TARGET} in
17639 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17642 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17648 archive_cmds_need_lc_GCJ
=no
17649 hardcode_direct_GCJ
=no
17650 hardcode_automatic_GCJ
=yes
17651 hardcode_shlibpath_var_GCJ
=unsupported
17652 whole_archive_flag_spec_GCJ
=''
17653 link_all_deplibs_GCJ
=yes
17654 if test "$GCC" = yes ; then
17655 output_verbose_link_cmd
='echo'
17656 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17657 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17658 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17659 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}'
17660 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}'
17662 case $cc_basename in
17664 output_verbose_link_cmd
='echo'
17665 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17666 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17667 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17668 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}'
17669 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}'
17679 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17680 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17681 hardcode_shlibpath_var_GCJ
=no
17688 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17689 # support. Future versions do this automatically, but an explicit c++rt0.o
17690 # does not break anything, and helps significantly (at the cost of a little
17693 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17694 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17695 hardcode_direct_GCJ
=yes
17696 hardcode_shlibpath_var_GCJ
=no
17699 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17701 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17702 hardcode_direct_GCJ
=yes
17703 hardcode_minus_L_GCJ
=yes
17704 hardcode_shlibpath_var_GCJ
=no
17707 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17708 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17709 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17710 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17711 hardcode_direct_GCJ
=yes
17712 hardcode_shlibpath_var_GCJ
=no
17716 if test "$GCC" = yes; then
17717 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'
17719 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'
17721 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17722 hardcode_libdir_separator_GCJ
=:
17723 hardcode_direct_GCJ
=yes
17725 # hardcode_minus_L: Not really in the search PATH,
17726 # but as the default location of the library.
17727 hardcode_minus_L_GCJ
=yes
17728 export_dynamic_flag_spec_GCJ
='${wl}-E'
17732 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17733 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17735 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17737 if test "$with_gnu_ld" = no
; then
17738 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17739 hardcode_libdir_separator_GCJ
=:
17741 hardcode_direct_GCJ
=yes
17742 export_dynamic_flag_spec_GCJ
='${wl}-E'
17744 # hardcode_minus_L: Not really in the search PATH,
17745 # but as the default location of the library.
17746 hardcode_minus_L_GCJ
=yes
17751 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17754 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17757 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17760 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17766 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17769 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17772 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17776 if test "$with_gnu_ld" = no
; then
17777 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17778 hardcode_libdir_separator_GCJ
=:
17782 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17783 hardcode_direct_GCJ
=no
17784 hardcode_shlibpath_var_GCJ
=no
17787 hardcode_direct_GCJ
=yes
17788 export_dynamic_flag_spec_GCJ
='${wl}-E'
17790 # hardcode_minus_L: Not really in the search PATH,
17791 # but as the default location of the library.
17792 hardcode_minus_L_GCJ
=yes
17798 irix5
* | irix6
* | nonstopux
*)
17799 if test "$GCC" = yes; then
17800 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'
17802 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'
17803 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17805 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17806 hardcode_libdir_separator_GCJ
=:
17807 link_all_deplibs_GCJ
=yes
17811 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17812 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17814 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17816 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17817 hardcode_direct_GCJ
=yes
17818 hardcode_shlibpath_var_GCJ
=no
17822 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17823 hardcode_direct_GCJ
=yes
17824 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17825 hardcode_libdir_separator_GCJ
=:
17826 hardcode_shlibpath_var_GCJ
=no
17830 hardcode_direct_GCJ
=yes
17831 hardcode_shlibpath_var_GCJ
=no
17832 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17833 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17834 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17835 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17836 export_dynamic_flag_spec_GCJ
='${wl}-E'
17839 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17840 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17841 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17844 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17845 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17852 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17853 hardcode_minus_L_GCJ
=yes
17854 allow_undefined_flag_GCJ
=unsupported
17855 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'
17856 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17860 if test "$GCC" = yes; then
17861 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17862 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'
17864 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17865 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'
17867 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17868 hardcode_libdir_separator_GCJ
=:
17871 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17872 if test "$GCC" = yes; then
17873 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17874 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'
17875 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17877 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17878 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'
17879 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~
17880 $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'
17882 # Both c and cxx compiler support -rpath directly
17883 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17885 hardcode_libdir_separator_GCJ
=:
17889 no_undefined_flag_GCJ
=' -z text'
17890 if test "$GCC" = yes; then
17892 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17893 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17894 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17897 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17898 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17899 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17901 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17902 hardcode_shlibpath_var_GCJ
=no
17904 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17906 # The compiler driver will combine linker options so we
17907 # cannot just pass the convience library names through
17908 # without $wl, iff we do not link with $LD.
17909 # Luckily, gcc supports the same syntax we need for Sun Studio.
17910 # Supported since Solaris 2.6 (maybe 2.5.1?)
17913 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17915 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' ;;
17918 link_all_deplibs_GCJ
=yes
17922 if test "x$host_vendor" = xsequent
; then
17923 # Use $CC to link under sequent, because it throws in some extra .o
17924 # files that make .init and .fini sections work.
17925 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17927 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17929 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17930 hardcode_direct_GCJ
=yes
17931 hardcode_minus_L_GCJ
=yes
17932 hardcode_shlibpath_var_GCJ
=no
17936 case $host_vendor in
17938 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17939 hardcode_direct_GCJ
=yes # is this really true???
17942 ## LD is ld it makes a PLAMLIB
17943 ## CC just makes a GrossModule.
17944 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17945 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17946 hardcode_direct_GCJ
=no
17949 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17950 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17953 runpath_var
='LD_RUN_PATH'
17954 hardcode_shlibpath_var_GCJ
=no
17958 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17959 hardcode_shlibpath_var_GCJ
=no
17960 export_dynamic_flag_spec_GCJ
='-Bexport'
17964 if test -d /usr
/nec
; then
17965 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17966 hardcode_shlibpath_var_GCJ
=no
17967 runpath_var
=LD_RUN_PATH
17968 hardcode_runpath_var
=yes
17973 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17974 no_undefined_flag_GCJ
='${wl}-z,text'
17975 archive_cmds_need_lc_GCJ
=no
17976 hardcode_shlibpath_var_GCJ
=no
17977 runpath_var
='LD_RUN_PATH'
17979 if test "$GCC" = yes; then
17980 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17981 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17983 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17984 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17988 sysv5
* | sco3.2v5
* | sco5v6
*)
17989 # Note: We can NOT use -z defs as we might desire, because we do not
17990 # link with -lc, and that would cause any symbols used from libc to
17991 # always be unresolved, which means just about no library would
17992 # ever link correctly. If we're not using GNU ld we use -z text
17993 # though, which does catch some bad symbols but isn't as heavy-handed
17995 no_undefined_flag_GCJ
='${wl}-z,text'
17996 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17997 archive_cmds_need_lc_GCJ
=no
17998 hardcode_shlibpath_var_GCJ
=no
17999 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18000 hardcode_libdir_separator_GCJ
=':'
18001 link_all_deplibs_GCJ
=yes
18002 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18003 runpath_var
='LD_RUN_PATH'
18005 if test "$GCC" = yes; then
18006 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18007 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18009 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18010 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18015 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18016 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18017 hardcode_shlibpath_var_GCJ
=no
18026 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18027 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18028 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18031 # Do we need to explicitly link libc?
18033 case "x$archive_cmds_need_lc_GCJ" in
18035 # Assume -lc should be added
18036 archive_cmds_need_lc_GCJ
=yes
18038 if test "$enable_shared" = yes && test "$GCC" = yes; then
18039 case $archive_cmds_GCJ in
18041 # FIXME: we may have to deal with multi-command sequences.
18044 # Test whether the compiler implicitly links with -lc since on some
18045 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18046 # to ld, don't add -lc before -lgcc.
18047 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18048 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18050 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } 2>conftest.err
; then
18059 libobjs
=conftest.
$ac_objext
18061 wl
=$lt_prog_compiler_wl_GCJ
18062 pic_flag
=$lt_prog_compiler_pic_GCJ
18068 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18069 allow_undefined_flag_GCJ
=
18070 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18071 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); }
18076 archive_cmds_need_lc_GCJ
=no
18078 archive_cmds_need_lc_GCJ
=yes
18080 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18082 cat conftest.err
1>&5
18085 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18086 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18093 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18094 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18095 library_names_spec
=
18096 libname_spec
='lib$name'
18100 postuninstall_cmds
=
18104 shlibpath_overrides_runpath
=unknown
18106 dynamic_linker
="$host_os ld.so"
18107 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18108 if test "$GCC" = yes; then
18109 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18110 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18111 # if the path contains ";" then we assume it to be the separator
18112 # otherwise default to the standard path separator (i.e. ":") - it is
18113 # assumed that no part of a normal pathname contains ";" but that should
18114 # okay in the real world where ";" in dirpaths is itself problematic.
18115 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18117 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18120 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18122 need_lib_prefix
=unknown
18123 hardcode_into_libs
=no
18125 # when you set need_version to no, make sure it does not cause -set_version
18126 # flags to be left without arguments
18127 need_version
=unknown
18132 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18133 shlibpath_var
=LIBPATH
18135 # AIX 3 has no versioning support, so we append a major version to the name.
18136 soname_spec
='${libname}${release}${shared_ext}$major'
18143 hardcode_into_libs
=yes
18144 if test "$host_cpu" = ia64
; then
18145 # AIX 5 supports IA64
18146 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18147 shlibpath_var
=LD_LIBRARY_PATH
18149 # With GCC up to 2.95.x, collect2 would create an import file
18150 # for dependence libraries. The import file would start with
18151 # the line `#! .'. This would cause the generated library to
18152 # depend on `.', always an invalid library. This was fixed in
18153 # development snapshots of GCC prior to 3.0.
18155 aix4 | aix4.
[01] | aix4.
[01].
*)
18156 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18158 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18161 can_build_shared
=no
18165 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18166 # soname into executable. Probably we can add versioning support to
18167 # collect2, so additional links can be useful in future.
18168 if test "$aix_use_runtimelinking" = yes; then
18169 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18170 # instead of lib<name>.a to let people know that these are not
18171 # typical AIX shared libraries.
18172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18174 # We preserve .a as extension for shared libraries through AIX4.2
18175 # and later when we are not doing run time linking.
18176 library_names_spec
='${libname}${release}.a $libname.a'
18177 soname_spec
='${libname}${release}${shared_ext}$major'
18179 shlibpath_var
=LIBPATH
18184 library_names_spec
='$libname.ixlibrary $libname.a'
18185 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18186 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'
18190 library_names_spec
='${libname}${shared_ext}'
18191 dynamic_linker
="$host_os ld.so"
18192 shlibpath_var
=LIBRARY_PATH
18198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18199 soname_spec
='${libname}${release}${shared_ext}$major'
18200 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18201 shlibpath_var
=LD_LIBRARY_PATH
18202 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18203 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18204 # the default ld.so.conf also contains /usr/contrib/lib and
18205 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18206 # libtool to hard-code these into programs
18209 cygwin
* | mingw
* | pw32
*)
18210 version_type
=windows
18215 case $GCC,$host_os in
18216 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18217 library_names_spec
='$libname.dll.a'
18218 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18219 postinstall_cmds
='base_file=`basename \${file}`~
18220 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18221 dldir=$destdir/`dirname \$dlpath`~
18222 test -d \$dldir || mkdir -p \$dldir~
18223 $install_prog $dir/$dlname \$dldir/$dlname~
18224 chmod a+x \$dldir/$dlname'
18225 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18226 dlpath=$dir/\$dldll~
18228 shlibpath_overrides_runpath
=yes
18232 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18233 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18234 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18237 # MinGW DLLs use traditional 'lib' prefix
18238 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18239 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18240 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18241 # It is most probably a Windows format PATH printed by
18242 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18243 # path with ; separators, and with drive letters. We can handle the
18244 # drive letters (cygwin fileutils understands them), so leave them,
18245 # especially as we might pass files found there to a mingw objdump,
18246 # which wouldn't understand a cygwinified path. Ahh.
18247 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18249 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18253 # pw32 DLLs use 'pw' prefix rather than 'lib'
18254 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18260 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18263 dynamic_linker
='Win32 ld.exe'
18264 # FIXME: first we should search . and the directory the executable is in
18268 darwin
* | rhapsody
*)
18269 dynamic_linker
="$host_os dyld"
18270 version_type
=darwin
18273 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18274 soname_spec
='${libname}${release}${major}$shared_ext'
18275 shlibpath_overrides_runpath
=yes
18276 shlibpath_var
=DYLD_LIBRARY_PATH
18277 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18278 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18279 if test "$GCC" = yes; then
18280 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"`
18282 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18284 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18292 soname_spec
='${libname}${release}${shared_ext}$major'
18293 shlibpath_var
=LD_LIBRARY_PATH
18304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18305 soname_spec
='${libname}${release}${shared_ext}$major'
18306 shlibpath_var
=LD_LIBRARY_PATH
18307 shlibpath_overrides_runpath
=no
18308 hardcode_into_libs
=yes
18309 dynamic_linker
='GNU ld.so'
18312 freebsd
* | dragonfly
*)
18313 # DragonFly does not have aout. When/if they implement a new
18314 # versioning mechanism, adjust this.
18315 if test -x /usr
/bin
/objformat
; then
18316 objformat
=`/usr/bin/objformat`
18319 freebsd
[123]*) objformat
=aout
;;
18320 *) objformat
=elf
;;
18323 version_type
=freebsd-
$objformat
18324 case $version_type in
18326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18331 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18335 shlibpath_var
=LD_LIBRARY_PATH
18338 shlibpath_overrides_runpath
=yes
18340 freebsd3.
[01]* | freebsdelf3.
[01]*)
18341 shlibpath_overrides_runpath
=yes
18342 hardcode_into_libs
=yes
18344 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18345 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18346 shlibpath_overrides_runpath
=no
18347 hardcode_into_libs
=yes
18349 freebsd
*) # from 4.6 on
18350 shlibpath_overrides_runpath
=yes
18351 hardcode_into_libs
=yes
18360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18361 soname_spec
='${libname}${release}${shared_ext}$major'
18362 shlibpath_var
=LD_LIBRARY_PATH
18363 hardcode_into_libs
=yes
18366 hpux9
* | hpux10
* | hpux11
*)
18367 # Give a soname corresponding to the major version so that dld.sl refuses to
18368 # link against other versions.
18375 hardcode_into_libs
=yes
18376 dynamic_linker
="$host_os dld.so"
18377 shlibpath_var
=LD_LIBRARY_PATH
18378 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18380 soname_spec
='${libname}${release}${shared_ext}$major'
18381 if test "X$HPUX_IA64_MODE" = X32
; then
18382 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18384 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18386 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18390 hardcode_into_libs
=yes
18391 dynamic_linker
="$host_os dld.sl"
18392 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18393 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18395 soname_spec
='${libname}${release}${shared_ext}$major'
18396 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18397 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18401 dynamic_linker
="$host_os dld.sl"
18402 shlibpath_var
=SHLIB_PATH
18403 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18405 soname_spec
='${libname}${release}${shared_ext}$major'
18408 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18409 postinstall_cmds
='chmod 555 $lib'
18416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18417 soname_spec
='${libname}${release}${shared_ext}$major'
18418 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18419 shlibpath_var
=LD_LIBRARY_PATH
18420 shlibpath_overrides_runpath
=no
18421 hardcode_into_libs
=yes
18424 irix5
* | irix6
* | nonstopux
*)
18426 nonstopux
*) version_type
=nonstopux
;;
18428 if test "$lt_cv_prog_gnu_ld" = yes; then
18436 soname_spec
='${libname}${release}${shared_ext}$major'
18437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18439 irix5
* | nonstopux
*)
18440 libsuff
= shlibsuff
=
18443 case $LD in # libtool.m4 will add one of these switches to LD
18444 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18445 libsuff
= shlibsuff
= libmagic
=32-bit;;
18446 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18447 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18448 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18449 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18450 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18454 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18455 shlibpath_overrides_runpath
=no
18456 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18457 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18458 hardcode_into_libs
=yes
18461 # No shared lib support for Linux oldld, aout, or coff.
18462 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18466 # This must be Linux ELF.
18471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18472 soname_spec
='${libname}${release}${shared_ext}$major'
18473 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18474 shlibpath_var
=LD_LIBRARY_PATH
18475 shlibpath_overrides_runpath
=no
18476 # This implies no fast_install, which is unacceptable.
18477 # Some rework will be needed to allow for fast_install
18478 # before this can be enabled.
18479 hardcode_into_libs
=yes
18481 # Append ld.so.conf contents to the search path
18482 if test -f /etc
/ld.so.conf
; then
18483 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' ' '`
18484 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18487 # We used to test for /lib/ld.so.1 and disable shared libraries on
18488 # powerpc, because MkLinux only supported shared libraries with the
18489 # GNU dynamic linker. Since this was broken with cross compilers,
18490 # most powerpc-linux boxes support dynamic linking these days and
18491 # people can always --disable-shared, the test was removed, and we
18492 # assume the GNU/Linux dynamic linker is in use.
18493 dynamic_linker
='GNU/Linux ld.so'
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18501 soname_spec
='${libname}${release}${shared_ext}$major'
18502 shlibpath_var
=LD_LIBRARY_PATH
18503 shlibpath_overrides_runpath
=no
18504 hardcode_into_libs
=yes
18505 dynamic_linker
='GNU ld.so'
18512 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18514 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18515 dynamic_linker
='NetBSD (a.out) ld.so'
18517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18518 soname_spec
='${libname}${release}${shared_ext}$major'
18519 dynamic_linker
='NetBSD ld.elf_so'
18521 shlibpath_var
=LD_LIBRARY_PATH
18522 shlibpath_overrides_runpath
=yes
18523 hardcode_into_libs
=yes
18528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18529 shlibpath_var
=LD_LIBRARY_PATH
18530 shlibpath_overrides_runpath
=yes
18537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18538 soname_spec
='${libname}${release}${shared_ext}$major'
18539 shlibpath_var
=LD_LIBRARY_PATH
18540 shlibpath_overrides_runpath
=yes
18545 sys_lib_dlsearch_path_spec
="/usr/lib"
18547 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18549 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18550 *) need_version
=no
;;
18552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18553 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18554 shlibpath_var
=LD_LIBRARY_PATH
18555 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18557 openbsd2.
[89] | openbsd2.
[89].
*)
18558 shlibpath_overrides_runpath
=no
18561 shlibpath_overrides_runpath
=yes
18565 shlibpath_overrides_runpath
=yes
18570 libname_spec
='$name'
18573 library_names_spec
='$libname${shared_ext} $libname.a'
18574 dynamic_linker
='OS/2 ld.exe'
18575 shlibpath_var
=LIBPATH
18578 osf3
* | osf4
* | osf5
*)
18582 soname_spec
='${libname}${release}${shared_ext}$major'
18583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18584 shlibpath_var
=LD_LIBRARY_PATH
18585 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18586 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18594 soname_spec
='${libname}${release}${shared_ext}$major'
18595 shlibpath_var
=LD_LIBRARY_PATH
18596 shlibpath_overrides_runpath
=yes
18597 hardcode_into_libs
=yes
18598 # ldd complains unless libraries are executable
18599 postinstall_cmds
='chmod +x $lib'
18604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18605 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18606 shlibpath_var
=LD_LIBRARY_PATH
18607 shlibpath_overrides_runpath
=yes
18608 if test "$with_gnu_ld" = yes; then
18616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18617 soname_spec
='${libname}${release}${shared_ext}$major'
18618 shlibpath_var
=LD_LIBRARY_PATH
18619 case $host_vendor in
18621 shlibpath_overrides_runpath
=no
18623 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18624 runpath_var
=LD_RUN_PATH
18632 shlibpath_overrides_runpath
=no
18633 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18639 if test -d /usr
/nec
;then
18641 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18642 soname_spec
='$libname${shared_ext}.$major'
18643 shlibpath_var
=LD_LIBRARY_PATH
18647 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18648 version_type
=freebsd-elf
18651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18652 soname_spec
='${libname}${release}${shared_ext}$major'
18653 shlibpath_var
=LD_LIBRARY_PATH
18654 hardcode_into_libs
=yes
18655 if test "$with_gnu_ld" = yes; then
18656 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18657 shlibpath_overrides_runpath
=no
18659 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18660 shlibpath_overrides_runpath
=yes
18663 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18667 sys_lib_dlsearch_path_spec
='/usr/lib'
18672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18673 soname_spec
='${libname}${release}${shared_ext}$major'
18674 shlibpath_var
=LD_LIBRARY_PATH
18681 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18682 echo "${ECHO_T}$dynamic_linker" >&6; }
18683 test "$dynamic_linker" = no
&& can_build_shared
=no
18685 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18686 if test "$GCC" = yes; then
18687 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18690 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18691 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18692 hardcode_action_GCJ
=
18693 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18694 test -n "$runpath_var_GCJ" || \
18695 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18697 # We can hardcode non-existant directories.
18698 if test "$hardcode_direct_GCJ" != no
&&
18699 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18700 # have to relink, otherwise we might link with an installed library
18701 # when we should be linking with a yet-to-be-installed one
18702 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18703 test "$hardcode_minus_L_GCJ" != no
; then
18704 # Linking always hardcodes the temporary library directory.
18705 hardcode_action_GCJ
=relink
18707 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18708 hardcode_action_GCJ
=immediate
18711 # We cannot hardcode anything, or else we can only hardcode existing
18713 hardcode_action_GCJ
=unsupported
18715 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18716 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18718 if test "$hardcode_action_GCJ" = relink
; then
18719 # Fast installation is not supported
18720 enable_fast_install
=no
18721 elif test "$shlibpath_overrides_runpath" = yes ||
18722 test "$enable_shared" = no
; then
18723 # Fast installation is not necessary
18724 enable_fast_install
=needless
18728 # The else clause should only fire when bootstrapping the
18729 # libtool distribution, otherwise you forgot to ship ltmain.sh
18730 # with your package, and you will get complaints that there are
18731 # no rules to generate ltmain.sh.
18732 if test -f "$ltmain"; then
18733 # See if we are running on zsh, and set the options which allow our commands through
18734 # without removal of \ escapes.
18735 if test -n "${ZSH_VERSION+set}" ; then
18736 setopt NO_GLOB_SUBST
18738 # Now quote all the things that may contain metacharacters while being
18739 # careful not to overquote the AC_SUBSTed values. We take copies of the
18740 # variables and quote the copies for generation of the libtool script.
18741 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18743 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18744 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18745 deplibs_check_method reload_flag reload_cmds need_locks \
18746 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18747 lt_cv_sys_global_symbol_to_c_name_address \
18748 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18749 old_postinstall_cmds old_postuninstall_cmds \
18753 lt_prog_compiler_wl_GCJ \
18754 lt_prog_compiler_pic_GCJ \
18755 lt_prog_compiler_static_GCJ \
18756 lt_prog_compiler_no_builtin_flag_GCJ \
18757 export_dynamic_flag_spec_GCJ \
18758 thread_safe_flag_spec_GCJ \
18759 whole_archive_flag_spec_GCJ \
18760 enable_shared_with_static_runtimes_GCJ \
18761 old_archive_cmds_GCJ \
18762 old_archive_from_new_cmds_GCJ \
18763 predep_objects_GCJ \
18764 postdep_objects_GCJ \
18767 compiler_lib_search_path_GCJ \
18769 archive_expsym_cmds_GCJ \
18770 postinstall_cmds_GCJ \
18771 postuninstall_cmds_GCJ \
18772 old_archive_from_expsyms_cmds_GCJ \
18773 allow_undefined_flag_GCJ \
18774 no_undefined_flag_GCJ \
18775 export_symbols_cmds_GCJ \
18776 hardcode_libdir_flag_spec_GCJ \
18777 hardcode_libdir_flag_spec_ld_GCJ \
18778 hardcode_libdir_separator_GCJ \
18779 hardcode_automatic_GCJ \
18781 module_expsym_cmds_GCJ \
18782 lt_cv_prog_compiler_c_o_GCJ \
18783 exclude_expsyms_GCJ \
18784 include_expsyms_GCJ
; do
18787 old_archive_cmds_GCJ | \
18788 old_archive_from_new_cmds_GCJ | \
18789 archive_cmds_GCJ | \
18790 archive_expsym_cmds_GCJ | \
18791 module_cmds_GCJ | \
18792 module_expsym_cmds_GCJ | \
18793 old_archive_from_expsyms_cmds_GCJ | \
18794 export_symbols_cmds_GCJ | \
18795 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18796 postinstall_cmds | postuninstall_cmds | \
18797 old_postinstall_cmds | old_postuninstall_cmds | \
18798 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18799 # Double-quote double-evaled strings.
18800 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18803 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18809 *'\$0 --fallback-echo"')
18810 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18816 cat <<__EOF__ >> "$cfgfile"
18817 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18819 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18821 # Shell to use when invoking shell scripts.
18824 # Whether or not to build shared libraries.
18825 build_libtool_libs=$enable_shared
18827 # Whether or not to build static libraries.
18828 build_old_libs=$enable_static
18830 # Whether or not to add -lc for building shared libraries.
18831 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18833 # Whether or not to disallow shared libs when runtime libs are static
18834 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18836 # Whether or not to optimize for fast installation.
18837 fast_install=$enable_fast_install
18840 host_alias=$host_alias
18844 # The build system.
18845 build_alias=$build_alias
18849 # An echo program that does not interpret backslashes.
18854 AR_FLAGS=$lt_AR_FLAGS
18859 # LTCC compiler flags.
18860 LTCFLAGS=$lt_LTCFLAGS
18862 # A language-specific compiler.
18863 CC=$lt_compiler_GCJ
18865 # Is the compiler the GNU C compiler?
18871 # The linker used to build libraries.
18874 # Whether we need hard or soft links.
18877 # A BSD-compatible nm program.
18880 # A symbol stripping program
18883 # Used to examine libraries when file_magic_cmd begins "file"
18884 MAGIC_CMD=$MAGIC_CMD
18886 # Used on cygwin: DLL creation program.
18889 # Used on cygwin: object dumper.
18892 # Used on cygwin: assembler.
18895 # The name of the directory that contains temporary libtool files.
18898 # How to create reloadable object files.
18899 reload_flag=$lt_reload_flag
18900 reload_cmds=$lt_reload_cmds
18902 # How to pass a linker flag through the compiler.
18903 wl=$lt_lt_prog_compiler_wl_GCJ
18905 # Object file suffix (normally "o").
18906 objext="$ac_objext"
18908 # Old archive suffix (normally "a").
18911 # Shared library suffix (normally ".so").
18912 shrext_cmds='$shrext_cmds'
18914 # Executable file suffix (normally "").
18917 # Additional compiler flags for building library objects.
18918 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18921 # What is the maximum length of a command?
18922 max_cmd_len=$lt_cv_sys_max_cmd_len
18924 # Does compiler simultaneously support -c and -o options?
18925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18927 # Must we lock files when doing compilation?
18928 need_locks=$lt_need_locks
18930 # Do we need the lib prefix for modules?
18931 need_lib_prefix=$need_lib_prefix
18933 # Do we need a version for libraries?
18934 need_version=$need_version
18936 # Whether dlopen is supported.
18937 dlopen_support=$enable_dlopen
18939 # Whether dlopen of programs is supported.
18940 dlopen_self=$enable_dlopen_self
18942 # Whether dlopen of statically linked programs is supported.
18943 dlopen_self_static=$enable_dlopen_self_static
18945 # Compiler flag to prevent dynamic linking.
18946 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18948 # Compiler flag to turn off builtin functions.
18949 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18951 # Compiler flag to allow reflexive dlopens.
18952 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18954 # Compiler flag to generate shared objects directly from archives.
18955 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18957 # Compiler flag to generate thread-safe objects.
18958 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18960 # Library versioning type.
18961 version_type=$version_type
18963 # Format of library name prefix.
18964 libname_spec=$lt_libname_spec
18966 # List of archive names. First name is the real one, the rest are links.
18967 # The last name is the one that the linker finds with -lNAME.
18968 library_names_spec=$lt_library_names_spec
18970 # The coded name of the library, if different from the real name.
18971 soname_spec=$lt_soname_spec
18973 # Commands used to build and install an old-style archive.
18975 old_archive_cmds=$lt_old_archive_cmds_GCJ
18976 old_postinstall_cmds=$lt_old_postinstall_cmds
18977 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18979 # Create an old-style archive from a shared archive.
18980 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18982 # Create a temporary old-style archive to link instead of a shared archive.
18983 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18985 # Commands used to build and install a shared archive.
18986 archive_cmds=$lt_archive_cmds_GCJ
18987 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18988 postinstall_cmds=$lt_postinstall_cmds
18989 postuninstall_cmds=$lt_postuninstall_cmds
18991 # Commands used to build a loadable module (assumed same as above if empty)
18992 module_cmds=$lt_module_cmds_GCJ
18993 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18995 # Commands to strip libraries.
18996 old_striplib=$lt_old_striplib
18997 striplib=$lt_striplib
18999 # Dependencies to place before the objects being linked to create a
19001 predep_objects=$lt_predep_objects_GCJ
19003 # Dependencies to place after the objects being linked to create a
19005 postdep_objects=$lt_postdep_objects_GCJ
19007 # Dependencies to place before the objects being linked to create a
19009 predeps=$lt_predeps_GCJ
19011 # Dependencies to place after the objects being linked to create a
19013 postdeps=$lt_postdeps_GCJ
19015 # The library search path used internally by the compiler when linking
19016 # a shared library.
19017 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19019 # Method to check whether dependent libraries are shared objects.
19020 deplibs_check_method=$lt_deplibs_check_method
19022 # Command to use when deplibs_check_method == file_magic.
19023 file_magic_cmd=$lt_file_magic_cmd
19025 # Flag that allows shared libraries with undefined symbols to be built.
19026 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19028 # Flag that forces no undefined symbols.
19029 no_undefined_flag=$lt_no_undefined_flag_GCJ
19031 # Commands used to finish a libtool library installation in a directory.
19032 finish_cmds=$lt_finish_cmds
19034 # Same as above, but a single script fragment to be evaled but not shown.
19035 finish_eval=$lt_finish_eval
19037 # Take the output of nm and produce a listing of raw symbols and C names.
19038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19040 # Transform the output of nm in a proper C declaration
19041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19043 # Transform the output of nm in a C name address pair
19044 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19046 # This is the shared library runtime path variable.
19047 runpath_var=$runpath_var
19049 # This is the shared library path variable.
19050 shlibpath_var=$shlibpath_var
19052 # Is shlibpath searched before the hard-coded library search path?
19053 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19055 # How to hardcode a shared library path into an executable.
19056 hardcode_action=$hardcode_action_GCJ
19058 # Whether we should hardcode library paths into libraries.
19059 hardcode_into_libs=$hardcode_into_libs
19061 # Flag to hardcode \$libdir into a binary during linking.
19062 # This must work even if \$libdir does not exist.
19063 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19065 # If ld is used when linking, flag to hardcode \$libdir into
19066 # a binary during linking. This must work even if \$libdir does
19068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19070 # Whether we need a single -rpath flag with a separated argument.
19071 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19073 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19074 # resulting binary.
19075 hardcode_direct=$hardcode_direct_GCJ
19077 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19078 # resulting binary.
19079 hardcode_minus_L=$hardcode_minus_L_GCJ
19081 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19082 # the resulting binary.
19083 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19085 # Set to yes if building a shared library automatically hardcodes DIR into the library
19086 # and all subsequent libraries and executables linked against it.
19087 hardcode_automatic=$hardcode_automatic_GCJ
19089 # Variables whose values should be saved in libtool wrapper scripts and
19090 # restored at relink time.
19091 variables_saved_for_relink="$variables_saved_for_relink"
19093 # Whether libtool must link a program against all its dependency libraries.
19094 link_all_deplibs=$link_all_deplibs_GCJ
19096 # Compile-time system search path for libraries
19097 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19099 # Run-time system search path for libraries
19100 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19102 # Fix the shell variable \$srcfile for the compiler.
19103 fix_srcfile_path="$fix_srcfile_path_GCJ"
19105 # Set to yes if exported symbols are required.
19106 always_export_symbols=$always_export_symbols_GCJ
19108 # The commands to list exported symbols.
19109 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19111 # The commands to extract the exported symbol list from a shared archive.
19112 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19114 # Symbols that should not be listed in the preloaded symbols.
19115 exclude_expsyms=$lt_exclude_expsyms_GCJ
19117 # Symbols that must always be exported.
19118 include_expsyms=$lt_include_expsyms_GCJ
19120 # ### END LIBTOOL TAG CONFIG: $tagname
19126 # If there is no Makefile yet, we rely on a make rule to execute
19127 # `config.status --recheck' to rerun these tests and create the
19128 # libtool script then.
19129 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19130 if test -f "$ltmain_in"; then
19131 test -f Makefile
&& make "$ltmain"
19137 ac_cpp
='$CXXCPP $CPPFLAGS'
19138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19152 # Source file extension for RC test sources.
19155 # Object file extension for compiled RC test sources.
19159 # Code to be used in simple compile tests
19160 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19162 # Code to be used in simple link tests
19163 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19165 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19167 # If no C compiler was specified, use CC.
19170 # If no C compiler flags were specified, use CFLAGS.
19171 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19173 # Allow CC to be a program name with arguments.
19177 # save warnings/boilerplate of simple test code
19178 ac_outfile
=conftest.
$ac_objext
19179 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19180 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19181 _lt_compiler_boilerplate
=`cat conftest.err`
19184 ac_outfile
=conftest.
$ac_objext
19185 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19186 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19187 _lt_linker_boilerplate
=`cat conftest.err`
19191 # Allow CC to be a program name with arguments.
19196 for cc_temp
in $compiler""; do
19198 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19199 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19204 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19206 lt_cv_prog_compiler_c_o_RC
=yes
19208 # The else clause should only fire when bootstrapping the
19209 # libtool distribution, otherwise you forgot to ship ltmain.sh
19210 # with your package, and you will get complaints that there are
19211 # no rules to generate ltmain.sh.
19212 if test -f "$ltmain"; then
19213 # See if we are running on zsh, and set the options which allow our commands through
19214 # without removal of \ escapes.
19215 if test -n "${ZSH_VERSION+set}" ; then
19216 setopt NO_GLOB_SUBST
19218 # Now quote all the things that may contain metacharacters while being
19219 # careful not to overquote the AC_SUBSTed values. We take copies of the
19220 # variables and quote the copies for generation of the libtool script.
19221 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19223 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19224 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19225 deplibs_check_method reload_flag reload_cmds need_locks \
19226 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19227 lt_cv_sys_global_symbol_to_c_name_address \
19228 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19229 old_postinstall_cmds old_postuninstall_cmds \
19233 lt_prog_compiler_wl_RC \
19234 lt_prog_compiler_pic_RC \
19235 lt_prog_compiler_static_RC \
19236 lt_prog_compiler_no_builtin_flag_RC \
19237 export_dynamic_flag_spec_RC \
19238 thread_safe_flag_spec_RC \
19239 whole_archive_flag_spec_RC \
19240 enable_shared_with_static_runtimes_RC \
19241 old_archive_cmds_RC \
19242 old_archive_from_new_cmds_RC \
19243 predep_objects_RC \
19244 postdep_objects_RC \
19247 compiler_lib_search_path_RC \
19249 archive_expsym_cmds_RC \
19250 postinstall_cmds_RC \
19251 postuninstall_cmds_RC \
19252 old_archive_from_expsyms_cmds_RC \
19253 allow_undefined_flag_RC \
19254 no_undefined_flag_RC \
19255 export_symbols_cmds_RC \
19256 hardcode_libdir_flag_spec_RC \
19257 hardcode_libdir_flag_spec_ld_RC \
19258 hardcode_libdir_separator_RC \
19259 hardcode_automatic_RC \
19261 module_expsym_cmds_RC \
19262 lt_cv_prog_compiler_c_o_RC \
19263 exclude_expsyms_RC \
19264 include_expsyms_RC
; do
19267 old_archive_cmds_RC | \
19268 old_archive_from_new_cmds_RC | \
19269 archive_cmds_RC | \
19270 archive_expsym_cmds_RC | \
19272 module_expsym_cmds_RC | \
19273 old_archive_from_expsyms_cmds_RC | \
19274 export_symbols_cmds_RC | \
19275 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19276 postinstall_cmds | postuninstall_cmds | \
19277 old_postinstall_cmds | old_postuninstall_cmds | \
19278 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19279 # Double-quote double-evaled strings.
19280 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19283 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19289 *'\$0 --fallback-echo"')
19290 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19296 cat <<__EOF__ >> "$cfgfile"
19297 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19299 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19301 # Shell to use when invoking shell scripts.
19304 # Whether or not to build shared libraries.
19305 build_libtool_libs=$enable_shared
19307 # Whether or not to build static libraries.
19308 build_old_libs=$enable_static
19310 # Whether or not to add -lc for building shared libraries.
19311 build_libtool_need_lc=$archive_cmds_need_lc_RC
19313 # Whether or not to disallow shared libs when runtime libs are static
19314 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19316 # Whether or not to optimize for fast installation.
19317 fast_install=$enable_fast_install
19320 host_alias=$host_alias
19324 # The build system.
19325 build_alias=$build_alias
19329 # An echo program that does not interpret backslashes.
19334 AR_FLAGS=$lt_AR_FLAGS
19339 # LTCC compiler flags.
19340 LTCFLAGS=$lt_LTCFLAGS
19342 # A language-specific compiler.
19345 # Is the compiler the GNU C compiler?
19351 # The linker used to build libraries.
19354 # Whether we need hard or soft links.
19357 # A BSD-compatible nm program.
19360 # A symbol stripping program
19363 # Used to examine libraries when file_magic_cmd begins "file"
19364 MAGIC_CMD=$MAGIC_CMD
19366 # Used on cygwin: DLL creation program.
19369 # Used on cygwin: object dumper.
19372 # Used on cygwin: assembler.
19375 # The name of the directory that contains temporary libtool files.
19378 # How to create reloadable object files.
19379 reload_flag=$lt_reload_flag
19380 reload_cmds=$lt_reload_cmds
19382 # How to pass a linker flag through the compiler.
19383 wl=$lt_lt_prog_compiler_wl_RC
19385 # Object file suffix (normally "o").
19386 objext="$ac_objext"
19388 # Old archive suffix (normally "a").
19391 # Shared library suffix (normally ".so").
19392 shrext_cmds='$shrext_cmds'
19394 # Executable file suffix (normally "").
19397 # Additional compiler flags for building library objects.
19398 pic_flag=$lt_lt_prog_compiler_pic_RC
19401 # What is the maximum length of a command?
19402 max_cmd_len=$lt_cv_sys_max_cmd_len
19404 # Does compiler simultaneously support -c and -o options?
19405 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19407 # Must we lock files when doing compilation?
19408 need_locks=$lt_need_locks
19410 # Do we need the lib prefix for modules?
19411 need_lib_prefix=$need_lib_prefix
19413 # Do we need a version for libraries?
19414 need_version=$need_version
19416 # Whether dlopen is supported.
19417 dlopen_support=$enable_dlopen
19419 # Whether dlopen of programs is supported.
19420 dlopen_self=$enable_dlopen_self
19422 # Whether dlopen of statically linked programs is supported.
19423 dlopen_self_static=$enable_dlopen_self_static
19425 # Compiler flag to prevent dynamic linking.
19426 link_static_flag=$lt_lt_prog_compiler_static_RC
19428 # Compiler flag to turn off builtin functions.
19429 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19431 # Compiler flag to allow reflexive dlopens.
19432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19434 # Compiler flag to generate shared objects directly from archives.
19435 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19437 # Compiler flag to generate thread-safe objects.
19438 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19440 # Library versioning type.
19441 version_type=$version_type
19443 # Format of library name prefix.
19444 libname_spec=$lt_libname_spec
19446 # List of archive names. First name is the real one, the rest are links.
19447 # The last name is the one that the linker finds with -lNAME.
19448 library_names_spec=$lt_library_names_spec
19450 # The coded name of the library, if different from the real name.
19451 soname_spec=$lt_soname_spec
19453 # Commands used to build and install an old-style archive.
19455 old_archive_cmds=$lt_old_archive_cmds_RC
19456 old_postinstall_cmds=$lt_old_postinstall_cmds
19457 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19459 # Create an old-style archive from a shared archive.
19460 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19462 # Create a temporary old-style archive to link instead of a shared archive.
19463 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19465 # Commands used to build and install a shared archive.
19466 archive_cmds=$lt_archive_cmds_RC
19467 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19468 postinstall_cmds=$lt_postinstall_cmds
19469 postuninstall_cmds=$lt_postuninstall_cmds
19471 # Commands used to build a loadable module (assumed same as above if empty)
19472 module_cmds=$lt_module_cmds_RC
19473 module_expsym_cmds=$lt_module_expsym_cmds_RC
19475 # Commands to strip libraries.
19476 old_striplib=$lt_old_striplib
19477 striplib=$lt_striplib
19479 # Dependencies to place before the objects being linked to create a
19481 predep_objects=$lt_predep_objects_RC
19483 # Dependencies to place after the objects being linked to create a
19485 postdep_objects=$lt_postdep_objects_RC
19487 # Dependencies to place before the objects being linked to create a
19489 predeps=$lt_predeps_RC
19491 # Dependencies to place after the objects being linked to create a
19493 postdeps=$lt_postdeps_RC
19495 # The library search path used internally by the compiler when linking
19496 # a shared library.
19497 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19499 # Method to check whether dependent libraries are shared objects.
19500 deplibs_check_method=$lt_deplibs_check_method
19502 # Command to use when deplibs_check_method == file_magic.
19503 file_magic_cmd=$lt_file_magic_cmd
19505 # Flag that allows shared libraries with undefined symbols to be built.
19506 allow_undefined_flag=$lt_allow_undefined_flag_RC
19508 # Flag that forces no undefined symbols.
19509 no_undefined_flag=$lt_no_undefined_flag_RC
19511 # Commands used to finish a libtool library installation in a directory.
19512 finish_cmds=$lt_finish_cmds
19514 # Same as above, but a single script fragment to be evaled but not shown.
19515 finish_eval=$lt_finish_eval
19517 # Take the output of nm and produce a listing of raw symbols and C names.
19518 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19520 # Transform the output of nm in a proper C declaration
19521 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19523 # Transform the output of nm in a C name address pair
19524 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19526 # This is the shared library runtime path variable.
19527 runpath_var=$runpath_var
19529 # This is the shared library path variable.
19530 shlibpath_var=$shlibpath_var
19532 # Is shlibpath searched before the hard-coded library search path?
19533 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19535 # How to hardcode a shared library path into an executable.
19536 hardcode_action=$hardcode_action_RC
19538 # Whether we should hardcode library paths into libraries.
19539 hardcode_into_libs=$hardcode_into_libs
19541 # Flag to hardcode \$libdir into a binary during linking.
19542 # This must work even if \$libdir does not exist.
19543 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19545 # If ld is used when linking, flag to hardcode \$libdir into
19546 # a binary during linking. This must work even if \$libdir does
19548 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19550 # Whether we need a single -rpath flag with a separated argument.
19551 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19553 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19554 # resulting binary.
19555 hardcode_direct=$hardcode_direct_RC
19557 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19558 # resulting binary.
19559 hardcode_minus_L=$hardcode_minus_L_RC
19561 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19562 # the resulting binary.
19563 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19565 # Set to yes if building a shared library automatically hardcodes DIR into the library
19566 # and all subsequent libraries and executables linked against it.
19567 hardcode_automatic=$hardcode_automatic_RC
19569 # Variables whose values should be saved in libtool wrapper scripts and
19570 # restored at relink time.
19571 variables_saved_for_relink="$variables_saved_for_relink"
19573 # Whether libtool must link a program against all its dependency libraries.
19574 link_all_deplibs=$link_all_deplibs_RC
19576 # Compile-time system search path for libraries
19577 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19579 # Run-time system search path for libraries
19580 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19582 # Fix the shell variable \$srcfile for the compiler.
19583 fix_srcfile_path="$fix_srcfile_path_RC"
19585 # Set to yes if exported symbols are required.
19586 always_export_symbols=$always_export_symbols_RC
19588 # The commands to list exported symbols.
19589 export_symbols_cmds=$lt_export_symbols_cmds_RC
19591 # The commands to extract the exported symbol list from a shared archive.
19592 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19594 # Symbols that should not be listed in the preloaded symbols.
19595 exclude_expsyms=$lt_exclude_expsyms_RC
19597 # Symbols that must always be exported.
19598 include_expsyms=$lt_include_expsyms_RC
19600 # ### END LIBTOOL TAG CONFIG: $tagname
19606 # If there is no Makefile yet, we rely on a make rule to execute
19607 # `config.status --recheck' to rerun these tests and create the
19608 # libtool script then.
19609 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19610 if test -f "$ltmain_in"; then
19611 test -f Makefile
&& make "$ltmain"
19617 ac_cpp
='$CXXCPP $CPPFLAGS'
19618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19627 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19628 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19629 { (exit 1); exit 1; }; }
19633 # Append the new tag name to the list of available tags.
19634 if test -n "$tagname" ; then
19635 available_tags
="$available_tags $tagname"
19641 # Now substitute the updated list of available tags.
19642 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19643 mv "${ofile}T" "$ofile"
19647 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19648 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19649 { (exit 1); exit 1; }; }
19655 # This can be used to rebuild libtool when needed
19656 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19658 # Always use our own libtool.
19659 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19661 # Prevent multiple expansion
19682 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19683 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
19684 if test "${ac_cv_c_bigendian+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 # See if sys/param.h defines the BYTE_ORDER macro.
19688 cat >conftest.
$ac_ext <<_ACEOF
19691 cat confdefs.h
>>conftest.
$ac_ext
19692 cat >>conftest.
$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 #include <sys/types.h>
19695 #include <sys/param.h>
19700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19701 bogus endian macros
19708 rm -f conftest.
$ac_objext
19709 if { (ac_try
="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19717 grep -v '^ *+' conftest.er1 >conftest.err
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } &&
19722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19723 { (case "(($ac_try" in
19724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19725 *) ac_try_echo
=$ac_try;;
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_try") 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try
='test -s conftest.$ac_objext'
19733 { (case "(($ac_try" in
19734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_try") 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 # It does; now see whether it defined to BIG_ENDIAN or not.
19743 cat >conftest.$ac_ext <<_ACEOF
19746 cat confdefs.h >>conftest.$ac_ext
19747 cat >>conftest.$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 #include <sys/types.h>
19750 #include <sys/param.h>
19755 #if BYTE_ORDER != BIG_ENDIAN
19763 rm -f conftest.$ac_objext
19764 if { (ac_try="$ac_compile"
19765 case "(($ac_try" in
19766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19767 *) ac_try_echo
=$ac_try;;
19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_compile") 2>conftest.er1
19772 grep -v '^ *+' conftest.er1
>conftest.err
19774 cat conftest.err
>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19778 { (case "(($ac_try" in
19779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19780 *) ac_try_echo=$ac_try;;
19782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19783 (eval "$ac_try") 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try='test -s conftest.$ac_objext'
19788 { (case "(($ac_try" in
19789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19790 *) ac_try_echo
=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_try") 2>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; }; then
19797 ac_cv_c_bigendian
=yes
19799 echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.
$ac_ext >&5
19802 ac_cv_c_bigendian
=no
19805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.
$ac_ext >&5
19810 # It does not; compile a test program.
19811 if test "$cross_compiling" = yes; then
19812 # try to guess the endianness by grepping values into an object file
19813 ac_cv_c_bigendian
=unknown
19814 cat >conftest.
$ac_ext <<_ACEOF
19817 cat confdefs.h
>>conftest.
$ac_ext
19818 cat >>conftest.
$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19821 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19822 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19823 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19824 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19825 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19829 _ascii (); _ebcdic ();
19834 rm -f conftest.
$ac_objext
19835 if { (ac_try
="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19843 grep -v '^ *+' conftest.er1 >conftest.err
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19849 { (case "(($ac_try" in
19850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19851 *) ac_try_echo
=$ac_try;;
19853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19854 (eval "$ac_try") 2>&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; } &&
19858 { ac_try
='test -s conftest.$ac_objext'
19859 { (case "(($ac_try" in
19860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19861 *) ac_try_echo=$ac_try;;
19863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19864 (eval "$ac_try") 2>&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); }; }; then
19868 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19869 ac_cv_c_bigendian=yes
19871 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19872 if test "$ac_cv_c_bigendian" = unknown; then
19873 ac_cv_c_bigendian=no
19875 # finding both strings is unlikely to happen, but who knows?
19876 ac_cv_c_bigendian=unknown
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 cat >conftest.$ac_ext <<_ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19899 /* Are we little or big endian? From Harbison&Steele. */
19903 char c[sizeof (long int)];
19906 return u.c[sizeof (long int) - 1] == 1;
19912 rm -f conftest$ac_exeext
19913 if { (ac_try="$ac_link"
19914 case "(($ac_try" in
19915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19916 *) ac_try_echo
=$ac_try;;
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_link") 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19923 { (case "(($ac_try" in
19924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19925 *) ac_try_echo=$ac_try;;
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_try") 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_cv_c_bigendian=no
19934 echo "$as_me: program exited with status $ac_status" >&5
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19938 ( exit $ac_status )
19939 ac_cv_c_bigendian=yes
19941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19949 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19950 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
19951 case $ac_cv_c_bigendian in
19954 cat >>confdefs.h <<\_ACEOF
19955 #define WORDS_BIGENDIAN 1
19961 { { echo "$as_me:$LINENO: error: unknown endianness
19962 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
19963 echo "$as_me: error: unknown endianness
19964 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
19965 { (exit 1); exit 1; }; } ;;
19968 { echo "$as_me:$LINENO: checking host system type" >&5
19969 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
19970 if test "${ac_cv_host+set}" = set; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 if test "x$host_alias" = x; then
19974 ac_cv_host=$ac_cv_build
19976 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
19977 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
19978 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
19979 { (exit 1); exit 1; }; }
19983 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
19984 echo "${ECHO_T}$ac_cv_host" >&6; }
19985 case $ac_cv_host in
19987 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
19988 echo "$as_me: error: invalid value of canonical host" >&2;}
19989 { (exit 1); exit 1; }; };;
19992 ac_save_IFS=$IFS; IFS='-'
19998 # Remember, the first character of IFS is used to create $*,
19999 # except with old shells:
20002 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
20005 for ac_prog in 'bison -y' byacc
20007 # Extract the first word of "$ac_prog", so it can be a program name with args.
20008 set dummy $ac_prog; ac_word=$2
20009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20011 if test "${ac_cv_prog_YACC+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20014 if test -n "$YACC"; then
20015 ac_cv_prog_YACC="$YACC" # Let the user override the test.
20017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20018 for as_dir in $PATH
20021 test -z "$as_dir" && as_dir=.
20022 for ac_exec_ext in '' $ac_executable_extensions; do
20023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20024 ac_cv_prog_YACC="$ac_prog"
20025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20034 YACC=$ac_cv_prog_YACC
20035 if test -n "$YACC"; then
20036 { echo "$as_me:$LINENO: result: $YACC" >&5
20037 echo "${ECHO_T}$YACC" >&6; }
20039 { echo "$as_me:$LINENO: result: no" >&5
20040 echo "${ECHO_T}no" >&6; }
20044 test -n "$YACC" && break
20046 test -n "$YACC" || YACC="yacc"
20048 for ac_prog in flex lex
20050 # Extract the first word of "$ac_prog", so it can be a program name with args.
20051 set dummy $ac_prog; ac_word=$2
20052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20054 if test "${ac_cv_prog_LEX+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 if test -n "$LEX"; then
20058 ac_cv_prog_LEX="$LEX" # Let the user override the test.
20060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20061 for as_dir in $PATH
20064 test -z "$as_dir" && as_dir=.
20065 for ac_exec_ext in '' $ac_executable_extensions; do
20066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20067 ac_cv_prog_LEX="$ac_prog"
20068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20077 LEX=$ac_cv_prog_LEX
20078 if test -n "$LEX"; then
20079 { echo "$as_me:$LINENO: result: $LEX" >&5
20080 echo "${ECHO_T}$LEX" >&6; }
20082 { echo "$as_me:$LINENO: result: no" >&5
20083 echo "${ECHO_T}no" >&6; }
20087 test -n "$LEX" && break
20089 test -n "$LEX" || LEX=":"
20091 if test -z "$LEXLIB"
20093 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
20094 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
20095 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
20096 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 ac_check_lib_save_LIBS=$LIBS
20100 cat >conftest.$ac_ext <<_ACEOF
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20107 /* Override any GCC internal prototype to avoid an error.
20108 Use char because int might match the return type of a GCC
20109 builtin and then its argument prototype would still apply. */
20122 rm -f conftest.$ac_objext conftest$ac_exeext
20123 if { (ac_try="$ac_link"
20124 case "(($ac_try" in
20125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20126 *) ac_try_echo
=$ac_try;;
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_link") 2>conftest.er1
20131 grep -v '^ *+' conftest.er1
>conftest.err
20133 cat conftest.err
>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } &&
20136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20137 { (case "(($ac_try" in
20138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_try") 2>&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; } &&
20146 { ac_try='test -s conftest$ac_exeext'
20147 { (case "(($ac_try" in
20148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20149 *) ac_try_echo
=$ac_try;;
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_try") 2>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_lib_fl_yywrap
=yes
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 ac_cv_lib_fl_yywrap
=no
20164 rm -f core conftest.err conftest.
$ac_objext \
20165 conftest
$ac_exeext conftest.
$ac_ext
20166 LIBS
=$ac_check_lib_save_LIBS
20168 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
20169 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
20170 if test $ac_cv_lib_fl_yywrap = yes; then
20173 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
20174 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
20175 if test "${ac_cv_lib_l_yywrap+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 ac_check_lib_save_LIBS
=$LIBS
20180 cat >conftest.
$ac_ext <<_ACEOF
20183 cat confdefs.h
>>conftest.
$ac_ext
20184 cat >>conftest.
$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20187 /* Override any GCC internal prototype to avoid an error.
20188 Use char because int might match the return type of a GCC
20189 builtin and then its argument prototype would still apply. */
20202 rm -f conftest.
$ac_objext conftest
$ac_exeext
20203 if { (ac_try
="$ac_link"
20204 case "(($ac_try" in
20205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_link") 2>conftest.er1
20211 grep -v '^ *+' conftest.er1 >conftest.err
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } &&
20216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20217 { (case "(($ac_try" in
20218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20219 *) ac_try_echo
=$ac_try;;
20221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_try") 2>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; } &&
20226 { ac_try
='test -s conftest$ac_exeext'
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 "$ac_try") 2>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; }; then
20236 ac_cv_lib_l_yywrap=yes
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20241 ac_cv_lib_l_yywrap=no
20244 rm -f core conftest.err conftest.$ac_objext \
20245 conftest$ac_exeext conftest.$ac_ext
20246 LIBS=$ac_check_lib_save_LIBS
20248 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
20249 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
20250 if test $ac_cv_lib_l_yywrap = yes; then
20258 if test "x$LEX" != "x:"; then
20259 { echo "$as_me:$LINENO: checking lex output file root" >&5
20260 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
20261 if test "${ac_cv_prog_lex_root+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 # The minimal lex program is just a single line: %%. But some broken lexes
20265 # (Solaris, I think it was) want two %% lines, so accommodate them.
20266 cat >conftest.l <<_ACEOF
20270 { (ac_try="$LEX conftest.l"
20271 case "(($ac_try" in
20272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20273 *) ac_try_echo
=$ac_try;;
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$LEX conftest.l") 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }
20280 if test -f lex.yy.c
; then
20281 ac_cv_prog_lex_root
=lex.yy
20282 elif test -f lexyy.c
; then
20283 ac_cv_prog_lex_root
=lexyy
20285 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
20286 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
20287 { (exit 1); exit 1; }; }
20290 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
20291 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
20293 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
20295 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
20296 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
20297 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20300 # POSIX says lex can declare yytext either as a pointer or an array; the
20301 # default is implementation-dependent. Figure out which it is, since
20302 # not all implementations provide the %pointer and %array declarations.
20303 ac_cv_prog_lex_yytext_pointer
=no
20304 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
20306 LIBS
="$LIBS $LEXLIB"
20307 cat >conftest.
$ac_ext <<_ACEOF
20308 `cat $LEX_OUTPUT_ROOT.c`
20310 rm -f conftest.
$ac_objext conftest
$ac_exeext
20311 if { (ac_try
="$ac_link"
20312 case "(($ac_try" in
20313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20314 *) ac_try_echo=$ac_try;;
20316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20317 (eval "$ac_link") 2>conftest.er1
20319 grep -v '^ *+' conftest.er1 >conftest.err
20321 cat conftest.err >&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } &&
20324 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20325 { (case "(($ac_try" in
20326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20327 *) ac_try_echo
=$ac_try;;
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_try") 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; } &&
20334 { ac_try
='test -s conftest$ac_exeext'
20335 { (case "(($ac_try" in
20336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20337 *) ac_try_echo=$ac_try;;
20339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20340 (eval "$ac_try") 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_cv_prog_lex_yytext_pointer=yes
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.$ac_ext >&5
20352 rm -f core conftest.err conftest.$ac_objext \
20353 conftest$ac_exeext conftest.$ac_ext
20355 rm -f "${LEX_OUTPUT_ROOT}.c"
20358 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
20359 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
20360 if test $ac_cv_prog_lex_yytext_pointer = yes; then
20362 cat >>confdefs.h <<\_ACEOF
20363 #define YYTEXT_POINTER 1
20369 if test "$LEX" = :; then
20370 LEX=${am_missing_run}flex
20373 case "${host_os}" in
20378 case "${host_cpu}" in
20383 echo "#ifndef BUILD_H" >build.h
20384 echo "#define BUILD_H" >>build.h
20385 echo "#define CSQL" >>build.h
20386 echo "#define ${OSTYPE}" >>build.h
20387 echo "#define ${CPUTYPE}" >>build.h
20388 echo "#endif " >>build.h
20405 for ac_header in stdio.h sys/mman.h sys/shm.h sys/errno.h crypt.h unistd.h \
20406 string.h sys/types.h sys/stat.h fcntl.h pthread.h math.h \
20409 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20416 ac_res=`eval echo '${'$as_ac_Header'}'`
20417 { echo "$as_me:$LINENO: result: $ac_res" >&5
20418 echo "${ECHO_T}$ac_res" >&6; }
20420 # Is the header compilable?
20421 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20423 cat >conftest.$ac_ext <<_ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 $ac_includes_default
20430 #include <$ac_header>
20432 rm -f conftest.$ac_objext
20433 if { (ac_try="$ac_compile"
20434 case "(($ac_try" in
20435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20436 *) ac_try_echo
=$ac_try;;
20438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20439 (eval "$ac_compile") 2>conftest.er1
20441 grep -v '^ *+' conftest.er1
>conftest.err
20443 cat conftest.err
>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20447 { (case "(($ac_try" in
20448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_try") 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try='test -s conftest.$ac_objext'
20457 { (case "(($ac_try" in
20458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20459 *) ac_try_echo
=$ac_try;;
20461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20462 (eval "$ac_try") 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 ac_header_compiler
=yes
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.
$ac_ext >&5
20471 ac_header_compiler
=no
20474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20475 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20476 echo "${ECHO_T}$ac_header_compiler" >&6; }
20478 # Is the header present?
20479 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20481 cat >conftest.
$ac_ext <<_ACEOF
20484 cat confdefs.h
>>conftest.
$ac_ext
20485 cat >>conftest.
$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 #include <$ac_header>
20489 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20490 case "(($ac_try" in
20491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20492 *) ac_try_echo=$ac_try;;
20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20497 grep -v '^ *+' conftest.er1 >conftest.err
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } >/dev/null; then
20502 if test -s conftest.err; then
20503 ac_cpp_err=$ac_cxx_preproc_warn_flag
20504 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20511 if test -z "$ac_cpp_err"; then
20512 ac_header_preproc=yes
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20517 ac_header_preproc=no
20520 rm -f conftest.err conftest.$ac_ext
20521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20522 echo "${ECHO_T}$ac_header_preproc" >&6; }
20524 # So? What about this header?
20525 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20531 ac_header_preproc=yes
20534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20549 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20552 echo $ECHO_N "(cached) $ECHO_C" >&6
20554 eval "$as_ac_Header=\$ac_header_preproc"
20556 ac_res=`eval echo '${'$as_ac_Header'}'`
20557 { echo "$as_me:$LINENO: result: $ac_res" >&5
20558 echo "${ECHO_T}$ac_res" >&6; }
20561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20562 cat >>confdefs.h <<_ACEOF
20563 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20573 ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile src/server/Makefile src/sql/Makefile src/tools/Makefile src/jdbc/Makefile"
20575 cat >confcache <<\_ACEOF
20576 # This file is a shell script that caches the results of configure
20577 # tests run on this system so they can be shared between configure
20578 # scripts and configure runs, see configure's option --config-cache.
20579 # It is not useful on other systems. If it contains results you don't
20580 # want to keep, you may remove or edit it.
20582 # config.status only pays attention to the cache file if you give it
20583 # the --recheck option to rerun configure.
20585 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20587 # following values.
20591 # The following way of writing the cache mishandles newlines in values,
20592 # but we know of no workaround that is simple, portable, and efficient.
20593 # So, we kill variables containing newlines.
20594 # Ultrix sh set writes to stderr and can't be redirected directly,
20595 # and sets the high bit in the cache file unless we assign to the vars.
20597 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20598 eval ac_val
=\$
$ac_var
20602 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20603 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20606 _ | IFS | as_nl
) ;; #(
20607 *) $as_unset $ac_var ;;
20613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20614 *${as_nl}ac_space
=\
*)
20615 # `set' does not quote correctly, so add quotes (double-quote
20616 # substitution turns \\\\ into \\, and sed turns \\ into \).
20619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20622 # `set' quotes correctly as required by POSIX, so do not add quotes.
20623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20636 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20637 if test -w "$cache_file"; then
20638 test "x$cache_file" != "x/dev/null" &&
20639 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20640 echo "$as_me: updating cache $cache_file" >&6;}
20641 cat confcache
>$cache_file
20643 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20644 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20649 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20650 # Let make expand exec_prefix.
20651 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20653 DEFS
=-DHAVE_CONFIG_H
20657 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20658 # 1. Remove the extension, and $U if already installed.
20659 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20660 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20661 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20662 # will be set to the directory where LIBOBJS objects are built.
20663 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20664 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20666 LIBOBJS
=$ac_libobjs
20668 LTLIBOBJS
=$ac_ltlibobjs
20671 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20672 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20673 Usually this means the macro was only invoked conditionally." >&5
20674 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20675 Usually this means the macro was only invoked conditionally." >&2;}
20676 { (exit 1); exit 1; }; }
20678 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20679 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20680 Usually this means the macro was only invoked conditionally." >&5
20681 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20682 Usually this means the macro was only invoked conditionally." >&2;}
20683 { (exit 1); exit 1; }; }
20685 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20686 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20687 Usually this means the macro was only invoked conditionally." >&5
20688 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20689 Usually this means the macro was only invoked conditionally." >&2;}
20690 { (exit 1); exit 1; }; }
20693 : ${CONFIG_STATUS=./config.status}
20694 ac_clean_files_save
=$ac_clean_files
20695 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20696 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20697 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20698 cat >$CONFIG_STATUS <<_ACEOF
20700 # Generated by $as_me.
20701 # Run this file to recreate the current configuration.
20702 # Compiler output produced by configure, useful for debugging
20703 # configure, is in config.log if it exists.
20706 ac_cs_recheck=false
20708 SHELL=\${CONFIG_SHELL-$SHELL}
20711 cat >>$CONFIG_STATUS <<\_ACEOF
20712 ## --------------------- ##
20713 ## M4sh Initialization. ##
20714 ## --------------------- ##
20716 # Be Bourne compatible
20717 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20720 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20721 # is contrary to our usage. Disable this feature.
20722 alias -g '${1+"$@"}'='"$@"'
20723 setopt NO_GLOB_SUBST
20725 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
20727 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
20728 DUALCASE
=1; export DUALCASE
# for MKS sh
20732 # Avoid depending upon Character Ranges.
20733 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20734 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20735 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20736 as_cr_digits
='0123456789'
20737 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20739 # The user is always right.
20740 if test "${PATH_SEPARATOR+set}" != set; then
20741 echo "#! /bin/sh" >conf$$.sh
20742 echo "exit 0" >>conf$$.sh
20744 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20752 # Support unset when possible.
20753 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20761 # We need space, tab and new line, in precisely that order. Quoting is
20762 # there to prevent editors from complaining about space-tab.
20763 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20764 # splitting by setting IFS to empty value.)
20769 # Find who we are. Look in the path if we contain no directory separator.
20771 *[\\/]* ) as_myself
=$0 ;;
20772 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20773 for as_dir
in $PATH
20776 test -z "$as_dir" && as_dir
=.
20777 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20783 # We did not find ourselves, most probably we were run as `sh COMMAND'
20784 # in which case we are not to be found in the path.
20785 if test "x$as_myself" = x
; then
20788 if test ! -f "$as_myself"; then
20789 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20790 { (exit 1); exit 1; }
20793 # Work around bugs in pre-3.0 UWIN ksh.
20794 for as_var
in ENV MAIL MAILPATH
20795 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20803 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20804 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20805 LC_TELEPHONE LC_TIME
20807 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20808 eval $as_var=C
; export $as_var
20810 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20814 # Required to use basename.
20815 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20816 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20822 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20823 as_basename
=basename
20829 # Name of the executable.
20830 as_me
=`$as_basename -- "$0" ||
20831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20832 X"$0" : 'X\(//\)$' \| \
20833 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20835 sed '/^.*\/\([^/][^/]*\)\/*$/{
20854 as_lineno_1
=$LINENO
20855 as_lineno_2
=$LINENO
20856 test "x$as_lineno_1" != "x$as_lineno_2" &&
20857 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20859 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20860 # uniformly replaced by the line number. The first 'sed' inserts a
20861 # line-number line after each line using $LINENO; the second 'sed'
20862 # does the real work. The second script uses 'N' to pair each
20863 # line-number line with the line containing $LINENO, and appends
20864 # trailing '-' during substitution so that $LINENO is not a special
20865 # case at line end.
20866 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20867 # scripts with optimization help from Paolo Bonzini. Blame Lee
20868 # E. McMahon (1931-1989) for sed's syntax. :-)
20880 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20883 ' >$as_me.lineno
&&
20884 chmod +x
"$as_me.lineno" ||
20885 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20886 { (exit 1); exit 1; }; }
20888 # Don't try to exec as it changes $[0], causing all sort of problems
20889 # (the dirname of $[0] is not the place where we might find the
20890 # original and so on. Autoconf is especially sensitive to this).
20891 .
"./$as_me.lineno"
20892 # Exit status is that of the last command.
20897 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20903 ECHO_C
= ECHO_N
= ECHO_T
=
20904 case `echo -n x` in
20906 case `echo 'x\c'` in
20907 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20914 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20915 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20921 rm -f conf$$ conf$$.exe conf$$.
file
20922 if test -d conf$$.dir
; then
20923 rm -f conf$$.dir
/conf$$.
file
20929 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20931 # ... but there are two gotchas:
20932 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20933 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20934 # In both cases, we have to default to `cp -p'.
20935 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20937 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20942 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20943 rmdir conf$$.dir
2>/dev
/null
20945 if mkdir
-p .
2>/dev
/null
; then
20948 test -d .
/-p && rmdir .
/-p
20952 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
20953 # systems may use methods other than mode bits to determine executability.
20954 cat >conf$$.
file <<_ASEOF
20958 chmod +x conf$$.
file
20959 if test -x conf$$.
file >/dev
/null
2>&1; then
20960 as_executable_p
="test -x"
20966 # Sed expression to map a string onto a valid CPP name.
20967 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20969 # Sed expression to map a string onto a valid variable name.
20970 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20975 # Save the log message, to keep $[0] and so on meaningful, and to
20976 # report actual input values of CONFIG_FILES etc. instead of their
20977 # values after options handling.
20979 This file was extended by $as_me, which was
20980 generated by GNU Autoconf 2.60. Invocation command line was
20982 CONFIG_FILES = $CONFIG_FILES
20983 CONFIG_HEADERS = $CONFIG_HEADERS
20984 CONFIG_LINKS = $CONFIG_LINKS
20985 CONFIG_COMMANDS = $CONFIG_COMMANDS
20988 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20993 cat >>$CONFIG_STATUS <<_ACEOF
20994 # Files that config.status was made for.
20995 config_files="$ac_config_files"
20996 config_headers="$ac_config_headers"
20997 config_commands="$ac_config_commands"
21001 cat >>$CONFIG_STATUS <<\_ACEOF
21003 \`$as_me' instantiates files from templates according to the
21004 current configuration.
21006 Usage: $0 [OPTIONS] [FILE]...
21008 -h, --help print this help, then exit
21009 -V, --version print version number, then exit
21010 -q, --quiet do not print progress messages
21011 -d, --debug don't remove temporary files
21012 --recheck update $as_me by reconfiguring in the same conditions
21013 --file=FILE[:TEMPLATE]
21014 instantiate the configuration file FILE
21015 --header=FILE[:TEMPLATE]
21016 instantiate the configuration header FILE
21018 Configuration files:
21021 Configuration headers:
21024 Configuration commands:
21027 Report bugs to <bug-autoconf@gnu.org>."
21030 cat >>$CONFIG_STATUS <<_ACEOF
21033 configured by $0, generated by GNU Autoconf 2.60,
21034 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21036 Copyright (C) 2006 Free Software Foundation, Inc.
21037 This config.status script is free software; the Free Software Foundation
21038 gives unlimited permission to copy, distribute and modify it."
21045 cat >>$CONFIG_STATUS <<\_ACEOF
21046 # If no file are specified by the user, then we need to provide default
21047 # value. By we need to know if files were specified by the user.
21053 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21054 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21065 # Handling of the options.
21066 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21068 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21069 echo "$ac_cs_version"; exit ;;
21070 --debug |
--debu |
--deb |
--de |
--d |
-d )
21072 --file |
--fil |
--fi |
--f )
21074 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21075 ac_need_defaults
=false
;;
21076 --header |
--heade |
--head |
--hea )
21078 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21079 ac_need_defaults
=false
;;
21081 # Conflict between --help and --header
21082 { echo "$as_me: error: ambiguous option: $1
21083 Try \`$0 --help' for more information." >&2
21084 { (exit 1); exit 1; }; };;
21085 --help |
--hel |
-h )
21086 echo "$ac_cs_usage"; exit ;;
21087 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21088 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21091 # This is an error.
21092 -*) { echo "$as_me: error: unrecognized option: $1
21093 Try \`$0 --help' for more information." >&2
21094 { (exit 1); exit 1; }; } ;;
21096 *) ac_config_targets
="$ac_config_targets $1"
21097 ac_need_defaults
=false
;;
21103 ac_configure_extra_args
=
21105 if $ac_cs_silent; then
21107 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21111 cat >>$CONFIG_STATUS <<_ACEOF
21112 if \$ac_cs_recheck; then
21113 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21114 CONFIG_SHELL=$SHELL
21115 export CONFIG_SHELL
21116 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21120 cat >>$CONFIG_STATUS <<\_ACEOF
21124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21125 ## Running $as_me. ##
21131 cat >>$CONFIG_STATUS <<_ACEOF
21135 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21139 cat >>$CONFIG_STATUS <<\_ACEOF
21141 # Handling of arguments.
21142 for ac_config_target
in $ac_config_targets
21144 case $ac_config_target in
21145 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21146 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21147 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21148 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21149 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21150 "src/server/Makefile") CONFIG_FILES
="$CONFIG_FILES src/server/Makefile" ;;
21151 "src/sql/Makefile") CONFIG_FILES
="$CONFIG_FILES src/sql/Makefile" ;;
21152 "src/tools/Makefile") CONFIG_FILES
="$CONFIG_FILES src/tools/Makefile" ;;
21153 "src/jdbc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/jdbc/Makefile" ;;
21155 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21156 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21157 { (exit 1); exit 1; }; };;
21162 # If the user did not use the arguments to specify the items to instantiate,
21163 # then the envvar interface is used. Set only those that are not.
21164 # We use the long form for the default assignment because of an extremely
21165 # bizarre bug on SunOS 4.1.3.
21166 if $ac_need_defaults; then
21167 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21168 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21169 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21172 # Have a temporary directory for convenience. Make it in the build tree
21173 # simply because there is no reason against having it here, and in addition,
21174 # creating and moving files from /tmp can sometimes cause problems.
21175 # Hook for its removal unless debugging.
21176 # Note that there is a small window in which the directory will not be cleaned:
21177 # after its creation but before its name has been assigned to `$tmp'.
21181 trap 'exit_status=$?
21182 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21184 trap '{ (exit 1); exit 1; }' 1 2 13 15
21186 # Create a (secure) tmp directory for tmp files.
21189 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21190 test -n "$tmp" && test -d "$tmp"
21193 tmp
=.
/conf$$
-$RANDOM
21194 (umask 077 && mkdir
"$tmp")
21197 echo "$me: cannot create a temporary directory in ." >&2
21198 { (exit 1); exit 1; }
21202 # Set up the sed scripts for CONFIG_FILES section.
21205 # No need to generate the scripts if there are no CONFIG_FILES.
21206 # This happens for instance when ./config.status config.h
21207 if test -n "$CONFIG_FILES"; then
21214 for ac_last_try
in false false false false false
:; do
21215 cat >conf$
$subs.
sed <<_ACEOF
21216 SHELL!$SHELL$ac_delim
21217 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21218 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21219 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21220 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21221 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21222 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21223 exec_prefix!$exec_prefix$ac_delim
21224 prefix!$prefix$ac_delim
21225 program_transform_name!$program_transform_name$ac_delim
21226 bindir!$bindir$ac_delim
21227 sbindir!$sbindir$ac_delim
21228 libexecdir!$libexecdir$ac_delim
21229 datarootdir!$datarootdir$ac_delim
21230 datadir!$datadir$ac_delim
21231 sysconfdir!$sysconfdir$ac_delim
21232 sharedstatedir!$sharedstatedir$ac_delim
21233 localstatedir!$localstatedir$ac_delim
21234 includedir!$includedir$ac_delim
21235 oldincludedir!$oldincludedir$ac_delim
21236 docdir!$docdir$ac_delim
21237 infodir!$infodir$ac_delim
21238 htmldir!$htmldir$ac_delim
21239 dvidir!$dvidir$ac_delim
21240 pdfdir!$pdfdir$ac_delim
21241 psdir!$psdir$ac_delim
21242 libdir!$libdir$ac_delim
21243 localedir!$localedir$ac_delim
21244 mandir!$mandir$ac_delim
21245 DEFS!$DEFS$ac_delim
21246 ECHO_C!$ECHO_C$ac_delim
21247 ECHO_N!$ECHO_N$ac_delim
21248 ECHO_T!$ECHO_T$ac_delim
21249 LIBS!$LIBS$ac_delim
21250 build_alias!$build_alias$ac_delim
21251 host_alias!$host_alias$ac_delim
21252 target_alias!$target_alias$ac_delim
21253 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21254 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21255 INSTALL_DATA!$INSTALL_DATA$ac_delim
21256 CYGPATH_W!$CYGPATH_W$ac_delim
21257 PACKAGE!$PACKAGE$ac_delim
21258 VERSION!$VERSION$ac_delim
21259 ACLOCAL!$ACLOCAL$ac_delim
21260 AUTOCONF!$AUTOCONF$ac_delim
21261 AUTOMAKE!$AUTOMAKE$ac_delim
21262 AUTOHEADER!$AUTOHEADER$ac_delim
21263 MAKEINFO!$MAKEINFO$ac_delim
21264 install_sh!$install_sh$ac_delim
21265 STRIP!$STRIP$ac_delim
21266 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21267 mkdir_p!$mkdir_p$ac_delim
21269 SET_MAKE!$SET_MAKE$ac_delim
21270 am__leading_dot!$am__leading_dot$ac_delim
21271 AMTAR!$AMTAR$ac_delim
21272 am__tar!$am__tar$ac_delim
21273 am__untar!$am__untar$ac_delim
21275 CXXFLAGS!$CXXFLAGS$ac_delim
21276 LDFLAGS!$LDFLAGS$ac_delim
21277 CPPFLAGS!$CPPFLAGS$ac_delim
21278 ac_ct_CXX!$ac_ct_CXX$ac_delim
21279 EXEEXT!$EXEEXT$ac_delim
21280 OBJEXT!$OBJEXT$ac_delim
21281 DEPDIR!$DEPDIR$ac_delim
21282 am__include!$am__include$ac_delim
21283 am__quote!$am__quote$ac_delim
21284 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21285 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21286 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21287 CXXDEPMODE!$CXXDEPMODE$ac_delim
21288 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21289 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21290 build!$build$ac_delim
21291 build_cpu!$build_cpu$ac_delim
21292 build_vendor!$build_vendor$ac_delim
21293 build_os!$build_os$ac_delim
21294 host!$host$ac_delim
21295 host_cpu!$host_cpu$ac_delim
21296 host_vendor!$host_vendor$ac_delim
21297 host_os!$host_os$ac_delim
21299 CFLAGS!$CFLAGS$ac_delim
21300 ac_ct_CC!$ac_ct_CC$ac_delim
21301 CCDEPMODE!$CCDEPMODE$ac_delim
21302 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21303 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21304 GREP!$GREP$ac_delim
21305 EGREP!$EGREP$ac_delim
21306 LN_S!$LN_S$ac_delim
21307 ECHO!$ECHO$ac_delim
21309 RANLIB!$RANLIB$ac_delim
21311 CXXCPP!$CXXCPP$ac_delim
21315 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21317 elif $ac_last_try; then
21318 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21319 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21320 { (exit 1); exit 1; }; }
21322 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21326 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21327 if test -n "$ac_eof"; then
21328 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21329 ac_eof
=`expr $ac_eof + 1`
21332 cat >>$CONFIG_STATUS <<_ACEOF
21333 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21334 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21337 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21338 s/^/s,@/; s/!/@,|#_!!_#|/
21341 s/'"$ac_delim"'$/,g/; t
21343 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21344 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21345 rm -f conf$
$subs.
sed
21346 cat >>$CONFIG_STATUS <<_ACEOF
21352 for ac_last_try
in false false false false false
:; do
21353 cat >conf$
$subs.
sed <<_ACEOF
21354 FFLAGS!$FFLAGS$ac_delim
21355 ac_ct_F77!$ac_ct_F77$ac_delim
21356 LIBTOOL!$LIBTOOL$ac_delim
21357 YACC!$YACC$ac_delim
21358 YFLAGS!$YFLAGS$ac_delim
21360 LEXLIB!$LEXLIB$ac_delim
21361 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21362 LIBOBJS!$LIBOBJS$ac_delim
21363 LTLIBOBJS!$LTLIBOBJS$ac_delim
21366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21368 elif $ac_last_try; then
21369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21371 { (exit 1); exit 1; }; }
21373 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21377 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21378 if test -n "$ac_eof"; then
21379 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21380 ac_eof
=`expr $ac_eof + 1`
21383 cat >>$CONFIG_STATUS <<_ACEOF
21384 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21389 s/^/s,@/; s/!/@,|#_!!_#|/
21392 s/'"$ac_delim"'$/,g/; t
21394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21395 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21396 rm -f conf$
$subs.
sed
21397 cat >>$CONFIG_STATUS <<_ACEOF
21404 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21405 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21406 # trailing colons and then remove the whole line if VPATH becomes empty
21407 # (actually we leave an empty line to preserve line numbers).
21408 if test "x$srcdir" = x.
; then
21409 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21410 s/:*\$(srcdir):*/:/
21411 s/:*\${srcdir}:*/:/
21413 s/^\([^=]*=[ ]*\):*/\1/
21419 cat >>$CONFIG_STATUS <<\_ACEOF
21420 fi # test -n "$CONFIG_FILES"
21423 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21426 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21428 case $ac_mode$ac_tag in
21430 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21431 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21432 { (exit 1); exit 1; }; };;
21433 :[FH
]-) ac_tag
=-:-;;
21434 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21451 -) ac_f
="$tmp/stdin";;
21452 *) # Look for the file first in the build tree, then in the source tree
21453 # (if the path is not absolute). The absolute path cannot be DOS-style,
21454 # because $ac_f cannot contain `:'.
21458 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21460 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21461 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21462 { (exit 1); exit 1; }; };;
21464 ac_file_inputs
="$ac_file_inputs $ac_f"
21467 # Let's still pretend it is `configure' which instantiates (i.e., don't
21468 # use $as_me), people would be surprised to read:
21469 # /* config.h. Generated by config.status. */
21470 configure_input
="Generated from "`IFS=:
21471 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21472 if test x
"$ac_file" != x-
; then
21473 configure_input
="$ac_file. $configure_input"
21474 { echo "$as_me:$LINENO: creating $ac_file" >&5
21475 echo "$as_me: creating $ac_file" >&6;}
21479 *:-:* |
*:-) cat >"$tmp/stdin";;
21484 ac_dir
=`$as_dirname -- "$ac_file" ||
21485 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21486 X"$ac_file" : 'X\(//\)[^/]' \| \
21487 X"$ac_file" : 'X\(//\)$' \| \
21488 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21494 /^X\(\/\/\)[^/].*/{
21509 -*) as_dir
=.
/$as_dir;;
21511 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21515 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21516 *) as_qdir
=$as_dir;;
21518 as_dirs
="'$as_qdir' $as_dirs"
21519 as_dir
=`$as_dirname -- "$as_dir" ||
21520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21521 X"$as_dir" : 'X\(//\)[^/]' \| \
21522 X"$as_dir" : 'X\(//\)$' \| \
21523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21529 /^X\(\/\/\)[^/].*/{
21542 test -d "$as_dir" && break
21544 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21545 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21546 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21547 { (exit 1); exit 1; }; }; }
21551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21553 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21554 # A ".." for each directory in $ac_dir_suffix.
21555 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21556 case $ac_top_builddir_sub in
21557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21561 ac_abs_top_builddir
=$ac_pwd
21562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21563 # for backward compatibility:
21564 ac_top_builddir
=$ac_top_build_prefix
21567 .
) # We are building in place.
21569 ac_top_srcdir
=$ac_top_builddir_sub
21570 ac_abs_top_srcdir
=$ac_pwd ;;
21571 [\\/]* | ?
:[\\/]* ) # Absolute name.
21572 ac_srcdir
=$srcdir$ac_dir_suffix;
21573 ac_top_srcdir
=$srcdir
21574 ac_abs_top_srcdir
=$srcdir ;;
21575 *) # Relative name.
21576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21590 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21591 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21595 cat >>$CONFIG_STATUS <<\_ACEOF
21596 # If the template does not know about datarootdir, expand it.
21597 # FIXME: This hack should be removed a few years after 2.60.
21598 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21600 case `sed -n '/datarootdir/ {
21609 ' $ac_file_inputs` in
21610 *datarootdir
*) ac_datarootdir_seen
=yes;;
21611 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21612 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21613 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21615 cat >>$CONFIG_STATUS <<_ACEOF
21616 ac_datarootdir_hack='
21617 s&@datadir@&$datadir&g
21618 s&@docdir@&$docdir&g
21619 s&@infodir@&$infodir&g
21620 s&@localedir@&$localedir&g
21621 s&@mandir@&$mandir&g
21622 s&\\\${datarootdir}&$datarootdir&g' ;;
21626 # Neutralize VPATH when `$srcdir' = `.'.
21627 # Shell code in configure.ac might set extrasub.
21628 # FIXME: do we really want to maintain this feature?
21629 cat >>$CONFIG_STATUS <<_ACEOF
21633 cat >>$CONFIG_STATUS <<\_ACEOF
21635 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21636 s
&@configure_input@
&$configure_input&;t t
21637 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21638 s
&@srcdir@
&$ac_srcdir&;t t
21639 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21640 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21641 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21642 s
&@builddir@
&$ac_builddir&;t t
21643 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21644 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21645 s
&@INSTALL@
&$ac_INSTALL&;t t
21646 $ac_datarootdir_hack
21647 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21649 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21650 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21651 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21652 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21653 which seems to be undefined. Please make sure it is defined." >&5
21654 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21655 which seems to be undefined. Please make sure it is defined." >&2;}
21659 -) cat "$tmp/out"; rm -f "$tmp/out";;
21660 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21669 # Transform confdefs.h into a sed script `conftest.defines', that
21670 # substitutes the proper values into config.h.in to produce config.h.
21671 rm -f conftest.defines conftest.
tail
21672 # First, append a space to every undef/define line, to ease matching.
21673 echo 's/$/ /' >conftest.defines
21674 # Then, protect against being on the right side of a sed subst, or in
21675 # an unquoted here document, in config.status. If some macros were
21676 # called several times there might be several #defines for the same
21677 # symbol, which is useless. But do not sort them, since the last
21678 # AC_DEFINE must be honored.
21679 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21680 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21681 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21682 # PARAMS is the parameter list in the macro definition--in most cases, it's
21683 # just an empty string.
21684 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21685 ac_dB
='\\)[ (].*,\\1define\\2'
21693 s/^[ ]*#[ ]*define[ ][ ]*//
21698 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21699 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21700 ' >>conftest.defines
21702 # Remove the space that was appended to ease matching.
21703 # Then replace #undef with comments. This is necessary, for
21704 # example, in the case of _POSIX_SOURCE, which is predefined and required
21705 # on some systems where configure will not decide to define it.
21706 # (The regexp can be short, since the line contains either #define or #undef.)
21708 s,^[ #]*u.*,/* & */,' >>conftest.defines
21710 # Break up conftest.defines:
21711 ac_max_sed_lines
=50
21713 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21714 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21715 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21717 ac_in
='$ac_file_inputs'
21718 ac_out
='"$tmp/out1"'
21719 ac_nxt
='"$tmp/out2"'
21723 # Write a here document:
21724 cat >>$CONFIG_STATUS <<_ACEOF
21725 # First, check the format of the line:
21726 cat >"\$tmp/defines.sed" <<\\CEOF
21727 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21728 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21732 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21734 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21735 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21736 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21737 grep . conftest.
tail >/dev
/null ||
break
21738 rm -f conftest.defines
21739 mv conftest.
tail conftest.defines
21741 rm -f conftest.defines conftest.
tail
21743 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21744 cat >>$CONFIG_STATUS <<\_ACEOF
21745 if test x
"$ac_file" != x-
; then
21746 echo "/* $configure_input */" >"$tmp/config.h"
21747 cat "$ac_result" >>"$tmp/config.h"
21748 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21749 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21750 echo "$as_me: $ac_file is unchanged" >&6;}
21753 mv "$tmp/config.h" $ac_file
21756 echo "/* $configure_input */"
21760 # Compute $ac_file's index in $config_headers.
21762 for _am_header
in $config_headers :; do
21763 case $_am_header in
21764 $ac_file |
$ac_file:* )
21767 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21770 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21771 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21772 X$ac_file : 'X\(//\)[^/]' \| \
21773 X$ac_file : 'X\(//\)$' \| \
21774 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21780 /^X\(\/\/\)[^/].*/{
21792 s/.*/./; q'`/stamp-h
$_am_stamp_count
21795 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21796 echo "$as_me: executing $ac_file commands" >&6;}
21801 case $ac_file$ac_mode in
21802 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21803 # Strip MF so we end up with the name of the file.
21804 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21805 # Check whether this is an Automake generated Makefile or not.
21806 # We used to match only the files named `Makefile.in', but
21807 # some people rename them; so instead we look at the file content.
21808 # Grep'ing the first line is not enough: some people post-process
21809 # each Makefile.in and add a new line on top of each file to say so.
21810 # So let's grep whole file.
21811 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21812 dirpart
=`$as_dirname -- "$mf" ||
21813 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21814 X"$mf" : 'X\(//\)[^/]' \| \
21815 X"$mf" : 'X\(//\)$' \| \
21816 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21822 /^X\(\/\/\)[^/].*/{
21838 # Extract the definition of DEPDIR, am__include, and am__quote
21839 # from the Makefile without running `make'.
21840 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21841 test -z "$DEPDIR" && continue
21842 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21843 test -z "am__include" && continue
21844 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21845 # When using ansi2knr, U may be empty or an underscore; expand it
21846 U
=`sed -n 's/^U = //p' < "$mf"`
21847 # Find all dependency output files, they are included files with
21848 # $(DEPDIR) in their names. We invoke sed twice because it is the
21849 # simplest approach to changing $(DEPDIR) to its actual value in the
21851 for file in `sed -n "
21852 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21853 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21854 # Make sure the directory exists.
21855 test -f "$dirpart/$file" && continue
21856 fdir
=`$as_dirname -- "$file" ||
21857 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21858 X"$file" : 'X\(//\)[^/]' \| \
21859 X"$file" : 'X\(//\)$' \| \
21860 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21866 /^X\(\/\/\)[^/].*/{
21879 { as_dir
=$dirpart/$fdir
21881 -*) as_dir
=.
/$as_dir;;
21883 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21887 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21888 *) as_qdir
=$as_dir;;
21890 as_dirs
="'$as_qdir' $as_dirs"
21891 as_dir
=`$as_dirname -- "$as_dir" ||
21892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21893 X"$as_dir" : 'X\(//\)[^/]' \| \
21894 X"$as_dir" : 'X\(//\)$' \| \
21895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21901 /^X\(\/\/\)[^/].*/{
21914 test -d "$as_dir" && break
21916 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21917 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21918 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21919 { (exit 1); exit 1; }; }; }
21920 # echo "creating $dirpart/$file"
21921 echo '# dummy' > "$dirpart/$file"
21930 { (exit 0); exit 0; }
21932 chmod +x
$CONFIG_STATUS
21933 ac_clean_files
=$ac_clean_files_save
21936 # configure is writing to config.log, and then calls config.status.
21937 # config.status does its own redirection, appending to config.log.
21938 # Unfortunately, on DOS this fails, as config.log is still kept open
21939 # by configure, so config.status won't be able to write to it; its
21940 # output is simply discarded. So we exec the FD to /dev/null,
21941 # effectively closing config.log, so it can be properly (re)opened and
21942 # appended to by config.status. When coming back to configure, we
21943 # need to make the FD available again.
21944 if test "$no_create" != yes; then
21946 ac_config_status_args
=
21947 test "$silent" = yes &&
21948 ac_config_status_args
="$ac_config_status_args --quiet"
21950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21953 # would make configure fail if this is the last instruction.
21954 $ac_cs_success ||
{ (exit 1); exit 1; }