2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="src/jam.c"
734 ac_default_prefix
=/usr
/local
/jamvm
735 # Factoring default headers for most tests.
736 ac_includes_default
="\
738 #ifdef HAVE_SYS_TYPES_H
739 # include <sys/types.h>
741 #ifdef HAVE_SYS_STAT_H
742 # include <sys/stat.h>
748 # ifdef HAVE_STDLIB_H
753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758 #ifdef HAVE_STRINGS_H
759 # include <strings.h>
761 #ifdef HAVE_INTTYPES_H
762 # include <inttypes.h>
780 program_transform_name
822 INSTALL_STRIP_PROGRAM
841 COMPILE_TIME_RELOC_CHECKS_TRUE
842 COMPILE_TIME_RELOC_CHECKS_FALSE
843 AVR32_JAVA_EXTENSION_SUPPORT_TRUE
844 AVR32_JAVA_EXTENSION_SUPPORT_FALSE
845 with_classpath_install_dir
885 am__fastdepCCAS_FALSE
891 MAINTAINER_MODE_FALSE
896 ac_precious_vars
='build_alias
915 # Initialize some variables set by options.
917 ac_init_version
=false
918 # The variables have the same names as the options, with
919 # dashes changed to underlines.
927 program_transform_name
=s
,x
,x
,
935 # Installation directory options.
936 # These are left unexpanded so users can "make install exec_prefix=/foo"
937 # and all the variables that are supposed to be based on exec_prefix
938 # by default will actually change.
939 # Use braces instead of parens because sh, perl, etc. also accept them.
940 # (The list follows the same order as the GNU Coding Standards.)
941 bindir
='${exec_prefix}/bin'
942 sbindir
='${exec_prefix}/sbin'
943 libexecdir
='${exec_prefix}/libexec'
944 datarootdir
='${prefix}/share'
945 datadir
='${datarootdir}'
946 sysconfdir
='${prefix}/etc'
947 sharedstatedir
='${prefix}/com'
948 localstatedir
='${prefix}/var'
949 includedir
='${prefix}/include'
950 oldincludedir
='/usr/include'
951 docdir
='${datarootdir}/doc/${PACKAGE}'
952 infodir
='${datarootdir}/info'
957 libdir
='${exec_prefix}/lib'
958 localedir
='${datarootdir}/locale'
959 mandir
='${datarootdir}/man'
965 # If the previous option needs an argument, assign it.
966 if test -n "$ac_prev"; then
967 eval $ac_prev=\
$ac_option
973 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 # Accept the important Cygnus configure options, so we can diagnose typos.
979 case $ac_dashdash$ac_option in
983 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
985 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
988 -build |
--build |
--buil |
--bui |
--bu)
989 ac_prev
=build_alias
;;
990 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
991 build_alias
=$ac_optarg ;;
993 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
994 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
995 ac_prev
=cache_file
;;
996 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
997 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
998 cache_file
=$ac_optarg ;;
1000 --config-cache |
-C)
1001 cache_file
=config.cache
;;
1003 -datadir |
--datadir |
--datadi |
--datad)
1005 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1006 datadir
=$ac_optarg ;;
1008 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1009 |
--dataroo |
--dataro |
--datar)
1010 ac_prev
=datarootdir
;;
1011 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1012 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1013 datarootdir
=$ac_optarg ;;
1015 -disable-* |
--disable-*)
1016 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_
$ac_feature=no
;;
1024 -docdir |
--docdir |
--docdi |
--doc |
--do)
1026 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1027 docdir
=$ac_optarg ;;
1029 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1031 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1032 dvidir
=$ac_optarg ;;
1034 -enable-* |
--enable-*)
1035 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1038 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1039 { (exit 1); exit 1; }; }
1040 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1041 eval enable_
$ac_feature=\
$ac_optarg ;;
1043 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1044 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1045 |
--exec |
--exe |
--ex)
1046 ac_prev
=exec_prefix
;;
1047 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1048 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1049 |
--exec=* |
--exe=* |
--ex=*)
1050 exec_prefix
=$ac_optarg ;;
1052 -gas |
--gas |
--ga |
--g)
1053 # Obsolete; use --with-gas.
1056 -help |
--help |
--hel |
--he |
-h)
1057 ac_init_help
=long
;;
1058 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1059 ac_init_help
=recursive
;;
1060 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1061 ac_init_help
=short
;;
1063 -host |
--host |
--hos |
--ho)
1064 ac_prev
=host_alias
;;
1065 -host=* |
--host=* |
--hos=* |
--ho=*)
1066 host_alias
=$ac_optarg ;;
1068 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1070 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1072 htmldir
=$ac_optarg ;;
1074 -includedir |
--includedir |
--includedi |
--included |
--include \
1075 |
--includ |
--inclu |
--incl |
--inc)
1076 ac_prev
=includedir
;;
1077 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1078 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1079 includedir
=$ac_optarg ;;
1081 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1083 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1084 infodir
=$ac_optarg ;;
1086 -libdir |
--libdir |
--libdi |
--libd)
1088 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1089 libdir
=$ac_optarg ;;
1091 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1092 |
--libexe |
--libex |
--libe)
1093 ac_prev
=libexecdir
;;
1094 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1095 |
--libexe=* |
--libex=* |
--libe=*)
1096 libexecdir
=$ac_optarg ;;
1098 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1099 ac_prev
=localedir
;;
1100 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1101 localedir
=$ac_optarg ;;
1103 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1104 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1105 ac_prev
=localstatedir
;;
1106 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1107 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1108 localstatedir
=$ac_optarg ;;
1110 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1112 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1113 mandir
=$ac_optarg ;;
1115 -nfp |
--nfp |
--nf)
1116 # Obsolete; use --without-fp.
1119 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1120 |
--no-cr |
--no-c |
-n)
1123 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1124 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1127 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1128 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1129 |
--oldin |
--oldi |
--old |
--ol |
--o)
1130 ac_prev
=oldincludedir
;;
1131 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1132 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1133 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1134 oldincludedir
=$ac_optarg ;;
1136 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1138 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1139 prefix
=$ac_optarg ;;
1141 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1142 |
--program-pre |
--program-pr |
--program-p)
1143 ac_prev
=program_prefix
;;
1144 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1145 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1146 program_prefix
=$ac_optarg ;;
1148 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1149 |
--program-suf |
--program-su |
--program-s)
1150 ac_prev
=program_suffix
;;
1151 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1152 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1153 program_suffix
=$ac_optarg ;;
1155 -program-transform-name |
--program-transform-name \
1156 |
--program-transform-nam |
--program-transform-na \
1157 |
--program-transform-n |
--program-transform- \
1158 |
--program-transform |
--program-transfor \
1159 |
--program-transfo |
--program-transf \
1160 |
--program-trans |
--program-tran \
1161 |
--progr-tra |
--program-tr |
--program-t)
1162 ac_prev
=program_transform_name
;;
1163 -program-transform-name=* |
--program-transform-name=* \
1164 |
--program-transform-nam=* |
--program-transform-na=* \
1165 |
--program-transform-n=* |
--program-transform-=* \
1166 |
--program-transform=* |
--program-transfor=* \
1167 |
--program-transfo=* |
--program-transf=* \
1168 |
--program-trans=* |
--program-tran=* \
1169 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1170 program_transform_name
=$ac_optarg ;;
1172 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1174 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1175 pdfdir
=$ac_optarg ;;
1177 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1179 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1182 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1183 |
-silent |
--silent |
--silen |
--sile |
--sil)
1186 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1188 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1190 sbindir
=$ac_optarg ;;
1192 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1193 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1194 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1196 ac_prev
=sharedstatedir
;;
1197 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1198 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1199 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1201 sharedstatedir
=$ac_optarg ;;
1203 -site |
--site |
--sit)
1205 -site=* |
--site=* |
--sit=*)
1208 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1210 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1211 srcdir
=$ac_optarg ;;
1213 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1214 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1215 ac_prev
=sysconfdir
;;
1216 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1217 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1218 sysconfdir
=$ac_optarg ;;
1220 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1221 ac_prev
=target_alias
;;
1222 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1223 target_alias
=$ac_optarg ;;
1225 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1228 -version |
--version |
--versio |
--versi |
--vers |
-V)
1229 ac_init_version
=: ;;
1232 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1235 { echo "$as_me: error: invalid package name: $ac_package" >&2
1236 { (exit 1); exit 1; }; }
1237 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1238 eval with_
$ac_package=\
$ac_optarg ;;
1240 -without-* |
--without-*)
1241 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 { echo "$as_me: error: invalid package name: $ac_package" >&2
1245 { (exit 1); exit 1; }; }
1246 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1247 eval with_
$ac_package=no
;;
1250 # Obsolete; use --with-x.
1253 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1254 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1255 ac_prev
=x_includes
;;
1256 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1257 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1258 x_includes
=$ac_optarg ;;
1260 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1261 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1262 ac_prev
=x_libraries
;;
1263 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1264 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1265 x_libraries
=$ac_optarg ;;
1267 -*) { echo "$as_me: error: unrecognized option: $ac_option
1268 Try \`$0 --help' for more information." >&2
1269 { (exit 1); exit 1; }; }
1273 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1276 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1277 { (exit 1); exit 1; }; }
1278 eval $ac_envvar=\
$ac_optarg
1279 export $ac_envvar ;;
1282 # FIXME: should be removed in autoconf 3.0.
1283 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1285 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 if test -n "$ac_prev"; then
1293 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1294 { echo "$as_me: error: missing argument to $ac_option" >&2
1295 { (exit 1); exit 1; }; }
1298 # Be sure to have absolute directory names.
1299 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1300 datadir sysconfdir sharedstatedir localstatedir includedir \
1301 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1302 libdir localedir mandir
1304 eval ac_val
=\$
$ac_var
1306 [\\/$
]* | ?
:[\\/]* ) continue;;
1307 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1309 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1310 { (exit 1); exit 1; }; }
1313 # There might be people who depend on the old broken behavior: `$host'
1314 # used to hold the argument of --host etc.
1315 # FIXME: To remove some day.
1318 target
=$target_alias
1320 # FIXME: To remove some day.
1321 if test "x$host_alias" != x
; then
1322 if test "x$build_alias" = x
; then
1323 cross_compiling
=maybe
1324 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1325 If a cross compiler is detected then cross compile mode will be used." >&2
1326 elif test "x$build_alias" != "x$host_alias"; then
1332 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1334 test "$silent" = yes && exec 6>/dev
/null
1337 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1338 ac_ls_di
=`ls -di .` &&
1339 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1340 { echo "$as_me: error: Working directory cannot be determined" >&2
1341 { (exit 1); exit 1; }; }
1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343 { echo "$as_me: error: pwd does not report name of working directory" >&2
1344 { (exit 1); exit 1; }; }
1347 # Find the source files, if location was not specified.
1348 if test -z "$srcdir"; then
1349 ac_srcdir_defaulted
=yes
1350 # Try the directory containing this script, then the parent directory.
1351 ac_confdir
=`$as_dirname -- "$0" ||
1352 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1353 X"$0" : 'X\(//\)[^/]' \| \
1354 X"$0" : 'X\(//\)$' \| \
1355 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1379 ac_srcdir_defaulted
=no
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1382 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1383 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1384 { (exit 1); exit 1; }; }
1386 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1388 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1389 { (exit 1); exit 1; }; }
1391 # When building in place, set srcdir=.
1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
1395 # Remove unnecessary trailing slashes from srcdir.
1396 # Double slashes in file names in object file debugging info
1397 # mess up M-x gdb in Emacs.
1399 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1401 for ac_var
in $ac_precious_vars; do
1402 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1403 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1404 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1405 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1409 # Report the --help message.
1411 if test "$ac_init_help" = "long"; then
1412 # Omit some internal or obsolete options to make the list less imposing.
1413 # This message is too long to be a string in the A/UX 3.1 sh.
1415 \`configure' configures this package to adapt to many kinds of systems.
1417 Usage: $0 [OPTION]... [VAR=VALUE]...
1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1420 VAR=VALUE. See below for descriptions of some of the useful variables.
1422 Defaults for the options are specified in brackets.
1425 -h, --help display this help and exit
1426 --help=short display options specific to this package
1427 --help=recursive display the short help of all the included packages
1428 -V, --version display version information and exit
1429 -q, --quiet, --silent do not print \`checking...' messages
1430 --cache-file=FILE cache test results in FILE [disabled]
1431 -C, --config-cache alias for \`--cache-file=config.cache'
1432 -n, --no-create do not create output files
1433 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1435 Installation directories:
1436 --prefix=PREFIX install architecture-independent files in PREFIX
1437 [$ac_default_prefix]
1438 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1441 By default, \`make install' will install all the files in
1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1444 for instance \`--prefix=\$HOME'.
1446 For better control, use the options below.
1448 Fine tuning of the installation directories:
1449 --bindir=DIR user executables [EPREFIX/bin]
1450 --sbindir=DIR system admin executables [EPREFIX/sbin]
1451 --libexecdir=DIR program executables [EPREFIX/libexec]
1452 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1453 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1454 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1455 --libdir=DIR object code libraries [EPREFIX/lib]
1456 --includedir=DIR C header files [PREFIX/include]
1457 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1458 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1459 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1460 --infodir=DIR info documentation [DATAROOTDIR/info]
1461 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1462 --mandir=DIR man documentation [DATAROOTDIR/man]
1463 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1464 --htmldir=DIR html documentation [DOCDIR]
1465 --dvidir=DIR dvi documentation [DOCDIR]
1466 --pdfdir=DIR pdf documentation [DOCDIR]
1467 --psdir=DIR ps documentation [DOCDIR]
1473 --program-prefix=PREFIX prepend PREFIX to installed program names
1474 --program-suffix=SUFFIX append SUFFIX to installed program names
1475 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1478 --build=BUILD configure
for building on BUILD
[guessed
]
1479 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1483 if test -n "$ac_init_help"; then
1488 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1489 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1490 --enable-tracegc add gc tracing
(for debugging
)
1491 --enable-tracealloc add object allocation tracing
(for debugging
)
1492 --enable-tracefnlz add object finalisation tracing
(for debugging
)
1493 --enable-tracedll add library loading
/lookup tracing
(for debugging
)
1494 --enable-tracelock add object locking tracing
(for debugging
)
1495 --enable-tracethread add thread creation tracing
(for debugging
)
1496 --enable-tracecompact add GC compaction phase tracing
(for debugging
)
1497 --enable-tracedirect add interpreter direct-mode tracing
(for debugging
)
1498 --enable-traceinlining add interpreter inlining tracing
(for debugging
)
1499 --enable-trace add all tracing
(for debugging
)
1500 --enable-int-threading enable threaded version of the interpreter
(default
1502 --enable-int-direct enable direct threaded version of the interpreter
1504 --enable-int-caching enable stack-caching version of the interpreter
1505 (disabled by default on x86-64
, enabled otherwise
)
1506 --enable-int-prefetch enable prefetching version of the interpreter
(by
1507 default enabled on powerpc
, disabled otherwise
)
1508 --enable-runtime-reloc-checks
1509 compute relocatability
at runtime
(inlining
1511 --enable-int-inlining enable inline threaded version of the interpreter
1512 (by default enabled on x86_64
, i386 and powerpc
,
1514 --enable-ffi use libffi to call native methods
1515 --disable-zip turn-off
zip support
in the bootstrap loader
1516 --enable-static[=PKGS
] build static libraries
[default
=no
]
1517 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1518 --enable-fast-install[=PKGS
]
1519 optimize
for fast installation
[default
=yes]
1520 --disable-dependency-tracking speeds up one-time build
1521 --enable-dependency-tracking do not reject slow dependency extractors
1522 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1523 --enable-maintainer-mode enable make rules and dependencies not useful
1524 (and sometimes confusing
) to the casual installer
1527 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1528 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1529 --with-classpath-install-dir=<dir
>
1530 installation directory of GNU classpath
(default
1531 /usr
/local
/classpath
)
1532 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1533 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1535 --with-tags[=TAGS
] include additional configurations
[automatic
]
1537 Some influential environment variables
:
1538 CC C compiler
command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1541 nonstandard directory
<lib dir
>
1542 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1543 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1544 you have headers
in a nonstandard directory
<include dir
>
1546 CXX C
++ compiler
command
1547 CXXFLAGS C
++ compiler flags
1548 CXXCPP C
++ preprocessor
1549 F77 Fortran
77 compiler
command
1550 FFLAGS Fortran
77 compiler flags
1551 CCAS assembler compiler
command (defaults to CC
)
1552 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1554 Use these variables to override the choices made by
`configure' or to help
1555 it to find libraries and programs with nonstandard names/locations.
1561 if test "$ac_init_help" = "recursive"; then
1562 # If there are subdirs, report their specific --help.
1563 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1564 test -d "$ac_dir" || continue
1568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1570 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1571 # A ".." for each directory in $ac_dir_suffix.
1572 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1573 case $ac_top_builddir_sub in
1574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1578 ac_abs_top_builddir=$ac_pwd
1579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1580 # for backward compatibility:
1581 ac_top_builddir=$ac_top_build_prefix
1584 .) # We are building in place.
1586 ac_top_srcdir=$ac_top_builddir_sub
1587 ac_abs_top_srcdir=$ac_pwd ;;
1588 [\\/]* | ?:[\\/]* ) # Absolute name.
1589 ac_srcdir=$srcdir$ac_dir_suffix;
1590 ac_top_srcdir=$srcdir
1591 ac_abs_top_srcdir=$srcdir ;;
1593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1594 ac_top_srcdir=$ac_top_build_prefix$srcdir
1595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1599 cd "$ac_dir" || { ac_status=$?; continue; }
1600 # Check for guested configure.
1601 if test -f "$ac_srcdir/configure.gnu"; then
1603 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1604 elif test -f "$ac_srcdir/configure"; then
1606 $SHELL "$ac_srcdir/configure" --help=recursive
1608 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1610 cd "$ac_pwd" || { ac_status=$?; break; }
1614 test -n "$ac_init_help" && exit $ac_status
1615 if $ac_init_version; then
1618 generated by GNU Autoconf 2.61
1620 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1621 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1622 This configure script is free software; the Free Software Foundation
1623 gives unlimited permission to copy, distribute and modify it.
1627 cat >config.log <<_ACEOF
1628 This file contains any messages produced by compilers while
1629 running configure, to aid debugging if configure makes a mistake.
1631 It was created by $as_me, which was
1632 generated by GNU Autoconf 2.61. Invocation command line was
1644 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1645 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1646 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1647 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1648 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1650 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1651 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1653 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1654 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1655 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1656 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1657 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1658 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1659 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 echo "PATH: $as_dir"
1684 # Keep a trace of the command line.
1685 # Strip out --no-create and --no-recursion so they do not pile up.
1686 # Strip out --silent because we don't want to record it for future runs.
1687 # Also quote any args containing shell meta-characters.
1688 # Make two passes to allow for proper duplicate-argument suppression.
1692 ac_must_keep_next=false
1698 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1700 | -silent | --silent | --silen | --sile | --sil)
1703 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1706 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1708 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1709 if test $ac_must_keep_next = true; then
1710 ac_must_keep_next=false # Got value, back to normal.
1713 *=* | --config-cache | -C | -disable-* | --disable-* \
1714 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1715 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1716 | -with-* | --with-* | -without-* | --without-* | --x)
1717 case "$ac_configure_args0 " in
1718 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1721 -* ) ac_must_keep_next=true ;;
1724 ac_configure_args="$ac_configure_args '$ac_arg'"
1729 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1730 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1732 # When interrupted or exit'd, cleanup temporary files, and complete
1733 # config.log. We remove comments because anyway the quotes in there
1734 # would cause problems or look ugly.
1735 # WARNING: Use '\'' to represent an apostrophe within the trap.
1736 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1737 trap 'exit_status=$?
1738 # Save into config.log some information that might help in debugging.
1743 ## ---------------- ##
1744 ## Cache variables. ##
1745 ## ---------------- ##
1748 # The following way of writing the cache mishandles newlines in values,
1750 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1751 eval ac_val=\$$ac_var
1755 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1756 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1759 _ | IFS | as_nl) ;; #(
1760 *) $as_unset $ac_var ;;
1765 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1766 *${as_nl}ac_space=\ *)
1768 "s/'\''/'\''\\\\'\'''\''/g;
1769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1772 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1780 ## ----------------- ##
1781 ## Output variables. ##
1782 ## ----------------- ##
1785 for ac_var in $ac_subst_vars
1787 eval ac_val=\$$ac_var
1789 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1791 echo "$ac_var='\''$ac_val'\''"
1795 if test -n "$ac_subst_files"; then
1797 ## ------------------- ##
1798 ## File substitutions. ##
1799 ## ------------------- ##
1802 for ac_var in $ac_subst_files
1804 eval ac_val=\$$ac_var
1806 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1808 echo "$ac_var='\''$ac_val'\''"
1813 if test -s confdefs.h; then
1823 test "$ac_signal" != 0 &&
1824 echo "$as_me: caught signal $ac_signal"
1825 echo "$as_me: exit $exit_status"
1827 rm -f core *.core core.conftest.* &&
1828 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 for ac_signal in 1 2 13 15; do
1832 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1836 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1837 rm -f -r conftest* confdefs.h
1839 # Predefined preprocessor variables.
1841 cat >>confdefs.h <<_ACEOF
1842 #define PACKAGE_NAME "$PACKAGE_NAME"
1846 cat >>confdefs.h <<_ACEOF
1847 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1856 cat >>confdefs.h <<_ACEOF
1857 #define PACKAGE_STRING "$PACKAGE_STRING"
1861 cat >>confdefs.h <<_ACEOF
1862 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1866 # Let the site file select an alternate cache file if it wants to.
1867 # Prefer explicitly selected file to automatically selected ones.
1868 if test -n "$CONFIG_SITE"; then
1869 set x "$CONFIG_SITE"
1870 elif test "x$prefix" != xNONE; then
1871 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1873 set x "$ac_default_prefix/share/config.site" \
1874 "$ac_default_prefix/etc/config.site"
1879 if test -r "$ac_site_file"; then
1880 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1881 echo "$as_me: loading site script $ac_site_file" >&6;}
1882 sed 's/^/| /' "$ac_site_file" >&5
1887 if test -r "$cache_file"; then
1888 # Some versions of bash will fail to source /dev/null (special
1889 # files actually), so we avoid doing that.
1890 if test -f "$cache_file"; then
1891 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1892 echo "$as_me: loading cache $cache_file" >&6;}
1894 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1895 *) . "./$cache_file";;
1899 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1900 echo "$as_me: creating cache $cache_file" >&6;}
1904 # Check that the precious variables saved in the cache have kept the same
1906 ac_cache_corrupted=false
1907 for ac_var in $ac_precious_vars; do
1908 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1909 eval ac_new_set=\$ac_env_${ac_var}_set
1910 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1911 eval ac_new_val=\$ac_env_${ac_var}_value
1912 case $ac_old_set,$ac_new_set in
1914 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1915 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1916 ac_cache_corrupted=: ;;
1918 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1919 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1920 ac_cache_corrupted=: ;;
1923 if test "x$ac_old_val" != "x$ac_new_val"; then
1924 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1925 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1926 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1927 echo "$as_me: former value
: $ac_old_val" >&2;}
1928 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1929 echo "$as_me: current value
: $ac_new_val" >&2;}
1930 ac_cache_corrupted=:
1933 # Pass precious variables to config.status.
1934 if test "$ac_new_set" = set; then
1936 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1937 *) ac_arg=$ac_var=$ac_new_val ;;
1939 case " $ac_configure_args " in
1940 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1941 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1945 if $ac_cache_corrupted; then
1946 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1947 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1948 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1949 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1950 { (exit 1); exit 1; }; }
1970 ac_cpp='$CPP $CPPFLAGS'
1971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1976 am__api_version='1.10'
1979 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1980 if test -f "$ac_dir/install-sh"; then
1982 ac_install_sh="$ac_aux_dir/install-sh -c"
1984 elif test -f "$ac_dir/install.sh"; then
1986 ac_install_sh="$ac_aux_dir/install.sh -c"
1988 elif test -f "$ac_dir/shtool"; then
1990 ac_install_sh="$ac_aux_dir/shtool install -c"
1994 if test -z "$ac_aux_dir"; then
1995 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1996 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1997 { (exit 1); exit 1; }; }
2000 # These three variables are undocumented and unsupported,
2001 # and are intended to be withdrawn in a future Autoconf release.
2002 # They can cause serious problems if a builder's source tree is in a directory
2003 # whose full name contains unusual characters.
2004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2009 # Find a good install program. We prefer a C program (faster),
2010 # so one script is as good as another. But avoid the broken or
2011 # incompatible versions:
2012 # SysV /etc/install, /usr/sbin/install
2013 # SunOS /usr/etc/install
2014 # IRIX /sbin/install
2016 # AmigaOS /C/install, which installs bootblocks on floppy discs
2017 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2018 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2019 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2020 # OS/2's system install, which has a completely different semantic
2021 # ./install, which can be erroneously created by make from ./install.sh.
2022 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2023 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2024 if test -z "$INSTALL"; then
2025 if test "${ac_cv_path_install+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir=.
2033 # Account for people who put trailing slashes in PATH elements.
2035 ./ | .// | /cC/* | \
2036 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2037 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2040 # OSF1 and SCO ODT 3.0 have their own names for install.
2041 # Don't use installbsd from OSF since it installs stuff as root
2043 for ac_prog in ginstall scoinst install; do
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2046 if test $ac_prog = install &&
2047 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2048 # AIX install. It has an incompatible calling convention.
2050 elif test $ac_prog = install &&
2051 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2052 # program-specific install script used by HP pwplus--don't use.
2055 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2068 if test "${ac_cv_path_install+set}" = set; then
2069 INSTALL=$ac_cv_path_install
2071 # As a last resort, use the slow shell script. Don't cache a
2072 # value for INSTALL within a source directory, because that will
2073 # break other packages using the cache if that directory is
2074 # removed, or if the value is a relative name.
2075 INSTALL=$ac_install_sh
2078 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2079 echo "${ECHO_T}$INSTALL" >&6; }
2081 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2082 # It thinks the first close brace ends the variable substitution.
2083 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2085 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2087 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2089 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2090 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2093 echo timestamp > conftest.file
2094 # Do `set' in a subshell so we don't clobber the current shell
's
2095 # arguments. Must try -L first in case configure is actually a
2096 # symlink; some systems play weird games with the mod time of symlinks
2097 # (eg FreeBSD returns the mod time of the symlink's containing
2100 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2101 if test "$*" = "X"; then
2103 set X
`ls -t $srcdir/configure conftest.file`
2106 if test "$*" != "X $srcdir/configure conftest.file" \
2107 && test "$*" != "X conftest.file $srcdir/configure"; then
2109 # If neither matched, then we have a broken ls. This can happen
2110 # if, for instance, CONFIG_SHELL is bash and it inherits a
2111 # broken ls alias from the environment. This has actually
2112 # happened. Such a system could not be considered "sane".
2113 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2114 alias in your environment" >&5
2115 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2116 alias in your environment" >&2;}
2117 { (exit 1); exit 1; }; }
2120 test "$2" = conftest.
file
2126 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2127 Check your system clock" >&5
2128 echo "$as_me: error: newly created file is older than distributed files!
2129 Check your system clock" >&2;}
2130 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: result: yes" >&5
2133 echo "${ECHO_T}yes" >&6; }
2134 test "$program_prefix" != NONE
&&
2135 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2136 # Use a double $ so make ignores it.
2137 test "$program_suffix" != NONE
&&
2138 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2139 # Double any \ or $. echo might interpret backslashes.
2140 # By default was `s,x,x', remove it if useless.
2141 cat <<\_ACEOF
>conftest.
sed
2142 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2144 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2147 # expand $ac_aux_dir to an absolute path
2148 am_aux_dir
=`cd $ac_aux_dir && pwd`
2150 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2151 # Use eval to expand $SHELL
2152 if eval "$MISSING --run true"; then
2153 am_missing_run
="$MISSING --run "
2156 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2157 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2160 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2161 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2162 if test -z "$MKDIR_P"; then
2163 if test "${ac_cv_path_mkdir+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_prog
in mkdir gmkdir
; do
2172 for ac_exec_ext
in '' $ac_executable_extensions; do
2173 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2174 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2175 'mkdir (GNU coreutils) '* | \
2176 'mkdir (coreutils) '* | \
2177 'mkdir (fileutils) '4.1*)
2178 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2188 if test "${ac_cv_path_mkdir+set}" = set; then
2189 MKDIR_P
="$ac_cv_path_mkdir -p"
2191 # As a last resort, use the slow shell script. Don't cache a
2192 # value for MKDIR_P within a source directory, because that will
2193 # break other packages using the cache if that directory is
2194 # removed, or if the value is a relative name.
2195 test -d .
/--version && rmdir .
/--version
2196 MKDIR_P
="$ac_install_sh -d"
2199 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2200 echo "${ECHO_T}$MKDIR_P" >&6; }
2204 [\\/$
]* | ?
:[\\/]*) ;;
2205 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2208 for ac_prog
in gawk mawk nawk
awk
2210 # Extract the first word of "$ac_prog", so it can be a program name with args.
2211 set dummy
$ac_prog; ac_word
=$2
2212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214 if test "${ac_cv_prog_AWK+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 if test -n "$AWK"; then
2218 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir
=.
2225 for ac_exec_ext
in '' $ac_executable_extensions; do
2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2227 ac_cv_prog_AWK
="$ac_prog"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test -n "$AWK"; then
2239 { echo "$as_me:$LINENO: result: $AWK" >&5
2240 echo "${ECHO_T}$AWK" >&6; }
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2247 test -n "$AWK" && break
2250 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2251 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2252 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2253 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 cat >conftest.
make <<\_ACEOF
2259 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2261 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2262 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2264 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2266 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2270 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2271 { echo "$as_me:$LINENO: result: yes" >&5
2272 echo "${ECHO_T}yes" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2277 SET_MAKE
="MAKE=${MAKE-make}"
2280 rm -rf .tst
2>/dev
/null
2281 mkdir .tst
2>/dev
/null
2282 if test -d .tst
; then
2287 rmdir .tst
2>/dev
/null
2289 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2290 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2291 # is not polluted with repeated "-I."
2292 am__isrc
=' -I$(srcdir)'
2293 # test to see if srcdir already configured
2294 if test -f $srcdir/config.status
; then
2295 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2296 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2297 { (exit 1); exit 1; }; }
2301 # test whether we have cygpath
2302 if test -z "$CYGPATH_W"; then
2303 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2304 CYGPATH_W
='cygpath -w'
2311 # Define the identity of the package.
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE "$PACKAGE"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define VERSION "$VERSION"
2325 # Some tools Automake needs.
2327 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2330 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2333 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2336 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2339 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2341 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2343 # Installed binaries are usually stripped using `strip' when the user
2344 # run `make install-strip'. However `strip' might not be the right
2345 # tool to use in cross-compilation environments, therefore Automake
2346 # will honor the `STRIP' environment variable to overrule this program.
2347 if test "$cross_compiling" != no
; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2350 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2353 if test "${ac_cv_prog_STRIP+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 if test -n "$STRIP"; then
2357 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 STRIP
=$ac_cv_prog_STRIP
2377 if test -n "$STRIP"; then
2378 { echo "$as_me:$LINENO: result: $STRIP" >&5
2379 echo "${ECHO_T}$STRIP" >&6; }
2381 { echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6; }
2387 if test -z "$ac_cv_prog_STRIP"; then
2389 # Extract the first word of "strip", so it can be a program name with args.
2390 set dummy strip
; ac_word
=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$ac_ct_STRIP"; then
2397 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_ac_ct_STRIP
="strip"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2417 if test -n "$ac_ct_STRIP"; then
2418 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2419 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2425 if test "x$ac_ct_STRIP" = x
; then
2428 case $cross_compiling:$ac_tool_warned in
2430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2431 whose name does not start with the host triplet. If you think this
2432 configuration is useful to you, please write to autoconf@gnu.org." >&5
2433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2436 ac_tool_warned
=yes ;;
2441 STRIP
="$ac_cv_prog_STRIP"
2445 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2447 # We need awk for the "check" target. The system "awk" is bad on
2449 # Always define AMTAR for backward compatibility.
2451 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2453 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2459 ac_config_headers
="$ac_config_headers src/config.h"
2463 # Make sure we can run config.sub.
2464 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2465 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2466 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2467 { (exit 1); exit 1; }; }
2469 { echo "$as_me:$LINENO: checking build system type" >&5
2470 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2471 if test "${ac_cv_build+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 ac_build_alias
=$build_alias
2475 test "x$ac_build_alias" = x
&&
2476 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2477 test "x$ac_build_alias" = x
&&
2478 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2479 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2480 { (exit 1); exit 1; }; }
2481 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2482 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2483 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2484 { (exit 1); exit 1; }; }
2487 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2488 echo "${ECHO_T}$ac_cv_build" >&6; }
2489 case $ac_cv_build in
2491 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2492 echo "$as_me: error: invalid value of canonical build" >&2;}
2493 { (exit 1); exit 1; }; };;
2496 ac_save_IFS
=$IFS; IFS
='-'
2502 # Remember, the first character of IFS is used to create $*,
2503 # except with old shells:
2506 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2509 { echo "$as_me:$LINENO: checking host system type" >&5
2510 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2511 if test "${ac_cv_host+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test "x$host_alias" = x
; then
2515 ac_cv_host
=$ac_cv_build
2517 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2524 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2525 echo "${ECHO_T}$ac_cv_host" >&6; }
2528 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2529 echo "$as_me: error: invalid value of canonical host" >&2;}
2530 { (exit 1); exit 1; }; };;
2533 ac_save_IFS
=$IFS; IFS
='-'
2539 # Remember, the first character of IFS is used to create $*,
2540 # except with old shells:
2543 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2548 i
[3456]86-*-linux*) host_cpu
=i386 host_os
=linux
;;
2549 i
[3456]86-*-kfreebsd*) host_cpu
=i386 host_os
=linux
;;
2550 i
[3456]86-*-darwin*) host_cpu
=i386 host_os
=darwin
;;
2551 i386-
*-openbsd*) host_os
=bsd libdl_needed
=no
;;
2552 i386-
*-freebsd*) host_os
=bsd libdl_needed
=no
;;
2553 x86_64-
*-linux*) host_os
=linux
;;
2554 hppa
*-*-linux*) host_cpu
=parisc host_os
=linux
;;
2555 avr32
*-*-linux*) host_cpu
=avr32 host_os
=linux
;;
2556 mipsel-
*-linux*) host_cpu
=mips host_os
=linux
;;
2557 amd64-
*-openbsd*) host_os
=bsd libdl_needed
=no
;;
2558 amd64-
*-freebsd*) host_os
=bsd libdl_needed
=no
;;
2559 arm
*-*-linux*) host_cpu
=arm host_os
=linux
;;
2560 arm
*-*-openbsd*) host_cpu
=arm host_os
=bsd libdl_needed
=no
;;
2561 arm
*-*-freebsd*) host_cpu
=arm host_os
=bsd libdl_needed
=no
;;
2562 powerpc
*-*-linux*) host_cpu
=powerpc host_os
=linux
;;
2563 powerpc
*-*-openbsd*) host_cpu
=powerpc host_os
=bsd libdl_needed
=no
;;
2564 powerpc
*-*-freebsd*) host_cpu
=powerpc host_os
=bsd libdl_needed
=no
;;
2565 powerpc-
*-darwin*) host_os
=darwin
;;
2566 *) { { echo "$as_me:$LINENO: error: $host not supported" >&5
2567 echo "$as_me: error: $host not supported" >&2;}
2568 { (exit 1); exit 1; }; } ;;
2576 # Check whether --enable-tracegc was given.
2577 if test "${enable_tracegc+set}" = set; then
2578 enableval
=$enable_tracegc; if test "$enableval" != no
; then
2580 cat >>confdefs.h
<<\_ACEOF
2588 # Check whether --enable-tracealloc was given.
2589 if test "${enable_tracealloc+set}" = set; then
2590 enableval
=$enable_tracealloc; if test "$enableval" != no
; then
2592 cat >>confdefs.h
<<\_ACEOF
2593 #define TRACEALLOC 1
2600 # Check whether --enable-tracefnlz was given.
2601 if test "${enable_tracefnlz+set}" = set; then
2602 enableval
=$enable_tracefnlz; if test "$enableval" != no
; then
2604 cat >>confdefs.h
<<\_ACEOF
2612 # Check whether --enable-tracedll was given.
2613 if test "${enable_tracedll+set}" = set; then
2614 enableval
=$enable_tracedll; if test "$enableval" != no
; then
2616 cat >>confdefs.h
<<\_ACEOF
2624 # Check whether --enable-tracelock was given.
2625 if test "${enable_tracelock+set}" = set; then
2626 enableval
=$enable_tracelock; if test "$enableval" != no
; then
2628 cat >>confdefs.h
<<\_ACEOF
2636 # Check whether --enable-tracethread was given.
2637 if test "${enable_tracethread+set}" = set; then
2638 enableval
=$enable_tracethread; if test "$enableval" != no
; then
2640 cat >>confdefs.h
<<\_ACEOF
2641 #define TRACETHREAD 1
2648 # Check whether --enable-tracecompact was given.
2649 if test "${enable_tracecompact+set}" = set; then
2650 enableval
=$enable_tracecompact; if test "$enableval" != no
; then
2652 cat >>confdefs.h
<<\_ACEOF
2653 #define TRACECOMPACT 1
2660 # Check whether --enable-tracedirect was given.
2661 if test "${enable_tracedirect+set}" = set; then
2662 enableval
=$enable_tracedirect; if test "$enableval" != no
; then
2664 cat >>confdefs.h
<<\_ACEOF
2665 #define TRACEDIRECT 1
2672 # Check whether --enable-traceinlining was given.
2673 if test "${enable_traceinlining+set}" = set; then
2674 enableval
=$enable_traceinlining; if test "$enableval" != no
; then
2676 cat >>confdefs.h
<<\_ACEOF
2677 #define TRACEINLINING 1
2684 # Check whether --enable-trace was given.
2685 if test "${enable_trace+set}" = set; then
2686 enableval
=$enable_trace; if test "$enableval" != no
; then
2688 cat >>confdefs.h
<<\_ACEOF
2693 cat >>confdefs.h
<<\_ACEOF
2694 #define TRACEALLOC 1
2698 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2708 cat >>confdefs.h
<<\_ACEOF
2713 cat >>confdefs.h
<<\_ACEOF
2714 #define TRACETHREAD 1
2718 cat >>confdefs.h
<<\_ACEOF
2719 #define TRACECOMPACT 1
2723 cat >>confdefs.h
<<\_ACEOF
2724 #define TRACEDIRECT 1
2728 cat >>confdefs.h
<<\_ACEOF
2729 #define TRACEINLINING 1
2736 # Check whether --enable-int-threading was given.
2737 if test "${enable_int_threading+set}" = set; then
2738 enableval
=$enable_int_threading;
2742 # Check whether --enable-int-direct was given.
2743 if test "${enable_int_direct+set}" = set; then
2744 enableval
=$enable_int_direct;
2748 # Check whether --enable-int-caching was given.
2749 if test "${enable_int_caching+set}" = set; then
2750 enableval
=$enable_int_caching;
2752 if test "$host_cpu" = x86_64
; then
2753 enable_int_caching
=no
2758 # Check whether --enable-int-prefetch was given.
2759 if test "${enable_int_prefetch+set}" = set; then
2760 enableval
=$enable_int_prefetch;
2762 if test "$host_cpu" != powerpc
; then
2763 enable_int_prefetch
=no
2768 # Check whether --enable-runtime-reloc-checks was given.
2769 if test "${enable_runtime_reloc_checks+set}" = set; then
2770 enableval
=$enable_runtime_reloc_checks;
2772 enable_runtime_reloc_checks
=no
2776 # Check whether --enable-int-inlining was given.
2777 if test "${enable_int_inlining+set}" = set; then
2778 enableval
=$enable_int_inlining;
2780 if test "$host_cpu" = x86_64
-o "$host_cpu" = i386
-o "$host_cpu" = powerpc
&& \
2781 test "$cross_compiling" = no
-o "$enable_runtime_reloc_checks" != no
; then
2782 enable_int_inlining
=yes
2784 enable_int_inlining
=no
2789 if test "$enable_int_threading" != no
; then
2791 cat >>confdefs.h
<<\_ACEOF
2796 if test "$enable_int_caching" != no
; then
2798 cat >>confdefs.h
<<\_ACEOF
2804 if test "$enable_int_direct" != no
; then
2806 cat >>confdefs.h
<<\_ACEOF
2811 if test "$enable_int_prefetch" != no
; then
2813 cat >>confdefs.h
<<\_ACEOF
2819 if test "$enable_int_inlining" != no
; then
2821 cat >>confdefs.h
<<\_ACEOF
2825 interp_cflags
=-fno-reorder-blocks
2827 if test "$enable_runtime_reloc_checks" != no
; then
2829 cat >>confdefs.h
<<\_ACEOF
2830 #define RUNTIME_RELOC_CHECKS 1
2834 compile_time_reloc_checks
=yes
2841 if test "$compile_time_reloc_checks" = yes; then
2842 COMPILE_TIME_RELOC_CHECKS_TRUE
=
2843 COMPILE_TIME_RELOC_CHECKS_FALSE
='#'
2845 COMPILE_TIME_RELOC_CHECKS_TRUE
='#'
2846 COMPILE_TIME_RELOC_CHECKS_FALSE
=
2849 # Automatically enable JEM support
2850 AVR32_JAVA_EXTENSION_SUPPORT_TRUE
=
2851 AVR32_JAVA_EXTENSION_SUPPORT_FALSE
='#'
2854 # Check whether --enable-ffi was given.
2855 if test "${enable_ffi+set}" = set; then
2856 enableval
=$enable_ffi;
2858 if test "$host_cpu" != x86_64
-a "$host_cpu" != parisc
; then
2865 # Check whether --with-classpath-install-dir was given.
2866 if test "${with_classpath_install_dir+set}" = set; then
2867 withval
=$with_classpath_install_dir;
2869 with_classpath_install_dir
=/usr
/local
/classpath
2874 cat >>confdefs.h
<<_ACEOF
2875 #define CLASSPATH_INSTALL_DIR "$with_classpath_install_dir"
2879 cat >>confdefs.h
<<_ACEOF
2887 if test "$prefix" = "NONE"; then
2888 install_dir
=$ac_default_prefix
2893 cat >>confdefs.h
<<_ACEOF
2894 #define INSTALL_DIR "$install_dir"
2898 # Check whether --enable-zip was given.
2899 if test "${enable_zip+set}" = set; then
2900 enableval
=$enable_zip;
2904 # Check whether --enable-static was given.
2905 if test "${enable_static+set}" = set; then
2906 enableval
=$enable_static; p
=${PACKAGE-default}
2908 yes) enable_static
=yes ;;
2909 no
) enable_static
=no
;;
2912 # Look at the argument we got. We use all the common list separators.
2913 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2914 for pkg
in $enableval; do
2916 if test "X$pkg" = "X$p"; then
2929 # Check whether --enable-shared was given.
2930 if test "${enable_shared+set}" = set; then
2931 enableval
=$enable_shared; p
=${PACKAGE-default}
2933 yes) enable_shared
=yes ;;
2934 no
) enable_shared
=no
;;
2937 # Look at the argument we got. We use all the common list separators.
2938 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2939 for pkg
in $enableval; do
2941 if test "X$pkg" = "X$p"; then
2953 # Check whether --enable-fast-install was given.
2954 if test "${enable_fast_install+set}" = set; then
2955 enableval
=$enable_fast_install; p
=${PACKAGE-default}
2957 yes) enable_fast_install
=yes ;;
2958 no
) enable_fast_install
=no
;;
2960 enable_fast_install
=no
2961 # Look at the argument we got. We use all the common list separators.
2962 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2963 for pkg
in $enableval; do
2965 if test "X$pkg" = "X$p"; then
2966 enable_fast_install
=yes
2973 enable_fast_install
=yes
2977 DEPDIR
="${am__leading_dot}deps"
2979 ac_config_commands
="$ac_config_commands depfiles"
2982 am_make
=${MAKE-make}
2983 cat > confinc
<< 'END'
2988 # If we don't find an include directive, just comment out the code.
2989 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2990 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2994 # First try GNU make style include.
2995 echo "include confinc" > confmf
2996 # We grep out `Entering directory' and `Leaving directory'
2997 # messages which can occur if `w' ends up in MAKEFLAGS.
2998 # In particular we don't look at `^make:' because GNU make might
2999 # be invoked under some other name (usually "gmake"), in which
3000 # case it prints its new name instead of `make'.
3001 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3006 # Now try BSD make style include.
3007 if test "$am__include" = "#"; then
3008 echo '.include "confinc"' > confmf
3009 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3010 am__include
=.include
3017 { echo "$as_me:$LINENO: result: $_am_result" >&5
3018 echo "${ECHO_T}$_am_result" >&6; }
3019 rm -f confinc confmf
3021 # Check whether --enable-dependency-tracking was given.
3022 if test "${enable_dependency_tracking+set}" = set; then
3023 enableval
=$enable_dependency_tracking;
3026 if test "x$enable_dependency_tracking" != xno
; then
3027 am_depcomp
="$ac_aux_dir/depcomp"
3030 if test "x$enable_dependency_tracking" != xno; then
3040 ac_cpp
='$CPP $CPPFLAGS'
3041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3044 if test -n "$ac_tool_prefix"; then
3045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3046 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3049 if test "${ac_cv_prog_CC+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 if test -n "$CC"; then
3053 ac_cv_prog_CC
="$CC" # Let the user override the test.
3055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir
=.
3060 for ac_exec_ext
in '' $ac_executable_extensions; do
3061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 if test -n "$CC"; then
3074 { echo "$as_me:$LINENO: result: $CC" >&5
3075 echo "${ECHO_T}$CC" >&6; }
3077 { echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6; }
3083 if test -z "$ac_cv_prog_CC"; then
3085 # Extract the first word of "gcc", so it can be a program name with args.
3086 set dummy gcc
; ac_word
=$2
3087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -n "$ac_ct_CC"; then
3093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CC
="gcc"
3103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3113 if test -n "$ac_ct_CC"; then
3114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3115 echo "${ECHO_T}$ac_ct_CC" >&6; }
3117 { echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6; }
3121 if test "x$ac_ct_CC" = x
; then
3124 case $cross_compiling:$ac_tool_warned in
3126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3127 whose name does not start with the host triplet. If you think this
3128 configuration is useful to you, please write to autoconf@gnu.org." >&5
3129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3130 whose name does not start with the host triplet. If you think this
3131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3132 ac_tool_warned
=yes ;;
3140 if test -z "$CC"; then
3141 if test -n "$ac_tool_prefix"; then
3142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3143 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3146 if test "${ac_cv_prog_CC+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC
="$CC" # Let the user override the test.
3152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir
=.
3157 for ac_exec_ext
in '' $ac_executable_extensions; do
3158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 if test -n "$CC"; then
3171 { echo "$as_me:$LINENO: result: $CC" >&5
3172 echo "${ECHO_T}$CC" >&6; }
3174 { echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6; }
3181 if test -z "$CC"; then
3182 # Extract the first word of "cc", so it can be a program name with args.
3183 set dummy cc
; ac_word
=$2
3184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3186 if test "${ac_cv_prog_CC+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 if test -n "$CC"; then
3190 ac_cv_prog_CC
="$CC" # Let the user override the test.
3193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir
=.
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3201 ac_prog_rejected
=yes
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test $ac_prog_rejected = yes; then
3213 # We found a bogon in the path, so make sure we never use it.
3214 set dummy
$ac_cv_prog_CC
3216 if test $# != 0; then
3217 # We chose a different compiler from the bogus one.
3218 # However, it has the same basename, so the bogon will be chosen
3219 # first if we set CC to just the basename; use the full file name.
3221 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3227 if test -n "$CC"; then
3228 { echo "$as_me:$LINENO: result: $CC" >&5
3229 echo "${ECHO_T}$CC" >&6; }
3231 { echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6; }
3237 if test -z "$CC"; then
3238 if test -n "$ac_tool_prefix"; then
3239 for ac_prog
in cl.exe
3241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3242 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3245 if test "${ac_cv_prog_CC+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 if test -n "$CC"; then
3249 ac_cv_prog_CC
="$CC" # Let the user override the test.
3251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir
=.
3256 for ac_exec_ext
in '' $ac_executable_extensions; do
3257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3258 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 if test -n "$CC"; then
3270 { echo "$as_me:$LINENO: result: $CC" >&5
3271 echo "${ECHO_T}$CC" >&6; }
3273 { echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6; }
3278 test -n "$CC" && break
3281 if test -z "$CC"; then
3283 for ac_prog
in cl.exe
3285 # Extract the first word of "$ac_prog", so it can be a program name with args.
3286 set dummy
$ac_prog; ac_word
=$2
3287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 if test -n "$ac_ct_CC"; then
3293 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_exec_ext
in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_ac_ct_CC
="$ac_prog"
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3313 if test -n "$ac_ct_CC"; then
3314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3315 echo "${ECHO_T}$ac_ct_CC" >&6; }
3317 { echo "$as_me:$LINENO: result: no" >&5
3318 echo "${ECHO_T}no" >&6; }
3322 test -n "$ac_ct_CC" && break
3325 if test "x$ac_ct_CC" = x
; then
3328 case $cross_compiling:$ac_tool_warned in
3330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3331 whose name does not start with the host triplet. If you think this
3332 configuration is useful to you, please write to autoconf@gnu.org." >&5
3333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3334 whose name does not start with the host triplet. If you think this
3335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3336 ac_tool_warned
=yes ;;
3345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3346 See \`config.log' for more details." >&5
3347 echo "$as_me: error: no acceptable C compiler found in \$PATH
3348 See \`config.log' for more details." >&2;}
3349 { (exit 1); exit 1; }; }
3351 # Provide some information about the compiler.
3352 echo "$as_me:$LINENO: checking for C compiler version" >&5
3353 ac_compiler
=`set X $ac_compile; echo $2`
3354 { (ac_try
="$ac_compiler --version >&5"
3356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3360 (eval "$ac_compiler --version >&5") 2>&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }
3364 { (ac_try="$ac_compiler -v >&5"
3366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3367 *) ac_try_echo
=$ac_try;;
3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3370 (eval "$ac_compiler -v >&5") 2>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }
3374 { (ac_try
="$ac_compiler -V >&5"
3376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3380 (eval "$ac_compiler -V >&5") 2>&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }
3385 cat >conftest.$ac_ext <<_ACEOF
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3400 ac_clean_files_save=$ac_clean_files
3401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3402 # Try to create an executable without -o first, disregard a.out.
3403 # It will help us diagnose broken compilers, and finding out an intuition
3405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3407 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3409 # List of possible output files, starting from the most likely.
3410 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3411 # only as a last resort. b.out is created by i960 compilers.
3412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3414 # The IRIX 6 linker writes into existing files which may not be
3415 # executable, retaining their permissions. Remove them first so a
3416 # subsequent execution test works.
3418 for ac_file in $ac_files
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3427 if { (ac_try="$ac_link_default"
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3433 (eval "$ac_link_default") 2>&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; then
3437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3440 # so that the user can short-circuit this test for compilers unknown to
3442 for ac_file
in $ac_files ''
3444 test -f "$ac_file" ||
continue
3446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3449 # We found the default executable, but exeext='' is most
3453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3455 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3457 # We set ac_cv_exeext here because the later test for it is not
3458 # safe: cross compilers may not add the suffix if given an `-o'
3459 # argument, so we may need to know it at that point already.
3460 # Even if this section looks crufty: it has the advantage of
3467 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3473 { echo "$as_me:$LINENO: result: $ac_file" >&5
3474 echo "${ECHO_T}$ac_file" >&6; }
3475 if test -z "$ac_file"; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3480 See \`config.log' for more details." >&5
3481 echo "$as_me: error: C compiler cannot create executables
3482 See \`config.log' for more details." >&2;}
3483 { (exit 77); exit 77; }; }
3486 ac_exeext
=$ac_cv_exeext
3488 # Check that the compiler produces executables we can run. If not, either
3489 # the compiler is broken, or we cross compile.
3490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3493 # If not cross compiling, check that we can run a simple program.
3494 if test "$cross_compiling" != yes; then
3495 if { ac_try
='./$ac_file'
3496 { (case "(($ac_try" in
3497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501 (eval "$ac_try") 2>&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3507 if test "$cross_compiling" = maybe; then
3510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3511 If you meant to cross compile, use \`--host'.
3512 See \`config.log' for more details.
" >&5
3513 echo "$as_me: error
: cannot run C compiled programs.
3514 If you meant to cross compile
, use \
`--host'.
3515 See \`config.log
' for more details." >&2;}
3516 { (exit 1); exit 1; }; }
3520 { echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6; }
3523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3524 ac_clean_files=$ac_clean_files_save
3525 # Check that the compiler produces executables we can run. If not, either
3526 # the compiler is broken, or we cross compile.
3527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3530 echo "${ECHO_T}$cross_compiling" >&6; }
3532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3534 if { (ac_try="$ac_link"
3536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537 *) ac_try_echo=$ac_try;;
3539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3540 (eval "$ac_link") 2>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; then
3544 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3545 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3546 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3548 for ac_file
in conftest.exe conftest conftest.
*; do
3549 test -f "$ac_file" ||
continue
3551 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3552 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3559 See \`config.log' for more details." >&5
3560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3561 See \`config.log' for more details." >&2;}
3562 { (exit 1); exit 1; }; }
3565 rm -f conftest
$ac_cv_exeext
3566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3569 rm -f conftest.
$ac_ext
3570 EXEEXT
=$ac_cv_exeext
3572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3574 if test "${ac_cv_objext+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 cat >conftest.
$ac_ext <<_ACEOF
3580 cat confdefs.h
>>conftest.
$ac_ext
3581 cat >>conftest.
$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3592 rm -f conftest.o conftest.obj
3593 if { (ac_try
="$ac_compile"
3595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_compile") 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; then
3603 for ac_file in conftest.o conftest.obj conftest.*; do
3604 test -f "$ac_file" || continue;
3606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3616 See \`config.log
' for more details." >&5
3617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3618 See \`config.log' for more details.
" >&2;}
3619 { (exit 1); exit 1; }; }
3622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3624 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3625 echo "${ECHO_T}$ac_cv_objext" >&6; }
3626 OBJEXT=$ac_cv_objext
3628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3629 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3631 echo $ECHO_N "(cached
) $ECHO_C" >&6
3633 cat >conftest.$ac_ext <<_ACEOF
3636 cat confdefs.h >>conftest.$ac_ext
3637 cat >>conftest.$ac_ext <<_ACEOF
3638 /* end confdefs.h. */
3651 rm -f conftest.$ac_objext
3652 if { (ac_try="$ac_compile"
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_compile") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3664 (exit $ac_status); } && {
3665 test -z "$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3667 } && test -s conftest.$ac_objext; then
3670 echo "$as_me: failed program was
:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3680 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3682 GCC=`test $ac_compiler_gnu = yes && echo yes`
3683 ac_test_CFLAGS=${CFLAGS+set}
3684 ac_save_CFLAGS=$CFLAGS
3685 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3686 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3687 if test "${ac_cv_prog_cc_g+set}" = set; then
3688 echo $ECHO_N "(cached
) $ECHO_C" >&6
3690 ac_save_c_werror_flag=$ac_c_werror_flag
3691 ac_c_werror_flag=yes
3694 cat >conftest.$ac_ext <<_ACEOF
3697 cat confdefs.h >>conftest.$ac_ext
3698 cat >>conftest.$ac_ext <<_ACEOF
3699 /* end confdefs.h. */
3709 rm -f conftest.$ac_objext
3710 if { (ac_try="$ac_compile"
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3716 (eval "$ac_compile") 2>conftest.er1
3718 grep -v '^ *+' conftest.er1 >conftest.err
3720 cat conftest.err >&5
3721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3722 (exit $ac_status); } && {
3723 test -z "$ac_c_werror_flag" ||
3724 test ! -s conftest.err
3725 } && test -s conftest.$ac_objext; then
3728 echo "$as_me: failed program was
:" >&5
3729 sed 's/^/| /' conftest.$ac_ext >&5
3732 cat >conftest.$ac_ext <<_ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3747 rm -f conftest.$ac_objext
3748 if { (ac_try="$ac_compile"
3750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3751 *) ac_try_echo=$ac_try;;
3753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3754 (eval "$ac_compile") 2>conftest.er1
3756 grep -v '^ *+' conftest.er1 >conftest.err
3758 cat conftest.err >&5
3759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3760 (exit $ac_status); } && {
3761 test -z "$ac_c_werror_flag" ||
3762 test ! -s conftest.err
3763 } && test -s conftest.$ac_objext; then
3766 echo "$as_me: failed program was
:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 ac_c_werror_flag=$ac_save_c_werror_flag
3771 cat >conftest.$ac_ext <<_ACEOF
3774 cat confdefs.h >>conftest.$ac_ext
3775 cat >>conftest.$ac_ext <<_ACEOF
3776 /* end confdefs.h. */
3786 rm -f conftest.$ac_objext
3787 if { (ac_try="$ac_compile"
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3793 (eval "$ac_compile") 2>conftest.er1
3795 grep -v '^ *+' conftest.er1 >conftest.err
3797 cat conftest.err >&5
3798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3799 (exit $ac_status); } && {
3800 test -z "$ac_c_werror_flag" ||
3801 test ! -s conftest.err
3802 } && test -s conftest.$ac_objext; then
3805 echo "$as_me: failed program was
:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 ac_c_werror_flag=$ac_save_c_werror_flag
3820 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3822 if test "$ac_test_CFLAGS" = set; then
3823 CFLAGS=$ac_save_CFLAGS
3824 elif test $ac_cv_prog_cc_g = yes; then
3825 if test "$GCC" = yes; then
3831 if test "$GCC" = yes; then
3837 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3838 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3839 if test "${ac_cv_prog_cc_c89+set}" = set; then
3840 echo $ECHO_N "(cached
) $ECHO_C" >&6
3842 ac_cv_prog_cc_c89=no
3844 cat >conftest.$ac_ext <<_ACEOF
3847 cat confdefs.h >>conftest.$ac_ext
3848 cat >>conftest.$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3852 #include <sys/types.h>
3853 #include <sys/stat.h>
3854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3855 struct buf { int x; };
3856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3857 static char *e (p, i)
3863 static char *f (char * (*g) (char **, int), char **p, ...)
3868 s = g (p, va_arg (v,int));
3873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3874 function prototypes and stuff, but not '\xHH' hex character constants.
3875 These don't provoke an error unfortunately, instead are silently treated
3876 as 'x'. The following induces an error, until -std is added to get
3877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3878 array size at least. It's necessary to write '\x00'==0 to get something
3879 that's true only with -std. */
3880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3883 inside strings and character constants. */
3885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3887 int test (int i, double x);
3888 struct s1 {int (*f) (int a);};
3889 struct s2 {int (*f) (double a);};
3890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3904 CC="$ac_save_CC $ac_arg"
3905 rm -f conftest.$ac_objext
3906 if { (ac_try="$ac_compile"
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3912 (eval "$ac_compile") 2>conftest.er1
3914 grep -v '^ *+' conftest.er1 >conftest.err
3916 cat conftest.err >&5
3917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3918 (exit $ac_status); } && {
3919 test -z "$ac_c_werror_flag" ||
3920 test ! -s conftest.err
3921 } && test -s conftest.$ac_objext; then
3922 ac_cv_prog_cc_c89=$ac_arg
3924 echo "$as_me: failed program was
:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3930 rm -f core conftest.err conftest.$ac_objext
3931 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3933 rm -f conftest.$ac_ext
3938 case "x
$ac_cv_prog_cc_c89" in
3940 { echo "$as_me:$LINENO: result
: none needed
" >&5
3941 echo "${ECHO_T}none needed
" >&6; } ;;
3943 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3944 echo "${ECHO_T}unsupported
" >&6; } ;;
3946 CC="$CC $ac_cv_prog_cc_c89"
3947 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3958 depcc="$CC" am_compiler_list=
3960 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3961 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3962 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3963 echo $ECHO_N "(cached
) $ECHO_C" >&6
3965 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3966 # We make a subdir and do the tests there. Otherwise we can end up
3967 # making bogus files that we don't know about and never remove. For
3968 # instance it was reported that on HP-UX the gcc test will end up
3969 # making a dummy file named `D' -- because `-MD' means `put the output
3972 # Copy depcomp to subdir because otherwise we won't find it if we're
3973 # using a relative directory.
3974 cp "$am_depcomp" conftest.dir
3976 # We will build objects and dependencies in a subdirectory because
3977 # it helps to detect inapplicable dependency modes. For instance
3978 # both Tru64's cc and ICC support -MD to output dependencies as a
3979 # side effect of compilation, but ICC will put the dependencies in
3980 # the current directory while Tru64 will put them in the object
3984 am_cv_CC_dependencies_compiler_type=none
3985 if test "$am_compiler_list" = ""; then
3986 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3988 for depmode in $am_compiler_list; do
3989 # Setup a source with many dependencies, because some compilers
3990 # like to wrap large dependency lists on column 80 (with \), and
3991 # we should not choose a depcomp mode which is confused by this.
3993 # We need to recreate these files for each test, as the compiler may
3994 # overwrite some of them when testing with obscure command lines.
3995 # This happens at least with the AIX C compiler.
3997 for i in 1 2 3 4 5 6; do
3998 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3999 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4000 # Solaris 8's {/usr,}/bin/sh.
4001 touch sub/conftst$i.h
4003 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4007 # after this tag, mechanisms are not by side-effect, so they'll
4008 # only be used when explicitly requested
4009 if test "x
$enable_dependency_tracking" = xyes; then
4017 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
4018 # mode. It turns out that the SunPro C++ compiler does not properly
4019 # handle `-M -o', and we need to detect this.
4020 if depmode=$depmode \
4021 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4022 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4023 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4024 >/dev/null 2>conftest.err &&
4025 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4026 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4027 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4028 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4029 # icc doesn't choke on unknown options, it will just issue warnings
4030 # or remarks (even with -Werror). So we grep stderr for any message
4031 # that says an option was ignored or not supported.
4032 # When given -MP, icc 7.0 and 7.1 complain thusly:
4033 # icc: Command line warning: ignoring option '-M'; no argument required
4034 # The diagnosis changed in icc 8.0:
4035 # icc: Command line remark: option '-MP' not supported
4036 if (grep 'ignoring option' conftest.err ||
4037 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4038 am_cv_CC_dependencies_compiler_type=$depmode
4047 am_cv_CC_dependencies_compiler_type=none
4051 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
4052 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4053 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4056 test "x
$enable_dependency_tracking" != xno \
4057 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4059 am__fastdepCC_FALSE='#'
4061 am__fastdepCC_TRUE='#'
4062 am__fastdepCC_FALSE=
4066 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
4067 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
4068 if test "${lt_cv_path_SED+set}" = set; then
4069 echo $ECHO_N "(cached
) $ECHO_C" >&6
4071 # Loop through the user's path and test for sed and gsed.
4072 # Then use that list of sed's as ones to test for truncation.
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 test -z "$as_dir" && as_dir=.
4078 for lt_ac_prog in sed gsed; do
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4081 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4089 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4090 # along with /bin/sed that truncates output.
4091 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4092 test ! -f $lt_ac_sed && continue
4093 cat /dev/null > conftest.in
4095 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4096 # Check for GNU sed and select it if it is found.
4097 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4098 lt_cv_path_SED=$lt_ac_sed
4102 cat conftest.in conftest.in >conftest.tmp
4103 mv conftest.tmp conftest.in
4104 cp conftest.in conftest.nl
4106 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4107 cmp -s conftest.out conftest.nl || break
4108 # 10000 chars as input seems more than enough
4109 test $lt_ac_count -gt 10 && break
4110 lt_ac_count=`expr $lt_ac_count + 1`
4111 if test $lt_ac_count -gt $lt_ac_max; then
4112 lt_ac_max=$lt_ac_count
4113 lt_cv_path_SED=$lt_ac_sed
4122 { echo "$as_me:$LINENO: result
: $SED" >&5
4123 echo "${ECHO_T}$SED" >&6; }
4125 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
4126 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
4127 if test "${ac_cv_path_GREP+set}" = set; then
4128 echo $ECHO_N "(cached
) $ECHO_C" >&6
4130 # Extract the first word of "grep ggrep
" to use in msg output
4131 if test -z "$GREP"; then
4132 set dummy grep ggrep; ac_prog_name=$2
4133 if test "${ac_cv_path_GREP+set}" = set; then
4134 echo $ECHO_N "(cached
) $ECHO_C" >&6
4136 ac_path_GREP_found=false
4137 # Loop through the user's path and test for each of PROGNAME-LIST
4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4142 test -z "$as_dir" && as_dir=.
4143 for ac_prog in grep ggrep; do
4144 for ac_exec_ext in '' $ac_executable_extensions; do
4145 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4146 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4147 # Check for GNU ac_path_GREP and select it if it is found.
4148 # Check for GNU $ac_path_GREP
4149 case `"$ac_path_GREP" --version 2>&1` in
4151 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4154 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
4157 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4158 mv "conftest.tmp
" "conftest.
in"
4159 cp "conftest.
in" "conftest.
nl"
4160 echo 'GREP' >> "conftest.
nl"
4161 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4162 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4163 ac_count=`expr $ac_count + 1`
4164 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4165 # Best one so far, save it but keep looking for a better one
4166 ac_cv_path_GREP="$ac_path_GREP"
4167 ac_path_GREP_max=$ac_count
4169 # 10*(2^10) chars as input seems more than enough
4170 test $ac_count -gt 10 && break
4172 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4176 $ac_path_GREP_found && break 3
4186 GREP="$ac_cv_path_GREP"
4187 if test -z "$GREP"; then
4188 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
4189 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
4190 { (exit 1); exit 1; }; }
4194 ac_cv_path_GREP=$GREP
4199 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
4200 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4201 GREP="$ac_cv_path_GREP"
4204 { echo "$as_me:$LINENO: checking
for egrep" >&5
4205 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
4206 if test "${ac_cv_path_EGREP+set}" = set; then
4207 echo $ECHO_N "(cached
) $ECHO_C" >&6
4209 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4210 then ac_cv_path_EGREP="$GREP -E"
4212 # Extract the first word of "egrep" to use in msg output
4213 if test -z "$EGREP"; then
4214 set dummy egrep; ac_prog_name=$2
4215 if test "${ac_cv_path_EGREP+set}" = set; then
4216 echo $ECHO_N "(cached
) $ECHO_C" >&6
4218 ac_path_EGREP_found=false
4219 # Loop through the user's path and test for each of PROGNAME-LIST
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4224 test -z "$as_dir" && as_dir=.
4225 for ac_prog in egrep; do
4226 for ac_exec_ext in '' $ac_executable_extensions; do
4227 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4228 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4229 # Check for GNU ac_path_EGREP and select it if it is found.
4230 # Check for GNU $ac_path_EGREP
4231 case `"$ac_path_EGREP" --version 2>&1` in
4233 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4236 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
4239 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4240 mv "conftest.tmp
" "conftest.
in"
4241 cp "conftest.
in" "conftest.
nl"
4242 echo 'EGREP' >> "conftest.
nl"
4243 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4244 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4245 ac_count=`expr $ac_count + 1`
4246 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4247 # Best one so far, save it but keep looking for a better one
4248 ac_cv_path_EGREP="$ac_path_EGREP"
4249 ac_path_EGREP_max=$ac_count
4251 # 10*(2^10) chars as input seems more than enough
4252 test $ac_count -gt 10 && break
4254 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4258 $ac_path_EGREP_found && break 3
4268 EGREP="$ac_cv_path_EGREP"
4269 if test -z "$EGREP"; then
4270 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
4271 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
4272 { (exit 1); exit 1; }; }
4276 ac_cv_path_EGREP=$EGREP
4282 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
4283 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4284 EGREP="$ac_cv_path_EGREP"
4288 # Check whether --with-gnu-ld was given.
4289 if test "${with_gnu_ld+set}" = set; then
4290 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4296 if test "$GCC" = yes; then
4297 # Check if gcc -print-prog-name=ld gives a path.
4298 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
4299 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
4302 # gcc leaves a trailing carriage return which upsets mingw
4303 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4305 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4308 # Accept absolute paths.
4310 re_direlt='/[^/][^/]*/\.\./'
4311 # Canonicalize the pathname of ld
4312 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4313 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4314 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
4316 test -z "$LD" && LD="$ac_prog"
4319 # If it fails, then pretend we aren't using GCC.
4323 # If it is relative, then search for the first ld in PATH.
4327 elif test "$with_gnu_ld" = yes; then
4328 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
4329 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
4331 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
4332 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
4334 if test "${lt_cv_path_LD+set}" = set; then
4335 echo $ECHO_N "(cached
) $ECHO_C" >&6
4337 if test -z "$LD"; then
4338 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4339 for ac_dir in $PATH; do
4341 test -z "$ac_dir" && ac_dir=.
4342 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4343 lt_cv_path_LD="$ac_dir/$ac_prog"
4344 # Check to see if the program is GNU ld. I'd rather use --version,
4345 # but apparently some variants of GNU ld only accept -v.
4346 # Break only if it was the GNU/non-GNU ld that we prefer.
4347 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4348 *GNU* | *'with BFD'*)
4349 test "$with_gnu_ld" != no && break
4352 test "$with_gnu_ld" != yes && break
4359 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4364 if test -n "$LD"; then
4365 { echo "$as_me:$LINENO: result
: $LD" >&5
4366 echo "${ECHO_T}$LD" >&6; }
4368 { echo "$as_me:$LINENO: result
: no
" >&5
4369 echo "${ECHO_T}no
" >&6; }
4371 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
4372 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
4373 { (exit 1); exit 1; }; }
4374 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
4375 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
4376 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4377 echo $ECHO_N "(cached
) $ECHO_C" >&6
4379 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4380 case `$LD -v 2>&1 </dev/null` in
4381 *GNU* | *'with BFD'*)
4382 lt_cv_prog_gnu_ld=yes
4385 lt_cv_prog_gnu_ld=no
4389 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
4390 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4391 with_gnu_ld=$lt_cv_prog_gnu_ld
4394 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4395 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
4396 if test "${lt_cv_ld_reload_flag+set}" = set; then
4397 echo $ECHO_N "(cached
) $ECHO_C" >&6
4399 lt_cv_ld_reload_flag='-r'
4401 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4402 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4403 reload_flag=$lt_cv_ld_reload_flag
4404 case $reload_flag in
4406 *) reload_flag=" $reload_flag" ;;
4408 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4411 if test "$GCC" = yes; then
4412 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4414 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4419 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4420 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4421 if test "${lt_cv_path_NM+set}" = set; then
4422 echo $ECHO_N "(cached
) $ECHO_C" >&6
4424 if test -n "$NM"; then
4425 # Let the user override the test.
4428 lt_nm_to_check="${ac_tool_prefix}nm
"
4429 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4430 lt_nm_to_check="$lt_nm_to_check nm
"
4432 for lt_tmp_nm in $lt_nm_to_check; do
4433 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4434 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4436 test -z "$ac_dir" && ac_dir=.
4437 tmp_nm="$ac_dir/$lt_tmp_nm"
4438 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4439 # Check to see if the nm accepts a BSD-compat flag.
4440 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4441 # nm: unknown option "B
" ignored
4442 # Tru64's nm complains that /dev/null is an invalid object file
4443 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4444 */dev/null* | *'Invalid file or object type'*)
4445 lt_cv_path_NM="$tmp_nm -B"
4449 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4451 lt_cv_path_NM="$tmp_nm -p"
4455 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4456 continue # so that we can try to find one that supports BSD flags
4465 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4468 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4469 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4472 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4473 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4475 if test "$LN_S" = "ln -s"; then
4476 { echo "$as_me:$LINENO: result
: yes" >&5
4477 echo "${ECHO_T}yes" >&6; }
4479 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4480 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4483 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4484 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
4485 if test "${lt_cv_deplibs_check_method+set}" = set; then
4486 echo $ECHO_N "(cached
) $ECHO_C" >&6
4488 lt_cv_file_magic_cmd='$MAGIC_CMD'
4489 lt_cv_file_magic_test_file=
4490 lt_cv_deplibs_check_method='unknown'
4491 # Need to set the preceding variable on all platforms that support
4492 # interlibrary dependencies.
4493 # 'none' -- dependencies not supported.
4494 # `unknown' -- same as none, but documents that we really don't know.
4495 # 'pass_all' -- all dependencies passed with no checks.
4496 # 'test_compile' -- check by making test program.
4497 # 'file_magic [[regex]]' -- check by looking for files in library path
4498 # which responds to the $file_magic_cmd with a given extended regex.
4499 # If you have `file' or equivalent on your system and you're not sure
4500 # whether `pass_all' will *always* work, you probably want this one.
4504 lt_cv_deplibs_check_method=pass_all
4508 lt_cv_deplibs_check_method=pass_all
4512 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4513 lt_cv_file_magic_cmd='/usr/bin/file -L'
4514 lt_cv_file_magic_test_file=/shlib/libc.so
4518 # func_win32_libid is a shell function defined in ltmain.sh
4519 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4520 lt_cv_file_magic_cmd='func_win32_libid'
4524 # Base MSYS/MinGW do not provide the 'file' command needed by
4525 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4526 # unless we find 'file', for example because we are cross-compiling.
4527 if ( file / ) >/dev/null 2>&1; then
4528 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4529 lt_cv_file_magic_cmd='func_win32_libid'
4531 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4532 lt_cv_file_magic_cmd='$OBJDUMP -f'
4536 darwin* | rhapsody*)
4537 lt_cv_deplibs_check_method=pass_all
4540 freebsd* | dragonfly*)
4541 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4544 # Not sure whether the presence of OpenBSD here was a mistake.
4545 # Let's accept both of them until this is cleared up.
4546 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4547 lt_cv_file_magic_cmd=/usr/bin/file
4548 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4552 lt_cv_deplibs_check_method=pass_all
4557 lt_cv_deplibs_check_method=pass_all
4560 hpux10.20* | hpux11*)
4561 lt_cv_file_magic_cmd=/usr/bin/file
4564 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4565 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4568 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]'
4569 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4572 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4573 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4579 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4580 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4583 irix5* | irix6* | nonstopux*)
4585 *-32|*"-32 ") libmagic=32-bit;;
4586 *-n32|*"-n32 ") libmagic=N32;;
4587 *-64|*"-64 ") libmagic=64-bit;;
4588 *) libmagic=never-match;;
4590 lt_cv_deplibs_check_method=pass_all
4593 # This must be Linux ELF.
4594 linux* | k*bsd*-gnu)
4595 lt_cv_deplibs_check_method=pass_all
4598 netbsd* | netbsdelf*-gnu)
4599 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4600 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4602 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4607 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4608 lt_cv_file_magic_cmd=/usr/bin/file
4609 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4613 lt_cv_deplibs_check_method=unknown
4617 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4618 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4620 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4624 osf3* | osf4* | osf5*)
4625 lt_cv_deplibs_check_method=pass_all
4629 lt_cv_deplibs_check_method=pass_all
4633 lt_cv_deplibs_check_method=pass_all
4637 case $host_vendor in
4639 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]'
4640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4643 lt_cv_deplibs_check_method=pass_all
4646 lt_cv_file_magic_cmd='/bin/file'
4647 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4650 lt_cv_file_magic_cmd='/bin/file'
4651 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4652 lt_cv_file_magic_test_file=/lib/libc.so
4655 lt_cv_deplibs_check_method=pass_all
4658 lt_cv_deplibs_check_method=pass_all
4663 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4664 lt_cv_deplibs_check_method=pass_all
4669 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4670 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4671 file_magic_cmd=$lt_cv_file_magic_cmd
4672 deplibs_check_method=$lt_cv_deplibs_check_method
4673 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4678 # If no C compiler was specified, use CC.
4681 # If no C compiler flags were specified, use CFLAGS.
4682 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4684 # Allow CC to be a program name with arguments.
4688 # Check whether --enable-libtool-lock was given.
4689 if test "${enable_libtool_lock+set}" = set; then
4690 enableval=$enable_libtool_lock;
4693 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4695 # Some flags need to be propagated to the compiler or linker for good
4699 # Find out which ABI we are using.
4700 echo 'int i;' > conftest.$ac_ext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4702 (eval $ac_compile) 2>&5
4704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4705 (exit $ac_status); }; then
4706 case `/usr/bin/file conftest.$ac_objext` in
4718 # Find out which ABI we are using.
4719 echo '#line 4706 "configure
"' > conftest.$ac_ext
4720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4721 (eval $ac_compile) 2>&5
4723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4724 (exit $ac_status); }; then
4725 if test "$lt_cv_prog_gnu_ld" = yes; then
4726 case `/usr/bin/file conftest.$ac_objext` in
4728 LD="${LD-ld} -melf32bsmip"
4731 LD="${LD-ld} -melf32bmipn32"
4734 LD="${LD-ld} -melf64bmip"
4738 case `/usr/bin/file conftest.$ac_objext` in
4754 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4755 s390*-*linux*|sparc*-*linux*)
4756 # Find out which ABI we are using.
4757 echo 'int i;' > conftest.$ac_ext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759 (eval $ac_compile) 2>&5
4761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4762 (exit $ac_status); }; then
4763 case `/usr/bin/file conftest.o` in
4766 x86_64-*kfreebsd*-gnu)
4767 LD="${LD-ld} -m elf_i386_fbsd
"
4770 LD="${LD-ld} -m elf_i386
"
4772 ppc64-*linux*|powerpc64-*linux*)
4773 LD="${LD-ld} -m elf32ppclinux
"
4776 LD="${LD-ld} -m elf_s390
"
4779 LD="${LD-ld} -m elf32_sparc
"
4785 x86_64-*kfreebsd*-gnu)
4786 LD="${LD-ld} -m elf_x86_64_fbsd
"
4789 LD="${LD-ld} -m elf_x86_64
"
4791 ppc*-*linux*|powerpc*-*linux*)
4792 LD="${LD-ld} -m elf64ppc
"
4795 LD="${LD-ld} -m elf64_s390
"
4798 LD="${LD-ld} -m elf64_sparc
"
4808 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4809 SAVE_CFLAGS="$CFLAGS"
4810 CFLAGS="$CFLAGS -belf"
4811 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4812 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4813 if test "${lt_cv_cc_needs_belf+set}" = set; then
4814 echo $ECHO_N "(cached
) $ECHO_C" >&6
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 cat >conftest.$ac_ext <<_ACEOF
4825 cat confdefs.h >>conftest.$ac_ext
4826 cat >>conftest.$ac_ext <<_ACEOF
4827 /* end confdefs.h. */
4837 rm -f conftest.$ac_objext conftest$ac_exeext
4838 if { (ac_try="$ac_link"
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_link") 2>conftest.er1
4846 grep -v '^ *+' conftest.er1 >conftest.err
4848 cat conftest.err >&5
4849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4850 (exit $ac_status); } && {
4851 test -z "$ac_c_werror_flag" ||
4852 test ! -s conftest.err
4853 } && test -s conftest$ac_exeext &&
4854 $as_test_x conftest$ac_exeext; then
4855 lt_cv_cc_needs_belf=yes
4857 echo "$as_me: failed program was
:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4860 lt_cv_cc_needs_belf=no
4863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4864 conftest$ac_exeext conftest.$ac_ext
4866 ac_cpp='$CPP $CPPFLAGS'
4867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4872 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4873 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4874 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4875 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4876 CFLAGS="$SAVE_CFLAGS"
4880 # Find out which ABI we are using.
4881 echo 'int i;' > conftest.$ac_ext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883 (eval $ac_compile) 2>&5
4885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4886 (exit $ac_status); }; then
4887 case `/usr/bin/file conftest.o` in
4889 case $lt_cv_prog_gnu_ld in
4890 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
4891 *) LD="${LD-ld} -64" ;;
4902 need_locks="$enable_libtool_lock"
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4910 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4911 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4912 # On Suns, sometimes $CPP names a directory.
4913 if test -n "$CPP" && test -d "$CPP"; then
4916 if test -z "$CPP"; then
4917 if test "${ac_cv_prog_CPP+set}" = set; then
4918 echo $ECHO_N "(cached
) $ECHO_C" >&6
4920 # Double quotes because CPP needs to be expanded
4921 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4924 for ac_c_preproc_warn_flag in '' yes
4926 # Use a header file that comes with gcc, so configuring glibc
4927 # with a fresh cross-compiler works.
4928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4929 # <limits.h> exists even on freestanding compilers.
4930 # On the NeXT, cc -E runs the code through the compiler's parser,
4931 # not just through cpp. "Syntax error
" is here to catch this case.
4932 cat >conftest.$ac_ext <<_ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 # include <limits.h>
4941 # include <assert.h>
4945 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4948 *) ac_try_echo=$ac_try;;
4950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4951 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4953 grep -v '^ *+' conftest.er1 >conftest.err
4955 cat conftest.err >&5
4956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4957 (exit $ac_status); } >/dev/null && {
4958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4959 test ! -s conftest.err
4963 echo "$as_me: failed program was
:" >&5
4964 sed 's/^/| /' conftest.$ac_ext >&5
4966 # Broken: fails on valid input.
4970 rm -f conftest.err conftest.$ac_ext
4972 # OK, works on sane cases. Now check whether nonexistent headers
4973 # can be detected and how.
4974 cat >conftest.$ac_ext <<_ACEOF
4977 cat confdefs.h >>conftest.$ac_ext
4978 cat >>conftest.$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4980 #include <ac_nonexistent.h>
4982 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4985 *) ac_try_echo=$ac_try;;
4987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4988 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4990 grep -v '^ *+' conftest.er1 >conftest.err
4992 cat conftest.err >&5
4993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4994 (exit $ac_status); } >/dev/null && {
4995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4996 test ! -s conftest.err
4998 # Broken: success on invalid input.
5001 echo "$as_me: failed program was
:" >&5
5002 sed 's/^/| /' conftest.$ac_ext >&5
5004 # Passes both tests.
5009 rm -f conftest.err conftest.$ac_ext
5012 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5013 rm -f conftest.err conftest.$ac_ext
5014 if $ac_preproc_ok; then
5026 { echo "$as_me:$LINENO: result
: $CPP" >&5
5027 echo "${ECHO_T}$CPP" >&6; }
5029 for ac_c_preproc_warn_flag in '' yes
5031 # Use a header file that comes with gcc, so configuring glibc
5032 # with a fresh cross-compiler works.
5033 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 # <limits.h> exists even on freestanding compilers.
5035 # On the NeXT, cc -E runs the code through the compiler's parser,
5036 # not just through cpp. "Syntax error
" is here to catch this case.
5037 cat >conftest.$ac_ext <<_ACEOF
5040 cat confdefs.h >>conftest.$ac_ext
5041 cat >>conftest.$ac_ext <<_ACEOF
5042 /* end confdefs.h. */
5044 # include <limits.h>
5046 # include <assert.h>
5050 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5058 grep -v '^ *+' conftest.er1 >conftest.err
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5062 (exit $ac_status); } >/dev/null && {
5063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5068 echo "$as_me: failed program was
:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5071 # Broken: fails on valid input.
5075 rm -f conftest.err conftest.$ac_ext
5077 # OK, works on sane cases. Now check whether nonexistent headers
5078 # can be detected and how.
5079 cat >conftest.$ac_ext <<_ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5085 #include <ac_nonexistent.h>
5087 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5093 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5095 grep -v '^ *+' conftest.er1 >conftest.err
5097 cat conftest.err >&5
5098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5099 (exit $ac_status); } >/dev/null && {
5100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5101 test ! -s conftest.err
5103 # Broken: success on invalid input.
5106 echo "$as_me: failed program was
:" >&5
5107 sed 's/^/| /' conftest.$ac_ext >&5
5109 # Passes both tests.
5114 rm -f conftest.err conftest.$ac_ext
5117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5118 rm -f conftest.err conftest.$ac_ext
5119 if $ac_preproc_ok; then
5122 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5123 See \
`config.log' for more details." >&5
5124 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5125 See \`config.log
' for more details." >&2;}
5126 { (exit 1); exit 1; }; }
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5132 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5136 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5137 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5138 if test "${ac_cv_header_stdc+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5141 cat >conftest.$ac_ext <<_ACEOF
5144 cat confdefs.h >>conftest.$ac_ext
5145 cat >>conftest.$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5160 rm -f conftest.$ac_objext
5161 if { (ac_try="$ac_compile"
5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5167 (eval "$ac_compile") 2>conftest.er1
5169 grep -v '^
*+' conftest.er1 >conftest.err
5171 cat conftest.err >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } && {
5174 test -z "$ac_c_werror_flag" ||
5175 test ! -s conftest.err
5176 } && test -s conftest.$ac_objext; then
5177 ac_cv_header_stdc=yes
5179 echo "$as_me: failed program was:" >&5
5180 sed 's
/^
/|
/' conftest.$ac_ext >&5
5182 ac_cv_header_stdc=no
5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5187 if test $ac_cv_header_stdc = yes; then
5188 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5189 cat >conftest.$ac_ext <<_ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5199 $EGREP "memchr" >/dev/null 2>&1; then
5202 ac_cv_header_stdc=no
5208 if test $ac_cv_header_stdc = yes; then
5209 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5210 cat >conftest.$ac_ext <<_ACEOF
5213 cat confdefs.h >>conftest.$ac_ext
5214 cat >>conftest.$ac_ext <<_ACEOF
5215 /* end confdefs.h. */
5219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5220 $EGREP "free" >/dev/null 2>&1; then
5223 ac_cv_header_stdc=no
5229 if test $ac_cv_header_stdc = yes; then
5230 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5231 if test "$cross_compiling" = yes; then
5234 cat >conftest.$ac_ext <<_ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5242 #if ((' ' & 0x0FF) == 0x020)
5243 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
5244 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
5246 # define ISLOWER(c) \
5247 (('a
' <= (c) && (c) <= 'i
') \
5248 || ('j
' <= (c) && (c) <= 'r
') \
5249 || ('s
' <= (c) && (c) <= 'z
'))
5250 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5253 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5258 for (i = 0; i < 256; i++)
5259 if (XOR (islower (i), ISLOWER (i))
5260 || toupper (i) != TOUPPER (i))
5265 rm -f conftest$ac_exeext
5266 if { (ac_try="$ac_link"
5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_link") 2>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5276 { (case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_try") 2>&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; }; then
5287 echo "$as_me: program exited with status $ac_status" >&5
5288 echo "$as_me: failed program was:" >&5
5289 sed 's
/^
/|
/' conftest.$ac_ext >&5
5292 ac_cv_header_stdc=no
5294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5300 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5301 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5302 if test $ac_cv_header_stdc = yes; then
5304 cat >>confdefs.h <<\_ACEOF
5305 #define STDC_HEADERS 1
5310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5320 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5321 inttypes.h stdint.h unistd.h
5323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 cat >conftest.$ac_ext <<_ACEOF
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5335 $ac_includes_default
5337 #include <$ac_header>
5339 rm -f conftest.$ac_objext
5340 if { (ac_try="$ac_compile"
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5346 (eval "$ac_compile") 2>conftest.er1
5348 grep -v '^
*+' conftest.er1 >conftest.err
5350 cat conftest.err >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } && {
5353 test -z "$ac_c_werror_flag" ||
5354 test ! -s conftest.err
5355 } && test -s conftest.$ac_objext; then
5356 eval "$as_ac_Header=yes"
5358 echo "$as_me: failed program was:" >&5
5359 sed 's
/^
/|
/' conftest.$ac_ext >&5
5361 eval "$as_ac_Header=no"
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5366 ac_res=`eval echo '${'$as_ac_Header'}'`
5367 { echo "$as_me:$LINENO: result: $ac_res" >&5
5368 echo "${ECHO_T}$ac_res" >&6; }
5369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5370 cat >>confdefs.h <<_ACEOF
5371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5380 for ac_header in dlfcn.h
5382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 ac_res=`eval echo '${'$as_ac_Header'}'`
5390 { echo "$as_me:$LINENO: result: $ac_res" >&5
5391 echo "${ECHO_T}$ac_res" >&6; }
5393 # Is the header compilable?
5394 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5396 cat >conftest.$ac_ext <<_ACEOF
5399 cat confdefs.h >>conftest.$ac_ext
5400 cat >>conftest.$ac_ext <<_ACEOF
5401 /* end confdefs.h. */
5402 $ac_includes_default
5403 #include <$ac_header>
5405 rm -f conftest.$ac_objext
5406 if { (ac_try="$ac_compile"
5408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5409 *) ac_try_echo=$ac_try;;
5411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5412 (eval "$ac_compile") 2>conftest.er1
5414 grep -v '^
*+' conftest.er1 >conftest.err
5416 cat conftest.err >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } && {
5419 test -z "$ac_c_werror_flag" ||
5420 test ! -s conftest.err
5421 } && test -s conftest.$ac_objext; then
5422 ac_header_compiler=yes
5424 echo "$as_me: failed program was:" >&5
5425 sed 's
/^
/|
/' conftest.$ac_ext >&5
5427 ac_header_compiler=no
5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5432 echo "${ECHO_T}$ac_header_compiler" >&6; }
5434 # Is the header present?
5435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5437 cat >conftest.$ac_ext <<_ACEOF
5440 cat confdefs.h >>conftest.$ac_ext
5441 cat >>conftest.$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5443 #include <$ac_header>
5445 if { (ac_try="$ac_cpp conftest.$ac_ext"
5447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5448 *) ac_try_echo=$ac_try;;
5450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5453 grep -v '^
*+' conftest.er1 >conftest.err
5455 cat conftest.err >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } >/dev/null && {
5458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5459 test ! -s conftest.err
5461 ac_header_preproc=yes
5463 echo "$as_me: failed program was:" >&5
5464 sed 's
/^
/|
/' conftest.$ac_ext >&5
5466 ac_header_preproc=no
5469 rm -f conftest.err conftest.$ac_ext
5470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5471 echo "${ECHO_T}$ac_header_preproc" >&6; }
5473 # So? What about this header?
5474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5479 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5480 ac_header_preproc=yes
5483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5492 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 eval "$as_ac_Header=\$ac_header_preproc"
5505 ac_res=`eval echo '${'$as_ac_Header'}'`
5506 { echo "$as_me:$LINENO: result: $ac_res" >&5
5507 echo "${ECHO_T}$ac_res" >&6; }
5510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5511 cat >>confdefs.h <<_ACEOF
5512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5520 ac_cpp='$CXXCPP $CPPFLAGS'
5521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5522 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5524 if test -z "$CXX"; then
5525 if test -n "$CCC"; then
5528 if test -n "$ac_tool_prefix"; then
5529 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5531 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5535 if test "${ac_cv_prog_CXX+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 if test -n "$CXX"; then
5539 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 if test -n "$CXX"; then
5560 { echo "$as_me:$LINENO: result: $CXX" >&5
5561 echo "${ECHO_T}$CXX" >&6; }
5563 { echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6; }
5568 test -n "$CXX" && break
5571 if test -z "$CXX"; then
5573 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5575 # Extract the first word of "$ac_prog", so it can be a program name with args.
5576 set dummy $ac_prog; ac_word=$2
5577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5579 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5580 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 if test -n "$ac_ct_CXX"; then
5583 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir=.
5590 for ac_exec_ext in '' $ac_executable_extensions; do
5591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5592 ac_cv_prog_ac_ct_CXX="$ac_prog"
5593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5603 if test -n "$ac_ct_CXX"; then
5604 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5605 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5607 { echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6; }
5612 test -n "$ac_ct_CXX" && break
5615 if test "x$ac_ct_CXX" = x; then
5618 case $cross_compiling:$ac_tool_warned in
5620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet. If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&5
5623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5624 whose name does not start with the host triplet. If you think this
5625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5626 ac_tool_warned=yes ;;
5634 # Provide some information about the compiler.
5635 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5636 ac_compiler=`set X $ac_compile; echo $2`
5637 { (ac_try="$ac_compiler --version >&5"
5639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5640 *) ac_try_echo=$ac_try;;
5642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5643 (eval "$ac_compiler --version >&5") 2>&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }
5647 { (ac_try="$ac_compiler -v >&5"
5649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5650 *) ac_try_echo=$ac_try;;
5652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5653 (eval "$ac_compiler -v >&5") 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }
5657 { (ac_try="$ac_compiler -V >&5"
5659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5660 *) ac_try_echo=$ac_try;;
5662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5663 (eval "$ac_compiler -V >&5") 2>&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }
5668 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5669 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5670 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 cat >conftest.$ac_ext <<_ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5691 rm -f conftest.$ac_objext
5692 if { (ac_try="$ac_compile"
5694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5695 *) ac_try_echo=$ac_try;;
5697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5698 (eval "$ac_compile") 2>conftest.er1
5700 grep -v '^
*+' conftest.er1 >conftest.err
5702 cat conftest.err >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } && {
5705 test -z "$ac_cxx_werror_flag" ||
5706 test ! -s conftest.err
5707 } && test -s conftest.$ac_objext; then
5710 echo "$as_me: failed program was:" >&5
5711 sed 's
/^
/|
/' conftest.$ac_ext >&5
5716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5717 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5720 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5721 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5722 GXX=`test $ac_compiler_gnu = yes && echo yes`
5723 ac_test_CXXFLAGS=${CXXFLAGS+set}
5724 ac_save_CXXFLAGS=$CXXFLAGS
5725 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5726 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5727 if test "${ac_cv_prog_cxx_g+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5731 ac_cxx_werror_flag=yes
5734 cat >conftest.$ac_ext <<_ACEOF
5737 cat confdefs.h >>conftest.$ac_ext
5738 cat >>conftest.$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5749 rm -f conftest.$ac_objext
5750 if { (ac_try="$ac_compile"
5752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5753 *) ac_try_echo=$ac_try;;
5755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5756 (eval "$ac_compile") 2>conftest.er1
5758 grep -v '^
*+' conftest.er1 >conftest.err
5760 cat conftest.err >&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); } && {
5763 test -z "$ac_cxx_werror_flag" ||
5764 test ! -s conftest.err
5765 } && test -s conftest.$ac_objext; then
5766 ac_cv_prog_cxx_g=yes
5768 echo "$as_me: failed program was:" >&5
5769 sed 's
/^
/|
/' conftest.$ac_ext >&5
5772 cat >conftest.$ac_ext <<_ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5787 rm -f conftest.$ac_objext
5788 if { (ac_try="$ac_compile"
5790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5791 *) ac_try_echo=$ac_try;;
5793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5794 (eval "$ac_compile") 2>conftest.er1
5796 grep -v '^
*+' conftest.er1 >conftest.err
5798 cat conftest.err >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } && {
5801 test -z "$ac_cxx_werror_flag" ||
5802 test ! -s conftest.err
5803 } && test -s conftest.$ac_objext; then
5806 echo "$as_me: failed program was:" >&5
5807 sed 's
/^
/|
/' conftest.$ac_ext >&5
5809 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5811 cat >conftest.$ac_ext <<_ACEOF
5814 cat confdefs.h >>conftest.$ac_ext
5815 cat >>conftest.$ac_ext <<_ACEOF
5816 /* end confdefs.h. */
5826 rm -f conftest.$ac_objext
5827 if { (ac_try="$ac_compile"
5829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5830 *) ac_try_echo=$ac_try;;
5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5833 (eval "$ac_compile") 2>conftest.er1
5835 grep -v '^
*+' conftest.er1 >conftest.err
5837 cat conftest.err >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } && {
5840 test -z "$ac_cxx_werror_flag" ||
5841 test ! -s conftest.err
5842 } && test -s conftest.$ac_objext; then
5843 ac_cv_prog_cxx_g=yes
5845 echo "$as_me: failed program was:" >&5
5846 sed 's
/^
/|
/' conftest.$ac_ext >&5
5851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5860 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5861 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5862 if test "$ac_test_CXXFLAGS" = set; then
5863 CXXFLAGS=$ac_save_CXXFLAGS
5864 elif test $ac_cv_prog_cxx_g = yes; then
5865 if test "$GXX" = yes; then
5871 if test "$GXX" = yes; then
5878 ac_cpp='$CXXCPP $CPPFLAGS'
5879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5880 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5883 depcc="$CXX" am_compiler_list=
5885 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5886 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5887 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5891 # We make a subdir and do the tests there. Otherwise we can end up
5892 # making bogus files that we don't know about and never remove. For
5893 # instance it was reported that on HP-UX the gcc test will end up
5894 # making a dummy file named `D' -- because `-MD' means `put the output
5897 # Copy depcomp to subdir because otherwise we won't find it if we're
5898 # using a relative directory.
5899 cp "$am_depcomp" conftest.dir
5901 # We will build objects and dependencies in a subdirectory because
5902 # it helps to detect inapplicable dependency modes. For instance
5903 # both Tru64's cc and ICC support -MD to output dependencies as a
5904 # side effect of compilation, but ICC will put the dependencies in
5905 # the current directory while Tru64 will put them in the object
5909 am_cv_CXX_dependencies_compiler_type
=none
5910 if test "$am_compiler_list" = ""; then
5911 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5913 for depmode
in $am_compiler_list; do
5914 # Setup a source with many dependencies, because some compilers
5915 # like to wrap large dependency lists on column 80 (with \), and
5916 # we should not choose a depcomp mode which is confused by this.
5918 # We need to recreate these files for each test, as the compiler may
5919 # overwrite some of them when testing with obscure command lines.
5920 # This happens at least with the AIX C compiler.
5922 for i
in 1 2 3 4 5 6; do
5923 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5924 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5925 # Solaris 8's {/usr,}/bin/sh.
5926 touch sub
/conftst
$i.h
5928 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5932 # after this tag, mechanisms are not by side-effect, so they'll
5933 # only be used when explicitly requested
5934 if test "x$enable_dependency_tracking" = xyes
; then
5942 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5943 # mode. It turns out that the SunPro C++ compiler does not properly
5944 # handle `-M -o', and we need to detect this.
5945 if depmode
=$depmode \
5946 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5947 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5948 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5949 >/dev
/null
2>conftest.err
&&
5950 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5951 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5952 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5953 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5954 # icc doesn't choke on unknown options, it will just issue warnings
5955 # or remarks (even with -Werror). So we grep stderr for any message
5956 # that says an option was ignored or not supported.
5957 # When given -MP, icc 7.0 and 7.1 complain thusly:
5958 # icc: Command line warning: ignoring option '-M'; no argument required
5959 # The diagnosis changed in icc 8.0:
5960 # icc: Command line remark: option '-MP' not supported
5961 if (grep 'ignoring option' conftest.err ||
5962 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5963 am_cv_CXX_dependencies_compiler_type
=$depmode
5972 am_cv_CXX_dependencies_compiler_type
=none
5976 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5977 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5978 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5981 test "x$enable_dependency_tracking" != xno \
5982 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5983 am__fastdepCXX_TRUE
=
5984 am__fastdepCXX_FALSE
='#'
5986 am__fastdepCXX_TRUE
='#'
5987 am__fastdepCXX_FALSE
=
5993 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5994 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5995 (test "X$CXX" != "Xg++"))) ; then
5997 ac_cpp
='$CXXCPP $CPPFLAGS'
5998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6001 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6002 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6003 if test -z "$CXXCPP"; then
6004 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6005 echo $ECHO_N "(cached) $ECHO_C" >&6
6007 # Double quotes because CXXCPP needs to be expanded
6008 for CXXCPP
in "$CXX -E" "/lib/cpp"
6011 for ac_cxx_preproc_warn_flag
in '' yes
6013 # Use a header file that comes with gcc, so configuring glibc
6014 # with a fresh cross-compiler works.
6015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6016 # <limits.h> exists even on freestanding compilers.
6017 # On the NeXT, cc -E runs the code through the compiler's parser,
6018 # not just through cpp. "Syntax error" is here to catch this case.
6019 cat >conftest.
$ac_ext <<_ACEOF
6022 cat confdefs.h
>>conftest.
$ac_ext
6023 cat >>conftest.
$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6026 # include <limits.h>
6028 # include <assert.h>
6032 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6035 *) ac_try_echo=$ac_try;;
6037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6040 grep -v '^ *+' conftest.er1 >conftest.err
6042 cat conftest.err >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } >/dev/null && {
6045 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6046 test ! -s conftest.err
6050 echo "$as_me: failed program was:" >&5
6051 sed 's/^/| /' conftest.$ac_ext >&5
6053 # Broken: fails on valid input.
6057 rm -f conftest.err conftest.$ac_ext
6059 # OK, works on sane cases. Now check whether nonexistent headers
6060 # can be detected and how.
6061 cat >conftest.$ac_ext <<_ACEOF
6064 cat confdefs.h >>conftest.$ac_ext
6065 cat >>conftest.$ac_ext <<_ACEOF
6066 /* end confdefs.h. */
6067 #include <ac_nonexistent.h>
6069 if { (ac_try="$ac_cpp conftest.$ac_ext"
6071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6072 *) ac_try_echo
=$ac_try;;
6074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6077 grep -v '^ *+' conftest.er1
>conftest.err
6079 cat conftest.err
>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } >/dev
/null
&& {
6082 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6083 test ! -s conftest.err
6085 # Broken: success on invalid input.
6088 echo "$as_me: failed program was:" >&5
6089 sed 's/^/| /' conftest.
$ac_ext >&5
6091 # Passes both tests.
6096 rm -f conftest.err conftest.
$ac_ext
6099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6100 rm -f conftest.err conftest.
$ac_ext
6101 if $ac_preproc_ok; then
6106 ac_cv_prog_CXXCPP
=$CXXCPP
6109 CXXCPP
=$ac_cv_prog_CXXCPP
6111 ac_cv_prog_CXXCPP
=$CXXCPP
6113 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6114 echo "${ECHO_T}$CXXCPP" >&6; }
6116 for ac_cxx_preproc_warn_flag
in '' yes
6118 # Use a header file that comes with gcc, so configuring glibc
6119 # with a fresh cross-compiler works.
6120 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6121 # <limits.h> exists even on freestanding compilers.
6122 # On the NeXT, cc -E runs the code through the compiler's parser,
6123 # not just through cpp. "Syntax error" is here to catch this case.
6124 cat >conftest.
$ac_ext <<_ACEOF
6127 cat confdefs.h
>>conftest.
$ac_ext
6128 cat >>conftest.
$ac_ext <<_ACEOF
6129 /* end confdefs.h. */
6131 # include <limits.h>
6133 # include <assert.h>
6137 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6145 grep -v '^ *+' conftest.er1 >conftest.err
6147 cat conftest.err >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } >/dev/null && {
6150 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6151 test ! -s conftest.err
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 # Broken: fails on valid input.
6162 rm -f conftest.err conftest.$ac_ext
6164 # OK, works on sane cases. Now check whether nonexistent headers
6165 # can be detected and how.
6166 cat >conftest.$ac_ext <<_ACEOF
6169 cat confdefs.h >>conftest.$ac_ext
6170 cat >>conftest.$ac_ext <<_ACEOF
6171 /* end confdefs.h. */
6172 #include <ac_nonexistent.h>
6174 if { (ac_try="$ac_cpp conftest.$ac_ext"
6176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6177 *) ac_try_echo
=$ac_try;;
6179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6182 grep -v '^ *+' conftest.er1
>conftest.err
6184 cat conftest.err
>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); } >/dev
/null
&& {
6187 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6188 test ! -s conftest.err
6190 # Broken: success on invalid input.
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.
$ac_ext >&5
6196 # Passes both tests.
6201 rm -f conftest.err conftest.
$ac_ext
6204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6205 rm -f conftest.err conftest.
$ac_ext
6206 if $ac_preproc_ok; then
6209 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6210 See \`config.log' for more details." >&5
6211 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6212 See \`config.log' for more details." >&2;}
6213 { (exit 1); exit 1; }; }
6217 ac_cpp
='$CXXCPP $CPPFLAGS'
6218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6226 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6227 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6228 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6229 if test -n "$ac_tool_prefix"; then
6230 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6233 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_F77+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 if test -n "$F77"; then
6240 ac_cv_prog_F77
="$F77" # Let the user override the test.
6242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir
=.
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 if test -n "$F77"; then
6261 { echo "$as_me:$LINENO: result: $F77" >&5
6262 echo "${ECHO_T}$F77" >&6; }
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6269 test -n "$F77" && break
6272 if test -z "$F77"; then
6274 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6276 # Extract the first word of "$ac_prog", so it can be a program name with args.
6277 set dummy
$ac_prog; ac_word
=$2
6278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6280 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6281 echo $ECHO_N "(cached) $ECHO_C" >&6
6283 if test -n "$ac_ct_F77"; then
6284 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir
=.
6291 for ac_exec_ext
in '' $ac_executable_extensions; do
6292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 ac_cv_prog_ac_ct_F77
="$ac_prog"
6294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6304 if test -n "$ac_ct_F77"; then
6305 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6306 echo "${ECHO_T}$ac_ct_F77" >&6; }
6308 { echo "$as_me:$LINENO: result: no" >&5
6309 echo "${ECHO_T}no" >&6; }
6313 test -n "$ac_ct_F77" && break
6316 if test "x$ac_ct_F77" = x
; then
6319 case $cross_compiling:$ac_tool_warned in
6321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6322 whose name does not start with the host triplet. If you think this
6323 configuration is useful to you, please write to autoconf@gnu.org." >&5
6324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6325 whose name does not start with the host triplet. If you think this
6326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6327 ac_tool_warned
=yes ;;
6334 # Provide some information about the compiler.
6335 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6336 ac_compiler
=`set X $ac_compile; echo $2`
6337 { (ac_try
="$ac_compiler --version >&5"
6339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6340 *) ac_try_echo=$ac_try;;
6342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6343 (eval "$ac_compiler --version >&5") 2>&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }
6347 { (ac_try="$ac_compiler -v >&5"
6349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6350 *) ac_try_echo
=$ac_try;;
6352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6353 (eval "$ac_compiler -v >&5") 2>&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); }
6357 { (ac_try
="$ac_compiler -V >&5"
6359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6360 *) ac_try_echo=$ac_try;;
6362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6363 (eval "$ac_compiler -V >&5") 2>&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }
6369 # If we don't use `.F
' as extension, the preprocessor is not run on the
6370 # input file. (Note that this only needs to work for GNU compilers.)
6373 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6374 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6375 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6376 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 cat >conftest.$ac_ext <<_ACEOF
6386 rm -f conftest.$ac_objext
6387 if { (ac_try="$ac_compile"
6389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6390 *) ac_try_echo=$ac_try;;
6392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6393 (eval "$ac_compile") 2>conftest.er1
6395 grep -v '^
*+' conftest.er1 >conftest.err
6397 cat conftest.err >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); } && {
6400 test -z "$ac_f77_werror_flag" ||
6401 test ! -s conftest.err
6402 } && test -s conftest.$ac_objext; then
6405 echo "$as_me: failed program was:" >&5
6406 sed 's
/^
/|
/' conftest.$ac_ext >&5
6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6415 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6416 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6418 ac_test_FFLAGS=${FFLAGS+set}
6419 ac_save_FFLAGS=$FFLAGS
6421 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6422 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6423 if test "${ac_cv_prog_f77_g+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 cat >conftest.$ac_ext <<_ACEOF
6432 rm -f conftest.$ac_objext
6433 if { (ac_try="$ac_compile"
6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436 *) ac_try_echo=$ac_try;;
6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6439 (eval "$ac_compile") 2>conftest.er1
6441 grep -v '^
*+' conftest.er1 >conftest.err
6443 cat conftest.err >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } && {
6446 test -z "$ac_f77_werror_flag" ||
6447 test ! -s conftest.err
6448 } && test -s conftest.$ac_objext; then
6449 ac_cv_prog_f77_g=yes
6451 echo "$as_me: failed program was:" >&5
6452 sed 's
/^
/|
/' conftest.$ac_ext >&5
6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6460 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6461 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6462 if test "$ac_test_FFLAGS" = set; then
6463 FFLAGS=$ac_save_FFLAGS
6464 elif test $ac_cv_prog_f77_g = yes; then
6465 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6471 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6478 G77=`test $ac_compiler_gnu = yes && echo yes`
6480 ac_cpp='$CPP $CPPFLAGS'
6481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6482 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6487 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6489 # find the maximum length of command line arguments
6490 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6491 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6492 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 # On DJGPP, this test can blow up pretty badly due to problems in libc
6501 # (any single argument exceeding 2000 bytes causes a buffer overrun
6502 # during glob expansion). Even if it were fixed, the result of this
6503 # check would be larger than it should be.
6504 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6508 # Under GNU Hurd, this test is not required because there is
6509 # no limit to the length of command line arguments.
6510 # Libtool will interpret -1 as no limit whatsoever
6511 lt_cv_sys_max_cmd_len
=-1;
6515 # On Win9x/ME, this test blows up -- it succeeds, but takes
6516 # about 5 minutes as the teststring grows exponentially.
6517 # Worse, since 9x/ME are not pre-emptively multitasking,
6518 # you end up with a "frozen" computer, even though with patience
6519 # the test eventually succeeds (with a max line length of 256k).
6520 # Instead, let's just punt: use the minimum linelength reported by
6521 # all of the supported platforms: 8192 (on NT/2K/XP).
6522 lt_cv_sys_max_cmd_len
=8192;
6526 # On AmigaOS with pdksh, this test takes hours, literally.
6527 # So we just punt and use a minimum line length of 8192.
6528 lt_cv_sys_max_cmd_len
=8192;
6531 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6532 # This has been around since 386BSD, at least. Likely further.
6533 if test -x /sbin
/sysctl
; then
6534 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6535 elif test -x /usr
/sbin
/sysctl
; then
6536 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6538 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6540 # And add a safety zone
6541 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6542 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6546 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6547 lt_cv_sys_max_cmd_len
=196608
6551 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6552 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6553 # nice to cause kernel panics so lets avoid the loop below.
6554 # First set a reasonable default.
6555 lt_cv_sys_max_cmd_len
=16384
6557 if test -x /sbin
/sysconfig
; then
6558 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6559 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6564 lt_cv_sys_max_cmd_len
=102400
6566 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6567 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6568 if test -n "$kargmax"; then
6569 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6571 lt_cv_sys_max_cmd_len
=32768
6575 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6576 if test -n "$lt_cv_sys_max_cmd_len"; then
6577 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6578 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6580 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6581 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6582 = "XX$teststring") >/dev
/null
2>&1 &&
6583 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6584 lt_cv_sys_max_cmd_len
=$new_result &&
6585 test $i != 17 # 1/2 MB should be enough
6588 teststring
=$teststring$teststring
6591 # Add a significant safety factor because C++ compilers can tack on massive
6592 # amounts of additional arguments before passing them to the linker.
6593 # It appears as though 1/2 is a usable value.
6594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6601 if test -n $lt_cv_sys_max_cmd_len ; then
6602 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6603 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6605 { echo "$as_me:$LINENO: result: none" >&5
6606 echo "${ECHO_T}none" >&6; }
6613 # Check for command to grab the raw symbol name followed by C symbol from nm.
6614 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6615 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6616 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 # These are sane defaults that work on at least a few old systems.
6621 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6623 # Character class describing NM global symbol codes.
6624 symcode
='[BCDEGRST]'
6626 # Regexp to match symbols that can be accessed directly from C.
6627 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6629 # Transform an extracted symbol line into a proper C declaration
6630 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6632 # Transform an extracted symbol line into symbol name and symbol address
6633 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'"
6635 # Define system-specific variables.
6640 cygwin
* | mingw
* | pw32
*)
6641 symcode
='[ABCDGISTW]'
6643 hpux
*) # Its linker distinguishes data from code symbols
6644 if test "$host_cpu" = ia64
; then
6645 symcode
='[ABCDEGRST]'
6647 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6648 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'"
6650 linux
* | k
*bsd
*-gnu)
6651 if test "$host_cpu" = ia64
; then
6652 symcode
='[ABCDGIRSTW]'
6653 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6654 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'"
6658 symcode
='[BCDEGRST]'
6661 symcode
='[BCDEGQRST]'
6672 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6680 # Handle CRLF in mingw tool chain
6684 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6688 # If we're using GNU nm, then use its standard symbol codes.
6689 case `$NM -V 2>&1` in
6690 *GNU
* |
*'with BFD'*)
6691 symcode
='[ABCDGIRSTW]' ;;
6694 # Try without a prefix undercore, then with it.
6695 for ac_symprfx
in "" "_"; do
6697 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6698 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6700 # Write the raw and C identifiers.
6701 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6703 # Check to see that the pipe works correctly.
6707 cat > conftest.
$ac_ext <<EOF
6712 void nm_test_func(){}
6716 int main(){nm_test_var='a';nm_test_func();return(0);}
6719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6720 (eval $ac_compile) 2>&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; then
6724 # Now try to grab the symbols.
6726 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6727 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); } && test -s "$nlist"; then
6731 # Try sorting and uniquifying the output.
6732 if sort "$nlist" |
uniq > "$nlist"T
; then
6733 mv -f "$nlist"T
"$nlist"
6738 # Make sure that we snagged all the symbols we need.
6739 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6740 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6741 cat <<EOF > conftest.$ac_ext
6747 # Now generate the symbol file.
6748 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6750 cat <<EOF >> conftest.$ac_ext
6751 #if defined (__STDC__) && __STDC__
6752 # define lt_ptr_t void *
6754 # define lt_ptr_t char *
6758 /* The mapping between symbol names and symbols. */
6763 lt_preloaded_symbols[] =
6766 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6767 cat <<\EOF
>> conftest.
$ac_ext
6775 # Now try linking the two files.
6776 mv conftest.
$ac_objext conftstm.
$ac_objext
6777 lt_save_LIBS
="$LIBS"
6778 lt_save_CFLAGS
="$CFLAGS"
6779 LIBS
="conftstm.$ac_objext"
6780 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6782 (eval $ac_link) 2>&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6788 LIBS
="$lt_save_LIBS"
6789 CFLAGS
="$lt_save_CFLAGS"
6791 echo "cannot find nm_test_func in $nlist" >&5
6794 echo "cannot find nm_test_var in $nlist" >&5
6797 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6800 echo "$progname: failed program was:" >&5
6801 cat conftest.
$ac_ext >&5
6803 rm -f conftest
* conftst
*
6805 # Do not use the global_symbol_pipe unless it works.
6806 if test "$pipe_works" = yes; then
6809 lt_cv_sys_global_symbol_pipe
=
6815 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6816 lt_cv_sys_global_symbol_to_cdecl
=
6818 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6819 { echo "$as_me:$LINENO: result: failed" >&5
6820 echo "${ECHO_T}failed" >&6; }
6822 { echo "$as_me:$LINENO: result: ok" >&5
6823 echo "${ECHO_T}ok" >&6; }
6826 { echo "$as_me:$LINENO: checking for objdir" >&5
6827 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6828 if test "${lt_cv_objdir+set}" = set; then
6829 echo $ECHO_N "(cached) $ECHO_C" >&6
6831 rm -f .libs
2>/dev
/null
6832 mkdir .libs
2>/dev
/null
6833 if test -d .libs
; then
6836 # MS-DOS does not allow filenames that begin with a dot.
6839 rmdir .libs
2>/dev
/null
6841 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6842 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6843 objdir
=$lt_cv_objdir
6851 # AIX sometimes has problems with the GCC collect2 program. For some
6852 # reason, if we set the COLLECT_NAMES environment variable, the problems
6853 # vanish in a puff of smoke.
6854 if test "X${COLLECT_NAMES+set}" != Xset
; then
6856 export COLLECT_NAMES
6861 # Sed substitution that helps us do robust quoting. It backslashifies
6862 # metacharacters that are still active within double-quoted strings.
6863 Xsed
='sed -e 1s/^X//'
6864 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6866 # Same as above, but do not quote variable references.
6867 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6869 # Sed substitution to delay expansion of an escaped shell variable in a
6870 # double_quote_subst'ed string.
6871 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6873 # Sed substitution to avoid accidental globbing in evaled expressions
6874 no_glob_subst
='s/\*/\\\*/g'
6880 default_ofile
=libtool
6881 can_build_shared
=yes
6883 # All known linkers require a `.a' archive for static linking (except MSVC,
6884 # which needs '.lib').
6886 ltmain
="$ac_aux_dir/ltmain.sh"
6887 ofile
="$default_ofile"
6888 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6892 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6895 if test "${ac_cv_prog_AR+set}" = set; then
6896 echo $ECHO_N "(cached) $ECHO_C" >&6
6898 if test -n "$AR"; then
6899 ac_cv_prog_AR
="$AR" # Let the user override the test.
6901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir
=.
6906 for ac_exec_ext
in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 if test -n "$AR"; then
6920 { echo "$as_me:$LINENO: result: $AR" >&5
6921 echo "${ECHO_T}$AR" >&6; }
6923 { echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6; }
6929 if test -z "$ac_cv_prog_AR"; then
6931 # Extract the first word of "ar", so it can be a program name with args.
6932 set dummy
ar; ac_word
=$2
6933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6935 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6938 if test -n "$ac_ct_AR"; then
6939 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir
=.
6946 for ac_exec_ext
in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_ac_ct_AR
="ar"
6949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6959 if test -n "$ac_ct_AR"; then
6960 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6961 echo "${ECHO_T}$ac_ct_AR" >&6; }
6963 { echo "$as_me:$LINENO: result: no" >&5
6964 echo "${ECHO_T}no" >&6; }
6967 if test "x$ac_ct_AR" = x
; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6973 whose name does not start with the host triplet. If you think this
6974 configuration is useful to you, please write to autoconf@gnu.org." >&5
6975 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6976 whose name does not start with the host triplet. If you think this
6977 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6978 ac_tool_warned
=yes ;;
6986 if test -n "$ac_tool_prefix"; then
6987 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6988 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6991 if test "${ac_cv_prog_RANLIB+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 if test -n "$RANLIB"; then
6995 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7001 test -z "$as_dir" && as_dir
=.
7002 for ac_exec_ext
in '' $ac_executable_extensions; do
7003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7004 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 RANLIB
=$ac_cv_prog_RANLIB
7015 if test -n "$RANLIB"; then
7016 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7017 echo "${ECHO_T}$RANLIB" >&6; }
7019 { echo "$as_me:$LINENO: result: no" >&5
7020 echo "${ECHO_T}no" >&6; }
7025 if test -z "$ac_cv_prog_RANLIB"; then
7026 ac_ct_RANLIB
=$RANLIB
7027 # Extract the first word of "ranlib", so it can be a program name with args.
7028 set dummy ranlib
; ac_word
=$2
7029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7031 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 if test -n "$ac_ct_RANLIB"; then
7035 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir
=.
7042 for ac_exec_ext
in '' $ac_executable_extensions; do
7043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7044 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7055 if test -n "$ac_ct_RANLIB"; then
7056 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7057 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7059 { echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6; }
7063 if test "x$ac_ct_RANLIB" = x
; then
7066 case $cross_compiling:$ac_tool_warned in
7068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7069 whose name does not start with the host triplet. If you think this
7070 configuration is useful to you, please write to autoconf@gnu.org." >&5
7071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7072 whose name does not start with the host triplet. If you think this
7073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7074 ac_tool_warned
=yes ;;
7076 RANLIB
=$ac_ct_RANLIB
7079 RANLIB
="$ac_cv_prog_RANLIB"
7082 if test -n "$ac_tool_prefix"; then
7083 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7084 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7087 if test "${ac_cv_prog_STRIP+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 if test -n "$STRIP"; then
7091 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7097 test -z "$as_dir" && as_dir
=.
7098 for ac_exec_ext
in '' $ac_executable_extensions; do
7099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7100 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7110 STRIP
=$ac_cv_prog_STRIP
7111 if test -n "$STRIP"; then
7112 { echo "$as_me:$LINENO: result: $STRIP" >&5
7113 echo "${ECHO_T}$STRIP" >&6; }
7115 { echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6; }
7121 if test -z "$ac_cv_prog_STRIP"; then
7123 # Extract the first word of "strip", so it can be a program name with args.
7124 set dummy strip
; ac_word
=$2
7125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7127 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 if test -n "$ac_ct_STRIP"; then
7131 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7137 test -z "$as_dir" && as_dir
=.
7138 for ac_exec_ext
in '' $ac_executable_extensions; do
7139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7140 ac_cv_prog_ac_ct_STRIP
="strip"
7141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7151 if test -n "$ac_ct_STRIP"; then
7152 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7153 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7155 { echo "$as_me:$LINENO: result: no" >&5
7156 echo "${ECHO_T}no" >&6; }
7159 if test "x$ac_ct_STRIP" = x
; then
7162 case $cross_compiling:$ac_tool_warned in
7164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7165 whose name does not start with the host triplet. If you think this
7166 configuration is useful to you, please write to autoconf@gnu.org." >&5
7167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7168 whose name does not start with the host triplet. If you think this
7169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7170 ac_tool_warned
=yes ;;
7175 STRIP
="$ac_cv_prog_STRIP"
7180 old_CFLAGS
="$CFLAGS"
7182 # Set sane defaults for various variables
7183 test -z "$AR" && AR
=ar
7184 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7185 test -z "$AS" && AS
=as
7186 test -z "$CC" && CC
=cc
7187 test -z "$LTCC" && LTCC
=$CC
7188 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7189 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7190 test -z "$LD" && LD
=ld
7191 test -z "$LN_S" && LN_S
="ln -s"
7192 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7193 test -z "$NM" && NM
=nm
7194 test -z "$SED" && SED
=sed
7195 test -z "$OBJDUMP" && OBJDUMP
=objdump
7196 test -z "$RANLIB" && RANLIB
=:
7197 test -z "$STRIP" && STRIP
=:
7198 test -z "$ac_objext" && ac_objext
=o
7200 # Determine commands to create old-style static archives.
7201 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7202 old_postinstall_cmds
='chmod 644 $oldlib'
7203 old_postuninstall_cmds
=
7205 if test -n "$RANLIB"; then
7208 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7211 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7214 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7217 for cc_temp
in $compiler""; do
7219 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7220 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7225 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7228 # Only perform the check for file, if the check method requires it
7229 case $deplibs_check_method in
7231 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7232 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7233 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7234 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7242 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7243 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7244 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7245 for ac_dir
in $ac_dummy; do
7247 test -z "$ac_dir" && ac_dir
=.
7248 if test -f $ac_dir/${ac_tool_prefix}file; then
7249 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7250 if test -n "$file_magic_test_file"; then
7251 case $deplibs_check_method in
7253 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7254 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7255 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7256 $EGREP "$file_magic_regex" > /dev
/null
; then
7261 *** Warning: the command libtool uses to detect shared libraries,
7262 *** $file_magic_cmd, produces output that libtool cannot recognize.
7263 *** The result is that libtool may fail to recognize shared libraries
7264 *** as such. This will affect the creation of libtool libraries that
7265 *** depend on shared libraries, but programs linked with such libtool
7266 *** libraries will work regardless of this problem. Nevertheless, you
7267 *** may want to report the problem to your system manager and/or to
7268 *** bug-libtool@gnu.org
7278 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7283 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7284 if test -n "$MAGIC_CMD"; then
7285 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7286 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7288 { echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6; }
7292 if test -z "$lt_cv_path_MAGIC_CMD"; then
7293 if test -n "$ac_tool_prefix"; then
7294 { echo "$as_me:$LINENO: checking for file" >&5
7295 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7296 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7304 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7305 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7306 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7307 for ac_dir
in $ac_dummy; do
7309 test -z "$ac_dir" && ac_dir
=.
7310 if test -f $ac_dir/file; then
7311 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7312 if test -n "$file_magic_test_file"; then
7313 case $deplibs_check_method in
7315 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7317 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7318 $EGREP "$file_magic_regex" > /dev
/null
; then
7323 *** Warning: the command libtool uses to detect shared libraries,
7324 *** $file_magic_cmd, produces output that libtool cannot recognize.
7325 *** The result is that libtool may fail to recognize shared libraries
7326 *** as such. This will affect the creation of libtool libraries that
7327 *** depend on shared libraries, but programs linked with such libtool
7328 *** libraries will work regardless of this problem. Nevertheless, you
7329 *** may want to report the problem to your system manager and/or to
7330 *** bug-libtool@gnu.org
7340 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7345 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7346 if test -n "$MAGIC_CMD"; then
7347 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7348 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7350 { echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6; }
7366 # Check whether --enable-libtool-lock was given.
7367 if test "${enable_libtool_lock+set}" = set; then
7368 enableval
=$enable_libtool_lock;
7371 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7374 # Check whether --with-pic was given.
7375 if test "${with_pic+set}" = set; then
7376 withval
=$with_pic; pic_mode
="$withval"
7381 test -z "$pic_mode" && pic_mode
=default
7383 # Use C for the default configuration in the libtool script
7387 ac_cpp
='$CPP $CPPFLAGS'
7388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7393 # Source file extension for C test sources.
7396 # Object file extension for compiled C test sources.
7400 # Code to be used in simple compile tests
7401 lt_simple_compile_test_code
="int some_variable = 0;"
7403 # Code to be used in simple link tests
7404 lt_simple_link_test_code
='int main(){return(0);}'
7407 # If no C compiler was specified, use CC.
7410 # If no C compiler flags were specified, use CFLAGS.
7411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7413 # Allow CC to be a program name with arguments.
7417 # save warnings/boilerplate of simple test code
7418 ac_outfile
=conftest.
$ac_objext
7419 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7420 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7421 _lt_compiler_boilerplate
=`cat conftest.err`
7424 ac_outfile
=conftest.
$ac_objext
7425 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7426 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7427 _lt_linker_boilerplate
=`cat conftest.err`
7432 lt_prog_compiler_no_builtin_flag
=
7434 if test "$GCC" = yes; then
7435 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7438 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7439 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7440 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 lt_cv_prog_compiler_rtti_exceptions
=no
7444 ac_outfile
=conftest.
$ac_objext
7445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7446 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7447 # Insert the option either (1) after the last *FLAGS variable, or
7448 # (2) before a word containing "conftest.", or (3) at the end.
7449 # Note that $ac_compile itself does not contain backslashes and begins
7450 # with a dollar sign (not a hyphen), so the echo should work correctly.
7451 # The option is referenced via a variable to avoid confusing sed.
7452 lt_compile
=`echo "$ac_compile" | $SED \
7453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7455 -e 's:$: $lt_compiler_flag:'`
7456 (eval echo "\"\$as_me:7443: $lt_compile\"" >&5)
7457 (eval "$lt_compile" 2>conftest.err
)
7459 cat conftest.err
>&5
7460 echo "$as_me:7447: \$? = $ac_status" >&5
7461 if (exit $ac_status) && test -s "$ac_outfile"; then
7462 # The compiler can only warn and ignore the option if not recognized
7463 # So say no if there are warnings other than the usual output.
7464 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7466 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7467 lt_cv_prog_compiler_rtti_exceptions
=yes
7473 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7474 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7476 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7477 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7484 lt_prog_compiler_wl
=
7485 lt_prog_compiler_pic
=
7486 lt_prog_compiler_static
=
7488 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7489 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7491 if test "$GCC" = yes; then
7492 lt_prog_compiler_wl
='-Wl,'
7493 lt_prog_compiler_static
='-static'
7497 # All AIX code is PIC.
7498 if test "$host_cpu" = ia64
; then
7499 # AIX 5 now supports IA64 processor
7500 lt_prog_compiler_static
='-Bstatic'
7505 # FIXME: we need at least 68020 code to build shared libraries, but
7506 # adding the `-m68020' flag to GCC prevents building anything better,
7508 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7511 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7512 # PIC is the default for these OSes.
7515 mingw
* | cygwin
* | pw32
* | os2
*)
7516 # This hack is so that the source file can tell whether it is being
7517 # built for inclusion in a dll (and should export symbols for example).
7518 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7519 # (--disable-auto-import) libraries
7520 lt_prog_compiler_pic
='-DDLL_EXPORT'
7523 darwin
* | rhapsody
*)
7524 # PIC is the default on this platform
7525 # Common symbols not allowed in MH_DYLIB files
7526 lt_prog_compiler_pic
='-fno-common'
7530 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7531 # Instead, we relocate shared libraries at runtime.
7535 # Just because we use GCC doesn't mean we suddenly get shared libraries
7536 # on systems that don't support them.
7537 lt_prog_compiler_can_build_shared
=no
7542 if test -d /usr
/nec
; then
7543 lt_prog_compiler_pic
=-Kconform_pic
7548 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7555 lt_prog_compiler_pic
='-fPIC'
7561 lt_prog_compiler_pic
='-fPIC'
7565 # PORTME Check for flag to pass linker flags through the system compiler.
7568 lt_prog_compiler_wl
='-Wl,'
7569 if test "$host_cpu" = ia64
; then
7570 # AIX 5 now supports IA64 processor
7571 lt_prog_compiler_static
='-Bstatic'
7573 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7577 # PIC is the default on this platform
7578 # Common symbols not allowed in MH_DYLIB files
7579 case $cc_basename in
7581 lt_prog_compiler_pic
='-qnocommon'
7582 lt_prog_compiler_wl
='-Wl,'
7587 mingw
* | cygwin
* | pw32
* | os2
*)
7588 # This hack is so that the source file can tell whether it is being
7589 # built for inclusion in a dll (and should export symbols for example).
7590 lt_prog_compiler_pic
='-DDLL_EXPORT'
7593 hpux9
* | hpux10
* | hpux11
*)
7594 lt_prog_compiler_wl
='-Wl,'
7595 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7602 lt_prog_compiler_pic
='+Z'
7605 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7606 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7609 irix5
* | irix6
* | nonstopux
*)
7610 lt_prog_compiler_wl
='-Wl,'
7611 # PIC (with -KPIC) is the default.
7612 lt_prog_compiler_static
='-non_shared'
7616 lt_prog_compiler_pic
='-KPIC'
7617 lt_prog_compiler_static
='-Bstatic'
7620 linux
* | k
*bsd
*-gnu)
7621 case $cc_basename in
7623 lt_prog_compiler_wl
='-Wl,'
7624 lt_prog_compiler_pic
='-KPIC'
7625 lt_prog_compiler_static
='-static'
7627 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7628 # Portland Group compilers (*not* the Pentium gcc compiler,
7629 # which looks to be a dead project)
7630 lt_prog_compiler_wl
='-Wl,'
7631 lt_prog_compiler_pic
='-fpic'
7632 lt_prog_compiler_static
='-Bstatic'
7635 lt_prog_compiler_wl
='-Wl,'
7636 # All Alpha code is PIC.
7637 lt_prog_compiler_static
='-non_shared'
7640 case `$CC -V 2>&1 | sed 5q` in
7643 lt_prog_compiler_pic
='-KPIC'
7644 lt_prog_compiler_static
='-Bstatic'
7645 lt_prog_compiler_wl
='-Wl,'
7648 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7649 lt_prog_compiler_pic
='-KPIC'
7650 lt_prog_compiler_static
='-Bstatic'
7651 lt_prog_compiler_wl
=''
7658 osf3
* | osf4
* | osf5
*)
7659 lt_prog_compiler_wl
='-Wl,'
7660 # All OSF/1 code is PIC.
7661 lt_prog_compiler_static
='-non_shared'
7665 lt_prog_compiler_static
='-non_shared'
7669 lt_prog_compiler_pic
='-KPIC'
7670 lt_prog_compiler_static
='-Bstatic'
7671 case $cc_basename in
7673 lt_prog_compiler_wl
='-Qoption ld ';;
7675 lt_prog_compiler_wl
='-Wl,';;
7680 lt_prog_compiler_wl
='-Qoption ld '
7681 lt_prog_compiler_pic
='-PIC'
7682 lt_prog_compiler_static
='-Bstatic'
7685 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7686 lt_prog_compiler_wl
='-Wl,'
7687 lt_prog_compiler_pic
='-KPIC'
7688 lt_prog_compiler_static
='-Bstatic'
7692 if test -d /usr
/nec
;then
7693 lt_prog_compiler_pic
='-Kconform_pic'
7694 lt_prog_compiler_static
='-Bstatic'
7698 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7699 lt_prog_compiler_wl
='-Wl,'
7700 lt_prog_compiler_pic
='-KPIC'
7701 lt_prog_compiler_static
='-Bstatic'
7705 lt_prog_compiler_wl
='-Wl,'
7706 lt_prog_compiler_can_build_shared
=no
7710 lt_prog_compiler_pic
='-pic'
7711 lt_prog_compiler_static
='-Bstatic'
7715 lt_prog_compiler_can_build_shared
=no
7720 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7721 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7724 # Check to make sure the PIC flag actually works.
7726 if test -n "$lt_prog_compiler_pic"; then
7728 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7729 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7730 if test "${lt_prog_compiler_pic_works+set}" = set; then
7731 echo $ECHO_N "(cached) $ECHO_C" >&6
7733 lt_prog_compiler_pic_works
=no
7734 ac_outfile
=conftest.
$ac_objext
7735 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7736 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7737 # Insert the option either (1) after the last *FLAGS variable, or
7738 # (2) before a word containing "conftest.", or (3) at the end.
7739 # Note that $ac_compile itself does not contain backslashes and begins
7740 # with a dollar sign (not a hyphen), so the echo should work correctly.
7741 # The option is referenced via a variable to avoid confusing sed.
7742 lt_compile
=`echo "$ac_compile" | $SED \
7743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7745 -e 's:$: $lt_compiler_flag:'`
7746 (eval echo "\"\$as_me:7733: $lt_compile\"" >&5)
7747 (eval "$lt_compile" 2>conftest.err
)
7749 cat conftest.err
>&5
7750 echo "$as_me:7737: \$? = $ac_status" >&5
7751 if (exit $ac_status) && test -s "$ac_outfile"; then
7752 # The compiler can only warn and ignore the option if not recognized
7753 # So say no if there are warnings other than the usual output.
7754 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7755 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7756 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7757 lt_prog_compiler_pic_works
=yes
7763 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7764 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7766 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7767 case $lt_prog_compiler_pic in
7769 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7772 lt_prog_compiler_pic
=
7773 lt_prog_compiler_can_build_shared
=no
7778 # For platforms which do not support PIC, -DPIC is meaningless:
7780 lt_prog_compiler_pic
=
7783 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7788 # Check to make sure the static flag actually works.
7790 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7791 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7792 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7793 if test "${lt_prog_compiler_static_works+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 lt_prog_compiler_static_works
=no
7797 save_LDFLAGS
="$LDFLAGS"
7798 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7799 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7800 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7801 # The linker can only warn and ignore the option if not recognized
7802 # So say no if there are warnings
7803 if test -s conftest.err
; then
7804 # Append any errors to the config.log.
7805 cat conftest.err
1>&5
7806 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7807 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7808 if diff conftest.exp conftest.er2
>/dev
/null
; then
7809 lt_prog_compiler_static_works
=yes
7812 lt_prog_compiler_static_works
=yes
7816 LDFLAGS
="$save_LDFLAGS"
7819 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7820 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7822 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7825 lt_prog_compiler_static
=
7829 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7830 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7831 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 lt_cv_prog_compiler_c_o
=no
7835 $rm -r conftest
2>/dev
/null
7839 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7841 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7842 # Insert the option either (1) after the last *FLAGS variable, or
7843 # (2) before a word containing "conftest.", or (3) at the end.
7844 # Note that $ac_compile itself does not contain backslashes and begins
7845 # with a dollar sign (not a hyphen), so the echo should work correctly.
7846 lt_compile
=`echo "$ac_compile" | $SED \
7847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7849 -e 's:$: $lt_compiler_flag:'`
7850 (eval echo "\"\$as_me:7837: $lt_compile\"" >&5)
7851 (eval "$lt_compile" 2>out
/conftest.err
)
7853 cat out
/conftest.err
>&5
7854 echo "$as_me:7841: \$? = $ac_status" >&5
7855 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7857 # The compiler can only warn and ignore the option if not recognized
7858 # So say no if there are warnings
7859 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7860 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7861 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7862 lt_cv_prog_compiler_c_o
=yes
7867 # SGI C++ compiler will create directory out/ii_files/ for
7868 # template instantiation
7869 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7870 $rm out
/* && rmdir out
7876 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7877 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7880 hard_links
="nottested"
7881 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7882 # do not overwrite the value of need_locks provided by the user
7883 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7884 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7887 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7889 ln conftest.a conftest.b
2>&5 || hard_links
=no
7890 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7891 { echo "$as_me:$LINENO: result: $hard_links" >&5
7892 echo "${ECHO_T}$hard_links" >&6; }
7893 if test "$hard_links" = no
; then
7894 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7895 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7902 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7903 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7906 allow_undefined_flag
=
7907 enable_shared_with_static_runtimes
=no
7909 archive_expsym_cmds
=
7910 old_archive_From_new_cmds
=
7911 old_archive_from_expsyms_cmds
=
7912 export_dynamic_flag_spec
=
7913 whole_archive_flag_spec
=
7914 thread_safe_flag_spec
=
7915 hardcode_libdir_flag_spec
=
7916 hardcode_libdir_flag_spec_ld
=
7917 hardcode_libdir_separator
=
7920 hardcode_shlibpath_var
=unsupported
7921 link_all_deplibs
=unknown
7922 hardcode_automatic
=no
7925 always_export_symbols
=no
7926 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7927 # include_expsyms should be a list of space-separated symbols to be *always*
7928 # included in the symbol list
7930 # exclude_expsyms can be an extended regexp of symbols to exclude
7931 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7932 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7933 # as well as any symbol that contains `d'.
7934 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7935 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7936 # platforms (ab)use it in PIC code, but their linkers get confused if
7937 # the symbol is explicitly referenced. Since portable code cannot
7938 # rely on this symbol name, it's probably fine to never include it in
7939 # preloaded symbol tables.
7940 extract_expsyms_cmds
=
7941 # Just being paranoid about ensuring that cc_basename is set.
7942 for cc_temp
in $compiler""; do
7944 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7945 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7950 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7953 cygwin
* | mingw
* | pw32
*)
7954 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7955 # When not using gcc, we currently assume that we are using
7956 # Microsoft Visual C++.
7957 if test "$GCC" != yes; then
7962 # we just hope/assume this is gcc and not c89 (= MSVC++)
7971 if test "$with_gnu_ld" = yes; then
7972 # If archive_cmds runs LD, not CC, wlarc should be empty
7975 # Set some defaults for GNU ld with shared library support. These
7976 # are reset later if shared libraries are not supported. Putting them
7977 # here allows them to be overridden if necessary.
7978 runpath_var
=LD_RUN_PATH
7979 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7980 export_dynamic_flag_spec
='${wl}--export-dynamic'
7981 # ancient GNU ld didn't support --whole-archive et. al.
7982 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7983 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7985 whole_archive_flag_spec
=
7987 supports_anon_versioning
=no
7988 case `$LD -v 2>/dev/null` in
7989 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7990 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7991 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7992 *\
2.11.
*) ;; # other 2.11 versions
7993 *) supports_anon_versioning
=yes ;;
7996 # See if GNU ld supports shared libraries.
7998 aix3
* | aix4
* | aix5
*)
7999 # On AIX/PPC, the GNU linker is very broken
8000 if test "$host_cpu" != ia64
; then
8004 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8005 *** to be unable to reliably create shared libraries on AIX.
8006 *** Therefore, libtool is disabling shared libraries support. If you
8007 *** really care for shared libraries, you may want to modify your PATH
8008 *** so that a non-GNU linker is found, and then restart.
8015 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)'
8016 hardcode_libdir_flag_spec
='-L$libdir'
8017 hardcode_minus_L
=yes
8019 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8020 # that the semantics of dynamic libraries on AmigaOS, at least up
8021 # to version 4, is to share data among multiple programs linked
8022 # with the same dynamic library. Since this doesn't match the
8023 # behavior of shared libraries on other platforms, we can't use
8029 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8030 allow_undefined_flag
=unsupported
8031 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8032 # support --undefined. This deserves some investigation. FIXME
8033 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8039 cygwin
* | mingw
* | pw32
*)
8040 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8041 # as there is no search path for DLLs.
8042 hardcode_libdir_flag_spec
='-L$libdir'
8043 allow_undefined_flag
=unsupported
8044 always_export_symbols
=no
8045 enable_shared_with_static_runtimes
=yes
8046 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8048 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8049 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8050 # If the export-symbols file already is a .def file (1st line
8051 # is EXPORTS), use it as is; otherwise, prepend...
8052 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8053 cp $export_symbols $output_objdir/$soname.def;
8055 echo EXPORTS > $output_objdir/$soname.def;
8056 cat $export_symbols >> $output_objdir/$soname.def;
8058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8066 hardcode_shlibpath_var
=no
8067 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8068 export_dynamic_flag_spec
='${wl}-E'
8069 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8070 # Instead, shared libraries are loaded at an image base (0x10000000 by
8071 # default) and relocated if they conflict, which is a slow very memory
8072 # consuming and fragmenting process. To avoid this, we pick a random,
8073 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8074 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8075 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8076 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'
8079 gnu
* | linux
* | k
*bsd
*-gnu)
8080 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8082 case $cc_basename,$host_cpu in
8083 pgcc
*) # Portland Group C compiler
8084 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'
8085 tmp_addflag
=' $pic_flag'
8087 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8088 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'
8089 tmp_addflag
=' $pic_flag -Mnomain' ;;
8090 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8091 tmp_addflag
=' -i_dynamic' ;;
8092 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8093 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8094 ifc
* | ifort
*) # Intel Fortran compiler
8095 tmp_addflag
=' -nofor_main' ;;
8097 case `$CC -V 2>&1 | sed 5q` in
8098 *Sun\ C
*) # Sun C 5.9
8099 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8100 tmp_sharedflag
='-G' ;;
8101 *Sun\ F
*) # Sun Fortran 8.3
8102 tmp_sharedflag
='-G' ;;
8104 tmp_sharedflag
='-shared' ;;
8106 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8108 if test $supports_anon_versioning = yes; then
8109 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8110 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8111 $echo "local: *; };" >> $output_objdir/$libname.ver~
8112 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8120 netbsd
* | netbsdelf
*-gnu)
8121 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8122 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8125 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8126 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8131 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8135 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8136 *** create shared libraries on Solaris systems. Therefore, libtool
8137 *** is disabling shared libraries support. We urge you to upgrade GNU
8138 *** binutils to release 2.9.1 or newer. Another option is to modify
8139 *** your PATH or compiler configuration so that the native linker is
8140 *** used, and then restart.
8143 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8144 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8145 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8151 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8152 case `$LD -v 2>&1` in
8153 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8157 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8158 *** reliably create shared libraries on SCO systems. Therefore, libtool
8159 *** is disabling shared libraries support. We urge you to upgrade GNU
8160 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8161 *** your PATH or compiler configuration so that the native linker is
8162 *** used, and then restart.
8167 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8168 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8169 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8170 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8179 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8182 hardcode_shlibpath_var
=no
8186 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8187 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8188 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8195 if test "$ld_shlibs" = no
; then
8197 hardcode_libdir_flag_spec
=
8198 export_dynamic_flag_spec
=
8199 whole_archive_flag_spec
=
8202 # PORTME fill in a description of your system's linker (not GNU ld)
8205 allow_undefined_flag
=unsupported
8206 always_export_symbols
=yes
8207 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'
8208 # Note: this linker hardcodes the directories in LIBPATH if there
8209 # are no directories specified by -L.
8210 hardcode_minus_L
=yes
8211 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8212 # Neither direct hardcoding nor static linking is supported with a
8214 hardcode_direct
=unsupported
8219 if test "$host_cpu" = ia64
; then
8220 # On IA64, the linker does run time linking by default, so we don't
8221 # have to do anything special.
8222 aix_use_runtimelinking
=no
8223 exp_sym_flag
='-Bexport'
8226 # If we're using GNU nm, then we don't want the "-C" option.
8227 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8228 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8229 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'
8231 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'
8233 aix_use_runtimelinking
=no
8235 # Test if we are trying to use run time linking or normal
8236 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8237 # need to do runtime linking.
8238 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8239 for ld_flag
in $LDFLAGS; do
8240 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8241 aix_use_runtimelinking
=yes
8248 exp_sym_flag
='-bexport'
8249 no_entry_flag
='-bnoentry'
8252 # When large executables or shared objects are built, AIX ld can
8253 # have problems creating the table of contents. If linking a library
8254 # or program results in "error TOC overflow" add -mminimal-toc to
8255 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8256 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8260 hardcode_libdir_separator
=':'
8261 link_all_deplibs
=yes
8263 if test "$GCC" = yes; then
8264 case $host_os in aix4.
[012]|aix4.
[012].
*)
8265 # We only want to do this on AIX 4.2 and lower, the check
8266 # below for broken collect2 doesn't work under 4.3+
8267 collect2name
=`${CC} -print-prog-name=collect2`
8268 if test -f "$collect2name" && \
8269 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8271 # We have reworked collect2
8274 # We have old collect2
8275 hardcode_direct
=unsupported
8276 # It fails to find uninstalled libraries when the uninstalled
8277 # path is not listed in the libpath. Setting hardcode_minus_L
8278 # to unsupported forces relinking
8279 hardcode_minus_L
=yes
8280 hardcode_libdir_flag_spec
='-L$libdir'
8281 hardcode_libdir_separator
=
8285 shared_flag
='-shared'
8286 if test "$aix_use_runtimelinking" = yes; then
8287 shared_flag
="$shared_flag "'${wl}-G'
8291 if test "$host_cpu" = ia64
; then
8292 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8293 # chokes on -Wl,-G. The following line is correct:
8296 if test "$aix_use_runtimelinking" = yes; then
8297 shared_flag
='${wl}-G'
8299 shared_flag
='${wl}-bM:SRE'
8304 # It seems that -bexpall does not export symbols beginning with
8305 # underscore (_), so it is better to generate a list of symbols to export.
8306 always_export_symbols
=yes
8307 if test "$aix_use_runtimelinking" = yes; then
8308 # Warning - without using the other runtime loading flags (-brtl),
8309 # -berok will link without error, but may produce a broken library.
8310 allow_undefined_flag
='-berok'
8311 # Determine the default libpath from the value encoded in an empty executable.
8312 cat >conftest.
$ac_ext <<_ACEOF
8315 cat confdefs.h
>>conftest.
$ac_ext
8316 cat >>conftest.
$ac_ext <<_ACEOF
8317 /* end confdefs.h. */
8327 rm -f conftest.
$ac_objext conftest
$ac_exeext
8328 if { (ac_try
="$ac_link"
8330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8331 *) ac_try_echo=$ac_try;;
8333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8334 (eval "$ac_link") 2>conftest.er1
8336 grep -v '^ *+' conftest.er1 >conftest.err
8338 cat conftest.err >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } && {
8341 test -z "$ac_c_werror_flag" ||
8342 test ! -s conftest.err
8343 } && test -s conftest$ac_exeext &&
8344 $as_test_x conftest$ac_exeext; then
8346 lt_aix_libpath_sed='
8347 /Import File Strings/,/^$/ {
8353 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8354 # Check for a 64-bit object if we didn't find anything.
8355 if test -z "$aix_libpath"; then
8356 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8359 echo "$as_me: failed program was:" >&5
8360 sed 's/^/| /' conftest.$ac_ext >&5
8365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8366 conftest$ac_exeext conftest.$ac_ext
8367 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8369 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8370 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"
8372 if test "$host_cpu" = ia64; then
8373 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8374 allow_undefined_flag="-z nodefs"
8375 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"
8377 # Determine the default libpath from the value encoded in an empty executable.
8378 cat >conftest.$ac_ext <<_ACEOF
8381 cat confdefs.h >>conftest.$ac_ext
8382 cat >>conftest.$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8393 rm -f conftest.$ac_objext conftest$ac_exeext
8394 if { (ac_try="$ac_link"
8396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8397 *) ac_try_echo
=$ac_try;;
8399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8400 (eval "$ac_link") 2>conftest.er1
8402 grep -v '^ *+' conftest.er1
>conftest.err
8404 cat conftest.err
>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } && {
8407 test -z "$ac_c_werror_flag" ||
8408 test ! -s conftest.err
8409 } && test -s conftest
$ac_exeext &&
8410 $as_test_x conftest
$ac_exeext; then
8412 lt_aix_libpath_sed
='
8413 /Import File Strings/,/^$/ {
8419 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8420 # Check for a 64-bit object if we didn't find anything.
8421 if test -z "$aix_libpath"; then
8422 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8425 echo "$as_me: failed program was:" >&5
8426 sed 's/^/| /' conftest.
$ac_ext >&5
8431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8432 conftest
$ac_exeext conftest.
$ac_ext
8433 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8435 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8436 # Warning - without using the other run time loading flags,
8437 # -berok will link without error, but may produce a broken library.
8438 no_undefined_flag
=' ${wl}-bernotok'
8439 allow_undefined_flag
=' ${wl}-berok'
8440 # Exported symbols can be pulled into shared objects from archives
8441 whole_archive_flag_spec
='$convenience'
8442 archive_cmds_need_lc
=yes
8443 # This is similar to how AIX traditionally builds its shared libraries.
8444 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'
8450 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)'
8451 hardcode_libdir_flag_spec
='-L$libdir'
8452 hardcode_minus_L
=yes
8453 # see comment about different semantics on the GNU ld section
8458 export_dynamic_flag_spec
=-rdynamic
8461 cygwin
* | mingw
* | pw32
*)
8462 # When not using gcc, we currently assume that we are using
8463 # Microsoft Visual C++.
8464 # hardcode_libdir_flag_spec is actually meaningless, as there is
8465 # no search path for DLLs.
8466 hardcode_libdir_flag_spec
=' '
8467 allow_undefined_flag
=unsupported
8468 # Tell ltmain to make .lib files, not .a files.
8470 # Tell ltmain to make .dll files, not .so files.
8472 # FIXME: Setting linknames here is a bad hack.
8473 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8474 # The linker will automatically build a .lib file if we build a DLL.
8475 old_archive_From_new_cmds
='true'
8476 # FIXME: Should let the user specify the lib program.
8477 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8478 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8479 enable_shared_with_static_runtimes
=yes
8482 darwin
* | rhapsody
*)
8484 rhapsody
* | darwin1.
[012])
8485 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8488 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8489 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8491 case ${MACOSX_DEPLOYMENT_TARGET} in
8493 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8496 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8502 archive_cmds_need_lc
=no
8504 hardcode_automatic
=yes
8505 hardcode_shlibpath_var
=unsupported
8506 whole_archive_flag_spec
=''
8507 link_all_deplibs
=yes
8508 if test "$GCC" = yes ; then
8509 output_verbose_link_cmd
='echo'
8510 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8511 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8512 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8513 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}'
8514 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}'
8516 case $cc_basename in
8518 output_verbose_link_cmd
='echo'
8519 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8520 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8521 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8522 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8523 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}'
8533 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8534 hardcode_libdir_flag_spec
='-L$libdir'
8535 hardcode_shlibpath_var
=no
8542 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8543 # support. Future versions do this automatically, but an explicit c++rt0.o
8544 # does not break anything, and helps significantly (at the cost of a little
8547 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8548 hardcode_libdir_flag_spec
='-R$libdir'
8550 hardcode_shlibpath_var
=no
8553 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8557 hardcode_minus_L
=yes
8558 hardcode_shlibpath_var
=no
8561 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8562 freebsd
* | dragonfly
*)
8563 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8564 hardcode_libdir_flag_spec
='-R$libdir'
8566 hardcode_shlibpath_var
=no
8570 if test "$GCC" = yes; then
8571 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'
8573 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'
8575 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8576 hardcode_libdir_separator
=:
8579 # hardcode_minus_L: Not really in the search PATH,
8580 # but as the default location of the library.
8581 hardcode_minus_L
=yes
8582 export_dynamic_flag_spec
='${wl}-E'
8586 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8587 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8589 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8591 if test "$with_gnu_ld" = no
; then
8592 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8593 hardcode_libdir_separator
=:
8596 export_dynamic_flag_spec
='${wl}-E'
8598 # hardcode_minus_L: Not really in the search PATH,
8599 # but as the default location of the library.
8600 hardcode_minus_L
=yes
8605 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8608 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8611 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8614 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8620 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8623 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8626 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8630 if test "$with_gnu_ld" = no
; then
8631 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8632 hardcode_libdir_separator
=:
8636 hardcode_libdir_flag_spec_ld
='+b $libdir'
8638 hardcode_shlibpath_var
=no
8642 export_dynamic_flag_spec
='${wl}-E'
8644 # hardcode_minus_L: Not really in the search PATH,
8645 # but as the default location of the library.
8646 hardcode_minus_L
=yes
8652 irix5
* | irix6
* | nonstopux
*)
8653 if test "$GCC" = yes; then
8654 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'
8656 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'
8657 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8659 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8660 hardcode_libdir_separator
=:
8661 link_all_deplibs
=yes
8664 netbsd
* | netbsdelf
*-gnu)
8665 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8666 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8668 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8670 hardcode_libdir_flag_spec
='-R$libdir'
8672 hardcode_shlibpath_var
=no
8676 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8678 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8679 hardcode_libdir_separator
=:
8680 hardcode_shlibpath_var
=no
8684 if test -f /usr
/libexec
/ld.so
; then
8686 hardcode_shlibpath_var
=no
8687 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8688 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8689 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8690 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8691 export_dynamic_flag_spec
='${wl}-E'
8694 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8695 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8696 hardcode_libdir_flag_spec
='-R$libdir'
8699 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8700 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8710 hardcode_libdir_flag_spec
='-L$libdir'
8711 hardcode_minus_L
=yes
8712 allow_undefined_flag
=unsupported
8713 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'
8714 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8718 if test "$GCC" = yes; then
8719 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8720 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'
8722 allow_undefined_flag
=' -expect_unresolved \*'
8723 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'
8725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8726 hardcode_libdir_separator
=:
8729 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8730 if test "$GCC" = yes; then
8731 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8732 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'
8733 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8735 allow_undefined_flag
=' -expect_unresolved \*'
8736 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'
8737 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8738 $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'
8740 # Both c and cxx compiler support -rpath directly
8741 hardcode_libdir_flag_spec
='-rpath $libdir'
8743 hardcode_libdir_separator
=:
8747 no_undefined_flag
=' -z text'
8748 if test "$GCC" = yes; then
8750 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8751 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8752 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8755 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8756 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8757 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8759 hardcode_libdir_flag_spec
='-R$libdir'
8760 hardcode_shlibpath_var
=no
8762 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8764 # The compiler driver will combine and reorder linker options,
8765 # but understands `-z linker_flag'. GCC discards it without `$wl',
8766 # but is careful enough not to reorder.
8767 # Supported since Solaris 2.6 (maybe 2.5.1?)
8768 if test "$GCC" = yes; then
8769 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8771 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8775 link_all_deplibs
=yes
8779 if test "x$host_vendor" = xsequent
; then
8780 # Use $CC to link under sequent, because it throws in some extra .o
8781 # files that make .init and .fini sections work.
8782 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8786 hardcode_libdir_flag_spec
='-L$libdir'
8788 hardcode_minus_L
=yes
8789 hardcode_shlibpath_var
=no
8793 case $host_vendor in
8795 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8796 hardcode_direct
=yes # is this really true???
8799 ## LD is ld it makes a PLAMLIB
8800 ## CC just makes a GrossModule.
8801 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8802 reload_cmds
='$CC -r -o $output$reload_objs'
8806 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8807 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8810 runpath_var
='LD_RUN_PATH'
8811 hardcode_shlibpath_var
=no
8815 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8816 hardcode_shlibpath_var
=no
8817 export_dynamic_flag_spec
='-Bexport'
8821 if test -d /usr
/nec
; then
8822 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8823 hardcode_shlibpath_var
=no
8824 runpath_var
=LD_RUN_PATH
8825 hardcode_runpath_var
=yes
8830 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8831 no_undefined_flag
='${wl}-z,text'
8832 archive_cmds_need_lc
=no
8833 hardcode_shlibpath_var
=no
8834 runpath_var
='LD_RUN_PATH'
8836 if test "$GCC" = yes; then
8837 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8838 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8840 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8841 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8845 sysv5
* | sco3.2v5
* | sco5v6
*)
8846 # Note: We can NOT use -z defs as we might desire, because we do not
8847 # link with -lc, and that would cause any symbols used from libc to
8848 # always be unresolved, which means just about no library would
8849 # ever link correctly. If we're not using GNU ld we use -z text
8850 # though, which does catch some bad symbols but isn't as heavy-handed
8852 no_undefined_flag
='${wl}-z,text'
8853 allow_undefined_flag
='${wl}-z,nodefs'
8854 archive_cmds_need_lc
=no
8855 hardcode_shlibpath_var
=no
8856 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8857 hardcode_libdir_separator
=':'
8858 link_all_deplibs
=yes
8859 export_dynamic_flag_spec
='${wl}-Bexport'
8860 runpath_var
='LD_RUN_PATH'
8862 if test "$GCC" = yes; then
8863 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8866 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8867 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8872 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8873 hardcode_libdir_flag_spec
='-L$libdir'
8874 hardcode_shlibpath_var
=no
8883 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8884 echo "${ECHO_T}$ld_shlibs" >&6; }
8885 test "$ld_shlibs" = no
&& can_build_shared
=no
8888 # Do we need to explicitly link libc?
8890 case "x$archive_cmds_need_lc" in
8892 # Assume -lc should be added
8893 archive_cmds_need_lc
=yes
8895 if test "$enable_shared" = yes && test "$GCC" = yes; then
8896 case $archive_cmds in
8898 # FIXME: we may have to deal with multi-command sequences.
8901 # Test whether the compiler implicitly links with -lc since on some
8902 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8903 # to ld, don't add -lc before -lgcc.
8904 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8907 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } 2>conftest.err
; then
8916 libobjs
=conftest.
$ac_objext
8918 wl
=$lt_prog_compiler_wl
8919 pic_flag
=$lt_prog_compiler_pic
8925 lt_save_allow_undefined_flag
=$allow_undefined_flag
8926 allow_undefined_flag
=
8927 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8928 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }
8933 archive_cmds_need_lc
=no
8935 archive_cmds_need_lc
=yes
8937 allow_undefined_flag
=$lt_save_allow_undefined_flag
8939 cat conftest.err
1>&5
8942 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8943 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8950 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8951 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8953 libname_spec
='lib$name'
8961 shlibpath_overrides_runpath
=unknown
8963 dynamic_linker
="$host_os ld.so"
8964 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8966 if test "$GCC" = yes; then
8968 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8969 *) lt_awk_arg
="/^libraries:/" ;;
8971 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8972 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8973 # if the path contains ";" then we assume it to be the separator
8974 # otherwise default to the standard path separator (i.e. ":") - it is
8975 # assumed that no part of a normal pathname contains ";" but that should
8976 # okay in the real world where ";" in dirpaths is itself problematic.
8977 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8979 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8981 # Ok, now we have the path, separated by spaces, we can step through it
8982 # and add multilib dir if necessary.
8983 lt_tmp_lt_search_path_spec
=
8984 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8985 for lt_sys_path
in $lt_search_path_spec; do
8986 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8987 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8989 test -d "$lt_sys_path" && \
8990 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8993 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8994 BEGIN {RS=" "; FS="/|\n";} {
8997 for (lt_i = NF; lt_i > 0; lt_i--) {
8998 if ($lt_i != "" && $lt_i != ".") {
8999 if ($lt_i == "..") {
9002 if (lt_count == 0) {
9003 lt_foo="/" $lt_i lt_foo;
9010 if (lt_foo != "") { lt_freq[lt_foo]++; }
9011 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9013 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9015 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9017 need_lib_prefix
=unknown
9018 hardcode_into_libs
=no
9020 # when you set need_version to no, make sure it does not cause -set_version
9021 # flags to be left without arguments
9022 need_version
=unknown
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9028 shlibpath_var
=LIBPATH
9030 # AIX 3 has no versioning support, so we append a major version to the name.
9031 soname_spec
='${libname}${release}${shared_ext}$major'
9038 hardcode_into_libs
=yes
9039 if test "$host_cpu" = ia64
; then
9040 # AIX 5 supports IA64
9041 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9042 shlibpath_var
=LD_LIBRARY_PATH
9044 # With GCC up to 2.95.x, collect2 would create an import file
9045 # for dependence libraries. The import file would start with
9046 # the line `#! .'. This would cause the generated library to
9047 # depend on `.', always an invalid library. This was fixed in
9048 # development snapshots of GCC prior to 3.0.
9050 aix4 | aix4.
[01] | aix4.
[01].
*)
9051 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9053 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9060 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9061 # soname into executable. Probably we can add versioning support to
9062 # collect2, so additional links can be useful in future.
9063 if test "$aix_use_runtimelinking" = yes; then
9064 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9065 # instead of lib<name>.a to let people know that these are not
9066 # typical AIX shared libraries.
9067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9069 # We preserve .a as extension for shared libraries through AIX4.2
9070 # and later when we are not doing run time linking.
9071 library_names_spec
='${libname}${release}.a $libname.a'
9072 soname_spec
='${libname}${release}${shared_ext}$major'
9074 shlibpath_var
=LIBPATH
9079 library_names_spec
='$libname.ixlibrary $libname.a'
9080 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9081 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'
9085 library_names_spec
='${libname}${shared_ext}'
9086 dynamic_linker
="$host_os ld.so"
9087 shlibpath_var
=LIBRARY_PATH
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9096 shlibpath_var
=LD_LIBRARY_PATH
9097 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9098 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9099 # the default ld.so.conf also contains /usr/contrib/lib and
9100 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9101 # libtool to hard-code these into programs
9104 cygwin
* | mingw
* | pw32
*)
9105 version_type
=windows
9110 case $GCC,$host_os in
9111 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9112 library_names_spec
='$libname.dll.a'
9113 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9114 postinstall_cmds
='base_file=`basename \${file}`~
9115 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9116 dldir=$destdir/`dirname \$dlpath`~
9117 test -d \$dldir || mkdir -p \$dldir~
9118 $install_prog $dir/$dlname \$dldir/$dlname~
9119 chmod a+x \$dldir/$dlname'
9120 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9121 dlpath=$dir/\$dldll~
9123 shlibpath_overrides_runpath
=yes
9127 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9128 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9129 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9132 # MinGW DLLs use traditional 'lib' prefix
9133 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9134 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9135 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9136 # It is most probably a Windows format PATH printed by
9137 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9138 # path with ; separators, and with drive letters. We can handle the
9139 # drive letters (cygwin fileutils understands them), so leave them,
9140 # especially as we might pass files found there to a mingw objdump,
9141 # which wouldn't understand a cygwinified path. Ahh.
9142 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9144 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9148 # pw32 DLLs use 'pw' prefix rather than 'lib'
9149 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9155 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9158 dynamic_linker
='Win32 ld.exe'
9159 # FIXME: first we should search . and the directory the executable is in
9163 darwin
* | rhapsody
*)
9164 dynamic_linker
="$host_os dyld"
9168 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9169 soname_spec
='${libname}${release}${major}$shared_ext'
9170 shlibpath_overrides_runpath
=yes
9171 shlibpath_var
=DYLD_LIBRARY_PATH
9172 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9174 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9175 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 shlibpath_var
=LD_LIBRARY_PATH
9191 freebsd
* | dragonfly
*)
9192 # DragonFly does not have aout. When/if they implement a new
9193 # versioning mechanism, adjust this.
9194 if test -x /usr
/bin
/objformat
; then
9195 objformat
=`/usr/bin/objformat`
9198 freebsd
[123]*) objformat
=aout
;;
9202 version_type
=freebsd-
$objformat
9203 case $version_type in
9205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9210 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9214 shlibpath_var
=LD_LIBRARY_PATH
9217 shlibpath_overrides_runpath
=yes
9219 freebsd3.
[01]* | freebsdelf3.
[01]*)
9220 shlibpath_overrides_runpath
=yes
9221 hardcode_into_libs
=yes
9223 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9224 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9225 shlibpath_overrides_runpath
=no
9226 hardcode_into_libs
=yes
9228 *) # from 4.6 on, and DragonFly
9229 shlibpath_overrides_runpath
=yes
9230 hardcode_into_libs
=yes
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9240 soname_spec
='${libname}${release}${shared_ext}$major'
9241 shlibpath_var
=LD_LIBRARY_PATH
9242 hardcode_into_libs
=yes
9245 hpux9
* | hpux10
* | hpux11
*)
9246 # Give a soname corresponding to the major version so that dld.sl refuses to
9247 # link against other versions.
9254 hardcode_into_libs
=yes
9255 dynamic_linker
="$host_os dld.so"
9256 shlibpath_var
=LD_LIBRARY_PATH
9257 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9259 soname_spec
='${libname}${release}${shared_ext}$major'
9260 if test "X$HPUX_IA64_MODE" = X32
; then
9261 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9263 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9265 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9269 hardcode_into_libs
=yes
9270 dynamic_linker
="$host_os dld.sl"
9271 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9272 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9274 soname_spec
='${libname}${release}${shared_ext}$major'
9275 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9276 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9280 dynamic_linker
="$host_os dld.sl"
9281 shlibpath_var
=SHLIB_PATH
9282 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9284 soname_spec
='${libname}${release}${shared_ext}$major'
9287 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9288 postinstall_cmds
='chmod 555 $lib'
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9296 soname_spec
='${libname}${release}${shared_ext}$major'
9297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9298 shlibpath_var
=LD_LIBRARY_PATH
9299 shlibpath_overrides_runpath
=no
9300 hardcode_into_libs
=yes
9303 irix5
* | irix6
* | nonstopux
*)
9305 nonstopux
*) version_type
=nonstopux
;;
9307 if test "$lt_cv_prog_gnu_ld" = yes; then
9315 soname_spec
='${libname}${release}${shared_ext}$major'
9316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9318 irix5
* | nonstopux
*)
9322 case $LD in # libtool.m4 will add one of these switches to LD
9323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9324 libsuff
= shlibsuff
= libmagic
=32-bit;;
9325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9334 shlibpath_overrides_runpath
=no
9335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9337 hardcode_into_libs
=yes
9340 # No shared lib support for Linux oldld, aout, or coff.
9341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9345 # This must be Linux ELF.
9346 linux
* | k
*bsd
*-gnu)
9350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9351 soname_spec
='${libname}${release}${shared_ext}$major'
9352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9353 shlibpath_var
=LD_LIBRARY_PATH
9354 shlibpath_overrides_runpath
=no
9355 # This implies no fast_install, which is unacceptable.
9356 # Some rework will be needed to allow for fast_install
9357 # before this can be enabled.
9358 hardcode_into_libs
=yes
9360 # Append ld.so.conf contents to the search path
9361 if test -f /etc
/ld.so.conf
; then
9362 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9363 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9366 # We used to test for /lib/ld.so.1 and disable shared libraries on
9367 # powerpc, because MkLinux only supported shared libraries with the
9368 # GNU dynamic linker. Since this was broken with cross compilers,
9369 # most powerpc-linux boxes support dynamic linking these days and
9370 # people can always --disable-shared, the test was removed, and we
9371 # assume the GNU/Linux dynamic linker is in use.
9372 dynamic_linker
='GNU/Linux ld.so'
9379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9380 soname_spec
='${libname}${release}${shared_ext}$major'
9381 shlibpath_var
=LD_LIBRARY_PATH
9382 shlibpath_overrides_runpath
=no
9383 hardcode_into_libs
=yes
9384 dynamic_linker
='NetBSD ld.elf_so'
9391 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9394 dynamic_linker
='NetBSD (a.out) ld.so'
9396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9397 soname_spec
='${libname}${release}${shared_ext}$major'
9398 dynamic_linker
='NetBSD ld.elf_so'
9400 shlibpath_var
=LD_LIBRARY_PATH
9401 shlibpath_overrides_runpath
=yes
9402 hardcode_into_libs
=yes
9407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9408 shlibpath_var
=LD_LIBRARY_PATH
9409 shlibpath_overrides_runpath
=yes
9416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9417 soname_spec
='${libname}${release}${shared_ext}$major'
9418 shlibpath_var
=LD_LIBRARY_PATH
9419 shlibpath_overrides_runpath
=yes
9424 sys_lib_dlsearch_path_spec
="/usr/lib"
9426 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9428 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9429 *) need_version
=no
;;
9431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9432 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9433 shlibpath_var
=LD_LIBRARY_PATH
9434 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9436 openbsd2.
[89] | openbsd2.
[89].
*)
9437 shlibpath_overrides_runpath
=no
9440 shlibpath_overrides_runpath
=yes
9444 shlibpath_overrides_runpath
=yes
9449 libname_spec
='$name'
9452 library_names_spec
='$libname${shared_ext} $libname.a'
9453 dynamic_linker
='OS/2 ld.exe'
9454 shlibpath_var
=LIBPATH
9457 osf3
* | osf4
* | osf5
*)
9461 soname_spec
='${libname}${release}${shared_ext}$major'
9462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9463 shlibpath_var
=LD_LIBRARY_PATH
9464 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9465 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9477 soname_spec
='${libname}${release}${shared_ext}$major'
9478 shlibpath_var
=LD_LIBRARY_PATH
9479 shlibpath_overrides_runpath
=yes
9480 hardcode_into_libs
=yes
9481 # ldd complains unless libraries are executable
9482 postinstall_cmds
='chmod +x $lib'
9487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9488 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9489 shlibpath_var
=LD_LIBRARY_PATH
9490 shlibpath_overrides_runpath
=yes
9491 if test "$with_gnu_ld" = yes; then
9499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9500 soname_spec
='${libname}${release}${shared_ext}$major'
9501 shlibpath_var
=LD_LIBRARY_PATH
9502 case $host_vendor in
9504 shlibpath_overrides_runpath
=no
9506 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9507 runpath_var
=LD_RUN_PATH
9515 shlibpath_overrides_runpath
=no
9516 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9522 if test -d /usr
/nec
;then
9524 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9525 soname_spec
='$libname${shared_ext}.$major'
9526 shlibpath_var
=LD_LIBRARY_PATH
9530 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9531 version_type
=freebsd-elf
9534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9535 soname_spec
='${libname}${release}${shared_ext}$major'
9536 shlibpath_var
=LD_LIBRARY_PATH
9537 hardcode_into_libs
=yes
9538 if test "$with_gnu_ld" = yes; then
9539 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9540 shlibpath_overrides_runpath
=no
9542 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9543 shlibpath_overrides_runpath
=yes
9546 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9550 sys_lib_dlsearch_path_spec
='/usr/lib'
9555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec
='${libname}${release}${shared_ext}$major'
9557 shlibpath_var
=LD_LIBRARY_PATH
9564 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9565 echo "${ECHO_T}$dynamic_linker" >&6; }
9566 test "$dynamic_linker" = no
&& can_build_shared
=no
9568 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9569 if test "$GCC" = yes; then
9570 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9573 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9574 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9576 if test -n "$hardcode_libdir_flag_spec" || \
9577 test -n "$runpath_var" || \
9578 test "X$hardcode_automatic" = "Xyes" ; then
9580 # We can hardcode non-existant directories.
9581 if test "$hardcode_direct" != no
&&
9582 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9583 # have to relink, otherwise we might link with an installed library
9584 # when we should be linking with a yet-to-be-installed one
9585 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9586 test "$hardcode_minus_L" != no
; then
9587 # Linking always hardcodes the temporary library directory.
9588 hardcode_action
=relink
9590 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9591 hardcode_action
=immediate
9594 # We cannot hardcode anything, or else we can only hardcode existing
9596 hardcode_action
=unsupported
9598 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9599 echo "${ECHO_T}$hardcode_action" >&6; }
9601 if test "$hardcode_action" = relink
; then
9602 # Fast installation is not supported
9603 enable_fast_install
=no
9604 elif test "$shlibpath_overrides_runpath" = yes ||
9605 test "$enable_shared" = no
; then
9606 # Fast installation is not necessary
9607 enable_fast_install
=needless
9612 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9613 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9614 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9615 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9616 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9617 { echo "$as_me:$LINENO: result: yes" >&5
9618 echo "${ECHO_T}yes" >&6; }
9620 # FIXME - insert some real tests, host_os isn't really good enough
9623 if test -n "$STRIP" ; then
9624 striplib
="$STRIP -x"
9625 old_striplib
="$STRIP -S"
9626 { echo "$as_me:$LINENO: result: yes" >&5
9627 echo "${ECHO_T}yes" >&6; }
9629 { echo "$as_me:$LINENO: result: no" >&5
9630 echo "${ECHO_T}no" >&6; }
9634 { echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6; }
9640 if test "x$enable_dlopen" != xyes
; then
9641 enable_dlopen
=unknown
9642 enable_dlopen_self
=unknown
9643 enable_dlopen_self_static
=unknown
9650 lt_cv_dlopen
="load_add_on"
9652 lt_cv_dlopen_self
=yes
9656 lt_cv_dlopen
="LoadLibrary"
9661 lt_cv_dlopen
="dlopen"
9666 # if libdl is installed we need to link against it
9667 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9668 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9669 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 ac_check_lib_save_LIBS
=$LIBS
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9696 rm -f conftest.
$ac_objext conftest
$ac_exeext
9697 if { (ac_try
="$ac_link"
9699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9700 *) ac_try_echo=$ac_try;;
9702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703 (eval "$ac_link") 2>conftest.er1
9705 grep -v '^ *+' conftest.er1 >conftest.err
9707 cat conftest.err >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } && {
9710 test -z "$ac_c_werror_flag" ||
9711 test ! -s conftest.err
9712 } && test -s conftest$ac_exeext &&
9713 $as_test_x conftest$ac_exeext; then
9714 ac_cv_lib_dl_dlopen=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_lib_dl_dlopen=no
9722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9727 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9728 if test $ac_cv_lib_dl_dlopen = yes; then
9729 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9734 lt_cv_dlopen_self=yes
9741 { echo "$as_me:$LINENO: checking for shl_load" >&5
9742 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9743 if test "${ac_cv_func_shl_load+set}" = set; then
9744 echo $ECHO_N "(cached) $ECHO_C" >&6
9746 cat >conftest.$ac_ext <<_ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9752 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9754 #define shl_load innocuous_shl_load
9756 /* System header to define __stub macros and hopefully few prototypes,
9757 which can conflict with char shl_load (); below.
9758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759 <limits.h> exists even on freestanding compilers. */
9762 # include <limits.h>
9764 # include <assert.h>
9769 /* Override any GCC internal prototype to avoid an error.
9770 Use char because int might match the return type of a GCC
9771 builtin and then its argument prototype would still apply. */
9776 /* The GNU C library defines this for functions which it implements
9777 to always fail with ENOSYS. Some functions are actually named
9778 something starting with __ and the normal name is an alias. */
9779 #if defined __stub_shl_load || defined __stub___shl_load
9791 rm -f conftest.$ac_objext conftest$ac_exeext
9792 if { (ac_try="$ac_link"
9794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9795 *) ac_try_echo
=$ac_try;;
9797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798 (eval "$ac_link") 2>conftest.er1
9800 grep -v '^ *+' conftest.er1
>conftest.err
9802 cat conftest.err
>&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } && {
9805 test -z "$ac_c_werror_flag" ||
9806 test ! -s conftest.err
9807 } && test -s conftest
$ac_exeext &&
9808 $as_test_x conftest
$ac_exeext; then
9809 ac_cv_func_shl_load
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_cv_func_shl_load
=no
9817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9818 conftest
$ac_exeext conftest.
$ac_ext
9820 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9821 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9822 if test $ac_cv_func_shl_load = yes; then
9823 lt_cv_dlopen
="shl_load"
9825 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9826 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9827 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 ac_check_lib_save_LIBS
=$LIBS
9832 cat >conftest.
$ac_ext <<_ACEOF
9835 cat confdefs.h
>>conftest.
$ac_ext
9836 cat >>conftest.
$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9854 rm -f conftest.
$ac_objext conftest
$ac_exeext
9855 if { (ac_try
="$ac_link"
9857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9858 *) ac_try_echo=$ac_try;;
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_link") 2>conftest.er1
9863 grep -v '^ *+' conftest.er1 >conftest.err
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest$ac_exeext &&
9871 $as_test_x conftest$ac_exeext; then
9872 ac_cv_lib_dld_shl_load=yes
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5
9877 ac_cv_lib_dld_shl_load=no
9880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9885 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9886 if test $ac_cv_lib_dld_shl_load = yes; then
9887 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9889 { echo "$as_me:$LINENO: checking for dlopen" >&5
9890 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9891 if test "${ac_cv_func_dlopen+set}" = set; then
9892 echo $ECHO_N "(cached) $ECHO_C" >&6
9894 cat >conftest.$ac_ext <<_ACEOF
9897 cat confdefs.h >>conftest.$ac_ext
9898 cat >>conftest.$ac_ext <<_ACEOF
9899 /* end confdefs.h. */
9900 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9902 #define dlopen innocuous_dlopen
9904 /* System header to define __stub macros and hopefully few prototypes,
9905 which can conflict with char dlopen (); below.
9906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9907 <limits.h> exists even on freestanding compilers. */
9910 # include <limits.h>
9912 # include <assert.h>
9917 /* Override any GCC internal prototype to avoid an error.
9918 Use char because int might match the return type of a GCC
9919 builtin and then its argument prototype would still apply. */
9924 /* The GNU C library defines this for functions which it implements
9925 to always fail with ENOSYS. Some functions are actually named
9926 something starting with __ and the normal name is an alias. */
9927 #if defined __stub_dlopen || defined __stub___dlopen
9939 rm -f conftest.$ac_objext conftest$ac_exeext
9940 if { (ac_try="$ac_link"
9942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9943 *) ac_try_echo
=$ac_try;;
9945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9946 (eval "$ac_link") 2>conftest.er1
9948 grep -v '^ *+' conftest.er1
>conftest.err
9950 cat conftest.err
>&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); } && {
9953 test -z "$ac_c_werror_flag" ||
9954 test ! -s conftest.err
9955 } && test -s conftest
$ac_exeext &&
9956 $as_test_x conftest
$ac_exeext; then
9957 ac_cv_func_dlopen
=yes
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.
$ac_ext >&5
9962 ac_cv_func_dlopen
=no
9965 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9966 conftest
$ac_exeext conftest.
$ac_ext
9968 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9969 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9970 if test $ac_cv_func_dlopen = yes; then
9971 lt_cv_dlopen
="dlopen"
9973 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9974 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9975 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 ac_check_lib_save_LIBS
=$LIBS
9980 cat >conftest.
$ac_ext <<_ACEOF
9983 cat confdefs.h
>>conftest.
$ac_ext
9984 cat >>conftest.
$ac_ext <<_ACEOF
9985 /* end confdefs.h. */
9987 /* Override any GCC internal prototype to avoid an error.
9988 Use char because int might match the return type of a GCC
9989 builtin and then its argument prototype would still apply. */
10002 rm -f conftest.
$ac_objext conftest
$ac_exeext
10003 if { (ac_try
="$ac_link"
10004 case "(($ac_try" in
10005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10006 *) ac_try_echo=$ac_try;;
10008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10009 (eval "$ac_link") 2>conftest.er1
10011 grep -v '^ *+' conftest.er1 >conftest.err
10013 cat conftest.err >&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); } && {
10016 test -z "$ac_c_werror_flag" ||
10017 test ! -s conftest.err
10018 } && test -s conftest$ac_exeext &&
10019 $as_test_x conftest$ac_exeext; then
10020 ac_cv_lib_dl_dlopen=yes
10022 echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.$ac_ext >&5
10025 ac_cv_lib_dl_dlopen=no
10028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_lib_save_LIBS
10032 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10033 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10034 if test $ac_cv_lib_dl_dlopen = yes; then
10035 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10037 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10038 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10039 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 ac_check_lib_save_LIBS=$LIBS
10043 LIBS="-lsvld $LIBS"
10044 cat >conftest.$ac_ext <<_ACEOF
10047 cat confdefs.h >>conftest.$ac_ext
10048 cat >>conftest.$ac_ext <<_ACEOF
10049 /* end confdefs.h. */
10051 /* Override any GCC internal prototype to avoid an error.
10052 Use char because int might match the return type of a GCC
10053 builtin and then its argument prototype would still apply. */
10066 rm -f conftest.$ac_objext conftest$ac_exeext
10067 if { (ac_try="$ac_link"
10068 case "(($ac_try" in
10069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10070 *) ac_try_echo
=$ac_try;;
10072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10073 (eval "$ac_link") 2>conftest.er1
10075 grep -v '^ *+' conftest.er1
>conftest.err
10077 cat conftest.err
>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } && {
10080 test -z "$ac_c_werror_flag" ||
10081 test ! -s conftest.err
10082 } && test -s conftest
$ac_exeext &&
10083 $as_test_x conftest
$ac_exeext; then
10084 ac_cv_lib_svld_dlopen
=yes
10086 echo "$as_me: failed program was:" >&5
10087 sed 's/^/| /' conftest.
$ac_ext >&5
10089 ac_cv_lib_svld_dlopen
=no
10092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10093 conftest
$ac_exeext conftest.
$ac_ext
10094 LIBS
=$ac_check_lib_save_LIBS
10096 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10097 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10098 if test $ac_cv_lib_svld_dlopen = yes; then
10099 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10101 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10102 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10103 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 ac_check_lib_save_LIBS
=$LIBS
10108 cat >conftest.
$ac_ext <<_ACEOF
10111 cat confdefs.h
>>conftest.
$ac_ext
10112 cat >>conftest.
$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10125 return dld_link ();
10130 rm -f conftest.
$ac_objext conftest
$ac_exeext
10131 if { (ac_try
="$ac_link"
10132 case "(($ac_try" in
10133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10134 *) ac_try_echo=$ac_try;;
10136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10137 (eval "$ac_link") 2>conftest.er1
10139 grep -v '^ *+' conftest.er1 >conftest.err
10141 cat conftest.err >&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); } && {
10144 test -z "$ac_c_werror_flag" ||
10145 test ! -s conftest.err
10146 } && test -s conftest$ac_exeext &&
10147 $as_test_x conftest$ac_exeext; then
10148 ac_cv_lib_dld_dld_link=yes
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10153 ac_cv_lib_dld_dld_link=no
10156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_lib_save_LIBS
10160 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10161 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10162 if test $ac_cv_lib_dld_dld_link = yes; then
10163 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10184 if test "x$lt_cv_dlopen" != xno; then
10190 case $lt_cv_dlopen in
10192 save_CPPFLAGS="$CPPFLAGS"
10193 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10195 save_LDFLAGS="$LDFLAGS"
10196 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10199 LIBS="$lt_cv_dlopen_libs $LIBS"
10201 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10202 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10203 if test "${lt_cv_dlopen_self+set}" = set; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 if test "$cross_compiling" = yes; then :
10207 lt_cv_dlopen_self=cross
10209 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10210 lt_status=$lt_dlunknown
10211 cat > conftest.$ac_ext <<EOF
10212 #line 10199 "configure"
10213 #include "confdefs.h"
10222 # define LT_DLGLOBAL RTLD_GLOBAL
10225 # define LT_DLGLOBAL DL_GLOBAL
10227 # define LT_DLGLOBAL 0
10231 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10232 find out it does not work in some platform. */
10233 #ifndef LT_DLLAZY_OR_NOW
10235 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10238 # define LT_DLLAZY_OR_NOW DL_LAZY
10241 # define LT_DLLAZY_OR_NOW RTLD_NOW
10244 # define LT_DLLAZY_OR_NOW DL_NOW
10246 # define LT_DLLAZY_OR_NOW 0
10254 extern "C" void exit (int);
10257 void fnord() { int i=42;}
10260 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10261 int status = $lt_dlunknown;
10265 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10266 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10267 /* dlclose (self); */
10275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10276 (eval $ac_link) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10280 (./conftest; exit; ) >&5 2>/dev/null
10282 case x$lt_status in
10283 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10284 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10285 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10288 # compilation failed
10289 lt_cv_dlopen_self=no
10296 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10297 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10299 if test "x$lt_cv_dlopen_self" = xyes; then
10300 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10301 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10302 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10303 if test "${lt_cv_dlopen_self_static+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 if test "$cross_compiling" = yes; then :
10307 lt_cv_dlopen_self_static=cross
10309 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10310 lt_status=$lt_dlunknown
10311 cat > conftest.$ac_ext <<EOF
10312 #line 10299 "configure"
10313 #include "confdefs.h"
10322 # define LT_DLGLOBAL RTLD_GLOBAL
10325 # define LT_DLGLOBAL DL_GLOBAL
10327 # define LT_DLGLOBAL 0
10331 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10332 find out it does not work in some platform. */
10333 #ifndef LT_DLLAZY_OR_NOW
10335 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10338 # define LT_DLLAZY_OR_NOW DL_LAZY
10341 # define LT_DLLAZY_OR_NOW RTLD_NOW
10344 # define LT_DLLAZY_OR_NOW DL_NOW
10346 # define LT_DLLAZY_OR_NOW 0
10354 extern "C" void exit (int);
10357 void fnord() { int i=42;}
10360 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10361 int status = $lt_dlunknown;
10365 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10366 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10367 /* dlclose (self); */
10375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10376 (eval $ac_link) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10380 (./conftest; exit; ) >&5 2>/dev/null
10382 case x$lt_status in
10383 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10384 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10385 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10388 # compilation failed
10389 lt_cv_dlopen_self_static=no
10396 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10397 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10400 CPPFLAGS="$save_CPPFLAGS"
10401 LDFLAGS="$save_LDFLAGS"
10406 case $lt_cv_dlopen_self in
10407 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10408 *) enable_dlopen_self=unknown ;;
10411 case $lt_cv_dlopen_self_static in
10412 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10413 *) enable_dlopen_self_static=unknown ;;
10418 # Report which library types will actually be built
10419 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10420 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10421 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10422 echo "${ECHO_T}$can_build_shared" >&6; }
10424 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10425 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10426 test "$can_build_shared" = "no" && enable_shared=no
10428 # On AIX, shared libraries and static libraries use the same namespace, and
10429 # are all built from PIC.
10432 test "$enable_shared" = yes && enable_static=no
10433 if test -n "$RANLIB"; then
10434 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10435 postinstall_cmds='$RANLIB $lib'
10440 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10441 test "$enable_shared" = yes && enable_static=no
10445 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10446 echo "${ECHO_T}$enable_shared" >&6; }
10448 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10449 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10450 # Make sure either enable_shared or enable_static is yes.
10451 test "$enable_shared" = yes || enable_static=yes
10452 { echo "$as_me:$LINENO: result: $enable_static" >&5
10453 echo "${ECHO_T}$enable_static" >&6; }
10455 # The else clause should only fire when bootstrapping the
10456 # libtool distribution, otherwise you forgot to ship ltmain.sh
10457 # with your package, and you will get complaints that there are
10458 # no rules to generate ltmain.sh.
10459 if test -f "$ltmain"; then
10460 # See if we are running on zsh, and set the options which allow our commands through
10461 # without removal of \ escapes.
10462 if test -n "${ZSH_VERSION+set}" ; then
10463 setopt NO_GLOB_SUBST
10465 # Now quote all the things that may contain metacharacters while being
10466 # careful not to overquote the AC_SUBSTed values. We take copies of the
10467 # variables and quote the copies for generation of the libtool script.
10468 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10470 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10471 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10472 deplibs_check_method reload_flag reload_cmds need_locks \
10473 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10474 lt_cv_sys_global_symbol_to_c_name_address \
10475 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10476 old_postinstall_cmds old_postuninstall_cmds \
10480 lt_prog_compiler_wl \
10481 lt_prog_compiler_pic \
10482 lt_prog_compiler_static \
10483 lt_prog_compiler_no_builtin_flag \
10484 export_dynamic_flag_spec \
10485 thread_safe_flag_spec \
10486 whole_archive_flag_spec \
10487 enable_shared_with_static_runtimes \
10489 old_archive_from_new_cmds \
10494 compiler_lib_search_path \
10496 archive_expsym_cmds \
10498 postuninstall_cmds \
10499 old_archive_from_expsyms_cmds \
10500 allow_undefined_flag \
10501 no_undefined_flag \
10502 export_symbols_cmds \
10503 hardcode_libdir_flag_spec \
10504 hardcode_libdir_flag_spec_ld \
10505 hardcode_libdir_separator \
10506 hardcode_automatic \
10508 module_expsym_cmds \
10509 lt_cv_prog_compiler_c_o \
10512 include_expsyms; do
10515 old_archive_cmds | \
10516 old_archive_from_new_cmds | \
10518 archive_expsym_cmds | \
10520 module_expsym_cmds | \
10521 old_archive_from_expsyms_cmds | \
10522 export_symbols_cmds | \
10523 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10524 postinstall_cmds | postuninstall_cmds | \
10525 old_postinstall_cmds | old_postuninstall_cmds | \
10526 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10527 # Double-quote double-evaled strings.
10528 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10531 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10537 *'\$0 --fallback-echo"')
10538 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10542 cfgfile="${ofile}T"
10543 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10545 { echo "$as_me:$LINENO: creating $ofile" >&5
10546 echo "$as_me: creating $ofile" >&6;}
10548 cat <<__EOF__ >> "$cfgfile"
10551 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10552 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10553 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10555 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10556 # Free Software Foundation, Inc.
10558 # This file is part of GNU Libtool:
10559 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10561 # This program is free software; you can redistribute it and/or modify
10562 # it under the terms of the GNU General Public License as published by
10563 # the Free Software Foundation; either version 2 of the License, or
10564 # (at your option) any later version.
10566 # This program is distributed in the hope that it will be useful, but
10567 # WITHOUT ANY WARRANTY; without even the implied warranty of
10568 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10569 # General Public License for more details.
10571 # You should have received a copy of the GNU General Public License
10572 # along with this program; if not, write to the Free Software
10573 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10575 # As a special exception to the GNU General Public License, if you
10576 # distribute this file as part of a program that contains a
10577 # configuration script generated by Autoconf, you may include it under
10578 # the same distribution terms that you use for the rest of that program.
10580 # A sed program that does not truncate output.
10583 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10584 Xsed="$SED -e 1s/^X//"
10586 # The HP-UX ksh and POSIX shell print the target directory to stdout
10587 # if CDPATH is set.
10588 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10590 # The names of the tagged configurations supported by this script.
10593 # ### BEGIN LIBTOOL CONFIG
10595 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10597 # Shell to use when invoking shell scripts.
10600 # Whether or not to build shared libraries.
10601 build_libtool_libs=$enable_shared
10603 # Whether or not to build static libraries.
10604 build_old_libs=$enable_static
10606 # Whether or not to add -lc for building shared libraries.
10607 build_libtool_need_lc=$archive_cmds_need_lc
10609 # Whether or not to disallow shared libs when runtime libs are static
10610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10612 # Whether or not to optimize for fast installation.
10613 fast_install=$enable_fast_install
10616 host_alias=$host_alias
10620 # The build system.
10621 build_alias=$build_alias
10625 # An echo program that does not interpret backslashes.
10630 AR_FLAGS=$lt_AR_FLAGS
10635 # LTCC compiler flags.
10636 LTCFLAGS=$lt_LTCFLAGS
10638 # A language-specific compiler.
10641 # Is the compiler the GNU C compiler?
10647 # The linker used to build libraries.
10650 # Whether we need hard or soft links.
10653 # A BSD-compatible nm program.
10656 # A symbol stripping program
10659 # Used to examine libraries when file_magic_cmd begins "file"
10660 MAGIC_CMD=$MAGIC_CMD
10662 # Used on cygwin: DLL creation program.
10665 # Used on cygwin: object dumper.
10668 # Used on cygwin: assembler.
10671 # The name of the directory that contains temporary libtool files.
10674 # How to create reloadable object files.
10675 reload_flag=$lt_reload_flag
10676 reload_cmds=$lt_reload_cmds
10678 # How to pass a linker flag through the compiler.
10679 wl=$lt_lt_prog_compiler_wl
10681 # Object file suffix (normally "o").
10682 objext="$ac_objext"
10684 # Old archive suffix (normally "a").
10687 # Shared library suffix (normally ".so").
10688 shrext_cmds='$shrext_cmds'
10690 # Executable file suffix (normally "").
10693 # Additional compiler flags for building library objects.
10694 pic_flag=$lt_lt_prog_compiler_pic
10697 # What is the maximum length of a command?
10698 max_cmd_len=$lt_cv_sys_max_cmd_len
10700 # Does compiler simultaneously support -c and -o options?
10701 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10703 # Must we lock files when doing compilation?
10704 need_locks=$lt_need_locks
10706 # Do we need the lib prefix for modules?
10707 need_lib_prefix=$need_lib_prefix
10709 # Do we need a version for libraries?
10710 need_version=$need_version
10712 # Whether dlopen is supported.
10713 dlopen_support=$enable_dlopen
10715 # Whether dlopen of programs is supported.
10716 dlopen_self=$enable_dlopen_self
10718 # Whether dlopen of statically linked programs is supported.
10719 dlopen_self_static=$enable_dlopen_self_static
10721 # Compiler flag to prevent dynamic linking.
10722 link_static_flag=$lt_lt_prog_compiler_static
10724 # Compiler flag to turn off builtin functions.
10725 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10727 # Compiler flag to allow reflexive dlopens.
10728 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10730 # Compiler flag to generate shared objects directly from archives.
10731 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10733 # Compiler flag to generate thread-safe objects.
10734 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10736 # Library versioning type.
10737 version_type=$version_type
10739 # Format of library name prefix.
10740 libname_spec=$lt_libname_spec
10742 # List of archive names. First name is the real one, the rest are links.
10743 # The last name is the one that the linker finds with -lNAME.
10744 library_names_spec=$lt_library_names_spec
10746 # The coded name of the library, if different from the real name.
10747 soname_spec=$lt_soname_spec
10749 # Commands used to build and install an old-style archive.
10751 old_archive_cmds=$lt_old_archive_cmds
10752 old_postinstall_cmds=$lt_old_postinstall_cmds
10753 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10755 # Create an old-style archive from a shared archive.
10756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10758 # Create a temporary old-style archive to link instead of a shared archive.
10759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10761 # Commands used to build and install a shared archive.
10762 archive_cmds=$lt_archive_cmds
10763 archive_expsym_cmds=$lt_archive_expsym_cmds
10764 postinstall_cmds=$lt_postinstall_cmds
10765 postuninstall_cmds=$lt_postuninstall_cmds
10767 # Commands used to build a loadable module (assumed same as above if empty)
10768 module_cmds=$lt_module_cmds
10769 module_expsym_cmds=$lt_module_expsym_cmds
10771 # Commands to strip libraries.
10772 old_striplib=$lt_old_striplib
10773 striplib=$lt_striplib
10775 # Dependencies to place before the objects being linked to create a
10777 predep_objects=$lt_predep_objects
10779 # Dependencies to place after the objects being linked to create a
10781 postdep_objects=$lt_postdep_objects
10783 # Dependencies to place before the objects being linked to create a
10785 predeps=$lt_predeps
10787 # Dependencies to place after the objects being linked to create a
10789 postdeps=$lt_postdeps
10791 # The library search path used internally by the compiler when linking
10792 # a shared library.
10793 compiler_lib_search_path=$lt_compiler_lib_search_path
10795 # Method to check whether dependent libraries are shared objects.
10796 deplibs_check_method=$lt_deplibs_check_method
10798 # Command to use when deplibs_check_method == file_magic.
10799 file_magic_cmd=$lt_file_magic_cmd
10801 # Flag that allows shared libraries with undefined symbols to be built.
10802 allow_undefined_flag=$lt_allow_undefined_flag
10804 # Flag that forces no undefined symbols.
10805 no_undefined_flag=$lt_no_undefined_flag
10807 # Commands used to finish a libtool library installation in a directory.
10808 finish_cmds=$lt_finish_cmds
10810 # Same as above, but a single script fragment to be evaled but not shown.
10811 finish_eval=$lt_finish_eval
10813 # Take the output of nm and produce a listing of raw symbols and C names.
10814 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10816 # Transform the output of nm in a proper C declaration
10817 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10819 # Transform the output of nm in a C name address pair
10820 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10822 # This is the shared library runtime path variable.
10823 runpath_var=$runpath_var
10825 # This is the shared library path variable.
10826 shlibpath_var=$shlibpath_var
10828 # Is shlibpath searched before the hard-coded library search path?
10829 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10831 # How to hardcode a shared library path into an executable.
10832 hardcode_action=$hardcode_action
10834 # Whether we should hardcode library paths into libraries.
10835 hardcode_into_libs=$hardcode_into_libs
10837 # Flag to hardcode \$libdir into a binary during linking.
10838 # This must work even if \$libdir does not exist.
10839 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10841 # If ld is used when linking, flag to hardcode \$libdir into
10842 # a binary during linking. This must work even if \$libdir does
10844 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10846 # Whether we need a single -rpath flag with a separated argument.
10847 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10849 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10850 # resulting binary.
10851 hardcode_direct=$hardcode_direct
10853 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10854 # resulting binary.
10855 hardcode_minus_L=$hardcode_minus_L
10857 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10858 # the resulting binary.
10859 hardcode_shlibpath_var=$hardcode_shlibpath_var
10861 # Set to yes if building a shared library automatically hardcodes DIR into the library
10862 # and all subsequent libraries and executables linked against it.
10863 hardcode_automatic=$hardcode_automatic
10865 # Variables whose values should be saved in libtool wrapper scripts and
10866 # restored at relink time.
10867 variables_saved_for_relink="$variables_saved_for_relink"
10869 # Whether libtool must link a program against all its dependency libraries.
10870 link_all_deplibs=$link_all_deplibs
10872 # Compile-time system search path for libraries
10873 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10875 # Run-time system search path for libraries
10876 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10878 # Fix the shell variable \$srcfile for the compiler.
10879 fix_srcfile_path=$lt_fix_srcfile_path
10881 # Set to yes if exported symbols are required.
10882 always_export_symbols=$always_export_symbols
10884 # The commands to list exported symbols.
10885 export_symbols_cmds=$lt_export_symbols_cmds
10887 # The commands to extract the exported symbol list from a shared archive.
10888 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10890 # Symbols that should not be listed in the preloaded symbols.
10891 exclude_expsyms=$lt_exclude_expsyms
10893 # Symbols that must always be exported.
10894 include_expsyms=$lt_include_expsyms
10896 # ### END LIBTOOL CONFIG
10903 cat <<\EOF >> "$cfgfile"
10905 # AIX sometimes has problems with the GCC collect2 program. For some
10906 # reason, if we set the COLLECT_NAMES environment variable, the problems
10907 # vanish in a puff of smoke.
10908 if test "X${COLLECT_NAMES+set}" != Xset; then
10910 export COLLECT_NAMES
10916 # We use sed instead of cat because bash on DJGPP gets confused if
10917 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10918 # text mode, it properly converts lines to CR/LF. This bash problem
10919 # is reportedly fixed, but why not run on old versions too?
10920 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10922 mv -f "$cfgfile" "$ofile" || \
10923 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10927 # If there is no Makefile yet, we rely on a make rule to execute
10928 # `config.status
--recheck' to rerun these tests and create the
10929 # libtool script then.
10930 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10931 if test -f "$ltmain_in"; then
10932 test -f Makefile && make "$ltmain"
10938 ac_cpp='$CPP $CPPFLAGS'
10939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10940 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10946 # Check whether --with-tags was given.
10947 if test "${with_tags+set}" = set; then
10948 withval=$with_tags; tagnames="$withval"
10952 if test -f "$ltmain" && test -n "$tagnames"; then
10953 if test ! -f "${ofile}"; then
10954 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10955 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10958 if test -z "$LTCC"; then
10959 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10960 if test -z "$LTCC"; then
10961 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10962 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10964 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10965 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10968 if test -z "$LTCFLAGS"; then
10969 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10972 # Extract list of available tagged configurations in $ofile.
10973 # Note that this assumes the entire list is on one line.
10974 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10976 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10977 for tagname in $tagnames; do
10979 # Check whether tagname contains only valid characters
10980 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10982 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10983 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10984 { (exit 1); exit 1; }; }
10988 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10990 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10991 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10992 { (exit 1); exit 1; }; }
10995 # Update the list of available tags.
10996 if test -n "$tagname"; then
10997 echo appending configuration tag \"$tagname\" to $ofile
11001 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11002 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11003 (test "X$CXX" != "Xg++"))) ; then
11005 ac_cpp='$CXXCPP $CPPFLAGS'
11006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11013 archive_cmds_need_lc_CXX=no
11014 allow_undefined_flag_CXX=
11015 always_export_symbols_CXX=no
11016 archive_expsym_cmds_CXX=
11017 export_dynamic_flag_spec_CXX=
11018 hardcode_direct_CXX=no
11019 hardcode_libdir_flag_spec_CXX=
11020 hardcode_libdir_flag_spec_ld_CXX=
11021 hardcode_libdir_separator_CXX=
11022 hardcode_minus_L_CXX=no
11023 hardcode_shlibpath_var_CXX=unsupported
11024 hardcode_automatic_CXX=no
11026 module_expsym_cmds_CXX=
11027 link_all_deplibs_CXX=unknown
11028 old_archive_cmds_CXX=$old_archive_cmds
11029 no_undefined_flag_CXX=
11030 whole_archive_flag_spec_CXX=
11031 enable_shared_with_static_runtimes_CXX=no
11033 # Dependencies to place before and after the object being linked:
11034 predep_objects_CXX=
11035 postdep_objects_CXX=
11038 compiler_lib_search_path_CXX=
11040 # Source file extension for C++ test sources.
11043 # Object file extension for compiled C++ test sources.
11047 # Code to be used in simple compile tests
11048 lt_simple_compile_test_code="int some_variable = 0;"
11050 # Code to be used in simple link tests
11051 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11053 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11055 # If no C compiler was specified, use CC.
11058 # If no C compiler flags were specified, use CFLAGS.
11059 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11061 # Allow CC to be a program name with arguments.
11065 # save warnings/boilerplate of simple test code
11066 ac_outfile=conftest.$ac_objext
11067 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11068 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11069 _lt_compiler_boilerplate=`cat conftest.err
`
11072 ac_outfile=conftest.$ac_objext
11073 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11074 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11075 _lt_linker_boilerplate=`cat conftest.err
`
11079 # Allow CC to be a program name with arguments.
11084 lt_save_with_gnu_ld=$with_gnu_ld
11085 lt_save_path_LD=$lt_cv_path_LD
11086 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11087 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11089 $as_unset lt_cv_prog_gnu_ld
11091 if test -n "${lt_cv_path_LDCXX+set}"; then
11092 lt_cv_path_LD=$lt_cv_path_LDCXX
11094 $as_unset lt_cv_path_LD
11096 test -z "${LDCXX+set}" || LD=$LDCXX
11100 for cc_temp in $compiler""; do
11102 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11103 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11108 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11111 # We don't want -fno-exception wen compiling C++ code, so set the
11112 # no_builtin_flag separately
11113 if test "$GXX" = yes; then
11114 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11116 lt_prog_compiler_no_builtin_flag_CXX=
11119 if test "$GXX" = yes; then
11120 # Set up default GNU C++ configuration
11123 # Check whether --with-gnu-ld was given.
11124 if test "${with_gnu_ld+set}" = set; then
11125 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11131 if test "$GCC" = yes; then
11132 # Check if gcc -print-prog-name=ld gives a path.
11133 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11134 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11137 # gcc leaves a trailing carriage return which upsets mingw
11138 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11140 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11143 # Accept absolute paths.
11145 re_direlt='/[^/][^/]*/\.\./'
11146 # Canonicalize the pathname of ld
11147 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11148 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11149 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11151 test -z "$LD" && LD="$ac_prog"
11154 # If it fails, then pretend we aren't using GCC.
11158 # If it is relative, then search for the first ld in PATH.
11159 with_gnu_ld=unknown
11162 elif test "$with_gnu_ld" = yes; then
11163 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11164 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11166 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11167 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11169 if test "${lt_cv_path_LD+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 if test -z "$LD"; then
11173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11174 for ac_dir in $PATH; do
11176 test -z "$ac_dir" && ac_dir=.
11177 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11178 lt_cv_path_LD="$ac_dir/$ac_prog"
11179 # Check to see if the program is GNU ld. I'd rather use --version,
11180 # but apparently some variants of GNU ld only accept -v.
11181 # Break only if it was the GNU/non-GNU ld that we prefer.
11182 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11183 *GNU* | *'with BFD'*)
11184 test "$with_gnu_ld" != no && break
11187 test "$with_gnu_ld" != yes && break
11194 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11198 LD="$lt_cv_path_LD"
11199 if test -n "$LD"; then
11200 { echo "$as_me:$LINENO: result: $LD" >&5
11201 echo "${ECHO_T}$LD" >&6; }
11203 { echo "$as_me:$LINENO: result: no" >&5
11204 echo "${ECHO_T}no" >&6; }
11206 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11207 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11208 { (exit 1); exit 1; }; }
11209 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11210 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11211 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11215 case `$LD -v 2>&1 </dev
/null
` in
11216 *GNU* | *'with BFD'*)
11217 lt_cv_prog_gnu_ld=yes
11220 lt_cv_prog_gnu_ld=no
11224 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11225 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11226 with_gnu_ld=$lt_cv_prog_gnu_ld
11230 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11231 # archiving commands below assume that GNU ld is being used.
11232 if test "$with_gnu_ld" = yes; then
11233 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11234 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'
11236 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11237 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11239 # If archive_cmds runs LD, not CC, wlarc should be empty
11240 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11241 # investigate it a little bit more. (MM)
11244 # ancient GNU ld didn't support --whole-archive et. al.
11245 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11246 grep 'no-whole-archive' > /dev/null; then
11247 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11249 whole_archive_flag_spec_CXX=
11255 # A generic and very simple default shared library creation
11256 # command for GNU C++ for the case where it uses the native
11257 # linker, instead of GNU ld. If possible, this setting should
11258 # overridden to take advantage of the native linker features on
11259 # the platform it is being used on.
11260 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11263 # Commands to make compiler produce verbose output that lists
11264 # what "hidden" libraries, object files and flags are used when
11265 # linking a shared library.
11266 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11274 # PORTME: fill in a description of your system's C++ link characteristics
11275 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11276 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11280 # FIXME: insert proper C++ library support
11284 if test "$host_cpu" = ia64; then
11285 # On IA64, the linker does run time linking by default, so we don't
11286 # have to do anything special.
11287 aix_use_runtimelinking=no
11288 exp_sym_flag='-Bexport'
11291 aix_use_runtimelinking=no
11293 # Test if we are trying to use run time linking or normal
11294 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11295 # need to do runtime linking.
11296 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11297 for ld_flag in $LDFLAGS; do
11300 aix_use_runtimelinking=yes
11308 exp_sym_flag='-bexport'
11309 no_entry_flag='-bnoentry'
11312 # When large executables or shared objects are built, AIX ld can
11313 # have problems creating the table of contents. If linking a library
11314 # or program results in "error TOC overflow" add -mminimal-toc to
11315 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11316 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11318 archive_cmds_CXX=''
11319 hardcode_direct_CXX=yes
11320 hardcode_libdir_separator_CXX=':'
11321 link_all_deplibs_CXX=yes
11323 if test "$GXX" = yes; then
11324 case $host_os in aix4.[012]|aix4.[012].*)
11325 # We only want to do this on AIX 4.2 and lower, the check
11326 # below for broken collect2 doesn't work under 4.3+
11327 collect2name=`${CC} -print-prog-name=collect2
`
11328 if test -f "$collect2name" && \
11329 strings "$collect2name" | grep resolve_lib_name >/dev/null
11331 # We have reworked collect2
11334 # We have old collect2
11335 hardcode_direct_CXX=unsupported
11336 # It fails to find uninstalled libraries when the uninstalled
11337 # path is not listed in the libpath. Setting hardcode_minus_L
11338 # to unsupported forces relinking
11339 hardcode_minus_L_CXX=yes
11340 hardcode_libdir_flag_spec_CXX='-L$libdir'
11341 hardcode_libdir_separator_CXX=
11345 shared_flag='-shared'
11346 if test "$aix_use_runtimelinking" = yes; then
11347 shared_flag="$shared_flag "'${wl}-G'
11351 if test "$host_cpu" = ia64; then
11352 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11353 # chokes on -Wl,-G. The following line is correct:
11356 if test "$aix_use_runtimelinking" = yes; then
11357 shared_flag='${wl}-G'
11359 shared_flag='${wl}-bM:SRE'
11364 # It seems that -bexpall does not export symbols beginning with
11365 # underscore (_), so it is better to generate a list of symbols to export.
11366 always_export_symbols_CXX=yes
11367 if test "$aix_use_runtimelinking" = yes; then
11368 # Warning - without using the other runtime loading flags (-brtl),
11369 # -berok will link without error, but may produce a broken library.
11370 allow_undefined_flag_CXX='-berok'
11371 # Determine the default libpath from the value encoded in an empty executable.
11372 cat >conftest.$ac_ext <<_ACEOF
11375 cat confdefs.h >>conftest.$ac_ext
11376 cat >>conftest.$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11387 rm -f conftest.$ac_objext conftest$ac_exeext
11388 if { (ac_try="$ac_link"
11389 case "(($ac_try" in
11390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11391 *) ac_try_echo
=$ac_try;;
11393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11394 (eval "$ac_link") 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } && {
11401 test -z "$ac_cxx_werror_flag" ||
11402 test ! -s conftest.err
11403 } && test -s conftest
$ac_exeext &&
11404 $as_test_x conftest
$ac_exeext; then
11406 lt_aix_libpath_sed
='
11407 /Import File Strings/,/^$/ {
11413 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11414 # Check for a 64-bit object if we didn't find anything.
11415 if test -z "$aix_libpath"; then
11416 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11419 echo "$as_me: failed program was:" >&5
11420 sed 's/^/| /' conftest.
$ac_ext >&5
11425 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11426 conftest
$ac_exeext conftest.
$ac_ext
11427 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11429 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11431 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"
11433 if test "$host_cpu" = ia64
; then
11434 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11435 allow_undefined_flag_CXX
="-z nodefs"
11436 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"
11438 # Determine the default libpath from the value encoded in an empty executable.
11439 cat >conftest.
$ac_ext <<_ACEOF
11442 cat confdefs.h
>>conftest.
$ac_ext
11443 cat >>conftest.
$ac_ext <<_ACEOF
11444 /* end confdefs.h. */
11454 rm -f conftest.
$ac_objext conftest
$ac_exeext
11455 if { (ac_try
="$ac_link"
11456 case "(($ac_try" in
11457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11458 *) ac_try_echo=$ac_try;;
11460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11461 (eval "$ac_link") 2>conftest.er1
11463 grep -v '^ *+' conftest.er1 >conftest.err
11465 cat conftest.err >&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); } && {
11468 test -z "$ac_cxx_werror_flag" ||
11469 test ! -s conftest.err
11470 } && test -s conftest$ac_exeext &&
11471 $as_test_x conftest$ac_exeext; then
11473 lt_aix_libpath_sed='
11474 /Import File Strings/,/^$/ {
11480 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11481 # Check for a 64-bit object if we didn't find anything.
11482 if test -z "$aix_libpath"; then
11483 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.$ac_ext >&5
11492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11493 conftest$ac_exeext conftest.$ac_ext
11494 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11496 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11497 # Warning - without using the other run time loading flags,
11498 # -berok will link without error, but may produce a broken library.
11499 no_undefined_flag_CXX=' ${wl}-bernotok'
11500 allow_undefined_flag_CXX=' ${wl}-berok'
11501 # Exported symbols can be pulled into shared objects from archives
11502 whole_archive_flag_spec_CXX='$convenience'
11503 archive_cmds_need_lc_CXX=yes
11504 # This is similar to how AIX traditionally builds its shared libraries.
11505 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'
11511 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11512 allow_undefined_flag_CXX=unsupported
11513 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11514 # support --undefined. This deserves some investigation. FIXME
11515 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11522 case $cc_basename in
11524 # FIXME: insert proper C++ library support
11530 cygwin* | mingw* | pw32*)
11531 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11532 # as there is no search path for DLLs.
11533 hardcode_libdir_flag_spec_CXX='-L$libdir'
11534 allow_undefined_flag_CXX=unsupported
11535 always_export_symbols_CXX=no
11536 enable_shared_with_static_runtimes_CXX=yes
11538 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11539 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'
11540 # If the export-symbols file already is a .def file (1st line
11541 # is EXPORTS), use it as is; otherwise, prepend...
11542 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11543 cp $export_symbols $output_objdir/$soname.def;
11545 echo EXPORTS > $output_objdir/$soname.def;
11546 cat $export_symbols >> $output_objdir/$soname.def;
11548 $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'
11553 darwin* | rhapsody*)
11555 rhapsody* | darwin1.[012])
11556 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11559 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11560 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11562 case ${MACOSX_DEPLOYMENT_TARGET} in
11564 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11567 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11573 archive_cmds_need_lc_CXX=no
11574 hardcode_direct_CXX=no
11575 hardcode_automatic_CXX=yes
11576 hardcode_shlibpath_var_CXX=unsupported
11577 whole_archive_flag_spec_CXX=''
11578 link_all_deplibs_CXX=yes
11580 if test "$GXX" = yes ; then
11581 lt_int_apple_cc_single_mod=no
11582 output_verbose_link_cmd='echo'
11583 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11584 lt_int_apple_cc_single_mod=yes
11586 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11587 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11589 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'
11591 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11592 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11593 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11594 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}'
11596 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}'
11598 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}'
11600 case $cc_basename in
11602 output_verbose_link_cmd='echo'
11603 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11604 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11605 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11606 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11607 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}'
11617 case $cc_basename in
11619 # FIXME: insert proper C++ library support
11623 # Green Hills C++ Compiler
11624 # FIXME: insert proper C++ library support
11628 # FIXME: insert proper C++ library support
11634 # C++ shared libraries reported to be fairly broken before switch to ELF
11638 archive_cmds_need_lc_CXX=no
11640 freebsd* | dragonfly*)
11641 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11648 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11649 hardcode_libdir_separator_CXX=:
11650 export_dynamic_flag_spec_CXX='${wl}-E'
11651 hardcode_direct_CXX=yes
11652 hardcode_minus_L_CXX=yes # Not in the search PATH,
11653 # but as the default
11654 # location of the library.
11656 case $cc_basename in
11658 # FIXME: insert proper C++ library support
11662 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'
11663 # Commands to make compiler produce verbose output that lists
11664 # what "hidden" libraries, object files and flags are used when
11665 # linking a shared library.
11667 # There doesn't appear to be a way to prevent this compiler from
11668 # explicitly linking system object files so we need to strip them
11669 # from the output so that they don't get included in the library
11671 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'
11674 if test "$GXX" = yes; then
11675 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'
11677 # FIXME: insert proper C++ library support
11684 if test $with_gnu_ld = no; then
11685 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11686 hardcode_libdir_separator_CXX=:
11691 export_dynamic_flag_spec_CXX='${wl}-E'
11697 hardcode_direct_CXX=no
11698 hardcode_shlibpath_var_CXX=no
11701 hardcode_direct_CXX=yes
11702 hardcode_minus_L_CXX=yes # Not in the search PATH,
11703 # but as the default
11704 # location of the library.
11708 case $cc_basename in
11710 # FIXME: insert proper C++ library support
11716 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11719 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11722 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11725 # Commands to make compiler produce verbose output that lists
11726 # what "hidden" libraries, object files and flags are used when
11727 # linking a shared library.
11729 # There doesn't appear to be a way to prevent this compiler from
11730 # explicitly linking system object files so we need to strip them
11731 # from the output so that they don't get included in the library
11733 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'
11736 if test "$GXX" = yes; then
11737 if test $with_gnu_ld = no; then
11740 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11743 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11746 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'
11751 # FIXME: insert proper C++ library support
11758 hardcode_direct_CXX=no
11759 hardcode_shlibpath_var_CXX=no
11760 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11761 export_dynamic_flag_spec_CXX='${wl}-E'
11762 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11763 # Instead, shared libraries are loaded at an image base (0x10000000 by
11764 # default) and relocated if they conflict, which is a slow very memory
11765 # consuming and fragmenting process. To avoid this, we pick a random,
11766 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11767 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11768 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'
11769 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'
11772 case $cc_basename in
11775 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'
11777 # Archives containing C++ object files must be created using
11778 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11779 # necessary to make sure instantiated templates are included
11781 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11784 if test "$GXX" = yes; then
11785 if test "$with_gnu_ld" = no; then
11786 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'
11788 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'
11791 link_all_deplibs_CXX=yes
11794 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11795 hardcode_libdir_separator_CXX=:
11797 linux* | k*bsd*-gnu)
11798 case $cc_basename in
11800 # Kuck and Associates, Inc. (KAI) C++ Compiler
11802 # KCC will only create a shared library if the output file
11803 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11804 # to its proper name (with version) after linking.
11805 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'
11806 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'
11807 # Commands to make compiler produce verbose output that lists
11808 # what "hidden" libraries, object files and flags are used when
11809 # linking a shared library.
11811 # There doesn't appear to be a way to prevent this compiler from
11812 # explicitly linking system object files so we need to strip them
11813 # from the output so that they don't get included in the library
11815 output_verbose_link_cmd
='templist=`$CC $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'
11817 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11818 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11820 # Archives containing C++ object files must be created using
11821 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11822 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11827 # version 8.0 and above of icpc choke on multiply defined symbols
11828 # if we add $predep_objects and $postdep_objects, however 7.1 and
11829 # earlier do not add the objects themselves.
11830 case `$CC -V 2>&1` in
11832 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11833 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'
11835 *) # Version 8.0 or newer
11838 ia64
*) tmp_idyn
=' -i_dynamic';;
11840 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11841 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'
11844 archive_cmds_need_lc_CXX
=no
11845 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11846 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11847 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11850 # Portland Group C++ compiler
11851 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11852 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'
11854 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11855 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11856 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'
11860 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11861 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'
11863 runpath_var
=LD_RUN_PATH
11864 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11865 hardcode_libdir_separator_CXX
=:
11867 # Commands to make compiler produce verbose output that lists
11868 # what "hidden" libraries, object files and flags are used when
11869 # linking a shared library.
11871 # There doesn't appear to be a way to prevent this compiler from
11872 # explicitly linking system object files so we need to strip them
11873 # from the output so that they don't get included in the library
11875 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'
11878 case `$CC -V 2>&1 | sed 5q` in
11881 no_undefined_flag_CXX
=' -zdefs'
11882 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11883 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11884 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11885 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11887 # Not sure whether something based on
11888 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11890 output_verbose_link_cmd
='echo'
11892 # Archives containing C++ object files must be created using
11893 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11894 # necessary to make sure instantiated templates are included
11896 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11903 # FIXME: insert proper C++ library support
11907 # FIXME: insert proper C++ library support
11911 case $cc_basename in
11913 # FIXME: insert proper C++ library support
11917 # FIXME: insert proper C++ library support
11922 netbsd
* | netbsdelf
*-gnu)
11923 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11924 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11926 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11927 hardcode_direct_CXX
=yes
11928 hardcode_shlibpath_var_CXX
=no
11930 # Workaround some broken pre-1.5 toolchains
11931 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11934 # C++ shared libraries are fairly broken
11938 if test -f /usr
/libexec
/ld.so
; then
11939 hardcode_direct_CXX
=yes
11940 hardcode_shlibpath_var_CXX
=no
11941 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11943 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11944 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11945 export_dynamic_flag_spec_CXX
='${wl}-E'
11946 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11948 output_verbose_link_cmd
='echo'
11954 case $cc_basename in
11956 # Kuck and Associates, Inc. (KAI) C++ Compiler
11958 # KCC will only create a shared library if the output file
11959 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11960 # to its proper name (with version) after linking.
11961 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11963 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11964 hardcode_libdir_separator_CXX
=:
11966 # Archives containing C++ object files must be created using
11967 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11968 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11972 # Rational C++ 2.4.1
11973 # FIXME: insert proper C++ library support
11977 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11978 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'
11980 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11981 hardcode_libdir_separator_CXX
=:
11983 # Commands to make compiler produce verbose output that lists
11984 # what "hidden" libraries, object files and flags are used when
11985 # linking a shared library.
11987 # There doesn't appear to be a way to prevent this compiler from
11988 # explicitly linking system object files so we need to strip them
11989 # from the output so that they don't get included in the library
11991 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'
11994 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11995 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11996 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'
11998 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11999 hardcode_libdir_separator_CXX
=:
12001 # Commands to make compiler produce verbose output that lists
12002 # what "hidden" libraries, object files and flags are used when
12003 # linking a shared library.
12004 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12007 # FIXME: insert proper C++ library support
12014 case $cc_basename in
12016 # Kuck and Associates, Inc. (KAI) C++ Compiler
12018 # KCC will only create a shared library if the output file
12019 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12020 # to its proper name (with version) after linking.
12021 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'
12023 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12024 hardcode_libdir_separator_CXX
=:
12026 # Archives containing C++ object files must be created using
12027 # the KAI C++ compiler.
12028 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12031 # Rational C++ 2.4.1
12032 # FIXME: insert proper C++ library support
12036 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12037 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'
12038 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12039 echo "-hidden">> $lib.exp~
12040 $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~
12043 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12044 hardcode_libdir_separator_CXX
=:
12046 # Commands to make compiler produce verbose output that lists
12047 # what "hidden" libraries, object files and flags are used when
12048 # linking a shared library.
12050 # There doesn't appear to be a way to prevent this compiler from
12051 # explicitly linking system object files so we need to strip them
12052 # from the output so that they don't get included in the library
12054 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'
12057 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12058 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12059 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'
12061 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12062 hardcode_libdir_separator_CXX
=:
12064 # Commands to make compiler produce verbose output that lists
12065 # what "hidden" libraries, object files and flags are used when
12066 # linking a shared library.
12067 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12070 # FIXME: insert proper C++ library support
12077 # FIXME: insert proper C++ library support
12081 case $cc_basename in
12084 # FIXME: insert proper C++ library support
12089 # FIXME: insert proper C++ library support
12093 # FIXME: insert proper C++ library support
12099 case $cc_basename in
12101 # Sun C++ 4.2, 5.x and Centerline C++
12102 archive_cmds_need_lc_CXX
=yes
12103 no_undefined_flag_CXX
=' -zdefs'
12104 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12105 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12106 $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'
12108 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12109 hardcode_shlibpath_var_CXX
=no
12111 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12113 # The compiler driver will combine and reorder linker options,
12114 # but understands `-z linker_flag'.
12115 # Supported since Solaris 2.6 (maybe 2.5.1?)
12116 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12119 link_all_deplibs_CXX
=yes
12121 output_verbose_link_cmd
='echo'
12123 # Archives containing C++ object files must be created using
12124 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12125 # necessary to make sure instantiated templates are included
12127 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12130 # Green Hills C++ Compiler
12131 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12133 # The C++ compiler must be used to create the archive.
12134 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12137 # GNU C++ compiler with Solaris linker
12138 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12139 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12140 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12141 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12142 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12143 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12145 # Commands to make compiler produce verbose output that lists
12146 # what "hidden" libraries, object files and flags are used when
12147 # linking a shared library.
12148 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12150 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12152 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12153 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12154 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12156 # Commands to make compiler produce verbose output that lists
12157 # what "hidden" libraries, object files and flags are used when
12158 # linking a shared library.
12159 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12162 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12164 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12166 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12173 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12174 no_undefined_flag_CXX
='${wl}-z,text'
12175 archive_cmds_need_lc_CXX
=no
12176 hardcode_shlibpath_var_CXX
=no
12177 runpath_var
='LD_RUN_PATH'
12179 case $cc_basename in
12181 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12182 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12185 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12186 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12190 sysv5
* | sco3.2v5
* | sco5v6
*)
12191 # Note: We can NOT use -z defs as we might desire, because we do not
12192 # link with -lc, and that would cause any symbols used from libc to
12193 # always be unresolved, which means just about no library would
12194 # ever link correctly. If we're not using GNU ld we use -z text
12195 # though, which does catch some bad symbols but isn't as heavy-handed
12197 # For security reasons, it is highly recommended that you always
12198 # use absolute paths for naming shared libraries, and exclude the
12199 # DT_RUNPATH tag from executables and libraries. But doing so
12200 # requires that you compile everything twice, which is a pain.
12201 # So that behaviour is only enabled if SCOABSPATH is set to a
12202 # non-empty value in the environment. Most likely only useful for
12203 # creating official distributions of packages.
12204 # This is a hack until libtool officially supports absolute path
12205 # names for shared libraries.
12206 no_undefined_flag_CXX
='${wl}-z,text'
12207 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12208 archive_cmds_need_lc_CXX
=no
12209 hardcode_shlibpath_var_CXX
=no
12210 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12211 hardcode_libdir_separator_CXX
=':'
12212 link_all_deplibs_CXX
=yes
12213 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12214 runpath_var
='LD_RUN_PATH'
12216 case $cc_basename in
12218 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12219 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12222 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12223 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12228 case $cc_basename in
12230 # NonStop-UX NCC 3.20
12231 # FIXME: insert proper C++ library support
12235 # FIXME: insert proper C++ library support
12241 # FIXME: insert proper C++ library support
12245 # FIXME: insert proper C++ library support
12249 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12250 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12251 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12257 cat > conftest.
$ac_ext <<EOF
12261 Foo (void) { a = 0; }
12267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12268 (eval $ac_compile) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; then
12272 # Parse the compiler output and extract the necessary
12273 # objects, libraries and library flags.
12275 # Sentinel used to keep track of whether or not we are before
12276 # the conftest object file.
12277 pre_test_object_deps_done
=no
12279 # The `*' in the case matches for architectures that use `case' in
12280 # $output_verbose_cmd can trigger glob expansion during the loop
12281 # eval without this substitution.
12282 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12284 for p
in `eval $output_verbose_link_cmd`; do
12288 # Some compilers place space between "-{L,R}" and the path.
12289 # Remove the space.
12290 if test $p = "-L" \
12291 ||
test $p = "-R"; then
12298 if test "$pre_test_object_deps_done" = no
; then
12301 # Internal compiler library paths should come after those
12302 # provided the user. The postdeps already come after the
12303 # user supplied libs so there is no need to process them.
12304 if test -z "$compiler_lib_search_path_CXX"; then
12305 compiler_lib_search_path_CXX
="${prev}${p}"
12307 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12310 # The "-l" case would never come before the object being
12311 # linked, so don't bother handling this case.
12314 if test -z "$postdeps_CXX"; then
12315 postdeps_CXX
="${prev}${p}"
12317 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12323 # This assumes that the test object file only shows up
12324 # once in the compiler output.
12325 if test "$p" = "conftest.$objext"; then
12326 pre_test_object_deps_done
=yes
12330 if test "$pre_test_object_deps_done" = no
; then
12331 if test -z "$predep_objects_CXX"; then
12332 predep_objects_CXX
="$p"
12334 predep_objects_CXX
="$predep_objects_CXX $p"
12337 if test -z "$postdep_objects_CXX"; then
12338 postdep_objects_CXX
="$p"
12340 postdep_objects_CXX
="$postdep_objects_CXX $p"
12345 *) ;; # Ignore the rest.
12353 echo "libtool.m4: error: problem compiling CXX test program"
12356 $rm -f confest.
$objext
12358 # PORTME: override above test on systems where it is broken
12361 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12362 # hack all around it, let's just trust "g++" to DTRT.
12363 predep_objects_CXX
=
12364 postdep_objects_CXX
=
12369 case `$CC -V 2>&1 | sed 5q` in
12373 # The more standards-conforming stlport4 library is
12374 # incompatible with the Cstd library. Avoid specifying
12375 # it if it's in CXXFLAGS. Ignore libCrun as
12376 # -library=stlport4 depends on it.
12377 case " $CXX $CXXFLAGS " in
12378 *" -library=stlport4 "*)
12379 solaris_use_stlport4
=yes
12382 if test "$solaris_use_stlport4" != yes; then
12383 postdeps_CXX
='-library=Cstd -library=Crun'
12390 case $cc_basename in
12392 # The more standards-conforming stlport4 library is
12393 # incompatible with the Cstd library. Avoid specifying
12394 # it if it's in CXXFLAGS. Ignore libCrun as
12395 # -library=stlport4 depends on it.
12396 case " $CXX $CXXFLAGS " in
12397 *" -library=stlport4 "*)
12398 solaris_use_stlport4
=yes
12402 # Adding this requires a known-good setup of shared libraries for
12403 # Sun compiler versions before 5.6, else PIC objects from an old
12404 # archive will be linked into the output, leading to subtle bugs.
12405 if test "$solaris_use_stlport4" != yes; then
12406 postdeps_CXX
='-library=Cstd -library=Crun'
12414 case " $postdeps_CXX " in
12415 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12418 lt_prog_compiler_wl_CXX
=
12419 lt_prog_compiler_pic_CXX
=
12420 lt_prog_compiler_static_CXX
=
12422 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12423 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12425 # C++ specific cases for pic, static, wl, etc.
12426 if test "$GXX" = yes; then
12427 lt_prog_compiler_wl_CXX
='-Wl,'
12428 lt_prog_compiler_static_CXX
='-static'
12432 # All AIX code is PIC.
12433 if test "$host_cpu" = ia64
; then
12434 # AIX 5 now supports IA64 processor
12435 lt_prog_compiler_static_CXX
='-Bstatic'
12439 # FIXME: we need at least 68020 code to build shared libraries, but
12440 # adding the `-m68020' flag to GCC prevents building anything better,
12442 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12444 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12445 # PIC is the default for these OSes.
12447 mingw
* | cygwin
* | os2
* | pw32
*)
12448 # This hack is so that the source file can tell whether it is being
12449 # built for inclusion in a dll (and should export symbols for example).
12450 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12451 # (--disable-auto-import) libraries
12452 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12454 darwin
* | rhapsody
*)
12455 # PIC is the default on this platform
12456 # Common symbols not allowed in MH_DYLIB files
12457 lt_prog_compiler_pic_CXX
='-fno-common'
12460 # DJGPP does not support shared libraries at all
12461 lt_prog_compiler_pic_CXX
=
12464 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12465 # Instead, we relocate shared libraries at runtime.
12468 if test -d /usr
/nec
; then
12469 lt_prog_compiler_pic_CXX
=-Kconform_pic
12473 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12474 # not for PA HP-UX.
12479 lt_prog_compiler_pic_CXX
='-fPIC'
12484 lt_prog_compiler_pic_CXX
='-fPIC'
12490 # All AIX code is PIC.
12491 if test "$host_cpu" = ia64
; then
12492 # AIX 5 now supports IA64 processor
12493 lt_prog_compiler_static_CXX
='-Bstatic'
12495 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12499 case $cc_basename in
12501 # Green Hills C++ Compiler
12502 # _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"
12507 # PIC is the default on this platform
12508 # Common symbols not allowed in MH_DYLIB files
12509 case $cc_basename in
12511 lt_prog_compiler_pic_CXX
='-qnocommon'
12512 lt_prog_compiler_wl_CXX
='-Wl,'
12517 case $cc_basename in
12519 lt_prog_compiler_pic_CXX
='-KPIC'
12522 # Green Hills C++ Compiler
12523 lt_prog_compiler_pic_CXX
='-pic'
12529 freebsd
* | dragonfly
*)
12530 # FreeBSD uses GNU C++
12532 hpux9
* | hpux10
* | hpux11
*)
12533 case $cc_basename in
12535 lt_prog_compiler_wl_CXX
='-Wl,'
12536 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12537 if test "$host_cpu" != ia64
; then
12538 lt_prog_compiler_pic_CXX
='+Z'
12542 lt_prog_compiler_wl_CXX
='-Wl,'
12543 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12549 lt_prog_compiler_pic_CXX
='+Z'
12558 # This is c89, which is MS Visual C++ (no shared libs)
12559 # Anyone wants to do a port?
12561 irix5
* | irix6
* | nonstopux
*)
12562 case $cc_basename in
12564 lt_prog_compiler_wl_CXX
='-Wl,'
12565 lt_prog_compiler_static_CXX
='-non_shared'
12566 # CC pic flag -KPIC is the default.
12572 linux
* | k
*bsd
*-gnu)
12573 case $cc_basename in
12576 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12577 lt_prog_compiler_pic_CXX
='-fPIC'
12581 lt_prog_compiler_wl_CXX
='-Wl,'
12582 lt_prog_compiler_pic_CXX
='-KPIC'
12583 lt_prog_compiler_static_CXX
='-static'
12586 # Portland Group C++ compiler.
12587 lt_prog_compiler_wl_CXX
='-Wl,'
12588 lt_prog_compiler_pic_CXX
='-fpic'
12589 lt_prog_compiler_static_CXX
='-Bstatic'
12593 # Make sure the PIC flag is empty. It appears that all Alpha
12594 # Linux and Compaq Tru64 Unix objects are PIC.
12595 lt_prog_compiler_pic_CXX
=
12596 lt_prog_compiler_static_CXX
='-non_shared'
12599 case `$CC -V 2>&1 | sed 5q` in
12602 lt_prog_compiler_pic_CXX
='-KPIC'
12603 lt_prog_compiler_static_CXX
='-Bstatic'
12604 lt_prog_compiler_wl_CXX
='-Qoption ld '
12615 case $cc_basename in
12617 lt_prog_compiler_pic_CXX
='-W c,exportall'
12623 netbsd
* | netbsdelf
*-gnu)
12625 osf3
* | osf4
* | osf5
*)
12626 case $cc_basename in
12628 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12631 # Rational C++ 2.4.1
12632 lt_prog_compiler_pic_CXX
='-pic'
12635 # Digital/Compaq C++
12636 lt_prog_compiler_wl_CXX
='-Wl,'
12637 # Make sure the PIC flag is empty. It appears that all Alpha
12638 # Linux and Compaq Tru64 Unix objects are PIC.
12639 lt_prog_compiler_pic_CXX
=
12640 lt_prog_compiler_static_CXX
='-non_shared'
12649 case $cc_basename in
12651 # Sun C++ 4.2, 5.x and Centerline C++
12652 lt_prog_compiler_pic_CXX
='-KPIC'
12653 lt_prog_compiler_static_CXX
='-Bstatic'
12654 lt_prog_compiler_wl_CXX
='-Qoption ld '
12657 # Green Hills C++ Compiler
12658 lt_prog_compiler_pic_CXX
='-PIC'
12665 case $cc_basename in
12668 lt_prog_compiler_pic_CXX
='-pic'
12669 lt_prog_compiler_static_CXX
='-Bstatic'
12673 lt_prog_compiler_pic_CXX
='-pic'
12680 case $cc_basename in
12682 # NonStop-UX NCC 3.20
12683 lt_prog_compiler_pic_CXX
='-KPIC'
12689 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12690 case $cc_basename in
12692 lt_prog_compiler_wl_CXX
='-Wl,'
12693 lt_prog_compiler_pic_CXX
='-KPIC'
12694 lt_prog_compiler_static_CXX
='-Bstatic'
12701 lt_prog_compiler_can_build_shared_CXX
=no
12706 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12707 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12710 # Check to make sure the PIC flag actually works.
12712 if test -n "$lt_prog_compiler_pic_CXX"; then
12714 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12715 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12716 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 lt_prog_compiler_pic_works_CXX
=no
12720 ac_outfile
=conftest.
$ac_objext
12721 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12722 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12723 # Insert the option either (1) after the last *FLAGS variable, or
12724 # (2) before a word containing "conftest.", or (3) at the end.
12725 # Note that $ac_compile itself does not contain backslashes and begins
12726 # with a dollar sign (not a hyphen), so the echo should work correctly.
12727 # The option is referenced via a variable to avoid confusing sed.
12728 lt_compile
=`echo "$ac_compile" | $SED \
12729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12731 -e 's:$: $lt_compiler_flag:'`
12732 (eval echo "\"\$as_me:12719: $lt_compile\"" >&5)
12733 (eval "$lt_compile" 2>conftest.err
)
12735 cat conftest.err
>&5
12736 echo "$as_me:12723: \$? = $ac_status" >&5
12737 if (exit $ac_status) && test -s "$ac_outfile"; then
12738 # The compiler can only warn and ignore the option if not recognized
12739 # So say no if there are warnings other than the usual output.
12740 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12741 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12742 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12743 lt_prog_compiler_pic_works_CXX
=yes
12749 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12750 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12752 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12753 case $lt_prog_compiler_pic_CXX in
12755 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12758 lt_prog_compiler_pic_CXX
=
12759 lt_prog_compiler_can_build_shared_CXX
=no
12764 # For platforms which do not support PIC, -DPIC is meaningless:
12766 lt_prog_compiler_pic_CXX
=
12769 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12774 # Check to make sure the static flag actually works.
12776 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12777 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12778 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12779 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 lt_prog_compiler_static_works_CXX
=no
12783 save_LDFLAGS
="$LDFLAGS"
12784 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12785 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12786 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12787 # The linker can only warn and ignore the option if not recognized
12788 # So say no if there are warnings
12789 if test -s conftest.err
; then
12790 # Append any errors to the config.log.
12791 cat conftest.err
1>&5
12792 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12793 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12794 if diff conftest.exp conftest.er2
>/dev
/null
; then
12795 lt_prog_compiler_static_works_CXX
=yes
12798 lt_prog_compiler_static_works_CXX
=yes
12802 LDFLAGS
="$save_LDFLAGS"
12805 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12806 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12808 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12811 lt_prog_compiler_static_CXX
=
12815 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12816 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12817 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12818 echo $ECHO_N "(cached) $ECHO_C" >&6
12820 lt_cv_prog_compiler_c_o_CXX
=no
12821 $rm -r conftest
2>/dev
/null
12825 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12827 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12828 # Insert the option either (1) after the last *FLAGS variable, or
12829 # (2) before a word containing "conftest.", or (3) at the end.
12830 # Note that $ac_compile itself does not contain backslashes and begins
12831 # with a dollar sign (not a hyphen), so the echo should work correctly.
12832 lt_compile
=`echo "$ac_compile" | $SED \
12833 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12834 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12835 -e 's:$: $lt_compiler_flag:'`
12836 (eval echo "\"\$as_me:12823: $lt_compile\"" >&5)
12837 (eval "$lt_compile" 2>out
/conftest.err
)
12839 cat out
/conftest.err
>&5
12840 echo "$as_me:12827: \$? = $ac_status" >&5
12841 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12843 # The compiler can only warn and ignore the option if not recognized
12844 # So say no if there are warnings
12845 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12846 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12847 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12848 lt_cv_prog_compiler_c_o_CXX
=yes
12853 # SGI C++ compiler will create directory out/ii_files/ for
12854 # template instantiation
12855 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12856 $rm out
/* && rmdir out
12862 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12863 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12866 hard_links
="nottested"
12867 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12868 # do not overwrite the value of need_locks provided by the user
12869 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12870 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12873 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12875 ln conftest.a conftest.b
2>&5 || hard_links
=no
12876 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12877 { echo "$as_me:$LINENO: result: $hard_links" >&5
12878 echo "${ECHO_T}$hard_links" >&6; }
12879 if test "$hard_links" = no
; then
12880 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12881 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12888 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12889 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12891 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12894 # If we're using GNU nm, then we don't want the "-C" option.
12895 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12896 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12897 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'
12899 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'
12903 export_symbols_cmds_CXX
="$ltdll_cmds"
12906 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'
12908 linux
* | k
*bsd
*-gnu)
12909 link_all_deplibs_CXX
=no
12912 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12916 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12917 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12918 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12921 # Do we need to explicitly link libc?
12923 case "x$archive_cmds_need_lc_CXX" in
12925 # Assume -lc should be added
12926 archive_cmds_need_lc_CXX
=yes
12928 if test "$enable_shared" = yes && test "$GCC" = yes; then
12929 case $archive_cmds_CXX in
12931 # FIXME: we may have to deal with multi-command sequences.
12934 # Test whether the compiler implicitly links with -lc since on some
12935 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12936 # to ld, don't add -lc before -lgcc.
12937 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12938 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12940 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943 (eval $ac_compile) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } 2>conftest.err
; then
12949 libobjs
=conftest.
$ac_objext
12951 wl
=$lt_prog_compiler_wl_CXX
12952 pic_flag
=$lt_prog_compiler_pic_CXX
12958 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12959 allow_undefined_flag_CXX
=
12960 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12961 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }
12966 archive_cmds_need_lc_CXX
=no
12968 archive_cmds_need_lc_CXX
=yes
12970 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12972 cat conftest.err
1>&5
12975 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12976 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12983 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12984 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12985 library_names_spec
=
12986 libname_spec
='lib$name'
12990 postuninstall_cmds
=
12994 shlibpath_overrides_runpath
=unknown
12996 dynamic_linker
="$host_os ld.so"
12997 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12999 need_lib_prefix
=unknown
13000 hardcode_into_libs
=no
13002 # when you set need_version to no, make sure it does not cause -set_version
13003 # flags to be left without arguments
13004 need_version
=unknown
13009 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13010 shlibpath_var
=LIBPATH
13012 # AIX 3 has no versioning support, so we append a major version to the name.
13013 soname_spec
='${libname}${release}${shared_ext}$major'
13020 hardcode_into_libs
=yes
13021 if test "$host_cpu" = ia64
; then
13022 # AIX 5 supports IA64
13023 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13024 shlibpath_var
=LD_LIBRARY_PATH
13026 # With GCC up to 2.95.x, collect2 would create an import file
13027 # for dependence libraries. The import file would start with
13028 # the line `#! .'. This would cause the generated library to
13029 # depend on `.', always an invalid library. This was fixed in
13030 # development snapshots of GCC prior to 3.0.
13032 aix4 | aix4.
[01] | aix4.
[01].
*)
13033 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13035 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13038 can_build_shared
=no
13042 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13043 # soname into executable. Probably we can add versioning support to
13044 # collect2, so additional links can be useful in future.
13045 if test "$aix_use_runtimelinking" = yes; then
13046 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13047 # instead of lib<name>.a to let people know that these are not
13048 # typical AIX shared libraries.
13049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13051 # We preserve .a as extension for shared libraries through AIX4.2
13052 # and later when we are not doing run time linking.
13053 library_names_spec
='${libname}${release}.a $libname.a'
13054 soname_spec
='${libname}${release}${shared_ext}$major'
13056 shlibpath_var
=LIBPATH
13061 library_names_spec
='$libname.ixlibrary $libname.a'
13062 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13063 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'
13067 library_names_spec
='${libname}${shared_ext}'
13068 dynamic_linker
="$host_os ld.so"
13069 shlibpath_var
=LIBRARY_PATH
13075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13076 soname_spec
='${libname}${release}${shared_ext}$major'
13077 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13078 shlibpath_var
=LD_LIBRARY_PATH
13079 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13080 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13081 # the default ld.so.conf also contains /usr/contrib/lib and
13082 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13083 # libtool to hard-code these into programs
13086 cygwin
* | mingw
* | pw32
*)
13087 version_type
=windows
13092 case $GCC,$host_os in
13093 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13094 library_names_spec
='$libname.dll.a'
13095 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13096 postinstall_cmds
='base_file=`basename \${file}`~
13097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13098 dldir=$destdir/`dirname \$dlpath`~
13099 test -d \$dldir || mkdir -p \$dldir~
13100 $install_prog $dir/$dlname \$dldir/$dlname~
13101 chmod a+x \$dldir/$dlname'
13102 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13103 dlpath=$dir/\$dldll~
13105 shlibpath_overrides_runpath
=yes
13109 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13110 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13111 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13114 # MinGW DLLs use traditional 'lib' prefix
13115 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13116 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13117 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13118 # It is most probably a Windows format PATH printed by
13119 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13120 # path with ; separators, and with drive letters. We can handle the
13121 # drive letters (cygwin fileutils understands them), so leave them,
13122 # especially as we might pass files found there to a mingw objdump,
13123 # which wouldn't understand a cygwinified path. Ahh.
13124 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13126 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13130 # pw32 DLLs use 'pw' prefix rather than 'lib'
13131 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13137 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13140 dynamic_linker
='Win32 ld.exe'
13141 # FIXME: first we should search . and the directory the executable is in
13145 darwin
* | rhapsody
*)
13146 dynamic_linker
="$host_os dyld"
13147 version_type
=darwin
13150 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13151 soname_spec
='${libname}${release}${major}$shared_ext'
13152 shlibpath_overrides_runpath
=yes
13153 shlibpath_var
=DYLD_LIBRARY_PATH
13154 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13156 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13164 soname_spec
='${libname}${release}${shared_ext}$major'
13165 shlibpath_var
=LD_LIBRARY_PATH
13172 freebsd
* | dragonfly
*)
13173 # DragonFly does not have aout. When/if they implement a new
13174 # versioning mechanism, adjust this.
13175 if test -x /usr
/bin
/objformat
; then
13176 objformat
=`/usr/bin/objformat`
13179 freebsd
[123]*) objformat
=aout
;;
13180 *) objformat
=elf
;;
13183 version_type
=freebsd-
$objformat
13184 case $version_type in
13186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13191 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13195 shlibpath_var
=LD_LIBRARY_PATH
13198 shlibpath_overrides_runpath
=yes
13200 freebsd3.
[01]* | freebsdelf3.
[01]*)
13201 shlibpath_overrides_runpath
=yes
13202 hardcode_into_libs
=yes
13204 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13205 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13206 shlibpath_overrides_runpath
=no
13207 hardcode_into_libs
=yes
13209 *) # from 4.6 on, and DragonFly
13210 shlibpath_overrides_runpath
=yes
13211 hardcode_into_libs
=yes
13220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13221 soname_spec
='${libname}${release}${shared_ext}$major'
13222 shlibpath_var
=LD_LIBRARY_PATH
13223 hardcode_into_libs
=yes
13226 hpux9
* | hpux10
* | hpux11
*)
13227 # Give a soname corresponding to the major version so that dld.sl refuses to
13228 # link against other versions.
13235 hardcode_into_libs
=yes
13236 dynamic_linker
="$host_os dld.so"
13237 shlibpath_var
=LD_LIBRARY_PATH
13238 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13240 soname_spec
='${libname}${release}${shared_ext}$major'
13241 if test "X$HPUX_IA64_MODE" = X32
; then
13242 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13244 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13246 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13250 hardcode_into_libs
=yes
13251 dynamic_linker
="$host_os dld.sl"
13252 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13253 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13255 soname_spec
='${libname}${release}${shared_ext}$major'
13256 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13257 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13261 dynamic_linker
="$host_os dld.sl"
13262 shlibpath_var
=SHLIB_PATH
13263 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13265 soname_spec
='${libname}${release}${shared_ext}$major'
13268 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13269 postinstall_cmds
='chmod 555 $lib'
13276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13277 soname_spec
='${libname}${release}${shared_ext}$major'
13278 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13279 shlibpath_var
=LD_LIBRARY_PATH
13280 shlibpath_overrides_runpath
=no
13281 hardcode_into_libs
=yes
13284 irix5
* | irix6
* | nonstopux
*)
13286 nonstopux
*) version_type
=nonstopux
;;
13288 if test "$lt_cv_prog_gnu_ld" = yes; then
13296 soname_spec
='${libname}${release}${shared_ext}$major'
13297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13299 irix5
* | nonstopux
*)
13300 libsuff
= shlibsuff
=
13303 case $LD in # libtool.m4 will add one of these switches to LD
13304 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13305 libsuff
= shlibsuff
= libmagic
=32-bit;;
13306 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13307 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13308 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13309 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13310 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13314 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13315 shlibpath_overrides_runpath
=no
13316 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13317 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13318 hardcode_into_libs
=yes
13321 # No shared lib support for Linux oldld, aout, or coff.
13322 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13326 # This must be Linux ELF.
13327 linux
* | k
*bsd
*-gnu)
13331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13332 soname_spec
='${libname}${release}${shared_ext}$major'
13333 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13334 shlibpath_var
=LD_LIBRARY_PATH
13335 shlibpath_overrides_runpath
=no
13336 # This implies no fast_install, which is unacceptable.
13337 # Some rework will be needed to allow for fast_install
13338 # before this can be enabled.
13339 hardcode_into_libs
=yes
13341 # Append ld.so.conf contents to the search path
13342 if test -f /etc
/ld.so.conf
; then
13343 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13344 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13347 # We used to test for /lib/ld.so.1 and disable shared libraries on
13348 # powerpc, because MkLinux only supported shared libraries with the
13349 # GNU dynamic linker. Since this was broken with cross compilers,
13350 # most powerpc-linux boxes support dynamic linking these days and
13351 # people can always --disable-shared, the test was removed, and we
13352 # assume the GNU/Linux dynamic linker is in use.
13353 dynamic_linker
='GNU/Linux ld.so'
13360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13361 soname_spec
='${libname}${release}${shared_ext}$major'
13362 shlibpath_var
=LD_LIBRARY_PATH
13363 shlibpath_overrides_runpath
=no
13364 hardcode_into_libs
=yes
13365 dynamic_linker
='NetBSD ld.elf_so'
13372 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13374 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13375 dynamic_linker
='NetBSD (a.out) ld.so'
13377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13378 soname_spec
='${libname}${release}${shared_ext}$major'
13379 dynamic_linker
='NetBSD ld.elf_so'
13381 shlibpath_var
=LD_LIBRARY_PATH
13382 shlibpath_overrides_runpath
=yes
13383 hardcode_into_libs
=yes
13388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13389 shlibpath_var
=LD_LIBRARY_PATH
13390 shlibpath_overrides_runpath
=yes
13397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13398 soname_spec
='${libname}${release}${shared_ext}$major'
13399 shlibpath_var
=LD_LIBRARY_PATH
13400 shlibpath_overrides_runpath
=yes
13405 sys_lib_dlsearch_path_spec
="/usr/lib"
13407 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13409 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13410 *) need_version
=no
;;
13412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13413 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13414 shlibpath_var
=LD_LIBRARY_PATH
13415 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13417 openbsd2.
[89] | openbsd2.
[89].
*)
13418 shlibpath_overrides_runpath
=no
13421 shlibpath_overrides_runpath
=yes
13425 shlibpath_overrides_runpath
=yes
13430 libname_spec
='$name'
13433 library_names_spec
='$libname${shared_ext} $libname.a'
13434 dynamic_linker
='OS/2 ld.exe'
13435 shlibpath_var
=LIBPATH
13438 osf3
* | osf4
* | osf5
*)
13442 soname_spec
='${libname}${release}${shared_ext}$major'
13443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13444 shlibpath_var
=LD_LIBRARY_PATH
13445 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13446 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13458 soname_spec
='${libname}${release}${shared_ext}$major'
13459 shlibpath_var
=LD_LIBRARY_PATH
13460 shlibpath_overrides_runpath
=yes
13461 hardcode_into_libs
=yes
13462 # ldd complains unless libraries are executable
13463 postinstall_cmds
='chmod +x $lib'
13468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13469 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13470 shlibpath_var
=LD_LIBRARY_PATH
13471 shlibpath_overrides_runpath
=yes
13472 if test "$with_gnu_ld" = yes; then
13480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13481 soname_spec
='${libname}${release}${shared_ext}$major'
13482 shlibpath_var
=LD_LIBRARY_PATH
13483 case $host_vendor in
13485 shlibpath_overrides_runpath
=no
13487 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13488 runpath_var
=LD_RUN_PATH
13496 shlibpath_overrides_runpath
=no
13497 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13503 if test -d /usr
/nec
;then
13505 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13506 soname_spec
='$libname${shared_ext}.$major'
13507 shlibpath_var
=LD_LIBRARY_PATH
13511 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13512 version_type
=freebsd-elf
13515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13516 soname_spec
='${libname}${release}${shared_ext}$major'
13517 shlibpath_var
=LD_LIBRARY_PATH
13518 hardcode_into_libs
=yes
13519 if test "$with_gnu_ld" = yes; then
13520 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13521 shlibpath_overrides_runpath
=no
13523 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13524 shlibpath_overrides_runpath
=yes
13527 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13531 sys_lib_dlsearch_path_spec
='/usr/lib'
13536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13537 soname_spec
='${libname}${release}${shared_ext}$major'
13538 shlibpath_var
=LD_LIBRARY_PATH
13545 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13546 echo "${ECHO_T}$dynamic_linker" >&6; }
13547 test "$dynamic_linker" = no
&& can_build_shared
=no
13549 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13550 if test "$GCC" = yes; then
13551 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13554 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13555 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13556 hardcode_action_CXX
=
13557 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13558 test -n "$runpath_var_CXX" || \
13559 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13561 # We can hardcode non-existant directories.
13562 if test "$hardcode_direct_CXX" != no
&&
13563 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13564 # have to relink, otherwise we might link with an installed library
13565 # when we should be linking with a yet-to-be-installed one
13566 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13567 test "$hardcode_minus_L_CXX" != no
; then
13568 # Linking always hardcodes the temporary library directory.
13569 hardcode_action_CXX
=relink
13571 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13572 hardcode_action_CXX
=immediate
13575 # We cannot hardcode anything, or else we can only hardcode existing
13577 hardcode_action_CXX
=unsupported
13579 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13580 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13582 if test "$hardcode_action_CXX" = relink
; then
13583 # Fast installation is not supported
13584 enable_fast_install
=no
13585 elif test "$shlibpath_overrides_runpath" = yes ||
13586 test "$enable_shared" = no
; then
13587 # Fast installation is not necessary
13588 enable_fast_install
=needless
13592 # The else clause should only fire when bootstrapping the
13593 # libtool distribution, otherwise you forgot to ship ltmain.sh
13594 # with your package, and you will get complaints that there are
13595 # no rules to generate ltmain.sh.
13596 if test -f "$ltmain"; then
13597 # See if we are running on zsh, and set the options which allow our commands through
13598 # without removal of \ escapes.
13599 if test -n "${ZSH_VERSION+set}" ; then
13600 setopt NO_GLOB_SUBST
13602 # Now quote all the things that may contain metacharacters while being
13603 # careful not to overquote the AC_SUBSTed values. We take copies of the
13604 # variables and quote the copies for generation of the libtool script.
13605 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13607 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13608 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13609 deplibs_check_method reload_flag reload_cmds need_locks \
13610 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13611 lt_cv_sys_global_symbol_to_c_name_address \
13612 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13613 old_postinstall_cmds old_postuninstall_cmds \
13617 lt_prog_compiler_wl_CXX \
13618 lt_prog_compiler_pic_CXX \
13619 lt_prog_compiler_static_CXX \
13620 lt_prog_compiler_no_builtin_flag_CXX \
13621 export_dynamic_flag_spec_CXX \
13622 thread_safe_flag_spec_CXX \
13623 whole_archive_flag_spec_CXX \
13624 enable_shared_with_static_runtimes_CXX \
13625 old_archive_cmds_CXX \
13626 old_archive_from_new_cmds_CXX \
13627 predep_objects_CXX \
13628 postdep_objects_CXX \
13631 compiler_lib_search_path_CXX \
13633 archive_expsym_cmds_CXX \
13634 postinstall_cmds_CXX \
13635 postuninstall_cmds_CXX \
13636 old_archive_from_expsyms_cmds_CXX \
13637 allow_undefined_flag_CXX \
13638 no_undefined_flag_CXX \
13639 export_symbols_cmds_CXX \
13640 hardcode_libdir_flag_spec_CXX \
13641 hardcode_libdir_flag_spec_ld_CXX \
13642 hardcode_libdir_separator_CXX \
13643 hardcode_automatic_CXX \
13645 module_expsym_cmds_CXX \
13646 lt_cv_prog_compiler_c_o_CXX \
13647 fix_srcfile_path_CXX \
13648 exclude_expsyms_CXX \
13649 include_expsyms_CXX
; do
13652 old_archive_cmds_CXX | \
13653 old_archive_from_new_cmds_CXX | \
13654 archive_cmds_CXX | \
13655 archive_expsym_cmds_CXX | \
13656 module_cmds_CXX | \
13657 module_expsym_cmds_CXX | \
13658 old_archive_from_expsyms_cmds_CXX | \
13659 export_symbols_cmds_CXX | \
13660 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13661 postinstall_cmds | postuninstall_cmds | \
13662 old_postinstall_cmds | old_postuninstall_cmds | \
13663 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13664 # Double-quote double-evaled strings.
13665 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13668 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13674 *'\$0 --fallback-echo"')
13675 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13681 cat <<__EOF__ >> "$cfgfile"
13682 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13684 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13686 # Shell to use when invoking shell scripts.
13689 # Whether or not to build shared libraries.
13690 build_libtool_libs=$enable_shared
13692 # Whether or not to build static libraries.
13693 build_old_libs=$enable_static
13695 # Whether or not to add -lc for building shared libraries.
13696 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13698 # Whether or not to disallow shared libs when runtime libs are static
13699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13701 # Whether or not to optimize for fast installation.
13702 fast_install=$enable_fast_install
13705 host_alias=$host_alias
13709 # The build system.
13710 build_alias=$build_alias
13714 # An echo program that does not interpret backslashes.
13719 AR_FLAGS=$lt_AR_FLAGS
13724 # LTCC compiler flags.
13725 LTCFLAGS=$lt_LTCFLAGS
13727 # A language-specific compiler.
13728 CC=$lt_compiler_CXX
13730 # Is the compiler the GNU C compiler?
13736 # The linker used to build libraries.
13739 # Whether we need hard or soft links.
13742 # A BSD-compatible nm program.
13745 # A symbol stripping program
13748 # Used to examine libraries when file_magic_cmd begins "file"
13749 MAGIC_CMD=$MAGIC_CMD
13751 # Used on cygwin: DLL creation program.
13754 # Used on cygwin: object dumper.
13757 # Used on cygwin: assembler.
13760 # The name of the directory that contains temporary libtool files.
13763 # How to create reloadable object files.
13764 reload_flag=$lt_reload_flag
13765 reload_cmds=$lt_reload_cmds
13767 # How to pass a linker flag through the compiler.
13768 wl=$lt_lt_prog_compiler_wl_CXX
13770 # Object file suffix (normally "o").
13771 objext="$ac_objext"
13773 # Old archive suffix (normally "a").
13776 # Shared library suffix (normally ".so").
13777 shrext_cmds='$shrext_cmds'
13779 # Executable file suffix (normally "").
13782 # Additional compiler flags for building library objects.
13783 pic_flag=$lt_lt_prog_compiler_pic_CXX
13786 # What is the maximum length of a command?
13787 max_cmd_len=$lt_cv_sys_max_cmd_len
13789 # Does compiler simultaneously support -c and -o options?
13790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13792 # Must we lock files when doing compilation?
13793 need_locks=$lt_need_locks
13795 # Do we need the lib prefix for modules?
13796 need_lib_prefix=$need_lib_prefix
13798 # Do we need a version for libraries?
13799 need_version=$need_version
13801 # Whether dlopen is supported.
13802 dlopen_support=$enable_dlopen
13804 # Whether dlopen of programs is supported.
13805 dlopen_self=$enable_dlopen_self
13807 # Whether dlopen of statically linked programs is supported.
13808 dlopen_self_static=$enable_dlopen_self_static
13810 # Compiler flag to prevent dynamic linking.
13811 link_static_flag=$lt_lt_prog_compiler_static_CXX
13813 # Compiler flag to turn off builtin functions.
13814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13816 # Compiler flag to allow reflexive dlopens.
13817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13819 # Compiler flag to generate shared objects directly from archives.
13820 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13822 # Compiler flag to generate thread-safe objects.
13823 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13825 # Library versioning type.
13826 version_type=$version_type
13828 # Format of library name prefix.
13829 libname_spec=$lt_libname_spec
13831 # List of archive names. First name is the real one, the rest are links.
13832 # The last name is the one that the linker finds with -lNAME.
13833 library_names_spec=$lt_library_names_spec
13835 # The coded name of the library, if different from the real name.
13836 soname_spec=$lt_soname_spec
13838 # Commands used to build and install an old-style archive.
13840 old_archive_cmds=$lt_old_archive_cmds_CXX
13841 old_postinstall_cmds=$lt_old_postinstall_cmds
13842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13844 # Create an old-style archive from a shared archive.
13845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13847 # Create a temporary old-style archive to link instead of a shared archive.
13848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13850 # Commands used to build and install a shared archive.
13851 archive_cmds=$lt_archive_cmds_CXX
13852 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13853 postinstall_cmds=$lt_postinstall_cmds
13854 postuninstall_cmds=$lt_postuninstall_cmds
13856 # Commands used to build a loadable module (assumed same as above if empty)
13857 module_cmds=$lt_module_cmds_CXX
13858 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13860 # Commands to strip libraries.
13861 old_striplib=$lt_old_striplib
13862 striplib=$lt_striplib
13864 # Dependencies to place before the objects being linked to create a
13866 predep_objects=$lt_predep_objects_CXX
13868 # Dependencies to place after the objects being linked to create a
13870 postdep_objects=$lt_postdep_objects_CXX
13872 # Dependencies to place before the objects being linked to create a
13874 predeps=$lt_predeps_CXX
13876 # Dependencies to place after the objects being linked to create a
13878 postdeps=$lt_postdeps_CXX
13880 # The library search path used internally by the compiler when linking
13881 # a shared library.
13882 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13884 # Method to check whether dependent libraries are shared objects.
13885 deplibs_check_method=$lt_deplibs_check_method
13887 # Command to use when deplibs_check_method == file_magic.
13888 file_magic_cmd=$lt_file_magic_cmd
13890 # Flag that allows shared libraries with undefined symbols to be built.
13891 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13893 # Flag that forces no undefined symbols.
13894 no_undefined_flag=$lt_no_undefined_flag_CXX
13896 # Commands used to finish a libtool library installation in a directory.
13897 finish_cmds=$lt_finish_cmds
13899 # Same as above, but a single script fragment to be evaled but not shown.
13900 finish_eval=$lt_finish_eval
13902 # Take the output of nm and produce a listing of raw symbols and C names.
13903 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13905 # Transform the output of nm in a proper C declaration
13906 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13908 # Transform the output of nm in a C name address pair
13909 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13911 # This is the shared library runtime path variable.
13912 runpath_var=$runpath_var
13914 # This is the shared library path variable.
13915 shlibpath_var=$shlibpath_var
13917 # Is shlibpath searched before the hard-coded library search path?
13918 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13920 # How to hardcode a shared library path into an executable.
13921 hardcode_action=$hardcode_action_CXX
13923 # Whether we should hardcode library paths into libraries.
13924 hardcode_into_libs=$hardcode_into_libs
13926 # Flag to hardcode \$libdir into a binary during linking.
13927 # This must work even if \$libdir does not exist.
13928 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13930 # If ld is used when linking, flag to hardcode \$libdir into
13931 # a binary during linking. This must work even if \$libdir does
13933 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13935 # Whether we need a single -rpath flag with a separated argument.
13936 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13938 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13939 # resulting binary.
13940 hardcode_direct=$hardcode_direct_CXX
13942 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13943 # resulting binary.
13944 hardcode_minus_L=$hardcode_minus_L_CXX
13946 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13947 # the resulting binary.
13948 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13950 # Set to yes if building a shared library automatically hardcodes DIR into the library
13951 # and all subsequent libraries and executables linked against it.
13952 hardcode_automatic=$hardcode_automatic_CXX
13954 # Variables whose values should be saved in libtool wrapper scripts and
13955 # restored at relink time.
13956 variables_saved_for_relink="$variables_saved_for_relink"
13958 # Whether libtool must link a program against all its dependency libraries.
13959 link_all_deplibs=$link_all_deplibs_CXX
13961 # Compile-time system search path for libraries
13962 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13964 # Run-time system search path for libraries
13965 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13967 # Fix the shell variable \$srcfile for the compiler.
13968 fix_srcfile_path=$lt_fix_srcfile_path
13970 # Set to yes if exported symbols are required.
13971 always_export_symbols=$always_export_symbols_CXX
13973 # The commands to list exported symbols.
13974 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13976 # The commands to extract the exported symbol list from a shared archive.
13977 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13979 # Symbols that should not be listed in the preloaded symbols.
13980 exclude_expsyms=$lt_exclude_expsyms_CXX
13982 # Symbols that must always be exported.
13983 include_expsyms=$lt_include_expsyms_CXX
13985 # ### END LIBTOOL TAG CONFIG: $tagname
13991 # If there is no Makefile yet, we rely on a make rule to execute
13992 # `config.status --recheck' to rerun these tests and create the
13993 # libtool script then.
13994 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13995 if test -f "$ltmain_in"; then
13996 test -f Makefile
&& make "$ltmain"
14002 ac_cpp
='$CPP $CPPFLAGS'
14003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14011 with_gnu_ldcxx
=$with_gnu_ld
14012 with_gnu_ld
=$lt_save_with_gnu_ld
14013 lt_cv_path_LDCXX
=$lt_cv_path_LD
14014 lt_cv_path_LD
=$lt_save_path_LD
14015 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14016 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14024 if test -n "$F77" && test "X$F77" != "Xno"; then
14027 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14028 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14029 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14032 archive_cmds_need_lc_F77
=no
14033 allow_undefined_flag_F77
=
14034 always_export_symbols_F77
=no
14035 archive_expsym_cmds_F77
=
14036 export_dynamic_flag_spec_F77
=
14037 hardcode_direct_F77
=no
14038 hardcode_libdir_flag_spec_F77
=
14039 hardcode_libdir_flag_spec_ld_F77
=
14040 hardcode_libdir_separator_F77
=
14041 hardcode_minus_L_F77
=no
14042 hardcode_automatic_F77
=no
14044 module_expsym_cmds_F77
=
14045 link_all_deplibs_F77
=unknown
14046 old_archive_cmds_F77
=$old_archive_cmds
14047 no_undefined_flag_F77
=
14048 whole_archive_flag_spec_F77
=
14049 enable_shared_with_static_runtimes_F77
=no
14051 # Source file extension for f77 test sources.
14054 # Object file extension for compiled f77 test sources.
14058 # Code to be used in simple compile tests
14059 lt_simple_compile_test_code
="\
14065 # Code to be used in simple link tests
14066 lt_simple_link_test_code
="\
14071 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14073 # If no C compiler was specified, use CC.
14076 # If no C compiler flags were specified, use CFLAGS.
14077 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14079 # Allow CC to be a program name with arguments.
14083 # save warnings/boilerplate of simple test code
14084 ac_outfile
=conftest.
$ac_objext
14085 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14086 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14087 _lt_compiler_boilerplate
=`cat conftest.err`
14090 ac_outfile
=conftest.
$ac_objext
14091 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14092 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14093 _lt_linker_boilerplate
=`cat conftest.err`
14097 # Allow CC to be a program name with arguments.
14102 for cc_temp
in $compiler""; do
14104 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14105 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14110 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14113 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14114 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14115 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14116 echo "${ECHO_T}$can_build_shared" >&6; }
14118 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14119 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14120 test "$can_build_shared" = "no" && enable_shared
=no
14122 # On AIX, shared libraries and static libraries use the same namespace, and
14123 # are all built from PIC.
14126 test "$enable_shared" = yes && enable_static
=no
14127 if test -n "$RANLIB"; then
14128 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14129 postinstall_cmds
='$RANLIB $lib'
14133 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14134 test "$enable_shared" = yes && enable_static
=no
14138 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14139 echo "${ECHO_T}$enable_shared" >&6; }
14141 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14142 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14143 # Make sure either enable_shared or enable_static is yes.
14144 test "$enable_shared" = yes || enable_static
=yes
14145 { echo "$as_me:$LINENO: result: $enable_static" >&5
14146 echo "${ECHO_T}$enable_static" >&6; }
14151 lt_prog_compiler_wl_F77
=
14152 lt_prog_compiler_pic_F77
=
14153 lt_prog_compiler_static_F77
=
14155 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14156 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14158 if test "$GCC" = yes; then
14159 lt_prog_compiler_wl_F77
='-Wl,'
14160 lt_prog_compiler_static_F77
='-static'
14164 # All AIX code is PIC.
14165 if test "$host_cpu" = ia64
; then
14166 # AIX 5 now supports IA64 processor
14167 lt_prog_compiler_static_F77
='-Bstatic'
14172 # FIXME: we need at least 68020 code to build shared libraries, but
14173 # adding the `-m68020' flag to GCC prevents building anything better,
14175 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14178 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14179 # PIC is the default for these OSes.
14182 mingw
* | cygwin
* | pw32
* | os2
*)
14183 # This hack is so that the source file can tell whether it is being
14184 # built for inclusion in a dll (and should export symbols for example).
14185 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14186 # (--disable-auto-import) libraries
14187 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14190 darwin
* | rhapsody
*)
14191 # PIC is the default on this platform
14192 # Common symbols not allowed in MH_DYLIB files
14193 lt_prog_compiler_pic_F77
='-fno-common'
14197 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14198 # Instead, we relocate shared libraries at runtime.
14202 # Just because we use GCC doesn't mean we suddenly get shared libraries
14203 # on systems that don't support them.
14204 lt_prog_compiler_can_build_shared_F77
=no
14209 if test -d /usr
/nec
; then
14210 lt_prog_compiler_pic_F77
=-Kconform_pic
14215 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14216 # not for PA HP-UX.
14222 lt_prog_compiler_pic_F77
='-fPIC'
14228 lt_prog_compiler_pic_F77
='-fPIC'
14232 # PORTME Check for flag to pass linker flags through the system compiler.
14235 lt_prog_compiler_wl_F77
='-Wl,'
14236 if test "$host_cpu" = ia64
; then
14237 # AIX 5 now supports IA64 processor
14238 lt_prog_compiler_static_F77
='-Bstatic'
14240 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14244 # PIC is the default on this platform
14245 # Common symbols not allowed in MH_DYLIB files
14246 case $cc_basename in
14248 lt_prog_compiler_pic_F77
='-qnocommon'
14249 lt_prog_compiler_wl_F77
='-Wl,'
14254 mingw
* | cygwin
* | pw32
* | os2
*)
14255 # This hack is so that the source file can tell whether it is being
14256 # built for inclusion in a dll (and should export symbols for example).
14257 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14260 hpux9
* | hpux10
* | hpux11
*)
14261 lt_prog_compiler_wl_F77
='-Wl,'
14262 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14263 # not for PA HP-UX.
14269 lt_prog_compiler_pic_F77
='+Z'
14272 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14273 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14276 irix5
* | irix6
* | nonstopux
*)
14277 lt_prog_compiler_wl_F77
='-Wl,'
14278 # PIC (with -KPIC) is the default.
14279 lt_prog_compiler_static_F77
='-non_shared'
14283 lt_prog_compiler_pic_F77
='-KPIC'
14284 lt_prog_compiler_static_F77
='-Bstatic'
14287 linux
* | k
*bsd
*-gnu)
14288 case $cc_basename in
14290 lt_prog_compiler_wl_F77
='-Wl,'
14291 lt_prog_compiler_pic_F77
='-KPIC'
14292 lt_prog_compiler_static_F77
='-static'
14294 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14295 # Portland Group compilers (*not* the Pentium gcc compiler,
14296 # which looks to be a dead project)
14297 lt_prog_compiler_wl_F77
='-Wl,'
14298 lt_prog_compiler_pic_F77
='-fpic'
14299 lt_prog_compiler_static_F77
='-Bstatic'
14302 lt_prog_compiler_wl_F77
='-Wl,'
14303 # All Alpha code is PIC.
14304 lt_prog_compiler_static_F77
='-non_shared'
14307 case `$CC -V 2>&1 | sed 5q` in
14310 lt_prog_compiler_pic_F77
='-KPIC'
14311 lt_prog_compiler_static_F77
='-Bstatic'
14312 lt_prog_compiler_wl_F77
='-Wl,'
14315 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14316 lt_prog_compiler_pic_F77
='-KPIC'
14317 lt_prog_compiler_static_F77
='-Bstatic'
14318 lt_prog_compiler_wl_F77
=''
14325 osf3
* | osf4
* | osf5
*)
14326 lt_prog_compiler_wl_F77
='-Wl,'
14327 # All OSF/1 code is PIC.
14328 lt_prog_compiler_static_F77
='-non_shared'
14332 lt_prog_compiler_static_F77
='-non_shared'
14336 lt_prog_compiler_pic_F77
='-KPIC'
14337 lt_prog_compiler_static_F77
='-Bstatic'
14338 case $cc_basename in
14339 f77
* | f90
* | f95
*)
14340 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14342 lt_prog_compiler_wl_F77
='-Wl,';;
14347 lt_prog_compiler_wl_F77
='-Qoption ld '
14348 lt_prog_compiler_pic_F77
='-PIC'
14349 lt_prog_compiler_static_F77
='-Bstatic'
14352 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14353 lt_prog_compiler_wl_F77
='-Wl,'
14354 lt_prog_compiler_pic_F77
='-KPIC'
14355 lt_prog_compiler_static_F77
='-Bstatic'
14359 if test -d /usr
/nec
;then
14360 lt_prog_compiler_pic_F77
='-Kconform_pic'
14361 lt_prog_compiler_static_F77
='-Bstatic'
14365 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14366 lt_prog_compiler_wl_F77
='-Wl,'
14367 lt_prog_compiler_pic_F77
='-KPIC'
14368 lt_prog_compiler_static_F77
='-Bstatic'
14372 lt_prog_compiler_wl_F77
='-Wl,'
14373 lt_prog_compiler_can_build_shared_F77
=no
14377 lt_prog_compiler_pic_F77
='-pic'
14378 lt_prog_compiler_static_F77
='-Bstatic'
14382 lt_prog_compiler_can_build_shared_F77
=no
14387 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14388 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14391 # Check to make sure the PIC flag actually works.
14393 if test -n "$lt_prog_compiler_pic_F77"; then
14395 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14396 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14397 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14398 echo $ECHO_N "(cached) $ECHO_C" >&6
14400 lt_prog_compiler_pic_works_F77
=no
14401 ac_outfile
=conftest.
$ac_objext
14402 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14403 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14404 # Insert the option either (1) after the last *FLAGS variable, or
14405 # (2) before a word containing "conftest.", or (3) at the end.
14406 # Note that $ac_compile itself does not contain backslashes and begins
14407 # with a dollar sign (not a hyphen), so the echo should work correctly.
14408 # The option is referenced via a variable to avoid confusing sed.
14409 lt_compile
=`echo "$ac_compile" | $SED \
14410 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14412 -e 's:$: $lt_compiler_flag:'`
14413 (eval echo "\"\$as_me:14400: $lt_compile\"" >&5)
14414 (eval "$lt_compile" 2>conftest.err
)
14416 cat conftest.err
>&5
14417 echo "$as_me:14404: \$? = $ac_status" >&5
14418 if (exit $ac_status) && test -s "$ac_outfile"; then
14419 # The compiler can only warn and ignore the option if not recognized
14420 # So say no if there are warnings other than the usual output.
14421 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14422 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14423 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14424 lt_prog_compiler_pic_works_F77
=yes
14430 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14431 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14433 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14434 case $lt_prog_compiler_pic_F77 in
14436 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14439 lt_prog_compiler_pic_F77
=
14440 lt_prog_compiler_can_build_shared_F77
=no
14445 # For platforms which do not support PIC, -DPIC is meaningless:
14447 lt_prog_compiler_pic_F77
=
14450 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14455 # Check to make sure the static flag actually works.
14457 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14458 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14459 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14460 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 lt_prog_compiler_static_works_F77
=no
14464 save_LDFLAGS
="$LDFLAGS"
14465 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14466 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14467 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14468 # The linker can only warn and ignore the option if not recognized
14469 # So say no if there are warnings
14470 if test -s conftest.err
; then
14471 # Append any errors to the config.log.
14472 cat conftest.err
1>&5
14473 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14474 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14475 if diff conftest.exp conftest.er2
>/dev
/null
; then
14476 lt_prog_compiler_static_works_F77
=yes
14479 lt_prog_compiler_static_works_F77
=yes
14483 LDFLAGS
="$save_LDFLAGS"
14486 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14487 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14489 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14492 lt_prog_compiler_static_F77
=
14496 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14497 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14498 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 lt_cv_prog_compiler_c_o_F77
=no
14502 $rm -r conftest
2>/dev
/null
14506 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14508 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14509 # Insert the option either (1) after the last *FLAGS variable, or
14510 # (2) before a word containing "conftest.", or (3) at the end.
14511 # Note that $ac_compile itself does not contain backslashes and begins
14512 # with a dollar sign (not a hyphen), so the echo should work correctly.
14513 lt_compile
=`echo "$ac_compile" | $SED \
14514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14516 -e 's:$: $lt_compiler_flag:'`
14517 (eval echo "\"\$as_me:14504: $lt_compile\"" >&5)
14518 (eval "$lt_compile" 2>out
/conftest.err
)
14520 cat out
/conftest.err
>&5
14521 echo "$as_me:14508: \$? = $ac_status" >&5
14522 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14524 # The compiler can only warn and ignore the option if not recognized
14525 # So say no if there are warnings
14526 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14527 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14528 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14529 lt_cv_prog_compiler_c_o_F77
=yes
14534 # SGI C++ compiler will create directory out/ii_files/ for
14535 # template instantiation
14536 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14537 $rm out
/* && rmdir out
14543 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14544 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14547 hard_links
="nottested"
14548 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14549 # do not overwrite the value of need_locks provided by the user
14550 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14551 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14554 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14556 ln conftest.a conftest.b
2>&5 || hard_links
=no
14557 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14558 { echo "$as_me:$LINENO: result: $hard_links" >&5
14559 echo "${ECHO_T}$hard_links" >&6; }
14560 if test "$hard_links" = no
; then
14561 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14562 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14569 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14570 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14573 allow_undefined_flag_F77
=
14574 enable_shared_with_static_runtimes_F77
=no
14576 archive_expsym_cmds_F77
=
14577 old_archive_From_new_cmds_F77
=
14578 old_archive_from_expsyms_cmds_F77
=
14579 export_dynamic_flag_spec_F77
=
14580 whole_archive_flag_spec_F77
=
14581 thread_safe_flag_spec_F77
=
14582 hardcode_libdir_flag_spec_F77
=
14583 hardcode_libdir_flag_spec_ld_F77
=
14584 hardcode_libdir_separator_F77
=
14585 hardcode_direct_F77
=no
14586 hardcode_minus_L_F77
=no
14587 hardcode_shlibpath_var_F77
=unsupported
14588 link_all_deplibs_F77
=unknown
14589 hardcode_automatic_F77
=no
14591 module_expsym_cmds_F77
=
14592 always_export_symbols_F77
=no
14593 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14594 # include_expsyms should be a list of space-separated symbols to be *always*
14595 # included in the symbol list
14596 include_expsyms_F77
=
14597 # exclude_expsyms can be an extended regexp of symbols to exclude
14598 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14599 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14600 # as well as any symbol that contains `d'.
14601 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14602 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14603 # platforms (ab)use it in PIC code, but their linkers get confused if
14604 # the symbol is explicitly referenced. Since portable code cannot
14605 # rely on this symbol name, it's probably fine to never include it in
14606 # preloaded symbol tables.
14607 extract_expsyms_cmds
=
14608 # Just being paranoid about ensuring that cc_basename is set.
14609 for cc_temp
in $compiler""; do
14611 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14612 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14617 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14620 cygwin
* | mingw
* | pw32
*)
14621 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14622 # When not using gcc, we currently assume that we are using
14623 # Microsoft Visual C++.
14624 if test "$GCC" != yes; then
14629 # we just hope/assume this is gcc and not c89 (= MSVC++)
14638 if test "$with_gnu_ld" = yes; then
14639 # If archive_cmds runs LD, not CC, wlarc should be empty
14642 # Set some defaults for GNU ld with shared library support. These
14643 # are reset later if shared libraries are not supported. Putting them
14644 # here allows them to be overridden if necessary.
14645 runpath_var
=LD_RUN_PATH
14646 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14647 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14648 # ancient GNU ld didn't support --whole-archive et. al.
14649 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14650 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14652 whole_archive_flag_spec_F77
=
14654 supports_anon_versioning
=no
14655 case `$LD -v 2>/dev/null` in
14656 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14657 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14658 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14659 *\
2.11.
*) ;; # other 2.11 versions
14660 *) supports_anon_versioning
=yes ;;
14663 # See if GNU ld supports shared libraries.
14665 aix3
* | aix4
* | aix5
*)
14666 # On AIX/PPC, the GNU linker is very broken
14667 if test "$host_cpu" != ia64
; then
14671 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14672 *** to be unable to reliably create shared libraries on AIX.
14673 *** Therefore, libtool is disabling shared libraries support. If you
14674 *** really care for shared libraries, you may want to modify your PATH
14675 *** so that a non-GNU linker is found, and then restart.
14682 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)'
14683 hardcode_libdir_flag_spec_F77
='-L$libdir'
14684 hardcode_minus_L_F77
=yes
14686 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14687 # that the semantics of dynamic libraries on AmigaOS, at least up
14688 # to version 4, is to share data among multiple programs linked
14689 # with the same dynamic library. Since this doesn't match the
14690 # behavior of shared libraries on other platforms, we can't use
14696 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14697 allow_undefined_flag_F77
=unsupported
14698 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14699 # support --undefined. This deserves some investigation. FIXME
14700 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14706 cygwin
* | mingw
* | pw32
*)
14707 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14708 # as there is no search path for DLLs.
14709 hardcode_libdir_flag_spec_F77
='-L$libdir'
14710 allow_undefined_flag_F77
=unsupported
14711 always_export_symbols_F77
=no
14712 enable_shared_with_static_runtimes_F77
=yes
14713 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14715 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14716 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14717 # If the export-symbols file already is a .def file (1st line
14718 # is EXPORTS), use it as is; otherwise, prepend...
14719 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14720 cp $export_symbols $output_objdir/$soname.def;
14722 echo EXPORTS > $output_objdir/$soname.def;
14723 cat $export_symbols >> $output_objdir/$soname.def;
14725 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14732 hardcode_direct_F77
=no
14733 hardcode_shlibpath_var_F77
=no
14734 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14735 export_dynamic_flag_spec_F77
='${wl}-E'
14736 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14737 # Instead, shared libraries are loaded at an image base (0x10000000 by
14738 # default) and relocated if they conflict, which is a slow very memory
14739 # consuming and fragmenting process. To avoid this, we pick a random,
14740 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14741 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14742 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'
14743 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'
14746 gnu
* | linux
* | k
*bsd
*-gnu)
14747 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14749 case $cc_basename,$host_cpu in
14750 pgcc
*) # Portland Group C compiler
14751 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'
14752 tmp_addflag
=' $pic_flag'
14754 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14755 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'
14756 tmp_addflag
=' $pic_flag -Mnomain' ;;
14757 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14758 tmp_addflag
=' -i_dynamic' ;;
14759 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14760 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14761 ifc
* | ifort
*) # Intel Fortran compiler
14762 tmp_addflag
=' -nofor_main' ;;
14764 case `$CC -V 2>&1 | sed 5q` in
14765 *Sun\ C
*) # Sun C 5.9
14766 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14767 tmp_sharedflag
='-G' ;;
14768 *Sun\ F
*) # Sun Fortran 8.3
14769 tmp_sharedflag
='-G' ;;
14771 tmp_sharedflag
='-shared' ;;
14773 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14775 if test $supports_anon_versioning = yes; then
14776 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14777 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14778 $echo "local: *; };" >> $output_objdir/$libname.ver~
14779 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14781 link_all_deplibs_F77
=no
14787 netbsd
* | netbsdelf
*-gnu)
14788 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14789 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14792 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14793 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14798 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14802 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14803 *** create shared libraries on Solaris systems. Therefore, libtool
14804 *** is disabling shared libraries support. We urge you to upgrade GNU
14805 *** binutils to release 2.9.1 or newer. Another option is to modify
14806 *** your PATH or compiler configuration so that the native linker is
14807 *** used, and then restart.
14810 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14811 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14812 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14818 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14819 case `$LD -v 2>&1` in
14820 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14824 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14825 *** reliably create shared libraries on SCO systems. Therefore, libtool
14826 *** is disabling shared libraries support. We urge you to upgrade GNU
14827 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14828 *** your PATH or compiler configuration so that the native linker is
14829 *** used, and then restart.
14834 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14835 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14836 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14837 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14846 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14848 hardcode_direct_F77
=yes
14849 hardcode_shlibpath_var_F77
=no
14853 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14854 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14855 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14862 if test "$ld_shlibs_F77" = no
; then
14864 hardcode_libdir_flag_spec_F77
=
14865 export_dynamic_flag_spec_F77
=
14866 whole_archive_flag_spec_F77
=
14869 # PORTME fill in a description of your system's linker (not GNU ld)
14872 allow_undefined_flag_F77
=unsupported
14873 always_export_symbols_F77
=yes
14874 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'
14875 # Note: this linker hardcodes the directories in LIBPATH if there
14876 # are no directories specified by -L.
14877 hardcode_minus_L_F77
=yes
14878 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14879 # Neither direct hardcoding nor static linking is supported with a
14881 hardcode_direct_F77
=unsupported
14886 if test "$host_cpu" = ia64
; then
14887 # On IA64, the linker does run time linking by default, so we don't
14888 # have to do anything special.
14889 aix_use_runtimelinking
=no
14890 exp_sym_flag
='-Bexport'
14893 # If we're using GNU nm, then we don't want the "-C" option.
14894 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14895 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14896 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'
14898 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'
14900 aix_use_runtimelinking
=no
14902 # Test if we are trying to use run time linking or normal
14903 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14904 # need to do runtime linking.
14905 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14906 for ld_flag
in $LDFLAGS; do
14907 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14908 aix_use_runtimelinking
=yes
14915 exp_sym_flag
='-bexport'
14916 no_entry_flag
='-bnoentry'
14919 # When large executables or shared objects are built, AIX ld can
14920 # have problems creating the table of contents. If linking a library
14921 # or program results in "error TOC overflow" add -mminimal-toc to
14922 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14923 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14925 archive_cmds_F77
=''
14926 hardcode_direct_F77
=yes
14927 hardcode_libdir_separator_F77
=':'
14928 link_all_deplibs_F77
=yes
14930 if test "$GCC" = yes; then
14931 case $host_os in aix4.
[012]|aix4.
[012].
*)
14932 # We only want to do this on AIX 4.2 and lower, the check
14933 # below for broken collect2 doesn't work under 4.3+
14934 collect2name
=`${CC} -print-prog-name=collect2`
14935 if test -f "$collect2name" && \
14936 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14938 # We have reworked collect2
14941 # We have old collect2
14942 hardcode_direct_F77
=unsupported
14943 # It fails to find uninstalled libraries when the uninstalled
14944 # path is not listed in the libpath. Setting hardcode_minus_L
14945 # to unsupported forces relinking
14946 hardcode_minus_L_F77
=yes
14947 hardcode_libdir_flag_spec_F77
='-L$libdir'
14948 hardcode_libdir_separator_F77
=
14952 shared_flag
='-shared'
14953 if test "$aix_use_runtimelinking" = yes; then
14954 shared_flag
="$shared_flag "'${wl}-G'
14958 if test "$host_cpu" = ia64
; then
14959 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14960 # chokes on -Wl,-G. The following line is correct:
14963 if test "$aix_use_runtimelinking" = yes; then
14964 shared_flag
='${wl}-G'
14966 shared_flag
='${wl}-bM:SRE'
14971 # It seems that -bexpall does not export symbols beginning with
14972 # underscore (_), so it is better to generate a list of symbols to export.
14973 always_export_symbols_F77
=yes
14974 if test "$aix_use_runtimelinking" = yes; then
14975 # Warning - without using the other runtime loading flags (-brtl),
14976 # -berok will link without error, but may produce a broken library.
14977 allow_undefined_flag_F77
='-berok'
14978 # Determine the default libpath from the value encoded in an empty executable.
14979 cat >conftest.
$ac_ext <<_ACEOF
14984 rm -f conftest.
$ac_objext conftest
$ac_exeext
14985 if { (ac_try
="$ac_link"
14986 case "(($ac_try" in
14987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_link") 2>conftest.er1
14993 grep -v '^ *+' conftest.er1 >conftest.err
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } && {
14998 test -z "$ac_f77_werror_flag" ||
14999 test ! -s conftest.err
15000 } && test -s conftest$ac_exeext &&
15001 $as_test_x conftest$ac_exeext; then
15003 lt_aix_libpath_sed='
15004 /Import File Strings/,/^$/ {
15010 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15011 # Check for a 64-bit object if we didn't find anything.
15012 if test -z "$aix_libpath"; then
15013 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15023 conftest$ac_exeext conftest.$ac_ext
15024 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15026 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15027 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"
15029 if test "$host_cpu" = ia64; then
15030 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15031 allow_undefined_flag_F77="-z nodefs"
15032 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"
15034 # Determine the default libpath from the value encoded in an empty executable.
15035 cat >conftest.$ac_ext <<_ACEOF
15040 rm -f conftest.$ac_objext conftest$ac_exeext
15041 if { (ac_try="$ac_link"
15042 case "(($ac_try" in
15043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15044 *) ac_try_echo
=$ac_try;;
15046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15047 (eval "$ac_link") 2>conftest.er1
15049 grep -v '^ *+' conftest.er1
>conftest.err
15051 cat conftest.err
>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); } && {
15054 test -z "$ac_f77_werror_flag" ||
15055 test ! -s conftest.err
15056 } && test -s conftest
$ac_exeext &&
15057 $as_test_x conftest
$ac_exeext; then
15059 lt_aix_libpath_sed
='
15060 /Import File Strings/,/^$/ {
15066 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15067 # Check for a 64-bit object if we didn't find anything.
15068 if test -z "$aix_libpath"; then
15069 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.
$ac_ext >&5
15078 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15079 conftest
$ac_exeext conftest.
$ac_ext
15080 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15082 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15083 # Warning - without using the other run time loading flags,
15084 # -berok will link without error, but may produce a broken library.
15085 no_undefined_flag_F77
=' ${wl}-bernotok'
15086 allow_undefined_flag_F77
=' ${wl}-berok'
15087 # Exported symbols can be pulled into shared objects from archives
15088 whole_archive_flag_spec_F77
='$convenience'
15089 archive_cmds_need_lc_F77
=yes
15090 # This is similar to how AIX traditionally builds its shared libraries.
15091 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'
15097 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)'
15098 hardcode_libdir_flag_spec_F77
='-L$libdir'
15099 hardcode_minus_L_F77
=yes
15100 # see comment about different semantics on the GNU ld section
15105 export_dynamic_flag_spec_F77
=-rdynamic
15108 cygwin
* | mingw
* | pw32
*)
15109 # When not using gcc, we currently assume that we are using
15110 # Microsoft Visual C++.
15111 # hardcode_libdir_flag_spec is actually meaningless, as there is
15112 # no search path for DLLs.
15113 hardcode_libdir_flag_spec_F77
=' '
15114 allow_undefined_flag_F77
=unsupported
15115 # Tell ltmain to make .lib files, not .a files.
15117 # Tell ltmain to make .dll files, not .so files.
15119 # FIXME: Setting linknames here is a bad hack.
15120 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15121 # The linker will automatically build a .lib file if we build a DLL.
15122 old_archive_From_new_cmds_F77
='true'
15123 # FIXME: Should let the user specify the lib program.
15124 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15125 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15126 enable_shared_with_static_runtimes_F77
=yes
15129 darwin
* | rhapsody
*)
15131 rhapsody
* | darwin1.
[012])
15132 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15135 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15136 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15138 case ${MACOSX_DEPLOYMENT_TARGET} in
15140 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15143 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15149 archive_cmds_need_lc_F77
=no
15150 hardcode_direct_F77
=no
15151 hardcode_automatic_F77
=yes
15152 hardcode_shlibpath_var_F77
=unsupported
15153 whole_archive_flag_spec_F77
=''
15154 link_all_deplibs_F77
=yes
15155 if test "$GCC" = yes ; then
15156 output_verbose_link_cmd
='echo'
15157 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15158 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15159 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15160 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}'
15161 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}'
15163 case $cc_basename in
15165 output_verbose_link_cmd
='echo'
15166 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15167 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15168 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15169 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15170 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}'
15180 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15181 hardcode_libdir_flag_spec_F77
='-L$libdir'
15182 hardcode_shlibpath_var_F77
=no
15189 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15190 # support. Future versions do this automatically, but an explicit c++rt0.o
15191 # does not break anything, and helps significantly (at the cost of a little
15194 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15195 hardcode_libdir_flag_spec_F77
='-R$libdir'
15196 hardcode_direct_F77
=yes
15197 hardcode_shlibpath_var_F77
=no
15200 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15202 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15203 hardcode_direct_F77
=yes
15204 hardcode_minus_L_F77
=yes
15205 hardcode_shlibpath_var_F77
=no
15208 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15209 freebsd
* | dragonfly
*)
15210 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15211 hardcode_libdir_flag_spec_F77
='-R$libdir'
15212 hardcode_direct_F77
=yes
15213 hardcode_shlibpath_var_F77
=no
15217 if test "$GCC" = yes; then
15218 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'
15220 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'
15222 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15223 hardcode_libdir_separator_F77
=:
15224 hardcode_direct_F77
=yes
15226 # hardcode_minus_L: Not really in the search PATH,
15227 # but as the default location of the library.
15228 hardcode_minus_L_F77
=yes
15229 export_dynamic_flag_spec_F77
='${wl}-E'
15233 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15234 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15236 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15238 if test "$with_gnu_ld" = no
; then
15239 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15240 hardcode_libdir_separator_F77
=:
15242 hardcode_direct_F77
=yes
15243 export_dynamic_flag_spec_F77
='${wl}-E'
15245 # hardcode_minus_L: Not really in the search PATH,
15246 # but as the default location of the library.
15247 hardcode_minus_L_F77
=yes
15252 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15255 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15258 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15261 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15267 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15270 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15273 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15277 if test "$with_gnu_ld" = no
; then
15278 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15279 hardcode_libdir_separator_F77
=:
15283 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15284 hardcode_direct_F77
=no
15285 hardcode_shlibpath_var_F77
=no
15288 hardcode_direct_F77
=yes
15289 export_dynamic_flag_spec_F77
='${wl}-E'
15291 # hardcode_minus_L: Not really in the search PATH,
15292 # but as the default location of the library.
15293 hardcode_minus_L_F77
=yes
15299 irix5
* | irix6
* | nonstopux
*)
15300 if test "$GCC" = yes; then
15301 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'
15303 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'
15304 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15306 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15307 hardcode_libdir_separator_F77
=:
15308 link_all_deplibs_F77
=yes
15311 netbsd
* | netbsdelf
*-gnu)
15312 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15313 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15315 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15317 hardcode_libdir_flag_spec_F77
='-R$libdir'
15318 hardcode_direct_F77
=yes
15319 hardcode_shlibpath_var_F77
=no
15323 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15324 hardcode_direct_F77
=yes
15325 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15326 hardcode_libdir_separator_F77
=:
15327 hardcode_shlibpath_var_F77
=no
15331 if test -f /usr
/libexec
/ld.so
; then
15332 hardcode_direct_F77
=yes
15333 hardcode_shlibpath_var_F77
=no
15334 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15335 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15336 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15337 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15338 export_dynamic_flag_spec_F77
='${wl}-E'
15341 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15342 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15343 hardcode_libdir_flag_spec_F77
='-R$libdir'
15346 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15347 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15357 hardcode_libdir_flag_spec_F77
='-L$libdir'
15358 hardcode_minus_L_F77
=yes
15359 allow_undefined_flag_F77
=unsupported
15360 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'
15361 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15365 if test "$GCC" = yes; then
15366 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15367 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'
15369 allow_undefined_flag_F77
=' -expect_unresolved \*'
15370 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'
15372 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15373 hardcode_libdir_separator_F77
=:
15376 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15377 if test "$GCC" = yes; then
15378 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15379 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'
15380 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15382 allow_undefined_flag_F77
=' -expect_unresolved \*'
15383 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'
15384 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~
15385 $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'
15387 # Both c and cxx compiler support -rpath directly
15388 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15390 hardcode_libdir_separator_F77
=:
15394 no_undefined_flag_F77
=' -z text'
15395 if test "$GCC" = yes; then
15397 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15398 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15399 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15402 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15403 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15404 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15406 hardcode_libdir_flag_spec_F77
='-R$libdir'
15407 hardcode_shlibpath_var_F77
=no
15409 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15411 # The compiler driver will combine and reorder linker options,
15412 # but understands `-z linker_flag'. GCC discards it without `$wl',
15413 # but is careful enough not to reorder.
15414 # Supported since Solaris 2.6 (maybe 2.5.1?)
15415 if test "$GCC" = yes; then
15416 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15418 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15422 link_all_deplibs_F77
=yes
15426 if test "x$host_vendor" = xsequent
; then
15427 # Use $CC to link under sequent, because it throws in some extra .o
15428 # files that make .init and .fini sections work.
15429 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15431 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15433 hardcode_libdir_flag_spec_F77
='-L$libdir'
15434 hardcode_direct_F77
=yes
15435 hardcode_minus_L_F77
=yes
15436 hardcode_shlibpath_var_F77
=no
15440 case $host_vendor in
15442 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15443 hardcode_direct_F77
=yes # is this really true???
15446 ## LD is ld it makes a PLAMLIB
15447 ## CC just makes a GrossModule.
15448 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15449 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15450 hardcode_direct_F77
=no
15453 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15454 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15457 runpath_var
='LD_RUN_PATH'
15458 hardcode_shlibpath_var_F77
=no
15462 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15463 hardcode_shlibpath_var_F77
=no
15464 export_dynamic_flag_spec_F77
='-Bexport'
15468 if test -d /usr
/nec
; then
15469 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15470 hardcode_shlibpath_var_F77
=no
15471 runpath_var
=LD_RUN_PATH
15472 hardcode_runpath_var
=yes
15477 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15478 no_undefined_flag_F77
='${wl}-z,text'
15479 archive_cmds_need_lc_F77
=no
15480 hardcode_shlibpath_var_F77
=no
15481 runpath_var
='LD_RUN_PATH'
15483 if test "$GCC" = yes; then
15484 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15485 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15487 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15488 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15492 sysv5
* | sco3.2v5
* | sco5v6
*)
15493 # Note: We can NOT use -z defs as we might desire, because we do not
15494 # link with -lc, and that would cause any symbols used from libc to
15495 # always be unresolved, which means just about no library would
15496 # ever link correctly. If we're not using GNU ld we use -z text
15497 # though, which does catch some bad symbols but isn't as heavy-handed
15499 no_undefined_flag_F77
='${wl}-z,text'
15500 allow_undefined_flag_F77
='${wl}-z,nodefs'
15501 archive_cmds_need_lc_F77
=no
15502 hardcode_shlibpath_var_F77
=no
15503 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15504 hardcode_libdir_separator_F77
=':'
15505 link_all_deplibs_F77
=yes
15506 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15507 runpath_var
='LD_RUN_PATH'
15509 if test "$GCC" = yes; then
15510 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15511 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15513 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15514 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15519 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15520 hardcode_libdir_flag_spec_F77
='-L$libdir'
15521 hardcode_shlibpath_var_F77
=no
15530 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15531 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15532 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15535 # Do we need to explicitly link libc?
15537 case "x$archive_cmds_need_lc_F77" in
15539 # Assume -lc should be added
15540 archive_cmds_need_lc_F77
=yes
15542 if test "$enable_shared" = yes && test "$GCC" = yes; then
15543 case $archive_cmds_F77 in
15545 # FIXME: we may have to deal with multi-command sequences.
15548 # Test whether the compiler implicitly links with -lc since on some
15549 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15550 # to ld, don't add -lc before -lgcc.
15551 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15552 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15557 (eval $ac_compile) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } 2>conftest.err
; then
15563 libobjs
=conftest.
$ac_objext
15565 wl
=$lt_prog_compiler_wl_F77
15566 pic_flag
=$lt_prog_compiler_pic_F77
15572 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15573 allow_undefined_flag_F77
=
15574 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15575 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }
15580 archive_cmds_need_lc_F77
=no
15582 archive_cmds_need_lc_F77
=yes
15584 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15586 cat conftest.err
1>&5
15589 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15590 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15597 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15598 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15599 library_names_spec
=
15600 libname_spec
='lib$name'
15604 postuninstall_cmds
=
15608 shlibpath_overrides_runpath
=unknown
15610 dynamic_linker
="$host_os ld.so"
15611 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15613 need_lib_prefix
=unknown
15614 hardcode_into_libs
=no
15616 # when you set need_version to no, make sure it does not cause -set_version
15617 # flags to be left without arguments
15618 need_version
=unknown
15623 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15624 shlibpath_var
=LIBPATH
15626 # AIX 3 has no versioning support, so we append a major version to the name.
15627 soname_spec
='${libname}${release}${shared_ext}$major'
15634 hardcode_into_libs
=yes
15635 if test "$host_cpu" = ia64
; then
15636 # AIX 5 supports IA64
15637 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15638 shlibpath_var
=LD_LIBRARY_PATH
15640 # With GCC up to 2.95.x, collect2 would create an import file
15641 # for dependence libraries. The import file would start with
15642 # the line `#! .'. This would cause the generated library to
15643 # depend on `.', always an invalid library. This was fixed in
15644 # development snapshots of GCC prior to 3.0.
15646 aix4 | aix4.
[01] | aix4.
[01].
*)
15647 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15649 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15652 can_build_shared
=no
15656 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15657 # soname into executable. Probably we can add versioning support to
15658 # collect2, so additional links can be useful in future.
15659 if test "$aix_use_runtimelinking" = yes; then
15660 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15661 # instead of lib<name>.a to let people know that these are not
15662 # typical AIX shared libraries.
15663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15665 # We preserve .a as extension for shared libraries through AIX4.2
15666 # and later when we are not doing run time linking.
15667 library_names_spec
='${libname}${release}.a $libname.a'
15668 soname_spec
='${libname}${release}${shared_ext}$major'
15670 shlibpath_var
=LIBPATH
15675 library_names_spec
='$libname.ixlibrary $libname.a'
15676 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15677 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'
15681 library_names_spec
='${libname}${shared_ext}'
15682 dynamic_linker
="$host_os ld.so"
15683 shlibpath_var
=LIBRARY_PATH
15689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15690 soname_spec
='${libname}${release}${shared_ext}$major'
15691 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15692 shlibpath_var
=LD_LIBRARY_PATH
15693 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15694 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15695 # the default ld.so.conf also contains /usr/contrib/lib and
15696 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15697 # libtool to hard-code these into programs
15700 cygwin
* | mingw
* | pw32
*)
15701 version_type
=windows
15706 case $GCC,$host_os in
15707 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15708 library_names_spec
='$libname.dll.a'
15709 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15710 postinstall_cmds
='base_file=`basename \${file}`~
15711 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15712 dldir=$destdir/`dirname \$dlpath`~
15713 test -d \$dldir || mkdir -p \$dldir~
15714 $install_prog $dir/$dlname \$dldir/$dlname~
15715 chmod a+x \$dldir/$dlname'
15716 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15717 dlpath=$dir/\$dldll~
15719 shlibpath_overrides_runpath
=yes
15723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15724 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15725 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15728 # MinGW DLLs use traditional 'lib' prefix
15729 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15730 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15731 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15732 # It is most probably a Windows format PATH printed by
15733 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15734 # path with ; separators, and with drive letters. We can handle the
15735 # drive letters (cygwin fileutils understands them), so leave them,
15736 # especially as we might pass files found there to a mingw objdump,
15737 # which wouldn't understand a cygwinified path. Ahh.
15738 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15740 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15744 # pw32 DLLs use 'pw' prefix rather than 'lib'
15745 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15751 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15754 dynamic_linker
='Win32 ld.exe'
15755 # FIXME: first we should search . and the directory the executable is in
15759 darwin
* | rhapsody
*)
15760 dynamic_linker
="$host_os dyld"
15761 version_type
=darwin
15764 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15765 soname_spec
='${libname}${release}${major}$shared_ext'
15766 shlibpath_overrides_runpath
=yes
15767 shlibpath_var
=DYLD_LIBRARY_PATH
15768 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15770 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15778 soname_spec
='${libname}${release}${shared_ext}$major'
15779 shlibpath_var
=LD_LIBRARY_PATH
15786 freebsd
* | dragonfly
*)
15787 # DragonFly does not have aout. When/if they implement a new
15788 # versioning mechanism, adjust this.
15789 if test -x /usr
/bin
/objformat
; then
15790 objformat
=`/usr/bin/objformat`
15793 freebsd
[123]*) objformat
=aout
;;
15794 *) objformat
=elf
;;
15797 version_type
=freebsd-
$objformat
15798 case $version_type in
15800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15805 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15809 shlibpath_var
=LD_LIBRARY_PATH
15812 shlibpath_overrides_runpath
=yes
15814 freebsd3.
[01]* | freebsdelf3.
[01]*)
15815 shlibpath_overrides_runpath
=yes
15816 hardcode_into_libs
=yes
15818 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15819 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15820 shlibpath_overrides_runpath
=no
15821 hardcode_into_libs
=yes
15823 *) # from 4.6 on, and DragonFly
15824 shlibpath_overrides_runpath
=yes
15825 hardcode_into_libs
=yes
15834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15835 soname_spec
='${libname}${release}${shared_ext}$major'
15836 shlibpath_var
=LD_LIBRARY_PATH
15837 hardcode_into_libs
=yes
15840 hpux9
* | hpux10
* | hpux11
*)
15841 # Give a soname corresponding to the major version so that dld.sl refuses to
15842 # link against other versions.
15849 hardcode_into_libs
=yes
15850 dynamic_linker
="$host_os dld.so"
15851 shlibpath_var
=LD_LIBRARY_PATH
15852 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15854 soname_spec
='${libname}${release}${shared_ext}$major'
15855 if test "X$HPUX_IA64_MODE" = X32
; then
15856 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15858 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15860 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15864 hardcode_into_libs
=yes
15865 dynamic_linker
="$host_os dld.sl"
15866 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15867 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15869 soname_spec
='${libname}${release}${shared_ext}$major'
15870 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15871 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15875 dynamic_linker
="$host_os dld.sl"
15876 shlibpath_var
=SHLIB_PATH
15877 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
15882 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15883 postinstall_cmds
='chmod 555 $lib'
15890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15891 soname_spec
='${libname}${release}${shared_ext}$major'
15892 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15893 shlibpath_var
=LD_LIBRARY_PATH
15894 shlibpath_overrides_runpath
=no
15895 hardcode_into_libs
=yes
15898 irix5
* | irix6
* | nonstopux
*)
15900 nonstopux
*) version_type
=nonstopux
;;
15902 if test "$lt_cv_prog_gnu_ld" = yes; then
15910 soname_spec
='${libname}${release}${shared_ext}$major'
15911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15913 irix5
* | nonstopux
*)
15914 libsuff
= shlibsuff
=
15917 case $LD in # libtool.m4 will add one of these switches to LD
15918 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15919 libsuff
= shlibsuff
= libmagic
=32-bit;;
15920 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15921 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15922 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15923 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15924 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15928 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15929 shlibpath_overrides_runpath
=no
15930 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15931 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15932 hardcode_into_libs
=yes
15935 # No shared lib support for Linux oldld, aout, or coff.
15936 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15940 # This must be Linux ELF.
15941 linux
* | k
*bsd
*-gnu)
15945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15946 soname_spec
='${libname}${release}${shared_ext}$major'
15947 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15948 shlibpath_var
=LD_LIBRARY_PATH
15949 shlibpath_overrides_runpath
=no
15950 # This implies no fast_install, which is unacceptable.
15951 # Some rework will be needed to allow for fast_install
15952 # before this can be enabled.
15953 hardcode_into_libs
=yes
15955 # Append ld.so.conf contents to the search path
15956 if test -f /etc
/ld.so.conf
; then
15957 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15958 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15961 # We used to test for /lib/ld.so.1 and disable shared libraries on
15962 # powerpc, because MkLinux only supported shared libraries with the
15963 # GNU dynamic linker. Since this was broken with cross compilers,
15964 # most powerpc-linux boxes support dynamic linking these days and
15965 # people can always --disable-shared, the test was removed, and we
15966 # assume the GNU/Linux dynamic linker is in use.
15967 dynamic_linker
='GNU/Linux ld.so'
15974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15975 soname_spec
='${libname}${release}${shared_ext}$major'
15976 shlibpath_var
=LD_LIBRARY_PATH
15977 shlibpath_overrides_runpath
=no
15978 hardcode_into_libs
=yes
15979 dynamic_linker
='NetBSD ld.elf_so'
15986 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15989 dynamic_linker
='NetBSD (a.out) ld.so'
15991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15992 soname_spec
='${libname}${release}${shared_ext}$major'
15993 dynamic_linker
='NetBSD ld.elf_so'
15995 shlibpath_var
=LD_LIBRARY_PATH
15996 shlibpath_overrides_runpath
=yes
15997 hardcode_into_libs
=yes
16002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16003 shlibpath_var
=LD_LIBRARY_PATH
16004 shlibpath_overrides_runpath
=yes
16011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16012 soname_spec
='${libname}${release}${shared_ext}$major'
16013 shlibpath_var
=LD_LIBRARY_PATH
16014 shlibpath_overrides_runpath
=yes
16019 sys_lib_dlsearch_path_spec
="/usr/lib"
16021 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16023 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16024 *) need_version
=no
;;
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16027 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16028 shlibpath_var
=LD_LIBRARY_PATH
16029 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16031 openbsd2.
[89] | openbsd2.
[89].
*)
16032 shlibpath_overrides_runpath
=no
16035 shlibpath_overrides_runpath
=yes
16039 shlibpath_overrides_runpath
=yes
16044 libname_spec
='$name'
16047 library_names_spec
='$libname${shared_ext} $libname.a'
16048 dynamic_linker
='OS/2 ld.exe'
16049 shlibpath_var
=LIBPATH
16052 osf3
* | osf4
* | osf5
*)
16056 soname_spec
='${libname}${release}${shared_ext}$major'
16057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16058 shlibpath_var
=LD_LIBRARY_PATH
16059 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16060 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16072 soname_spec
='${libname}${release}${shared_ext}$major'
16073 shlibpath_var
=LD_LIBRARY_PATH
16074 shlibpath_overrides_runpath
=yes
16075 hardcode_into_libs
=yes
16076 # ldd complains unless libraries are executable
16077 postinstall_cmds
='chmod +x $lib'
16082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16083 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16084 shlibpath_var
=LD_LIBRARY_PATH
16085 shlibpath_overrides_runpath
=yes
16086 if test "$with_gnu_ld" = yes; then
16094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16095 soname_spec
='${libname}${release}${shared_ext}$major'
16096 shlibpath_var
=LD_LIBRARY_PATH
16097 case $host_vendor in
16099 shlibpath_overrides_runpath
=no
16101 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16102 runpath_var
=LD_RUN_PATH
16110 shlibpath_overrides_runpath
=no
16111 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16117 if test -d /usr
/nec
;then
16119 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16120 soname_spec
='$libname${shared_ext}.$major'
16121 shlibpath_var
=LD_LIBRARY_PATH
16125 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16126 version_type
=freebsd-elf
16129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16130 soname_spec
='${libname}${release}${shared_ext}$major'
16131 shlibpath_var
=LD_LIBRARY_PATH
16132 hardcode_into_libs
=yes
16133 if test "$with_gnu_ld" = yes; then
16134 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16135 shlibpath_overrides_runpath
=no
16137 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16138 shlibpath_overrides_runpath
=yes
16141 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16145 sys_lib_dlsearch_path_spec
='/usr/lib'
16150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16151 soname_spec
='${libname}${release}${shared_ext}$major'
16152 shlibpath_var
=LD_LIBRARY_PATH
16159 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16160 echo "${ECHO_T}$dynamic_linker" >&6; }
16161 test "$dynamic_linker" = no
&& can_build_shared
=no
16163 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16164 if test "$GCC" = yes; then
16165 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16168 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16170 hardcode_action_F77
=
16171 if test -n "$hardcode_libdir_flag_spec_F77" || \
16172 test -n "$runpath_var_F77" || \
16173 test "X$hardcode_automatic_F77" = "Xyes" ; then
16175 # We can hardcode non-existant directories.
16176 if test "$hardcode_direct_F77" != no
&&
16177 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16178 # have to relink, otherwise we might link with an installed library
16179 # when we should be linking with a yet-to-be-installed one
16180 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16181 test "$hardcode_minus_L_F77" != no
; then
16182 # Linking always hardcodes the temporary library directory.
16183 hardcode_action_F77
=relink
16185 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16186 hardcode_action_F77
=immediate
16189 # We cannot hardcode anything, or else we can only hardcode existing
16191 hardcode_action_F77
=unsupported
16193 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16194 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16196 if test "$hardcode_action_F77" = relink
; then
16197 # Fast installation is not supported
16198 enable_fast_install
=no
16199 elif test "$shlibpath_overrides_runpath" = yes ||
16200 test "$enable_shared" = no
; then
16201 # Fast installation is not necessary
16202 enable_fast_install
=needless
16206 # The else clause should only fire when bootstrapping the
16207 # libtool distribution, otherwise you forgot to ship ltmain.sh
16208 # with your package, and you will get complaints that there are
16209 # no rules to generate ltmain.sh.
16210 if test -f "$ltmain"; then
16211 # See if we are running on zsh, and set the options which allow our commands through
16212 # without removal of \ escapes.
16213 if test -n "${ZSH_VERSION+set}" ; then
16214 setopt NO_GLOB_SUBST
16216 # Now quote all the things that may contain metacharacters while being
16217 # careful not to overquote the AC_SUBSTed values. We take copies of the
16218 # variables and quote the copies for generation of the libtool script.
16219 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16221 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16222 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16223 deplibs_check_method reload_flag reload_cmds need_locks \
16224 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16225 lt_cv_sys_global_symbol_to_c_name_address \
16226 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16227 old_postinstall_cmds old_postuninstall_cmds \
16231 lt_prog_compiler_wl_F77 \
16232 lt_prog_compiler_pic_F77 \
16233 lt_prog_compiler_static_F77 \
16234 lt_prog_compiler_no_builtin_flag_F77 \
16235 export_dynamic_flag_spec_F77 \
16236 thread_safe_flag_spec_F77 \
16237 whole_archive_flag_spec_F77 \
16238 enable_shared_with_static_runtimes_F77 \
16239 old_archive_cmds_F77 \
16240 old_archive_from_new_cmds_F77 \
16241 predep_objects_F77 \
16242 postdep_objects_F77 \
16245 compiler_lib_search_path_F77 \
16247 archive_expsym_cmds_F77 \
16248 postinstall_cmds_F77 \
16249 postuninstall_cmds_F77 \
16250 old_archive_from_expsyms_cmds_F77 \
16251 allow_undefined_flag_F77 \
16252 no_undefined_flag_F77 \
16253 export_symbols_cmds_F77 \
16254 hardcode_libdir_flag_spec_F77 \
16255 hardcode_libdir_flag_spec_ld_F77 \
16256 hardcode_libdir_separator_F77 \
16257 hardcode_automatic_F77 \
16259 module_expsym_cmds_F77 \
16260 lt_cv_prog_compiler_c_o_F77 \
16261 fix_srcfile_path_F77 \
16262 exclude_expsyms_F77 \
16263 include_expsyms_F77
; do
16266 old_archive_cmds_F77 | \
16267 old_archive_from_new_cmds_F77 | \
16268 archive_cmds_F77 | \
16269 archive_expsym_cmds_F77 | \
16270 module_cmds_F77 | \
16271 module_expsym_cmds_F77 | \
16272 old_archive_from_expsyms_cmds_F77 | \
16273 export_symbols_cmds_F77 | \
16274 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16275 postinstall_cmds | postuninstall_cmds | \
16276 old_postinstall_cmds | old_postuninstall_cmds | \
16277 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16278 # Double-quote double-evaled strings.
16279 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16282 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16288 *'\$0 --fallback-echo"')
16289 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16295 cat <<__EOF__ >> "$cfgfile"
16296 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16298 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16300 # Shell to use when invoking shell scripts.
16303 # Whether or not to build shared libraries.
16304 build_libtool_libs=$enable_shared
16306 # Whether or not to build static libraries.
16307 build_old_libs=$enable_static
16309 # Whether or not to add -lc for building shared libraries.
16310 build_libtool_need_lc=$archive_cmds_need_lc_F77
16312 # Whether or not to disallow shared libs when runtime libs are static
16313 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16315 # Whether or not to optimize for fast installation.
16316 fast_install=$enable_fast_install
16319 host_alias=$host_alias
16323 # The build system.
16324 build_alias=$build_alias
16328 # An echo program that does not interpret backslashes.
16333 AR_FLAGS=$lt_AR_FLAGS
16338 # LTCC compiler flags.
16339 LTCFLAGS=$lt_LTCFLAGS
16341 # A language-specific compiler.
16342 CC=$lt_compiler_F77
16344 # Is the compiler the GNU C compiler?
16350 # The linker used to build libraries.
16353 # Whether we need hard or soft links.
16356 # A BSD-compatible nm program.
16359 # A symbol stripping program
16362 # Used to examine libraries when file_magic_cmd begins "file"
16363 MAGIC_CMD=$MAGIC_CMD
16365 # Used on cygwin: DLL creation program.
16368 # Used on cygwin: object dumper.
16371 # Used on cygwin: assembler.
16374 # The name of the directory that contains temporary libtool files.
16377 # How to create reloadable object files.
16378 reload_flag=$lt_reload_flag
16379 reload_cmds=$lt_reload_cmds
16381 # How to pass a linker flag through the compiler.
16382 wl=$lt_lt_prog_compiler_wl_F77
16384 # Object file suffix (normally "o").
16385 objext="$ac_objext"
16387 # Old archive suffix (normally "a").
16390 # Shared library suffix (normally ".so").
16391 shrext_cmds='$shrext_cmds'
16393 # Executable file suffix (normally "").
16396 # Additional compiler flags for building library objects.
16397 pic_flag=$lt_lt_prog_compiler_pic_F77
16400 # What is the maximum length of a command?
16401 max_cmd_len=$lt_cv_sys_max_cmd_len
16403 # Does compiler simultaneously support -c and -o options?
16404 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16406 # Must we lock files when doing compilation?
16407 need_locks=$lt_need_locks
16409 # Do we need the lib prefix for modules?
16410 need_lib_prefix=$need_lib_prefix
16412 # Do we need a version for libraries?
16413 need_version=$need_version
16415 # Whether dlopen is supported.
16416 dlopen_support=$enable_dlopen
16418 # Whether dlopen of programs is supported.
16419 dlopen_self=$enable_dlopen_self
16421 # Whether dlopen of statically linked programs is supported.
16422 dlopen_self_static=$enable_dlopen_self_static
16424 # Compiler flag to prevent dynamic linking.
16425 link_static_flag=$lt_lt_prog_compiler_static_F77
16427 # Compiler flag to turn off builtin functions.
16428 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16430 # Compiler flag to allow reflexive dlopens.
16431 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16433 # Compiler flag to generate shared objects directly from archives.
16434 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16436 # Compiler flag to generate thread-safe objects.
16437 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16439 # Library versioning type.
16440 version_type=$version_type
16442 # Format of library name prefix.
16443 libname_spec=$lt_libname_spec
16445 # List of archive names. First name is the real one, the rest are links.
16446 # The last name is the one that the linker finds with -lNAME.
16447 library_names_spec=$lt_library_names_spec
16449 # The coded name of the library, if different from the real name.
16450 soname_spec=$lt_soname_spec
16452 # Commands used to build and install an old-style archive.
16454 old_archive_cmds=$lt_old_archive_cmds_F77
16455 old_postinstall_cmds=$lt_old_postinstall_cmds
16456 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16458 # Create an old-style archive from a shared archive.
16459 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16461 # Create a temporary old-style archive to link instead of a shared archive.
16462 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16464 # Commands used to build and install a shared archive.
16465 archive_cmds=$lt_archive_cmds_F77
16466 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16467 postinstall_cmds=$lt_postinstall_cmds
16468 postuninstall_cmds=$lt_postuninstall_cmds
16470 # Commands used to build a loadable module (assumed same as above if empty)
16471 module_cmds=$lt_module_cmds_F77
16472 module_expsym_cmds=$lt_module_expsym_cmds_F77
16474 # Commands to strip libraries.
16475 old_striplib=$lt_old_striplib
16476 striplib=$lt_striplib
16478 # Dependencies to place before the objects being linked to create a
16480 predep_objects=$lt_predep_objects_F77
16482 # Dependencies to place after the objects being linked to create a
16484 postdep_objects=$lt_postdep_objects_F77
16486 # Dependencies to place before the objects being linked to create a
16488 predeps=$lt_predeps_F77
16490 # Dependencies to place after the objects being linked to create a
16492 postdeps=$lt_postdeps_F77
16494 # The library search path used internally by the compiler when linking
16495 # a shared library.
16496 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16498 # Method to check whether dependent libraries are shared objects.
16499 deplibs_check_method=$lt_deplibs_check_method
16501 # Command to use when deplibs_check_method == file_magic.
16502 file_magic_cmd=$lt_file_magic_cmd
16504 # Flag that allows shared libraries with undefined symbols to be built.
16505 allow_undefined_flag=$lt_allow_undefined_flag_F77
16507 # Flag that forces no undefined symbols.
16508 no_undefined_flag=$lt_no_undefined_flag_F77
16510 # Commands used to finish a libtool library installation in a directory.
16511 finish_cmds=$lt_finish_cmds
16513 # Same as above, but a single script fragment to be evaled but not shown.
16514 finish_eval=$lt_finish_eval
16516 # Take the output of nm and produce a listing of raw symbols and C names.
16517 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16519 # Transform the output of nm in a proper C declaration
16520 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16522 # Transform the output of nm in a C name address pair
16523 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16525 # This is the shared library runtime path variable.
16526 runpath_var=$runpath_var
16528 # This is the shared library path variable.
16529 shlibpath_var=$shlibpath_var
16531 # Is shlibpath searched before the hard-coded library search path?
16532 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16534 # How to hardcode a shared library path into an executable.
16535 hardcode_action=$hardcode_action_F77
16537 # Whether we should hardcode library paths into libraries.
16538 hardcode_into_libs=$hardcode_into_libs
16540 # Flag to hardcode \$libdir into a binary during linking.
16541 # This must work even if \$libdir does not exist.
16542 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16544 # If ld is used when linking, flag to hardcode \$libdir into
16545 # a binary during linking. This must work even if \$libdir does
16547 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16549 # Whether we need a single -rpath flag with a separated argument.
16550 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16552 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16553 # resulting binary.
16554 hardcode_direct=$hardcode_direct_F77
16556 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16557 # resulting binary.
16558 hardcode_minus_L=$hardcode_minus_L_F77
16560 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16561 # the resulting binary.
16562 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16564 # Set to yes if building a shared library automatically hardcodes DIR into the library
16565 # and all subsequent libraries and executables linked against it.
16566 hardcode_automatic=$hardcode_automatic_F77
16568 # Variables whose values should be saved in libtool wrapper scripts and
16569 # restored at relink time.
16570 variables_saved_for_relink="$variables_saved_for_relink"
16572 # Whether libtool must link a program against all its dependency libraries.
16573 link_all_deplibs=$link_all_deplibs_F77
16575 # Compile-time system search path for libraries
16576 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16578 # Run-time system search path for libraries
16579 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16581 # Fix the shell variable \$srcfile for the compiler.
16582 fix_srcfile_path=$lt_fix_srcfile_path
16584 # Set to yes if exported symbols are required.
16585 always_export_symbols=$always_export_symbols_F77
16587 # The commands to list exported symbols.
16588 export_symbols_cmds=$lt_export_symbols_cmds_F77
16590 # The commands to extract the exported symbol list from a shared archive.
16591 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16593 # Symbols that should not be listed in the preloaded symbols.
16594 exclude_expsyms=$lt_exclude_expsyms_F77
16596 # Symbols that must always be exported.
16597 include_expsyms=$lt_include_expsyms_F77
16599 # ### END LIBTOOL TAG CONFIG: $tagname
16605 # If there is no Makefile yet, we rely on a make rule to execute
16606 # `config.status --recheck' to rerun these tests and create the
16607 # libtool script then.
16608 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16609 if test -f "$ltmain_in"; then
16610 test -f Makefile
&& make "$ltmain"
16616 ac_cpp
='$CPP $CPPFLAGS'
16617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16629 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16632 # Source file extension for Java test sources.
16635 # Object file extension for compiled Java test sources.
16639 # Code to be used in simple compile tests
16640 lt_simple_compile_test_code
="class foo {}"
16642 # Code to be used in simple link tests
16643 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16647 # If no C compiler was specified, use CC.
16650 # If no C compiler flags were specified, use CFLAGS.
16651 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16653 # Allow CC to be a program name with arguments.
16657 # save warnings/boilerplate of simple test code
16658 ac_outfile
=conftest.
$ac_objext
16659 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16660 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16661 _lt_compiler_boilerplate
=`cat conftest.err`
16664 ac_outfile
=conftest.
$ac_objext
16665 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16666 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16667 _lt_linker_boilerplate
=`cat conftest.err`
16671 # Allow CC to be a program name with arguments.
16676 for cc_temp
in $compiler""; do
16678 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16679 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16684 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16687 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16688 archive_cmds_need_lc_GCJ
=no
16690 old_archive_cmds_GCJ
=$old_archive_cmds
16693 lt_prog_compiler_no_builtin_flag_GCJ
=
16695 if test "$GCC" = yes; then
16696 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16699 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16700 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16701 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 lt_cv_prog_compiler_rtti_exceptions
=no
16705 ac_outfile
=conftest.
$ac_objext
16706 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16707 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16708 # Insert the option either (1) after the last *FLAGS variable, or
16709 # (2) before a word containing "conftest.", or (3) at the end.
16710 # Note that $ac_compile itself does not contain backslashes and begins
16711 # with a dollar sign (not a hyphen), so the echo should work correctly.
16712 # The option is referenced via a variable to avoid confusing sed.
16713 lt_compile
=`echo "$ac_compile" | $SED \
16714 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16715 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16716 -e 's:$: $lt_compiler_flag:'`
16717 (eval echo "\"\$as_me:16704: $lt_compile\"" >&5)
16718 (eval "$lt_compile" 2>conftest.err
)
16720 cat conftest.err
>&5
16721 echo "$as_me:16708: \$? = $ac_status" >&5
16722 if (exit $ac_status) && test -s "$ac_outfile"; then
16723 # The compiler can only warn and ignore the option if not recognized
16724 # So say no if there are warnings other than the usual output.
16725 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16726 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16727 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16728 lt_cv_prog_compiler_rtti_exceptions
=yes
16734 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16735 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16737 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16738 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16745 lt_prog_compiler_wl_GCJ
=
16746 lt_prog_compiler_pic_GCJ
=
16747 lt_prog_compiler_static_GCJ
=
16749 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16750 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16752 if test "$GCC" = yes; then
16753 lt_prog_compiler_wl_GCJ
='-Wl,'
16754 lt_prog_compiler_static_GCJ
='-static'
16758 # All AIX code is PIC.
16759 if test "$host_cpu" = ia64
; then
16760 # AIX 5 now supports IA64 processor
16761 lt_prog_compiler_static_GCJ
='-Bstatic'
16766 # FIXME: we need at least 68020 code to build shared libraries, but
16767 # adding the `-m68020' flag to GCC prevents building anything better,
16769 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16772 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16773 # PIC is the default for these OSes.
16776 mingw
* | cygwin
* | pw32
* | os2
*)
16777 # This hack is so that the source file can tell whether it is being
16778 # built for inclusion in a dll (and should export symbols for example).
16779 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16780 # (--disable-auto-import) libraries
16781 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16784 darwin
* | rhapsody
*)
16785 # PIC is the default on this platform
16786 # Common symbols not allowed in MH_DYLIB files
16787 lt_prog_compiler_pic_GCJ
='-fno-common'
16791 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16792 # Instead, we relocate shared libraries at runtime.
16796 # Just because we use GCC doesn't mean we suddenly get shared libraries
16797 # on systems that don't support them.
16798 lt_prog_compiler_can_build_shared_GCJ
=no
16803 if test -d /usr
/nec
; then
16804 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16809 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16810 # not for PA HP-UX.
16816 lt_prog_compiler_pic_GCJ
='-fPIC'
16822 lt_prog_compiler_pic_GCJ
='-fPIC'
16826 # PORTME Check for flag to pass linker flags through the system compiler.
16829 lt_prog_compiler_wl_GCJ
='-Wl,'
16830 if test "$host_cpu" = ia64
; then
16831 # AIX 5 now supports IA64 processor
16832 lt_prog_compiler_static_GCJ
='-Bstatic'
16834 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16838 # PIC is the default on this platform
16839 # Common symbols not allowed in MH_DYLIB files
16840 case $cc_basename in
16842 lt_prog_compiler_pic_GCJ
='-qnocommon'
16843 lt_prog_compiler_wl_GCJ
='-Wl,'
16848 mingw
* | cygwin
* | pw32
* | os2
*)
16849 # This hack is so that the source file can tell whether it is being
16850 # built for inclusion in a dll (and should export symbols for example).
16851 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16854 hpux9
* | hpux10
* | hpux11
*)
16855 lt_prog_compiler_wl_GCJ
='-Wl,'
16856 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16857 # not for PA HP-UX.
16863 lt_prog_compiler_pic_GCJ
='+Z'
16866 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16867 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16870 irix5
* | irix6
* | nonstopux
*)
16871 lt_prog_compiler_wl_GCJ
='-Wl,'
16872 # PIC (with -KPIC) is the default.
16873 lt_prog_compiler_static_GCJ
='-non_shared'
16877 lt_prog_compiler_pic_GCJ
='-KPIC'
16878 lt_prog_compiler_static_GCJ
='-Bstatic'
16881 linux
* | k
*bsd
*-gnu)
16882 case $cc_basename in
16884 lt_prog_compiler_wl_GCJ
='-Wl,'
16885 lt_prog_compiler_pic_GCJ
='-KPIC'
16886 lt_prog_compiler_static_GCJ
='-static'
16888 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16889 # Portland Group compilers (*not* the Pentium gcc compiler,
16890 # which looks to be a dead project)
16891 lt_prog_compiler_wl_GCJ
='-Wl,'
16892 lt_prog_compiler_pic_GCJ
='-fpic'
16893 lt_prog_compiler_static_GCJ
='-Bstatic'
16896 lt_prog_compiler_wl_GCJ
='-Wl,'
16897 # All Alpha code is PIC.
16898 lt_prog_compiler_static_GCJ
='-non_shared'
16901 case `$CC -V 2>&1 | sed 5q` in
16904 lt_prog_compiler_pic_GCJ
='-KPIC'
16905 lt_prog_compiler_static_GCJ
='-Bstatic'
16906 lt_prog_compiler_wl_GCJ
='-Wl,'
16909 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16910 lt_prog_compiler_pic_GCJ
='-KPIC'
16911 lt_prog_compiler_static_GCJ
='-Bstatic'
16912 lt_prog_compiler_wl_GCJ
=''
16919 osf3
* | osf4
* | osf5
*)
16920 lt_prog_compiler_wl_GCJ
='-Wl,'
16921 # All OSF/1 code is PIC.
16922 lt_prog_compiler_static_GCJ
='-non_shared'
16926 lt_prog_compiler_static_GCJ
='-non_shared'
16930 lt_prog_compiler_pic_GCJ
='-KPIC'
16931 lt_prog_compiler_static_GCJ
='-Bstatic'
16932 case $cc_basename in
16933 f77
* | f90
* | f95
*)
16934 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16936 lt_prog_compiler_wl_GCJ
='-Wl,';;
16941 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16942 lt_prog_compiler_pic_GCJ
='-PIC'
16943 lt_prog_compiler_static_GCJ
='-Bstatic'
16946 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16947 lt_prog_compiler_wl_GCJ
='-Wl,'
16948 lt_prog_compiler_pic_GCJ
='-KPIC'
16949 lt_prog_compiler_static_GCJ
='-Bstatic'
16953 if test -d /usr
/nec
;then
16954 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16955 lt_prog_compiler_static_GCJ
='-Bstatic'
16959 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16960 lt_prog_compiler_wl_GCJ
='-Wl,'
16961 lt_prog_compiler_pic_GCJ
='-KPIC'
16962 lt_prog_compiler_static_GCJ
='-Bstatic'
16966 lt_prog_compiler_wl_GCJ
='-Wl,'
16967 lt_prog_compiler_can_build_shared_GCJ
=no
16971 lt_prog_compiler_pic_GCJ
='-pic'
16972 lt_prog_compiler_static_GCJ
='-Bstatic'
16976 lt_prog_compiler_can_build_shared_GCJ
=no
16981 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16982 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16985 # Check to make sure the PIC flag actually works.
16987 if test -n "$lt_prog_compiler_pic_GCJ"; then
16989 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16990 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16991 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 lt_prog_compiler_pic_works_GCJ
=no
16995 ac_outfile
=conftest.
$ac_objext
16996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16997 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16998 # Insert the option either (1) after the last *FLAGS variable, or
16999 # (2) before a word containing "conftest.", or (3) at the end.
17000 # Note that $ac_compile itself does not contain backslashes and begins
17001 # with a dollar sign (not a hyphen), so the echo should work correctly.
17002 # The option is referenced via a variable to avoid confusing sed.
17003 lt_compile
=`echo "$ac_compile" | $SED \
17004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17006 -e 's:$: $lt_compiler_flag:'`
17007 (eval echo "\"\$as_me:16994: $lt_compile\"" >&5)
17008 (eval "$lt_compile" 2>conftest.err
)
17010 cat conftest.err
>&5
17011 echo "$as_me:16998: \$? = $ac_status" >&5
17012 if (exit $ac_status) && test -s "$ac_outfile"; then
17013 # The compiler can only warn and ignore the option if not recognized
17014 # So say no if there are warnings other than the usual output.
17015 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17016 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17017 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17018 lt_prog_compiler_pic_works_GCJ
=yes
17024 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17025 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17027 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17028 case $lt_prog_compiler_pic_GCJ in
17030 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17033 lt_prog_compiler_pic_GCJ
=
17034 lt_prog_compiler_can_build_shared_GCJ
=no
17039 # For platforms which do not support PIC, -DPIC is meaningless:
17041 lt_prog_compiler_pic_GCJ
=
17044 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17049 # Check to make sure the static flag actually works.
17051 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17052 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17053 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17054 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 lt_prog_compiler_static_works_GCJ
=no
17058 save_LDFLAGS
="$LDFLAGS"
17059 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17060 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17061 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17062 # The linker can only warn and ignore the option if not recognized
17063 # So say no if there are warnings
17064 if test -s conftest.err
; then
17065 # Append any errors to the config.log.
17066 cat conftest.err
1>&5
17067 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17068 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17069 if diff conftest.exp conftest.er2
>/dev
/null
; then
17070 lt_prog_compiler_static_works_GCJ
=yes
17073 lt_prog_compiler_static_works_GCJ
=yes
17077 LDFLAGS
="$save_LDFLAGS"
17080 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17081 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17083 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17086 lt_prog_compiler_static_GCJ
=
17090 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17091 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17092 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17093 echo $ECHO_N "(cached) $ECHO_C" >&6
17095 lt_cv_prog_compiler_c_o_GCJ
=no
17096 $rm -r conftest
2>/dev
/null
17100 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17102 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17103 # Insert the option either (1) after the last *FLAGS variable, or
17104 # (2) before a word containing "conftest.", or (3) at the end.
17105 # Note that $ac_compile itself does not contain backslashes and begins
17106 # with a dollar sign (not a hyphen), so the echo should work correctly.
17107 lt_compile
=`echo "$ac_compile" | $SED \
17108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17110 -e 's:$: $lt_compiler_flag:'`
17111 (eval echo "\"\$as_me:17098: $lt_compile\"" >&5)
17112 (eval "$lt_compile" 2>out
/conftest.err
)
17114 cat out
/conftest.err
>&5
17115 echo "$as_me:17102: \$? = $ac_status" >&5
17116 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17118 # The compiler can only warn and ignore the option if not recognized
17119 # So say no if there are warnings
17120 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17121 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17122 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17123 lt_cv_prog_compiler_c_o_GCJ
=yes
17128 # SGI C++ compiler will create directory out/ii_files/ for
17129 # template instantiation
17130 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17131 $rm out
/* && rmdir out
17137 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17138 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17141 hard_links
="nottested"
17142 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17143 # do not overwrite the value of need_locks provided by the user
17144 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17145 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17148 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17150 ln conftest.a conftest.b
2>&5 || hard_links
=no
17151 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17152 { echo "$as_me:$LINENO: result: $hard_links" >&5
17153 echo "${ECHO_T}$hard_links" >&6; }
17154 if test "$hard_links" = no
; then
17155 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17156 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17163 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17164 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17167 allow_undefined_flag_GCJ
=
17168 enable_shared_with_static_runtimes_GCJ
=no
17170 archive_expsym_cmds_GCJ
=
17171 old_archive_From_new_cmds_GCJ
=
17172 old_archive_from_expsyms_cmds_GCJ
=
17173 export_dynamic_flag_spec_GCJ
=
17174 whole_archive_flag_spec_GCJ
=
17175 thread_safe_flag_spec_GCJ
=
17176 hardcode_libdir_flag_spec_GCJ
=
17177 hardcode_libdir_flag_spec_ld_GCJ
=
17178 hardcode_libdir_separator_GCJ
=
17179 hardcode_direct_GCJ
=no
17180 hardcode_minus_L_GCJ
=no
17181 hardcode_shlibpath_var_GCJ
=unsupported
17182 link_all_deplibs_GCJ
=unknown
17183 hardcode_automatic_GCJ
=no
17185 module_expsym_cmds_GCJ
=
17186 always_export_symbols_GCJ
=no
17187 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17188 # include_expsyms should be a list of space-separated symbols to be *always*
17189 # included in the symbol list
17190 include_expsyms_GCJ
=
17191 # exclude_expsyms can be an extended regexp of symbols to exclude
17192 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17193 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17194 # as well as any symbol that contains `d'.
17195 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17196 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17197 # platforms (ab)use it in PIC code, but their linkers get confused if
17198 # the symbol is explicitly referenced. Since portable code cannot
17199 # rely on this symbol name, it's probably fine to never include it in
17200 # preloaded symbol tables.
17201 extract_expsyms_cmds
=
17202 # Just being paranoid about ensuring that cc_basename is set.
17203 for cc_temp
in $compiler""; do
17205 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17206 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17211 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17214 cygwin
* | mingw
* | pw32
*)
17215 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17216 # When not using gcc, we currently assume that we are using
17217 # Microsoft Visual C++.
17218 if test "$GCC" != yes; then
17223 # we just hope/assume this is gcc and not c89 (= MSVC++)
17232 if test "$with_gnu_ld" = yes; then
17233 # If archive_cmds runs LD, not CC, wlarc should be empty
17236 # Set some defaults for GNU ld with shared library support. These
17237 # are reset later if shared libraries are not supported. Putting them
17238 # here allows them to be overridden if necessary.
17239 runpath_var
=LD_RUN_PATH
17240 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17241 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17242 # ancient GNU ld didn't support --whole-archive et. al.
17243 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17244 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17246 whole_archive_flag_spec_GCJ
=
17248 supports_anon_versioning
=no
17249 case `$LD -v 2>/dev/null` in
17250 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17251 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17252 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17253 *\
2.11.
*) ;; # other 2.11 versions
17254 *) supports_anon_versioning
=yes ;;
17257 # See if GNU ld supports shared libraries.
17259 aix3
* | aix4
* | aix5
*)
17260 # On AIX/PPC, the GNU linker is very broken
17261 if test "$host_cpu" != ia64
; then
17265 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17266 *** to be unable to reliably create shared libraries on AIX.
17267 *** Therefore, libtool is disabling shared libraries support. If you
17268 *** really care for shared libraries, you may want to modify your PATH
17269 *** so that a non-GNU linker is found, and then restart.
17276 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)'
17277 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17278 hardcode_minus_L_GCJ
=yes
17280 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17281 # that the semantics of dynamic libraries on AmigaOS, at least up
17282 # to version 4, is to share data among multiple programs linked
17283 # with the same dynamic library. Since this doesn't match the
17284 # behavior of shared libraries on other platforms, we can't use
17290 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17291 allow_undefined_flag_GCJ
=unsupported
17292 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17293 # support --undefined. This deserves some investigation. FIXME
17294 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17300 cygwin
* | mingw
* | pw32
*)
17301 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17302 # as there is no search path for DLLs.
17303 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17304 allow_undefined_flag_GCJ
=unsupported
17305 always_export_symbols_GCJ
=no
17306 enable_shared_with_static_runtimes_GCJ
=yes
17307 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17309 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17310 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17311 # If the export-symbols file already is a .def file (1st line
17312 # is EXPORTS), use it as is; otherwise, prepend...
17313 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17314 cp $export_symbols $output_objdir/$soname.def;
17316 echo EXPORTS > $output_objdir/$soname.def;
17317 cat $export_symbols >> $output_objdir/$soname.def;
17319 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17326 hardcode_direct_GCJ
=no
17327 hardcode_shlibpath_var_GCJ
=no
17328 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17329 export_dynamic_flag_spec_GCJ
='${wl}-E'
17330 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17331 # Instead, shared libraries are loaded at an image base (0x10000000 by
17332 # default) and relocated if they conflict, which is a slow very memory
17333 # consuming and fragmenting process. To avoid this, we pick a random,
17334 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17335 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17336 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'
17337 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'
17340 gnu
* | linux
* | k
*bsd
*-gnu)
17341 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17343 case $cc_basename,$host_cpu in
17344 pgcc
*) # Portland Group C compiler
17345 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'
17346 tmp_addflag
=' $pic_flag'
17348 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17349 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'
17350 tmp_addflag
=' $pic_flag -Mnomain' ;;
17351 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17352 tmp_addflag
=' -i_dynamic' ;;
17353 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17354 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17355 ifc
* | ifort
*) # Intel Fortran compiler
17356 tmp_addflag
=' -nofor_main' ;;
17358 case `$CC -V 2>&1 | sed 5q` in
17359 *Sun\ C
*) # Sun C 5.9
17360 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17361 tmp_sharedflag
='-G' ;;
17362 *Sun\ F
*) # Sun Fortran 8.3
17363 tmp_sharedflag
='-G' ;;
17365 tmp_sharedflag
='-shared' ;;
17367 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17369 if test $supports_anon_versioning = yes; then
17370 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17371 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17372 $echo "local: *; };" >> $output_objdir/$libname.ver~
17373 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17375 link_all_deplibs_GCJ
=no
17381 netbsd
* | netbsdelf
*-gnu)
17382 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17383 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17386 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17387 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17392 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17396 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17397 *** create shared libraries on Solaris systems. Therefore, libtool
17398 *** is disabling shared libraries support. We urge you to upgrade GNU
17399 *** binutils to release 2.9.1 or newer. Another option is to modify
17400 *** your PATH or compiler configuration so that the native linker is
17401 *** used, and then restart.
17404 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17405 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17406 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17412 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17413 case `$LD -v 2>&1` in
17414 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17418 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17419 *** reliably create shared libraries on SCO systems. Therefore, libtool
17420 *** is disabling shared libraries support. We urge you to upgrade GNU
17421 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17422 *** your PATH or compiler configuration so that the native linker is
17423 *** used, and then restart.
17428 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17429 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17430 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17431 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17440 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17442 hardcode_direct_GCJ
=yes
17443 hardcode_shlibpath_var_GCJ
=no
17447 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17448 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17449 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17456 if test "$ld_shlibs_GCJ" = no
; then
17458 hardcode_libdir_flag_spec_GCJ
=
17459 export_dynamic_flag_spec_GCJ
=
17460 whole_archive_flag_spec_GCJ
=
17463 # PORTME fill in a description of your system's linker (not GNU ld)
17466 allow_undefined_flag_GCJ
=unsupported
17467 always_export_symbols_GCJ
=yes
17468 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'
17469 # Note: this linker hardcodes the directories in LIBPATH if there
17470 # are no directories specified by -L.
17471 hardcode_minus_L_GCJ
=yes
17472 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17473 # Neither direct hardcoding nor static linking is supported with a
17475 hardcode_direct_GCJ
=unsupported
17480 if test "$host_cpu" = ia64
; then
17481 # On IA64, the linker does run time linking by default, so we don't
17482 # have to do anything special.
17483 aix_use_runtimelinking
=no
17484 exp_sym_flag
='-Bexport'
17487 # If we're using GNU nm, then we don't want the "-C" option.
17488 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17489 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17490 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'
17492 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'
17494 aix_use_runtimelinking
=no
17496 # Test if we are trying to use run time linking or normal
17497 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17498 # need to do runtime linking.
17499 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17500 for ld_flag
in $LDFLAGS; do
17501 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17502 aix_use_runtimelinking
=yes
17509 exp_sym_flag
='-bexport'
17510 no_entry_flag
='-bnoentry'
17513 # When large executables or shared objects are built, AIX ld can
17514 # have problems creating the table of contents. If linking a library
17515 # or program results in "error TOC overflow" add -mminimal-toc to
17516 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17517 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17519 archive_cmds_GCJ
=''
17520 hardcode_direct_GCJ
=yes
17521 hardcode_libdir_separator_GCJ
=':'
17522 link_all_deplibs_GCJ
=yes
17524 if test "$GCC" = yes; then
17525 case $host_os in aix4.
[012]|aix4.
[012].
*)
17526 # We only want to do this on AIX 4.2 and lower, the check
17527 # below for broken collect2 doesn't work under 4.3+
17528 collect2name
=`${CC} -print-prog-name=collect2`
17529 if test -f "$collect2name" && \
17530 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17532 # We have reworked collect2
17535 # We have old collect2
17536 hardcode_direct_GCJ
=unsupported
17537 # It fails to find uninstalled libraries when the uninstalled
17538 # path is not listed in the libpath. Setting hardcode_minus_L
17539 # to unsupported forces relinking
17540 hardcode_minus_L_GCJ
=yes
17541 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17542 hardcode_libdir_separator_GCJ
=
17546 shared_flag
='-shared'
17547 if test "$aix_use_runtimelinking" = yes; then
17548 shared_flag
="$shared_flag "'${wl}-G'
17552 if test "$host_cpu" = ia64
; then
17553 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17554 # chokes on -Wl,-G. The following line is correct:
17557 if test "$aix_use_runtimelinking" = yes; then
17558 shared_flag
='${wl}-G'
17560 shared_flag
='${wl}-bM:SRE'
17565 # It seems that -bexpall does not export symbols beginning with
17566 # underscore (_), so it is better to generate a list of symbols to export.
17567 always_export_symbols_GCJ
=yes
17568 if test "$aix_use_runtimelinking" = yes; then
17569 # Warning - without using the other runtime loading flags (-brtl),
17570 # -berok will link without error, but may produce a broken library.
17571 allow_undefined_flag_GCJ
='-berok'
17572 # Determine the default libpath from the value encoded in an empty executable.
17573 cat >conftest.
$ac_ext <<_ACEOF
17576 cat confdefs.h
>>conftest.
$ac_ext
17577 cat >>conftest.
$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17588 rm -f conftest.
$ac_objext conftest
$ac_exeext
17589 if { (ac_try
="$ac_link"
17590 case "(($ac_try" in
17591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17592 *) ac_try_echo=$ac_try;;
17594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17595 (eval "$ac_link") 2>conftest.er1
17597 grep -v '^ *+' conftest.er1 >conftest.err
17599 cat conftest.err >&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } && {
17602 test -z "$ac_c_werror_flag" ||
17603 test ! -s conftest.err
17604 } && test -s conftest$ac_exeext &&
17605 $as_test_x conftest$ac_exeext; then
17607 lt_aix_libpath_sed='
17608 /Import File Strings/,/^$/ {
17614 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17615 # Check for a 64-bit object if we didn't find anything.
17616 if test -z "$aix_libpath"; then
17617 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17627 conftest$ac_exeext conftest.$ac_ext
17628 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17630 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17631 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"
17633 if test "$host_cpu" = ia64; then
17634 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17635 allow_undefined_flag_GCJ="-z nodefs"
17636 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"
17638 # Determine the default libpath from the value encoded in an empty executable.
17639 cat >conftest.$ac_ext <<_ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17654 rm -f conftest.$ac_objext conftest$ac_exeext
17655 if { (ac_try="$ac_link"
17656 case "(($ac_try" in
17657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17658 *) ac_try_echo
=$ac_try;;
17660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17661 (eval "$ac_link") 2>conftest.er1
17663 grep -v '^ *+' conftest.er1
>conftest.err
17665 cat conftest.err
>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } && {
17668 test -z "$ac_c_werror_flag" ||
17669 test ! -s conftest.err
17670 } && test -s conftest
$ac_exeext &&
17671 $as_test_x conftest
$ac_exeext; then
17673 lt_aix_libpath_sed
='
17674 /Import File Strings/,/^$/ {
17680 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17681 # Check for a 64-bit object if we didn't find anything.
17682 if test -z "$aix_libpath"; then
17683 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.
$ac_ext >&5
17692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17693 conftest
$ac_exeext conftest.
$ac_ext
17694 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17696 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17697 # Warning - without using the other run time loading flags,
17698 # -berok will link without error, but may produce a broken library.
17699 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17700 allow_undefined_flag_GCJ
=' ${wl}-berok'
17701 # Exported symbols can be pulled into shared objects from archives
17702 whole_archive_flag_spec_GCJ
='$convenience'
17703 archive_cmds_need_lc_GCJ
=yes
17704 # This is similar to how AIX traditionally builds its shared libraries.
17705 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'
17711 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)'
17712 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17713 hardcode_minus_L_GCJ
=yes
17714 # see comment about different semantics on the GNU ld section
17719 export_dynamic_flag_spec_GCJ
=-rdynamic
17722 cygwin
* | mingw
* | pw32
*)
17723 # When not using gcc, we currently assume that we are using
17724 # Microsoft Visual C++.
17725 # hardcode_libdir_flag_spec is actually meaningless, as there is
17726 # no search path for DLLs.
17727 hardcode_libdir_flag_spec_GCJ
=' '
17728 allow_undefined_flag_GCJ
=unsupported
17729 # Tell ltmain to make .lib files, not .a files.
17731 # Tell ltmain to make .dll files, not .so files.
17733 # FIXME: Setting linknames here is a bad hack.
17734 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17735 # The linker will automatically build a .lib file if we build a DLL.
17736 old_archive_From_new_cmds_GCJ
='true'
17737 # FIXME: Should let the user specify the lib program.
17738 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17739 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17740 enable_shared_with_static_runtimes_GCJ
=yes
17743 darwin
* | rhapsody
*)
17745 rhapsody
* | darwin1.
[012])
17746 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17749 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17750 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17752 case ${MACOSX_DEPLOYMENT_TARGET} in
17754 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17757 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17763 archive_cmds_need_lc_GCJ
=no
17764 hardcode_direct_GCJ
=no
17765 hardcode_automatic_GCJ
=yes
17766 hardcode_shlibpath_var_GCJ
=unsupported
17767 whole_archive_flag_spec_GCJ
=''
17768 link_all_deplibs_GCJ
=yes
17769 if test "$GCC" = yes ; then
17770 output_verbose_link_cmd
='echo'
17771 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17772 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17773 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17774 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}'
17775 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}'
17777 case $cc_basename in
17779 output_verbose_link_cmd
='echo'
17780 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17781 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17782 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17783 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17784 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}'
17794 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17795 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17796 hardcode_shlibpath_var_GCJ
=no
17803 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17804 # support. Future versions do this automatically, but an explicit c++rt0.o
17805 # does not break anything, and helps significantly (at the cost of a little
17808 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17809 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17810 hardcode_direct_GCJ
=yes
17811 hardcode_shlibpath_var_GCJ
=no
17814 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17816 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17817 hardcode_direct_GCJ
=yes
17818 hardcode_minus_L_GCJ
=yes
17819 hardcode_shlibpath_var_GCJ
=no
17822 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17823 freebsd
* | dragonfly
*)
17824 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17825 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17826 hardcode_direct_GCJ
=yes
17827 hardcode_shlibpath_var_GCJ
=no
17831 if test "$GCC" = yes; then
17832 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'
17834 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'
17836 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17837 hardcode_libdir_separator_GCJ
=:
17838 hardcode_direct_GCJ
=yes
17840 # hardcode_minus_L: Not really in the search PATH,
17841 # but as the default location of the library.
17842 hardcode_minus_L_GCJ
=yes
17843 export_dynamic_flag_spec_GCJ
='${wl}-E'
17847 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17848 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17850 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17852 if test "$with_gnu_ld" = no
; then
17853 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17854 hardcode_libdir_separator_GCJ
=:
17856 hardcode_direct_GCJ
=yes
17857 export_dynamic_flag_spec_GCJ
='${wl}-E'
17859 # hardcode_minus_L: Not really in the search PATH,
17860 # but as the default location of the library.
17861 hardcode_minus_L_GCJ
=yes
17866 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17869 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17872 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17875 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17881 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17884 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17887 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17891 if test "$with_gnu_ld" = no
; then
17892 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17893 hardcode_libdir_separator_GCJ
=:
17897 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17898 hardcode_direct_GCJ
=no
17899 hardcode_shlibpath_var_GCJ
=no
17902 hardcode_direct_GCJ
=yes
17903 export_dynamic_flag_spec_GCJ
='${wl}-E'
17905 # hardcode_minus_L: Not really in the search PATH,
17906 # but as the default location of the library.
17907 hardcode_minus_L_GCJ
=yes
17913 irix5
* | irix6
* | nonstopux
*)
17914 if test "$GCC" = yes; then
17915 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'
17917 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'
17918 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17920 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17921 hardcode_libdir_separator_GCJ
=:
17922 link_all_deplibs_GCJ
=yes
17925 netbsd
* | netbsdelf
*-gnu)
17926 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17927 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17929 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17931 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17932 hardcode_direct_GCJ
=yes
17933 hardcode_shlibpath_var_GCJ
=no
17937 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17938 hardcode_direct_GCJ
=yes
17939 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17940 hardcode_libdir_separator_GCJ
=:
17941 hardcode_shlibpath_var_GCJ
=no
17945 if test -f /usr
/libexec
/ld.so
; then
17946 hardcode_direct_GCJ
=yes
17947 hardcode_shlibpath_var_GCJ
=no
17948 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17949 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17950 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17951 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17952 export_dynamic_flag_spec_GCJ
='${wl}-E'
17955 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17956 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17957 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17960 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17961 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17971 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17972 hardcode_minus_L_GCJ
=yes
17973 allow_undefined_flag_GCJ
=unsupported
17974 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'
17975 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17979 if test "$GCC" = yes; then
17980 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17981 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'
17983 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17984 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'
17986 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17987 hardcode_libdir_separator_GCJ
=:
17990 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17991 if test "$GCC" = yes; then
17992 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17993 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'
17994 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17996 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17997 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'
17998 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~
17999 $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'
18001 # Both c and cxx compiler support -rpath directly
18002 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18004 hardcode_libdir_separator_GCJ
=:
18008 no_undefined_flag_GCJ
=' -z text'
18009 if test "$GCC" = yes; then
18011 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18012 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18013 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18016 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18017 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18018 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18020 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18021 hardcode_shlibpath_var_GCJ
=no
18023 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18025 # The compiler driver will combine and reorder linker options,
18026 # but understands `-z linker_flag'. GCC discards it without `$wl',
18027 # but is careful enough not to reorder.
18028 # Supported since Solaris 2.6 (maybe 2.5.1?)
18029 if test "$GCC" = yes; then
18030 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18032 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18036 link_all_deplibs_GCJ
=yes
18040 if test "x$host_vendor" = xsequent
; then
18041 # Use $CC to link under sequent, because it throws in some extra .o
18042 # files that make .init and .fini sections work.
18043 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18045 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18047 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18048 hardcode_direct_GCJ
=yes
18049 hardcode_minus_L_GCJ
=yes
18050 hardcode_shlibpath_var_GCJ
=no
18054 case $host_vendor in
18056 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18057 hardcode_direct_GCJ
=yes # is this really true???
18060 ## LD is ld it makes a PLAMLIB
18061 ## CC just makes a GrossModule.
18062 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18063 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18064 hardcode_direct_GCJ
=no
18067 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18068 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18071 runpath_var
='LD_RUN_PATH'
18072 hardcode_shlibpath_var_GCJ
=no
18076 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18077 hardcode_shlibpath_var_GCJ
=no
18078 export_dynamic_flag_spec_GCJ
='-Bexport'
18082 if test -d /usr
/nec
; then
18083 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18084 hardcode_shlibpath_var_GCJ
=no
18085 runpath_var
=LD_RUN_PATH
18086 hardcode_runpath_var
=yes
18091 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18092 no_undefined_flag_GCJ
='${wl}-z,text'
18093 archive_cmds_need_lc_GCJ
=no
18094 hardcode_shlibpath_var_GCJ
=no
18095 runpath_var
='LD_RUN_PATH'
18097 if test "$GCC" = yes; then
18098 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18099 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18101 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18102 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18106 sysv5
* | sco3.2v5
* | sco5v6
*)
18107 # Note: We can NOT use -z defs as we might desire, because we do not
18108 # link with -lc, and that would cause any symbols used from libc to
18109 # always be unresolved, which means just about no library would
18110 # ever link correctly. If we're not using GNU ld we use -z text
18111 # though, which does catch some bad symbols but isn't as heavy-handed
18113 no_undefined_flag_GCJ
='${wl}-z,text'
18114 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18115 archive_cmds_need_lc_GCJ
=no
18116 hardcode_shlibpath_var_GCJ
=no
18117 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18118 hardcode_libdir_separator_GCJ
=':'
18119 link_all_deplibs_GCJ
=yes
18120 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18121 runpath_var
='LD_RUN_PATH'
18123 if test "$GCC" = yes; then
18124 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18125 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18127 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18128 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18133 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18134 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18135 hardcode_shlibpath_var_GCJ
=no
18144 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18145 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18146 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18149 # Do we need to explicitly link libc?
18151 case "x$archive_cmds_need_lc_GCJ" in
18153 # Assume -lc should be added
18154 archive_cmds_need_lc_GCJ
=yes
18156 if test "$enable_shared" = yes && test "$GCC" = yes; then
18157 case $archive_cmds_GCJ in
18159 # FIXME: we may have to deal with multi-command sequences.
18162 # Test whether the compiler implicitly links with -lc since on some
18163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18164 # to ld, don't add -lc before -lgcc.
18165 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18166 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18168 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } 2>conftest.err
; then
18177 libobjs
=conftest.
$ac_objext
18179 wl
=$lt_prog_compiler_wl_GCJ
18180 pic_flag
=$lt_prog_compiler_pic_GCJ
18186 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18187 allow_undefined_flag_GCJ
=
18188 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18189 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); }
18194 archive_cmds_need_lc_GCJ
=no
18196 archive_cmds_need_lc_GCJ
=yes
18198 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18200 cat conftest.err
1>&5
18203 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18204 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18211 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18212 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18213 library_names_spec
=
18214 libname_spec
='lib$name'
18218 postuninstall_cmds
=
18222 shlibpath_overrides_runpath
=unknown
18224 dynamic_linker
="$host_os ld.so"
18225 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18227 need_lib_prefix
=unknown
18228 hardcode_into_libs
=no
18230 # when you set need_version to no, make sure it does not cause -set_version
18231 # flags to be left without arguments
18232 need_version
=unknown
18237 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18238 shlibpath_var
=LIBPATH
18240 # AIX 3 has no versioning support, so we append a major version to the name.
18241 soname_spec
='${libname}${release}${shared_ext}$major'
18248 hardcode_into_libs
=yes
18249 if test "$host_cpu" = ia64
; then
18250 # AIX 5 supports IA64
18251 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18252 shlibpath_var
=LD_LIBRARY_PATH
18254 # With GCC up to 2.95.x, collect2 would create an import file
18255 # for dependence libraries. The import file would start with
18256 # the line `#! .'. This would cause the generated library to
18257 # depend on `.', always an invalid library. This was fixed in
18258 # development snapshots of GCC prior to 3.0.
18260 aix4 | aix4.
[01] | aix4.
[01].
*)
18261 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18263 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18266 can_build_shared
=no
18270 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18271 # soname into executable. Probably we can add versioning support to
18272 # collect2, so additional links can be useful in future.
18273 if test "$aix_use_runtimelinking" = yes; then
18274 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18275 # instead of lib<name>.a to let people know that these are not
18276 # typical AIX shared libraries.
18277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18279 # We preserve .a as extension for shared libraries through AIX4.2
18280 # and later when we are not doing run time linking.
18281 library_names_spec
='${libname}${release}.a $libname.a'
18282 soname_spec
='${libname}${release}${shared_ext}$major'
18284 shlibpath_var
=LIBPATH
18289 library_names_spec
='$libname.ixlibrary $libname.a'
18290 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18291 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'
18295 library_names_spec
='${libname}${shared_ext}'
18296 dynamic_linker
="$host_os ld.so"
18297 shlibpath_var
=LIBRARY_PATH
18303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18304 soname_spec
='${libname}${release}${shared_ext}$major'
18305 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18306 shlibpath_var
=LD_LIBRARY_PATH
18307 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18308 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18309 # the default ld.so.conf also contains /usr/contrib/lib and
18310 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18311 # libtool to hard-code these into programs
18314 cygwin
* | mingw
* | pw32
*)
18315 version_type
=windows
18320 case $GCC,$host_os in
18321 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18322 library_names_spec
='$libname.dll.a'
18323 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18324 postinstall_cmds
='base_file=`basename \${file}`~
18325 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18326 dldir=$destdir/`dirname \$dlpath`~
18327 test -d \$dldir || mkdir -p \$dldir~
18328 $install_prog $dir/$dlname \$dldir/$dlname~
18329 chmod a+x \$dldir/$dlname'
18330 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18331 dlpath=$dir/\$dldll~
18333 shlibpath_overrides_runpath
=yes
18337 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18338 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18339 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18342 # MinGW DLLs use traditional 'lib' prefix
18343 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18344 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18345 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18346 # It is most probably a Windows format PATH printed by
18347 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18348 # path with ; separators, and with drive letters. We can handle the
18349 # drive letters (cygwin fileutils understands them), so leave them,
18350 # especially as we might pass files found there to a mingw objdump,
18351 # which wouldn't understand a cygwinified path. Ahh.
18352 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18354 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18358 # pw32 DLLs use 'pw' prefix rather than 'lib'
18359 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18365 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18368 dynamic_linker
='Win32 ld.exe'
18369 # FIXME: first we should search . and the directory the executable is in
18373 darwin
* | rhapsody
*)
18374 dynamic_linker
="$host_os dyld"
18375 version_type
=darwin
18378 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18379 soname_spec
='${libname}${release}${major}$shared_ext'
18380 shlibpath_overrides_runpath
=yes
18381 shlibpath_var
=DYLD_LIBRARY_PATH
18382 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18384 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18392 soname_spec
='${libname}${release}${shared_ext}$major'
18393 shlibpath_var
=LD_LIBRARY_PATH
18400 freebsd
* | dragonfly
*)
18401 # DragonFly does not have aout. When/if they implement a new
18402 # versioning mechanism, adjust this.
18403 if test -x /usr
/bin
/objformat
; then
18404 objformat
=`/usr/bin/objformat`
18407 freebsd
[123]*) objformat
=aout
;;
18408 *) objformat
=elf
;;
18411 version_type
=freebsd-
$objformat
18412 case $version_type in
18414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18419 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18423 shlibpath_var
=LD_LIBRARY_PATH
18426 shlibpath_overrides_runpath
=yes
18428 freebsd3.
[01]* | freebsdelf3.
[01]*)
18429 shlibpath_overrides_runpath
=yes
18430 hardcode_into_libs
=yes
18432 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18433 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18434 shlibpath_overrides_runpath
=no
18435 hardcode_into_libs
=yes
18437 *) # from 4.6 on, and DragonFly
18438 shlibpath_overrides_runpath
=yes
18439 hardcode_into_libs
=yes
18448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18449 soname_spec
='${libname}${release}${shared_ext}$major'
18450 shlibpath_var
=LD_LIBRARY_PATH
18451 hardcode_into_libs
=yes
18454 hpux9
* | hpux10
* | hpux11
*)
18455 # Give a soname corresponding to the major version so that dld.sl refuses to
18456 # link against other versions.
18463 hardcode_into_libs
=yes
18464 dynamic_linker
="$host_os dld.so"
18465 shlibpath_var
=LD_LIBRARY_PATH
18466 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18468 soname_spec
='${libname}${release}${shared_ext}$major'
18469 if test "X$HPUX_IA64_MODE" = X32
; then
18470 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18472 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18474 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18478 hardcode_into_libs
=yes
18479 dynamic_linker
="$host_os dld.sl"
18480 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18481 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18483 soname_spec
='${libname}${release}${shared_ext}$major'
18484 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18485 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18489 dynamic_linker
="$host_os dld.sl"
18490 shlibpath_var
=SHLIB_PATH
18491 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18493 soname_spec
='${libname}${release}${shared_ext}$major'
18496 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18497 postinstall_cmds
='chmod 555 $lib'
18504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18505 soname_spec
='${libname}${release}${shared_ext}$major'
18506 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18507 shlibpath_var
=LD_LIBRARY_PATH
18508 shlibpath_overrides_runpath
=no
18509 hardcode_into_libs
=yes
18512 irix5
* | irix6
* | nonstopux
*)
18514 nonstopux
*) version_type
=nonstopux
;;
18516 if test "$lt_cv_prog_gnu_ld" = yes; then
18524 soname_spec
='${libname}${release}${shared_ext}$major'
18525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18527 irix5
* | nonstopux
*)
18528 libsuff
= shlibsuff
=
18531 case $LD in # libtool.m4 will add one of these switches to LD
18532 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18533 libsuff
= shlibsuff
= libmagic
=32-bit;;
18534 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18535 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18536 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18537 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18538 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18542 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18543 shlibpath_overrides_runpath
=no
18544 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18545 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18546 hardcode_into_libs
=yes
18549 # No shared lib support for Linux oldld, aout, or coff.
18550 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18554 # This must be Linux ELF.
18555 linux
* | k
*bsd
*-gnu)
18559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18560 soname_spec
='${libname}${release}${shared_ext}$major'
18561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18562 shlibpath_var
=LD_LIBRARY_PATH
18563 shlibpath_overrides_runpath
=no
18564 # This implies no fast_install, which is unacceptable.
18565 # Some rework will be needed to allow for fast_install
18566 # before this can be enabled.
18567 hardcode_into_libs
=yes
18569 # Append ld.so.conf contents to the search path
18570 if test -f /etc
/ld.so.conf
; then
18571 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18572 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18575 # We used to test for /lib/ld.so.1 and disable shared libraries on
18576 # powerpc, because MkLinux only supported shared libraries with the
18577 # GNU dynamic linker. Since this was broken with cross compilers,
18578 # most powerpc-linux boxes support dynamic linking these days and
18579 # people can always --disable-shared, the test was removed, and we
18580 # assume the GNU/Linux dynamic linker is in use.
18581 dynamic_linker
='GNU/Linux ld.so'
18588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18589 soname_spec
='${libname}${release}${shared_ext}$major'
18590 shlibpath_var
=LD_LIBRARY_PATH
18591 shlibpath_overrides_runpath
=no
18592 hardcode_into_libs
=yes
18593 dynamic_linker
='NetBSD ld.elf_so'
18600 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18603 dynamic_linker
='NetBSD (a.out) ld.so'
18605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18606 soname_spec
='${libname}${release}${shared_ext}$major'
18607 dynamic_linker
='NetBSD ld.elf_so'
18609 shlibpath_var
=LD_LIBRARY_PATH
18610 shlibpath_overrides_runpath
=yes
18611 hardcode_into_libs
=yes
18616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18617 shlibpath_var
=LD_LIBRARY_PATH
18618 shlibpath_overrides_runpath
=yes
18625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18626 soname_spec
='${libname}${release}${shared_ext}$major'
18627 shlibpath_var
=LD_LIBRARY_PATH
18628 shlibpath_overrides_runpath
=yes
18633 sys_lib_dlsearch_path_spec
="/usr/lib"
18635 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18637 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18638 *) need_version
=no
;;
18640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18641 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18642 shlibpath_var
=LD_LIBRARY_PATH
18643 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18645 openbsd2.
[89] | openbsd2.
[89].
*)
18646 shlibpath_overrides_runpath
=no
18649 shlibpath_overrides_runpath
=yes
18653 shlibpath_overrides_runpath
=yes
18658 libname_spec
='$name'
18661 library_names_spec
='$libname${shared_ext} $libname.a'
18662 dynamic_linker
='OS/2 ld.exe'
18663 shlibpath_var
=LIBPATH
18666 osf3
* | osf4
* | osf5
*)
18670 soname_spec
='${libname}${release}${shared_ext}$major'
18671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18672 shlibpath_var
=LD_LIBRARY_PATH
18673 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18674 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18686 soname_spec
='${libname}${release}${shared_ext}$major'
18687 shlibpath_var
=LD_LIBRARY_PATH
18688 shlibpath_overrides_runpath
=yes
18689 hardcode_into_libs
=yes
18690 # ldd complains unless libraries are executable
18691 postinstall_cmds
='chmod +x $lib'
18696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18697 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18698 shlibpath_var
=LD_LIBRARY_PATH
18699 shlibpath_overrides_runpath
=yes
18700 if test "$with_gnu_ld" = yes; then
18708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18709 soname_spec
='${libname}${release}${shared_ext}$major'
18710 shlibpath_var
=LD_LIBRARY_PATH
18711 case $host_vendor in
18713 shlibpath_overrides_runpath
=no
18715 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18716 runpath_var
=LD_RUN_PATH
18724 shlibpath_overrides_runpath
=no
18725 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18731 if test -d /usr
/nec
;then
18733 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18734 soname_spec
='$libname${shared_ext}.$major'
18735 shlibpath_var
=LD_LIBRARY_PATH
18739 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18740 version_type
=freebsd-elf
18743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18744 soname_spec
='${libname}${release}${shared_ext}$major'
18745 shlibpath_var
=LD_LIBRARY_PATH
18746 hardcode_into_libs
=yes
18747 if test "$with_gnu_ld" = yes; then
18748 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18749 shlibpath_overrides_runpath
=no
18751 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18752 shlibpath_overrides_runpath
=yes
18755 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18759 sys_lib_dlsearch_path_spec
='/usr/lib'
18764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18765 soname_spec
='${libname}${release}${shared_ext}$major'
18766 shlibpath_var
=LD_LIBRARY_PATH
18773 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18774 echo "${ECHO_T}$dynamic_linker" >&6; }
18775 test "$dynamic_linker" = no
&& can_build_shared
=no
18777 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18778 if test "$GCC" = yes; then
18779 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18782 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18783 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18784 hardcode_action_GCJ
=
18785 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18786 test -n "$runpath_var_GCJ" || \
18787 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18789 # We can hardcode non-existant directories.
18790 if test "$hardcode_direct_GCJ" != no
&&
18791 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18792 # have to relink, otherwise we might link with an installed library
18793 # when we should be linking with a yet-to-be-installed one
18794 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18795 test "$hardcode_minus_L_GCJ" != no
; then
18796 # Linking always hardcodes the temporary library directory.
18797 hardcode_action_GCJ
=relink
18799 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18800 hardcode_action_GCJ
=immediate
18803 # We cannot hardcode anything, or else we can only hardcode existing
18805 hardcode_action_GCJ
=unsupported
18807 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18808 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18810 if test "$hardcode_action_GCJ" = relink
; then
18811 # Fast installation is not supported
18812 enable_fast_install
=no
18813 elif test "$shlibpath_overrides_runpath" = yes ||
18814 test "$enable_shared" = no
; then
18815 # Fast installation is not necessary
18816 enable_fast_install
=needless
18820 # The else clause should only fire when bootstrapping the
18821 # libtool distribution, otherwise you forgot to ship ltmain.sh
18822 # with your package, and you will get complaints that there are
18823 # no rules to generate ltmain.sh.
18824 if test -f "$ltmain"; then
18825 # See if we are running on zsh, and set the options which allow our commands through
18826 # without removal of \ escapes.
18827 if test -n "${ZSH_VERSION+set}" ; then
18828 setopt NO_GLOB_SUBST
18830 # Now quote all the things that may contain metacharacters while being
18831 # careful not to overquote the AC_SUBSTed values. We take copies of the
18832 # variables and quote the copies for generation of the libtool script.
18833 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18835 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18836 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18837 deplibs_check_method reload_flag reload_cmds need_locks \
18838 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18839 lt_cv_sys_global_symbol_to_c_name_address \
18840 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18841 old_postinstall_cmds old_postuninstall_cmds \
18845 lt_prog_compiler_wl_GCJ \
18846 lt_prog_compiler_pic_GCJ \
18847 lt_prog_compiler_static_GCJ \
18848 lt_prog_compiler_no_builtin_flag_GCJ \
18849 export_dynamic_flag_spec_GCJ \
18850 thread_safe_flag_spec_GCJ \
18851 whole_archive_flag_spec_GCJ \
18852 enable_shared_with_static_runtimes_GCJ \
18853 old_archive_cmds_GCJ \
18854 old_archive_from_new_cmds_GCJ \
18855 predep_objects_GCJ \
18856 postdep_objects_GCJ \
18859 compiler_lib_search_path_GCJ \
18861 archive_expsym_cmds_GCJ \
18862 postinstall_cmds_GCJ \
18863 postuninstall_cmds_GCJ \
18864 old_archive_from_expsyms_cmds_GCJ \
18865 allow_undefined_flag_GCJ \
18866 no_undefined_flag_GCJ \
18867 export_symbols_cmds_GCJ \
18868 hardcode_libdir_flag_spec_GCJ \
18869 hardcode_libdir_flag_spec_ld_GCJ \
18870 hardcode_libdir_separator_GCJ \
18871 hardcode_automatic_GCJ \
18873 module_expsym_cmds_GCJ \
18874 lt_cv_prog_compiler_c_o_GCJ \
18875 fix_srcfile_path_GCJ \
18876 exclude_expsyms_GCJ \
18877 include_expsyms_GCJ
; do
18880 old_archive_cmds_GCJ | \
18881 old_archive_from_new_cmds_GCJ | \
18882 archive_cmds_GCJ | \
18883 archive_expsym_cmds_GCJ | \
18884 module_cmds_GCJ | \
18885 module_expsym_cmds_GCJ | \
18886 old_archive_from_expsyms_cmds_GCJ | \
18887 export_symbols_cmds_GCJ | \
18888 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18889 postinstall_cmds | postuninstall_cmds | \
18890 old_postinstall_cmds | old_postuninstall_cmds | \
18891 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18892 # Double-quote double-evaled strings.
18893 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18896 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18902 *'\$0 --fallback-echo"')
18903 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18909 cat <<__EOF__ >> "$cfgfile"
18910 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18912 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18914 # Shell to use when invoking shell scripts.
18917 # Whether or not to build shared libraries.
18918 build_libtool_libs=$enable_shared
18920 # Whether or not to build static libraries.
18921 build_old_libs=$enable_static
18923 # Whether or not to add -lc for building shared libraries.
18924 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18926 # Whether or not to disallow shared libs when runtime libs are static
18927 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18929 # Whether or not to optimize for fast installation.
18930 fast_install=$enable_fast_install
18933 host_alias=$host_alias
18937 # The build system.
18938 build_alias=$build_alias
18942 # An echo program that does not interpret backslashes.
18947 AR_FLAGS=$lt_AR_FLAGS
18952 # LTCC compiler flags.
18953 LTCFLAGS=$lt_LTCFLAGS
18955 # A language-specific compiler.
18956 CC=$lt_compiler_GCJ
18958 # Is the compiler the GNU C compiler?
18964 # The linker used to build libraries.
18967 # Whether we need hard or soft links.
18970 # A BSD-compatible nm program.
18973 # A symbol stripping program
18976 # Used to examine libraries when file_magic_cmd begins "file"
18977 MAGIC_CMD=$MAGIC_CMD
18979 # Used on cygwin: DLL creation program.
18982 # Used on cygwin: object dumper.
18985 # Used on cygwin: assembler.
18988 # The name of the directory that contains temporary libtool files.
18991 # How to create reloadable object files.
18992 reload_flag=$lt_reload_flag
18993 reload_cmds=$lt_reload_cmds
18995 # How to pass a linker flag through the compiler.
18996 wl=$lt_lt_prog_compiler_wl_GCJ
18998 # Object file suffix (normally "o").
18999 objext="$ac_objext"
19001 # Old archive suffix (normally "a").
19004 # Shared library suffix (normally ".so").
19005 shrext_cmds='$shrext_cmds'
19007 # Executable file suffix (normally "").
19010 # Additional compiler flags for building library objects.
19011 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19014 # What is the maximum length of a command?
19015 max_cmd_len=$lt_cv_sys_max_cmd_len
19017 # Does compiler simultaneously support -c and -o options?
19018 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19020 # Must we lock files when doing compilation?
19021 need_locks=$lt_need_locks
19023 # Do we need the lib prefix for modules?
19024 need_lib_prefix=$need_lib_prefix
19026 # Do we need a version for libraries?
19027 need_version=$need_version
19029 # Whether dlopen is supported.
19030 dlopen_support=$enable_dlopen
19032 # Whether dlopen of programs is supported.
19033 dlopen_self=$enable_dlopen_self
19035 # Whether dlopen of statically linked programs is supported.
19036 dlopen_self_static=$enable_dlopen_self_static
19038 # Compiler flag to prevent dynamic linking.
19039 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19041 # Compiler flag to turn off builtin functions.
19042 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19044 # Compiler flag to allow reflexive dlopens.
19045 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19047 # Compiler flag to generate shared objects directly from archives.
19048 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19050 # Compiler flag to generate thread-safe objects.
19051 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19053 # Library versioning type.
19054 version_type=$version_type
19056 # Format of library name prefix.
19057 libname_spec=$lt_libname_spec
19059 # List of archive names. First name is the real one, the rest are links.
19060 # The last name is the one that the linker finds with -lNAME.
19061 library_names_spec=$lt_library_names_spec
19063 # The coded name of the library, if different from the real name.
19064 soname_spec=$lt_soname_spec
19066 # Commands used to build and install an old-style archive.
19068 old_archive_cmds=$lt_old_archive_cmds_GCJ
19069 old_postinstall_cmds=$lt_old_postinstall_cmds
19070 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19072 # Create an old-style archive from a shared archive.
19073 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19075 # Create a temporary old-style archive to link instead of a shared archive.
19076 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19078 # Commands used to build and install a shared archive.
19079 archive_cmds=$lt_archive_cmds_GCJ
19080 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19081 postinstall_cmds=$lt_postinstall_cmds
19082 postuninstall_cmds=$lt_postuninstall_cmds
19084 # Commands used to build a loadable module (assumed same as above if empty)
19085 module_cmds=$lt_module_cmds_GCJ
19086 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19088 # Commands to strip libraries.
19089 old_striplib=$lt_old_striplib
19090 striplib=$lt_striplib
19092 # Dependencies to place before the objects being linked to create a
19094 predep_objects=$lt_predep_objects_GCJ
19096 # Dependencies to place after the objects being linked to create a
19098 postdep_objects=$lt_postdep_objects_GCJ
19100 # Dependencies to place before the objects being linked to create a
19102 predeps=$lt_predeps_GCJ
19104 # Dependencies to place after the objects being linked to create a
19106 postdeps=$lt_postdeps_GCJ
19108 # The library search path used internally by the compiler when linking
19109 # a shared library.
19110 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19112 # Method to check whether dependent libraries are shared objects.
19113 deplibs_check_method=$lt_deplibs_check_method
19115 # Command to use when deplibs_check_method == file_magic.
19116 file_magic_cmd=$lt_file_magic_cmd
19118 # Flag that allows shared libraries with undefined symbols to be built.
19119 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19121 # Flag that forces no undefined symbols.
19122 no_undefined_flag=$lt_no_undefined_flag_GCJ
19124 # Commands used to finish a libtool library installation in a directory.
19125 finish_cmds=$lt_finish_cmds
19127 # Same as above, but a single script fragment to be evaled but not shown.
19128 finish_eval=$lt_finish_eval
19130 # Take the output of nm and produce a listing of raw symbols and C names.
19131 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19133 # Transform the output of nm in a proper C declaration
19134 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19136 # Transform the output of nm in a C name address pair
19137 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19139 # This is the shared library runtime path variable.
19140 runpath_var=$runpath_var
19142 # This is the shared library path variable.
19143 shlibpath_var=$shlibpath_var
19145 # Is shlibpath searched before the hard-coded library search path?
19146 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19148 # How to hardcode a shared library path into an executable.
19149 hardcode_action=$hardcode_action_GCJ
19151 # Whether we should hardcode library paths into libraries.
19152 hardcode_into_libs=$hardcode_into_libs
19154 # Flag to hardcode \$libdir into a binary during linking.
19155 # This must work even if \$libdir does not exist.
19156 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19158 # If ld is used when linking, flag to hardcode \$libdir into
19159 # a binary during linking. This must work even if \$libdir does
19161 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19163 # Whether we need a single -rpath flag with a separated argument.
19164 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19166 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19167 # resulting binary.
19168 hardcode_direct=$hardcode_direct_GCJ
19170 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19171 # resulting binary.
19172 hardcode_minus_L=$hardcode_minus_L_GCJ
19174 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19175 # the resulting binary.
19176 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19178 # Set to yes if building a shared library automatically hardcodes DIR into the library
19179 # and all subsequent libraries and executables linked against it.
19180 hardcode_automatic=$hardcode_automatic_GCJ
19182 # Variables whose values should be saved in libtool wrapper scripts and
19183 # restored at relink time.
19184 variables_saved_for_relink="$variables_saved_for_relink"
19186 # Whether libtool must link a program against all its dependency libraries.
19187 link_all_deplibs=$link_all_deplibs_GCJ
19189 # Compile-time system search path for libraries
19190 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19192 # Run-time system search path for libraries
19193 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19195 # Fix the shell variable \$srcfile for the compiler.
19196 fix_srcfile_path=$lt_fix_srcfile_path
19198 # Set to yes if exported symbols are required.
19199 always_export_symbols=$always_export_symbols_GCJ
19201 # The commands to list exported symbols.
19202 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19204 # The commands to extract the exported symbol list from a shared archive.
19205 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19207 # Symbols that should not be listed in the preloaded symbols.
19208 exclude_expsyms=$lt_exclude_expsyms_GCJ
19210 # Symbols that must always be exported.
19211 include_expsyms=$lt_include_expsyms_GCJ
19213 # ### END LIBTOOL TAG CONFIG: $tagname
19219 # If there is no Makefile yet, we rely on a make rule to execute
19220 # `config.status --recheck' to rerun these tests and create the
19221 # libtool script then.
19222 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19223 if test -f "$ltmain_in"; then
19224 test -f Makefile
&& make "$ltmain"
19230 ac_cpp
='$CPP $CPPFLAGS'
19231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19245 # Source file extension for RC test sources.
19248 # Object file extension for compiled RC test sources.
19252 # Code to be used in simple compile tests
19253 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19255 # Code to be used in simple link tests
19256 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19258 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19260 # If no C compiler was specified, use CC.
19263 # If no C compiler flags were specified, use CFLAGS.
19264 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19266 # Allow CC to be a program name with arguments.
19270 # save warnings/boilerplate of simple test code
19271 ac_outfile
=conftest.
$ac_objext
19272 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19273 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19274 _lt_compiler_boilerplate
=`cat conftest.err`
19277 ac_outfile
=conftest.
$ac_objext
19278 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19279 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19280 _lt_linker_boilerplate
=`cat conftest.err`
19284 # Allow CC to be a program name with arguments.
19289 for cc_temp
in $compiler""; do
19291 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19292 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19297 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19299 lt_cv_prog_compiler_c_o_RC
=yes
19301 # The else clause should only fire when bootstrapping the
19302 # libtool distribution, otherwise you forgot to ship ltmain.sh
19303 # with your package, and you will get complaints that there are
19304 # no rules to generate ltmain.sh.
19305 if test -f "$ltmain"; then
19306 # See if we are running on zsh, and set the options which allow our commands through
19307 # without removal of \ escapes.
19308 if test -n "${ZSH_VERSION+set}" ; then
19309 setopt NO_GLOB_SUBST
19311 # Now quote all the things that may contain metacharacters while being
19312 # careful not to overquote the AC_SUBSTed values. We take copies of the
19313 # variables and quote the copies for generation of the libtool script.
19314 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19316 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19317 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19318 deplibs_check_method reload_flag reload_cmds need_locks \
19319 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19320 lt_cv_sys_global_symbol_to_c_name_address \
19321 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19322 old_postinstall_cmds old_postuninstall_cmds \
19326 lt_prog_compiler_wl_RC \
19327 lt_prog_compiler_pic_RC \
19328 lt_prog_compiler_static_RC \
19329 lt_prog_compiler_no_builtin_flag_RC \
19330 export_dynamic_flag_spec_RC \
19331 thread_safe_flag_spec_RC \
19332 whole_archive_flag_spec_RC \
19333 enable_shared_with_static_runtimes_RC \
19334 old_archive_cmds_RC \
19335 old_archive_from_new_cmds_RC \
19336 predep_objects_RC \
19337 postdep_objects_RC \
19340 compiler_lib_search_path_RC \
19342 archive_expsym_cmds_RC \
19343 postinstall_cmds_RC \
19344 postuninstall_cmds_RC \
19345 old_archive_from_expsyms_cmds_RC \
19346 allow_undefined_flag_RC \
19347 no_undefined_flag_RC \
19348 export_symbols_cmds_RC \
19349 hardcode_libdir_flag_spec_RC \
19350 hardcode_libdir_flag_spec_ld_RC \
19351 hardcode_libdir_separator_RC \
19352 hardcode_automatic_RC \
19354 module_expsym_cmds_RC \
19355 lt_cv_prog_compiler_c_o_RC \
19356 fix_srcfile_path_RC \
19357 exclude_expsyms_RC \
19358 include_expsyms_RC
; do
19361 old_archive_cmds_RC | \
19362 old_archive_from_new_cmds_RC | \
19363 archive_cmds_RC | \
19364 archive_expsym_cmds_RC | \
19366 module_expsym_cmds_RC | \
19367 old_archive_from_expsyms_cmds_RC | \
19368 export_symbols_cmds_RC | \
19369 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19370 postinstall_cmds | postuninstall_cmds | \
19371 old_postinstall_cmds | old_postuninstall_cmds | \
19372 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19373 # Double-quote double-evaled strings.
19374 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19377 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19383 *'\$0 --fallback-echo"')
19384 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19390 cat <<__EOF__ >> "$cfgfile"
19391 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19393 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19395 # Shell to use when invoking shell scripts.
19398 # Whether or not to build shared libraries.
19399 build_libtool_libs=$enable_shared
19401 # Whether or not to build static libraries.
19402 build_old_libs=$enable_static
19404 # Whether or not to add -lc for building shared libraries.
19405 build_libtool_need_lc=$archive_cmds_need_lc_RC
19407 # Whether or not to disallow shared libs when runtime libs are static
19408 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19410 # Whether or not to optimize for fast installation.
19411 fast_install=$enable_fast_install
19414 host_alias=$host_alias
19418 # The build system.
19419 build_alias=$build_alias
19423 # An echo program that does not interpret backslashes.
19428 AR_FLAGS=$lt_AR_FLAGS
19433 # LTCC compiler flags.
19434 LTCFLAGS=$lt_LTCFLAGS
19436 # A language-specific compiler.
19439 # Is the compiler the GNU C compiler?
19445 # The linker used to build libraries.
19448 # Whether we need hard or soft links.
19451 # A BSD-compatible nm program.
19454 # A symbol stripping program
19457 # Used to examine libraries when file_magic_cmd begins "file"
19458 MAGIC_CMD=$MAGIC_CMD
19460 # Used on cygwin: DLL creation program.
19463 # Used on cygwin: object dumper.
19466 # Used on cygwin: assembler.
19469 # The name of the directory that contains temporary libtool files.
19472 # How to create reloadable object files.
19473 reload_flag=$lt_reload_flag
19474 reload_cmds=$lt_reload_cmds
19476 # How to pass a linker flag through the compiler.
19477 wl=$lt_lt_prog_compiler_wl_RC
19479 # Object file suffix (normally "o").
19480 objext="$ac_objext"
19482 # Old archive suffix (normally "a").
19485 # Shared library suffix (normally ".so").
19486 shrext_cmds='$shrext_cmds'
19488 # Executable file suffix (normally "").
19491 # Additional compiler flags for building library objects.
19492 pic_flag=$lt_lt_prog_compiler_pic_RC
19495 # What is the maximum length of a command?
19496 max_cmd_len=$lt_cv_sys_max_cmd_len
19498 # Does compiler simultaneously support -c and -o options?
19499 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19501 # Must we lock files when doing compilation?
19502 need_locks=$lt_need_locks
19504 # Do we need the lib prefix for modules?
19505 need_lib_prefix=$need_lib_prefix
19507 # Do we need a version for libraries?
19508 need_version=$need_version
19510 # Whether dlopen is supported.
19511 dlopen_support=$enable_dlopen
19513 # Whether dlopen of programs is supported.
19514 dlopen_self=$enable_dlopen_self
19516 # Whether dlopen of statically linked programs is supported.
19517 dlopen_self_static=$enable_dlopen_self_static
19519 # Compiler flag to prevent dynamic linking.
19520 link_static_flag=$lt_lt_prog_compiler_static_RC
19522 # Compiler flag to turn off builtin functions.
19523 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19525 # Compiler flag to allow reflexive dlopens.
19526 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19528 # Compiler flag to generate shared objects directly from archives.
19529 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19531 # Compiler flag to generate thread-safe objects.
19532 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19534 # Library versioning type.
19535 version_type=$version_type
19537 # Format of library name prefix.
19538 libname_spec=$lt_libname_spec
19540 # List of archive names. First name is the real one, the rest are links.
19541 # The last name is the one that the linker finds with -lNAME.
19542 library_names_spec=$lt_library_names_spec
19544 # The coded name of the library, if different from the real name.
19545 soname_spec=$lt_soname_spec
19547 # Commands used to build and install an old-style archive.
19549 old_archive_cmds=$lt_old_archive_cmds_RC
19550 old_postinstall_cmds=$lt_old_postinstall_cmds
19551 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19553 # Create an old-style archive from a shared archive.
19554 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19556 # Create a temporary old-style archive to link instead of a shared archive.
19557 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19559 # Commands used to build and install a shared archive.
19560 archive_cmds=$lt_archive_cmds_RC
19561 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19562 postinstall_cmds=$lt_postinstall_cmds
19563 postuninstall_cmds=$lt_postuninstall_cmds
19565 # Commands used to build a loadable module (assumed same as above if empty)
19566 module_cmds=$lt_module_cmds_RC
19567 module_expsym_cmds=$lt_module_expsym_cmds_RC
19569 # Commands to strip libraries.
19570 old_striplib=$lt_old_striplib
19571 striplib=$lt_striplib
19573 # Dependencies to place before the objects being linked to create a
19575 predep_objects=$lt_predep_objects_RC
19577 # Dependencies to place after the objects being linked to create a
19579 postdep_objects=$lt_postdep_objects_RC
19581 # Dependencies to place before the objects being linked to create a
19583 predeps=$lt_predeps_RC
19585 # Dependencies to place after the objects being linked to create a
19587 postdeps=$lt_postdeps_RC
19589 # The library search path used internally by the compiler when linking
19590 # a shared library.
19591 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19593 # Method to check whether dependent libraries are shared objects.
19594 deplibs_check_method=$lt_deplibs_check_method
19596 # Command to use when deplibs_check_method == file_magic.
19597 file_magic_cmd=$lt_file_magic_cmd
19599 # Flag that allows shared libraries with undefined symbols to be built.
19600 allow_undefined_flag=$lt_allow_undefined_flag_RC
19602 # Flag that forces no undefined symbols.
19603 no_undefined_flag=$lt_no_undefined_flag_RC
19605 # Commands used to finish a libtool library installation in a directory.
19606 finish_cmds=$lt_finish_cmds
19608 # Same as above, but a single script fragment to be evaled but not shown.
19609 finish_eval=$lt_finish_eval
19611 # Take the output of nm and produce a listing of raw symbols and C names.
19612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19614 # Transform the output of nm in a proper C declaration
19615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19617 # Transform the output of nm in a C name address pair
19618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19620 # This is the shared library runtime path variable.
19621 runpath_var=$runpath_var
19623 # This is the shared library path variable.
19624 shlibpath_var=$shlibpath_var
19626 # Is shlibpath searched before the hard-coded library search path?
19627 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19629 # How to hardcode a shared library path into an executable.
19630 hardcode_action=$hardcode_action_RC
19632 # Whether we should hardcode library paths into libraries.
19633 hardcode_into_libs=$hardcode_into_libs
19635 # Flag to hardcode \$libdir into a binary during linking.
19636 # This must work even if \$libdir does not exist.
19637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19639 # If ld is used when linking, flag to hardcode \$libdir into
19640 # a binary during linking. This must work even if \$libdir does
19642 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19644 # Whether we need a single -rpath flag with a separated argument.
19645 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19647 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19648 # resulting binary.
19649 hardcode_direct=$hardcode_direct_RC
19651 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19652 # resulting binary.
19653 hardcode_minus_L=$hardcode_minus_L_RC
19655 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19656 # the resulting binary.
19657 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19659 # Set to yes if building a shared library automatically hardcodes DIR into the library
19660 # and all subsequent libraries and executables linked against it.
19661 hardcode_automatic=$hardcode_automatic_RC
19663 # Variables whose values should be saved in libtool wrapper scripts and
19664 # restored at relink time.
19665 variables_saved_for_relink="$variables_saved_for_relink"
19667 # Whether libtool must link a program against all its dependency libraries.
19668 link_all_deplibs=$link_all_deplibs_RC
19670 # Compile-time system search path for libraries
19671 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19673 # Run-time system search path for libraries
19674 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19676 # Fix the shell variable \$srcfile for the compiler.
19677 fix_srcfile_path=$lt_fix_srcfile_path
19679 # Set to yes if exported symbols are required.
19680 always_export_symbols=$always_export_symbols_RC
19682 # The commands to list exported symbols.
19683 export_symbols_cmds=$lt_export_symbols_cmds_RC
19685 # The commands to extract the exported symbol list from a shared archive.
19686 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19688 # Symbols that should not be listed in the preloaded symbols.
19689 exclude_expsyms=$lt_exclude_expsyms_RC
19691 # Symbols that must always be exported.
19692 include_expsyms=$lt_include_expsyms_RC
19694 # ### END LIBTOOL TAG CONFIG: $tagname
19700 # If there is no Makefile yet, we rely on a make rule to execute
19701 # `config.status --recheck' to rerun these tests and create the
19702 # libtool script then.
19703 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19704 if test -f "$ltmain_in"; then
19705 test -f Makefile
&& make "$ltmain"
19711 ac_cpp
='$CPP $CPPFLAGS'
19712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19721 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19722 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19723 { (exit 1); exit 1; }; }
19727 # Append the new tag name to the list of available tags.
19728 if test -n "$tagname" ; then
19729 available_tags
="$available_tags $tagname"
19735 # Now substitute the updated list of available tags.
19736 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19737 mv "${ofile}T" "$ofile"
19741 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19742 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19743 { (exit 1); exit 1; }; }
19749 # This can be used to rebuild libtool when needed
19750 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19752 # Always use our own libtool.
19753 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19755 # Prevent multiple expansion
19778 ac_cpp
='$CPP $CPPFLAGS'
19779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19782 if test -n "$ac_tool_prefix"; then
19783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19784 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
19785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19787 if test "${ac_cv_prog_CC+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 if test -n "$CC"; then
19791 ac_cv_prog_CC
="$CC" # Let the user override the test.
19793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19794 for as_dir
in $PATH
19797 test -z "$as_dir" && as_dir
=.
19798 for ac_exec_ext
in '' $ac_executable_extensions; do
19799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19800 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
19801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19811 if test -n "$CC"; then
19812 { echo "$as_me:$LINENO: result: $CC" >&5
19813 echo "${ECHO_T}$CC" >&6; }
19815 { echo "$as_me:$LINENO: result: no" >&5
19816 echo "${ECHO_T}no" >&6; }
19821 if test -z "$ac_cv_prog_CC"; then
19823 # Extract the first word of "gcc", so it can be a program name with args.
19824 set dummy gcc
; ac_word
=$2
19825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 if test -n "$ac_ct_CC"; then
19831 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
19833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19834 for as_dir
in $PATH
19837 test -z "$as_dir" && as_dir
=.
19838 for ac_exec_ext
in '' $ac_executable_extensions; do
19839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19840 ac_cv_prog_ac_ct_CC
="gcc"
19841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
19851 if test -n "$ac_ct_CC"; then
19852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19853 echo "${ECHO_T}$ac_ct_CC" >&6; }
19855 { echo "$as_me:$LINENO: result: no" >&5
19856 echo "${ECHO_T}no" >&6; }
19859 if test "x$ac_ct_CC" = x
; then
19862 case $cross_compiling:$ac_tool_warned in
19864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19865 whose name does not start with the host triplet. If you think this
19866 configuration is useful to you, please write to autoconf@gnu.org." >&5
19867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19868 whose name does not start with the host triplet. If you think this
19869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19870 ac_tool_warned
=yes ;;
19875 CC
="$ac_cv_prog_CC"
19878 if test -z "$CC"; then
19879 if test -n "$ac_tool_prefix"; then
19880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19881 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
19882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19884 if test "${ac_cv_prog_CC+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 if test -n "$CC"; then
19888 ac_cv_prog_CC
="$CC" # Let the user override the test.
19890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19891 for as_dir
in $PATH
19894 test -z "$as_dir" && as_dir
=.
19895 for ac_exec_ext
in '' $ac_executable_extensions; do
19896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19897 ac_cv_prog_CC
="${ac_tool_prefix}cc"
19898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19908 if test -n "$CC"; then
19909 { echo "$as_me:$LINENO: result: $CC" >&5
19910 echo "${ECHO_T}$CC" >&6; }
19912 { echo "$as_me:$LINENO: result: no" >&5
19913 echo "${ECHO_T}no" >&6; }
19919 if test -z "$CC"; then
19920 # Extract the first word of "cc", so it can be a program name with args.
19921 set dummy cc
; ac_word
=$2
19922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19924 if test "${ac_cv_prog_CC+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 if test -n "$CC"; then
19928 ac_cv_prog_CC
="$CC" # Let the user override the test.
19930 ac_prog_rejected
=no
19931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19932 for as_dir
in $PATH
19935 test -z "$as_dir" && as_dir
=.
19936 for ac_exec_ext
in '' $ac_executable_extensions; do
19937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19939 ac_prog_rejected
=yes
19943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19950 if test $ac_prog_rejected = yes; then
19951 # We found a bogon in the path, so make sure we never use it.
19952 set dummy
$ac_cv_prog_CC
19954 if test $# != 0; then
19955 # We chose a different compiler from the bogus one.
19956 # However, it has the same basename, so the bogon will be chosen
19957 # first if we set CC to just the basename; use the full file name.
19959 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
19965 if test -n "$CC"; then
19966 { echo "$as_me:$LINENO: result: $CC" >&5
19967 echo "${ECHO_T}$CC" >&6; }
19969 { echo "$as_me:$LINENO: result: no" >&5
19970 echo "${ECHO_T}no" >&6; }
19975 if test -z "$CC"; then
19976 if test -n "$ac_tool_prefix"; then
19977 for ac_prog
in cl.exe
19979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19983 if test "${ac_cv_prog_CC+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 if test -n "$CC"; then
19987 ac_cv_prog_CC
="$CC" # Let the user override the test.
19989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19990 for as_dir
in $PATH
19993 test -z "$as_dir" && as_dir
=.
19994 for ac_exec_ext
in '' $ac_executable_extensions; do
19995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19996 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
19997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20007 if test -n "$CC"; then
20008 { echo "$as_me:$LINENO: result: $CC" >&5
20009 echo "${ECHO_T}$CC" >&6; }
20011 { echo "$as_me:$LINENO: result: no" >&5
20012 echo "${ECHO_T}no" >&6; }
20016 test -n "$CC" && break
20019 if test -z "$CC"; then
20021 for ac_prog
in cl.exe
20023 # Extract the first word of "$ac_prog", so it can be a program name with args.
20024 set dummy
$ac_prog; ac_word
=$2
20025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 if test -n "$ac_ct_CC"; then
20031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
20033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20034 for as_dir
in $PATH
20037 test -z "$as_dir" && as_dir
=.
20038 for ac_exec_ext
in '' $ac_executable_extensions; do
20039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20040 ac_cv_prog_ac_ct_CC
="$ac_prog"
20041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
20051 if test -n "$ac_ct_CC"; then
20052 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20053 echo "${ECHO_T}$ac_ct_CC" >&6; }
20055 { echo "$as_me:$LINENO: result: no" >&5
20056 echo "${ECHO_T}no" >&6; }
20060 test -n "$ac_ct_CC" && break
20063 if test "x$ac_ct_CC" = x
; then
20066 case $cross_compiling:$ac_tool_warned in
20068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20069 whose name does not start with the host triplet. If you think this
20070 configuration is useful to you, please write to autoconf@gnu.org." >&5
20071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20072 whose name does not start with the host triplet. If you think this
20073 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20074 ac_tool_warned
=yes ;;
20083 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20084 See \`config.log' for more details." >&5
20085 echo "$as_me: error: no acceptable C compiler found in \$PATH
20086 See \`config.log' for more details." >&2;}
20087 { (exit 1); exit 1; }; }
20089 # Provide some information about the compiler.
20090 echo "$as_me:$LINENO: checking for C compiler version" >&5
20091 ac_compiler
=`set X $ac_compile; echo $2`
20092 { (ac_try
="$ac_compiler --version >&5"
20093 case "(($ac_try" in
20094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_compiler --version >&5") 2>&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); }
20102 { (ac_try="$ac_compiler -v >&5"
20103 case "(($ac_try" in
20104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20105 *) ac_try_echo
=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compiler -v >&5") 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }
20112 { (ac_try
="$ac_compiler -V >&5"
20113 case "(($ac_try" in
20114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_compiler -V >&5") 2>&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }
20123 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
20124 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
20125 if test "${ac_cv_c_compiler_gnu+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 cat >conftest.$ac_ext <<_ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20146 rm -f conftest.$ac_objext
20147 if { (ac_try="$ac_compile"
20148 case "(($ac_try" in
20149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20150 *) ac_try_echo
=$ac_try;;
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_compile") 2>conftest.er1
20155 grep -v '^ *+' conftest.er1
>conftest.err
20157 cat conftest.err
>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && {
20160 test -z "$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 } && test -s conftest.
$ac_objext; then
20163 ac_compiler_gnu
=yes
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.
$ac_ext >&5
20171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
20175 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20176 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
20177 GCC
=`test $ac_compiler_gnu = yes && echo yes`
20178 ac_test_CFLAGS
=${CFLAGS+set}
20179 ac_save_CFLAGS
=$CFLAGS
20180 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20181 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
20182 if test "${ac_cv_prog_cc_g+set}" = set; then
20183 echo $ECHO_N "(cached) $ECHO_C" >&6
20185 ac_save_c_werror_flag
=$ac_c_werror_flag
20186 ac_c_werror_flag
=yes
20189 cat >conftest.
$ac_ext <<_ACEOF
20192 cat confdefs.h
>>conftest.
$ac_ext
20193 cat >>conftest.
$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20204 rm -f conftest.
$ac_objext
20205 if { (ac_try
="$ac_compile"
20206 case "(($ac_try" in
20207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20208 *) ac_try_echo=$ac_try;;
20210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20211 (eval "$ac_compile") 2>conftest.er1
20213 grep -v '^ *+' conftest.er1 >conftest.err
20215 cat conftest.err >&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); } && {
20218 test -z "$ac_c_werror_flag" ||
20219 test ! -s conftest.err
20220 } && test -s conftest.$ac_objext; then
20221 ac_cv_prog_cc_g=yes
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20242 rm -f conftest.$ac_objext
20243 if { (ac_try="$ac_compile"
20244 case "(($ac_try" in
20245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20246 *) ac_try_echo
=$ac_try;;
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_compile") 2>conftest.er1
20251 grep -v '^ *+' conftest.er1
>conftest.err
20253 cat conftest.err
>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } && {
20256 test -z "$ac_c_werror_flag" ||
20257 test ! -s conftest.err
20258 } && test -s conftest.
$ac_objext; then
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.
$ac_ext >&5
20264 ac_c_werror_flag
=$ac_save_c_werror_flag
20266 cat >conftest.
$ac_ext <<_ACEOF
20269 cat confdefs.h
>>conftest.
$ac_ext
20270 cat >>conftest.
$ac_ext <<_ACEOF
20271 /* end confdefs.h. */
20281 rm -f conftest.
$ac_objext
20282 if { (ac_try
="$ac_compile"
20283 case "(($ac_try" in
20284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_compile") 2>conftest.er1
20290 grep -v '^ *+' conftest.er1 >conftest.err
20292 cat conftest.err >&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && {
20295 test -z "$ac_c_werror_flag" ||
20296 test ! -s conftest.err
20297 } && test -s conftest.$ac_objext; then
20298 ac_cv_prog_cc_g=yes
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20313 ac_c_werror_flag=$ac_save_c_werror_flag
20315 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20316 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20317 if test "$ac_test_CFLAGS" = set; then
20318 CFLAGS=$ac_save_CFLAGS
20319 elif test $ac_cv_prog_cc_g = yes; then
20320 if test "$GCC" = yes; then
20326 if test "$GCC" = yes; then
20332 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20333 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20334 if test "${ac_cv_prog_cc_c89+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 ac_cv_prog_cc_c89=no
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <stdarg.h>
20347 #include <sys/types.h>
20348 #include <sys/stat.h>
20349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20350 struct buf { int x; };
20351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20352 static char *e (p, i)
20358 static char *f (char * (*g) (char **, int), char **p, ...)
20363 s = g (p, va_arg (v,int));
20368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20369 function prototypes and stuff, but not '\xHH' hex character constants.
20370 These don't provoke an error unfortunately, instead are silently treated
20371 as 'x'. The following induces an error, until -std is added to get
20372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20373 array size at least. It's necessary to write '\x00'==0 to get something
20374 that's true only with -std. */
20375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20378 inside strings and character constants. */
20380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20382 int test (int i, double x);
20383 struct s1 {int (*f) (int a);};
20384 struct s2 {int (*f) (double a);};
20385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20399 CC="$ac_save_CC $ac_arg"
20400 rm -f conftest.$ac_objext
20401 if { (ac_try="$ac_compile"
20402 case "(($ac_try" in
20403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20404 *) ac_try_echo
=$ac_try;;
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_compile") 2>conftest.er1
20409 grep -v '^ *+' conftest.er1
>conftest.err
20411 cat conftest.err
>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest.
$ac_objext; then
20417 ac_cv_prog_cc_c89
=$ac_arg
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.
$ac_ext >&5
20425 rm -f core conftest.err conftest.
$ac_objext
20426 test "x$ac_cv_prog_cc_c89" != "xno" && break
20428 rm -f conftest.
$ac_ext
20433 case "x$ac_cv_prog_cc_c89" in
20435 { echo "$as_me:$LINENO: result: none needed" >&5
20436 echo "${ECHO_T}none needed" >&6; } ;;
20438 { echo "$as_me:$LINENO: result: unsupported" >&5
20439 echo "${ECHO_T}unsupported" >&6; } ;;
20441 CC
="$CC $ac_cv_prog_cc_c89"
20442 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20443 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
20448 ac_cpp
='$CPP $CPPFLAGS'
20449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20453 depcc
="$CC" am_compiler_list
=
20455 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20456 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20457 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20458 echo $ECHO_N "(cached) $ECHO_C" >&6
20460 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20461 # We make a subdir and do the tests there. Otherwise we can end up
20462 # making bogus files that we don't know about and never remove. For
20463 # instance it was reported that on HP-UX the gcc test will end up
20464 # making a dummy file named `D' -- because `-MD' means `put the output
20467 # Copy depcomp to subdir because otherwise we won't find it if we're
20468 # using a relative directory.
20469 cp "$am_depcomp" conftest.dir
20471 # We will build objects and dependencies in a subdirectory because
20472 # it helps to detect inapplicable dependency modes. For instance
20473 # both Tru64's cc and ICC support -MD to output dependencies as a
20474 # side effect of compilation, but ICC will put the dependencies in
20475 # the current directory while Tru64 will put them in the object
20479 am_cv_CC_dependencies_compiler_type
=none
20480 if test "$am_compiler_list" = ""; then
20481 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20483 for depmode
in $am_compiler_list; do
20484 # Setup a source with many dependencies, because some compilers
20485 # like to wrap large dependency lists on column 80 (with \), and
20486 # we should not choose a depcomp mode which is confused by this.
20488 # We need to recreate these files for each test, as the compiler may
20489 # overwrite some of them when testing with obscure command lines.
20490 # This happens at least with the AIX C compiler.
20492 for i
in 1 2 3 4 5 6; do
20493 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
20494 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20495 # Solaris 8's {/usr,}/bin/sh.
20496 touch sub
/conftst
$i.h
20498 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20502 # after this tag, mechanisms are not by side-effect, so they'll
20503 # only be used when explicitly requested
20504 if test "x$enable_dependency_tracking" = xyes
; then
20512 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20513 # mode. It turns out that the SunPro C++ compiler does not properly
20514 # handle `-M -o', and we need to detect this.
20515 if depmode
=$depmode \
20516 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
20517 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
20518 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
20519 >/dev
/null
2>conftest.err
&&
20520 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20521 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20522 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
20523 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
20524 # icc doesn't choke on unknown options, it will just issue warnings
20525 # or remarks (even with -Werror). So we grep stderr for any message
20526 # that says an option was ignored or not supported.
20527 # When given -MP, icc 7.0 and 7.1 complain thusly:
20528 # icc: Command line warning: ignoring option '-M'; no argument required
20529 # The diagnosis changed in icc 8.0:
20530 # icc: Command line remark: option '-MP' not supported
20531 if (grep 'ignoring option' conftest.err ||
20532 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
20533 am_cv_CC_dependencies_compiler_type
=$depmode
20540 rm -rf conftest.dir
20542 am_cv_CC_dependencies_compiler_type
=none
20546 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20547 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20548 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
20551 test "x$enable_dependency_tracking" != xno \
20552 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
20553 am__fastdepCC_TRUE
=
20554 am__fastdepCC_FALSE
='#'
20556 am__fastdepCC_TRUE
='#'
20557 am__fastdepCC_FALSE
=
20561 # By default we simply use the C compiler to build assembly code.
20563 test "${CCAS+set}" = set || CCAS
=$CC
20564 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
20568 depcc
="$CCAS" am_compiler_list
=
20570 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20571 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20572 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
20573 echo $ECHO_N "(cached) $ECHO_C" >&6
20575 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20576 # We make a subdir and do the tests there. Otherwise we can end up
20577 # making bogus files that we don't know about and never remove. For
20578 # instance it was reported that on HP-UX the gcc test will end up
20579 # making a dummy file named `D' -- because `-MD' means `put the output
20582 # Copy depcomp to subdir because otherwise we won't find it if we're
20583 # using a relative directory.
20584 cp "$am_depcomp" conftest.dir
20586 # We will build objects and dependencies in a subdirectory because
20587 # it helps to detect inapplicable dependency modes. For instance
20588 # both Tru64's cc and ICC support -MD to output dependencies as a
20589 # side effect of compilation, but ICC will put the dependencies in
20590 # the current directory while Tru64 will put them in the object
20594 am_cv_CCAS_dependencies_compiler_type
=none
20595 if test "$am_compiler_list" = ""; then
20596 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20598 for depmode
in $am_compiler_list; do
20599 # Setup a source with many dependencies, because some compilers
20600 # like to wrap large dependency lists on column 80 (with \), and
20601 # we should not choose a depcomp mode which is confused by this.
20603 # We need to recreate these files for each test, as the compiler may
20604 # overwrite some of them when testing with obscure command lines.
20605 # This happens at least with the AIX C compiler.
20607 for i
in 1 2 3 4 5 6; do
20608 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
20609 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20610 # Solaris 8's {/usr,}/bin/sh.
20611 touch sub
/conftst
$i.h
20613 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20617 # after this tag, mechanisms are not by side-effect, so they'll
20618 # only be used when explicitly requested
20619 if test "x$enable_dependency_tracking" = xyes
; then
20627 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20628 # mode. It turns out that the SunPro C++ compiler does not properly
20629 # handle `-M -o', and we need to detect this.
20630 if depmode
=$depmode \
20631 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
20632 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
20633 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
20634 >/dev
/null
2>conftest.err
&&
20635 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20636 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20637 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
20638 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
20639 # icc doesn't choke on unknown options, it will just issue warnings
20640 # or remarks (even with -Werror). So we grep stderr for any message
20641 # that says an option was ignored or not supported.
20642 # When given -MP, icc 7.0 and 7.1 complain thusly:
20643 # icc: Command line warning: ignoring option '-M'; no argument required
20644 # The diagnosis changed in icc 8.0:
20645 # icc: Command line remark: option '-MP' not supported
20646 if (grep 'ignoring option' conftest.err ||
20647 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
20648 am_cv_CCAS_dependencies_compiler_type
=$depmode
20655 rm -rf conftest.dir
20657 am_cv_CCAS_dependencies_compiler_type
=none
20661 { echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
20662 echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
20663 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
20666 test "x$enable_dependency_tracking" != xno \
20667 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
20668 am__fastdepCCAS_TRUE
=
20669 am__fastdepCCAS_FALSE
='#'
20671 am__fastdepCCAS_TRUE
='#'
20672 am__fastdepCCAS_FALSE
=
20677 for ac_prog
in ecj jikes
"gcj -C" javac
20679 # Extract the first word of "$ac_prog", so it can be a program name with args.
20680 set dummy
$ac_prog; ac_word
=$2
20681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20683 if test "${ac_cv_prog_JAVAC+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20686 if test -n "$JAVAC"; then
20687 ac_cv_prog_JAVAC
="$JAVAC" # Let the user override the test.
20689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20690 for as_dir
in $PATH
20693 test -z "$as_dir" && as_dir
=.
20694 for ac_exec_ext
in '' $ac_executable_extensions; do
20695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20696 ac_cv_prog_JAVAC
="$ac_prog"
20697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20706 JAVAC
=$ac_cv_prog_JAVAC
20707 if test -n "$JAVAC"; then
20708 { echo "$as_me:$LINENO: result: $JAVAC" >&5
20709 echo "${ECHO_T}$JAVAC" >&6; }
20711 { echo "$as_me:$LINENO: result: no" >&5
20712 echo "${ECHO_T}no" >&6; }
20716 test -n "$JAVAC" && break
20722 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
20723 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; }
20724 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20727 ac_check_lib_save_LIBS
=$LIBS
20728 LIBS
="-lpthread $LIBS"
20729 cat >conftest.
$ac_ext <<_ACEOF
20732 cat confdefs.h
>>conftest.
$ac_ext
20733 cat >>conftest.
$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20736 /* Override any GCC internal prototype to avoid an error.
20737 Use char because int might match the return type of a GCC
20738 builtin and then its argument prototype would still apply. */
20742 char pthread_self ();
20746 return pthread_self ();
20751 rm -f conftest.
$ac_objext conftest
$ac_exeext
20752 if { (ac_try
="$ac_link"
20753 case "(($ac_try" in
20754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_link") 2>conftest.er1
20760 grep -v '^ *+' conftest.er1 >conftest.err
20762 cat conftest.err >&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } && {
20765 test -z "$ac_c_werror_flag" ||
20766 test ! -s conftest.err
20767 } && test -s conftest$ac_exeext &&
20768 $as_test_x conftest$ac_exeext; then
20769 ac_cv_lib_pthread_pthread_self=yes
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.$ac_ext >&5
20774 ac_cv_lib_pthread_pthread_self=no
20777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20778 conftest$ac_exeext conftest.$ac_ext
20779 LIBS=$ac_check_lib_save_LIBS
20781 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
20782 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; }
20783 if test $ac_cv_lib_pthread_pthread_self = yes; then
20784 cat >>confdefs.h <<_ACEOF
20785 #define HAVE_LIBPTHREAD 1
20788 LIBS="-lpthread $LIBS"
20791 { { echo "$as_me:$LINENO: error: libpthread is missing" >&5
20792 echo "$as_me: error: libpthread is missing" >&2;}
20793 { (exit 1); exit 1; }; }
20797 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5
20798 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; }
20799 if test "${ac_cv_lib_m_fmod+set}" = set; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 ac_check_lib_save_LIBS=$LIBS
20804 cat >conftest.$ac_ext <<_ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20811 /* Override any GCC internal prototype to avoid an error.
20812 Use char because int might match the return type of a GCC
20813 builtin and then its argument prototype would still apply. */
20826 rm -f conftest.$ac_objext conftest$ac_exeext
20827 if { (ac_try="$ac_link"
20828 case "(($ac_try" in
20829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20830 *) ac_try_echo
=$ac_try;;
20832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20833 (eval "$ac_link") 2>conftest.er1
20835 grep -v '^ *+' conftest.er1
>conftest.err
20837 cat conftest.err
>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && {
20840 test -z "$ac_c_werror_flag" ||
20841 test ! -s conftest.err
20842 } && test -s conftest
$ac_exeext &&
20843 $as_test_x conftest
$ac_exeext; then
20844 ac_cv_lib_m_fmod
=yes
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.
$ac_ext >&5
20849 ac_cv_lib_m_fmod
=no
20852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20853 conftest
$ac_exeext conftest.
$ac_ext
20854 LIBS
=$ac_check_lib_save_LIBS
20856 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
20857 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }
20858 if test $ac_cv_lib_m_fmod = yes; then
20859 cat >>confdefs.h
<<_ACEOF
20860 #define HAVE_LIBM 1
20866 { { echo "$as_me:$LINENO: error: libm is missing" >&5
20867 echo "$as_me: error: libm is missing" >&2;}
20868 { (exit 1); exit 1; }; }
20872 if test "$libdl_needed" != no
; then
20874 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20875 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20876 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 ac_check_lib_save_LIBS
=$LIBS
20881 cat >conftest.
$ac_ext <<_ACEOF
20884 cat confdefs.h
>>conftest.
$ac_ext
20885 cat >>conftest.
$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20888 /* Override any GCC internal prototype to avoid an error.
20889 Use char because int might match the return type of a GCC
20890 builtin and then its argument prototype would still apply. */
20903 rm -f conftest.
$ac_objext conftest
$ac_exeext
20904 if { (ac_try
="$ac_link"
20905 case "(($ac_try" in
20906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20907 *) ac_try_echo=$ac_try;;
20909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20910 (eval "$ac_link") 2>conftest.er1
20912 grep -v '^ *+' conftest.er1 >conftest.err
20914 cat conftest.err >&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); } && {
20917 test -z "$ac_c_werror_flag" ||
20918 test ! -s conftest.err
20919 } && test -s conftest$ac_exeext &&
20920 $as_test_x conftest$ac_exeext; then
20921 ac_cv_lib_dl_dlopen=yes
20923 echo "$as_me: failed program was:" >&5
20924 sed 's/^/| /' conftest.$ac_ext >&5
20926 ac_cv_lib_dl_dlopen=no
20929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20930 conftest$ac_exeext conftest.$ac_ext
20931 LIBS=$ac_check_lib_save_LIBS
20933 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20934 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20935 if test $ac_cv_lib_dl_dlopen = yes; then
20936 cat >>confdefs.h <<_ACEOF
20937 #define HAVE_LIBDL 1
20943 { { echo "$as_me:$LINENO: error: libdl is missing" >&5
20944 echo "$as_me: error: libdl is missing" >&2;}
20945 { (exit 1); exit 1; }; }
20951 { echo "$as_me:$LINENO: checking for inflate in -lz" >&5
20952 echo $ECHO_N "checking for inflate in -lz... $ECHO_C" >&6; }
20953 if test "${ac_cv_lib_z_inflate+set}" = set; then
20954 echo $ECHO_N "(cached) $ECHO_C" >&6
20956 ac_check_lib_save_LIBS=$LIBS
20958 cat >conftest.$ac_ext <<_ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20965 /* Override any GCC internal prototype to avoid an error.
20966 Use char because int might match the return type of a GCC
20967 builtin and then its argument prototype would still apply. */
20980 rm -f conftest.$ac_objext conftest$ac_exeext
20981 if { (ac_try="$ac_link"
20982 case "(($ac_try" in
20983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20984 *) ac_try_echo
=$ac_try;;
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_link") 2>conftest.er1
20989 grep -v '^ *+' conftest.er1
>conftest.err
20991 cat conftest.err
>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } && {
20994 test -z "$ac_c_werror_flag" ||
20995 test ! -s conftest.err
20996 } && test -s conftest
$ac_exeext &&
20997 $as_test_x conftest
$ac_exeext; then
20998 ac_cv_lib_z_inflate
=yes
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.
$ac_ext >&5
21003 ac_cv_lib_z_inflate
=no
21006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21007 conftest
$ac_exeext conftest.
$ac_ext
21008 LIBS
=$ac_check_lib_save_LIBS
21010 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
21011 echo "${ECHO_T}$ac_cv_lib_z_inflate" >&6; }
21012 if test $ac_cv_lib_z_inflate = yes; then
21013 cat >>confdefs.h
<<_ACEOF
21014 #define HAVE_LIBZ 1
21020 if test "$enable_zip" != no
; then
21021 { echo "$as_me:$LINENO: WARNING: cannot find libz -- zip/jar support in bootclasspath is disabled" >&5
21022 echo "$as_me: WARNING: cannot find libz -- zip/jar support in bootclasspath is disabled" >&2;}
21029 { echo "$as_me:$LINENO: checking for ffi_call in -lffi" >&5
21030 echo $ECHO_N "checking for ffi_call in -lffi... $ECHO_C" >&6; }
21031 if test "${ac_cv_lib_ffi_ffi_call+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 ac_check_lib_save_LIBS
=$LIBS
21036 cat >conftest.
$ac_ext <<_ACEOF
21039 cat confdefs.h
>>conftest.
$ac_ext
21040 cat >>conftest.
$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21043 /* Override any GCC internal prototype to avoid an error.
21044 Use char because int might match the return type of a GCC
21045 builtin and then its argument prototype would still apply. */
21053 return ffi_call ();
21058 rm -f conftest.
$ac_objext conftest
$ac_exeext
21059 if { (ac_try
="$ac_link"
21060 case "(($ac_try" in
21061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_link") 2>conftest.er1
21067 grep -v '^ *+' conftest.er1 >conftest.err
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest$ac_exeext &&
21075 $as_test_x conftest$ac_exeext; then
21076 ac_cv_lib_ffi_ffi_call=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21081 ac_cv_lib_ffi_ffi_call=no
21084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21085 conftest$ac_exeext conftest.$ac_ext
21086 LIBS=$ac_check_lib_save_LIBS
21088 { echo "$as_me:$LINENO: result: $ac_cv_lib_ffi_ffi_call" >&5
21089 echo "${ECHO_T}$ac_cv_lib_ffi_ffi_call" >&6; }
21090 if test $ac_cv_lib_ffi_ffi_call = yes; then
21091 cat >>confdefs.h <<_ACEOF
21092 #define HAVE_LIBFFI 1
21098 if test "$enable_ffi" != no; then
21099 { { echo "$as_me:$LINENO: error: cannot find libffi" >&5
21100 echo "$as_me: error: cannot find libffi" >&2;}
21101 { (exit 1); exit 1; }; }
21106 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21107 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21108 if test "${ac_cv_header_stdc+set}" = set; then
21109 echo $ECHO_N "(cached) $ECHO_C" >&6
21111 cat >conftest.$ac_ext <<_ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 #include <stdlib.h>
21118 #include <stdarg.h>
21119 #include <string.h>
21130 rm -f conftest.$ac_objext
21131 if { (ac_try="$ac_compile"
21132 case "(($ac_try" in
21133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21134 *) ac_try_echo
=$ac_try;;
21136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 (eval "$ac_compile") 2>conftest.er1
21139 grep -v '^ *+' conftest.er1
>conftest.err
21141 cat conftest.err
>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest.
$ac_objext; then
21147 ac_cv_header_stdc
=yes
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.
$ac_ext >&5
21152 ac_cv_header_stdc
=no
21155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21157 if test $ac_cv_header_stdc = yes; then
21158 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21159 cat >conftest.
$ac_ext <<_ACEOF
21162 cat confdefs.h
>>conftest.
$ac_ext
21163 cat >>conftest.
$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 #include <string.h>
21168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21169 $EGREP "memchr" >/dev
/null
2>&1; then
21172 ac_cv_header_stdc
=no
21178 if test $ac_cv_header_stdc = yes; then
21179 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21180 cat >conftest.
$ac_ext <<_ACEOF
21183 cat confdefs.h
>>conftest.
$ac_ext
21184 cat >>conftest.
$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 #include <stdlib.h>
21189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21190 $EGREP "free" >/dev
/null
2>&1; then
21193 ac_cv_header_stdc
=no
21199 if test $ac_cv_header_stdc = yes; then
21200 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21201 if test "$cross_compiling" = yes; then
21204 cat >conftest.
$ac_ext <<_ACEOF
21207 cat confdefs.h
>>conftest.
$ac_ext
21208 cat >>conftest.
$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21211 #include <stdlib.h>
21212 #if ((' ' & 0x0FF) == 0x020)
21213 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21214 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21216 # define ISLOWER(c) \
21217 (('a' <= (c) && (c) <= 'i') \
21218 || ('j' <= (c) && (c) <= 'r') \
21219 || ('s' <= (c) && (c) <= 'z'))
21220 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21228 for (i = 0; i < 256; i++)
21229 if (XOR (islower (i), ISLOWER (i))
21230 || toupper (i) != TOUPPER (i))
21235 rm -f conftest
$ac_exeext
21236 if { (ac_try
="$ac_link"
21237 case "(($ac_try" in
21238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21248 *) ac_try_echo
=$ac_try;;
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21257 echo "$as_me: program exited with status $ac_status" >&5
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.
$ac_ext >&5
21261 ( exit $ac_status )
21262 ac_cv_header_stdc
=no
21264 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21270 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21271 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21272 if test $ac_cv_header_stdc = yes; then
21274 cat >>confdefs.h
<<\_ACEOF
21275 #define STDC_HEADERS 1
21281 if test "${ac_cv_header_zlib_h+set}" = set; then
21282 { echo "$as_me:$LINENO: checking for zlib.h" >&5
21283 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
21284 if test "${ac_cv_header_zlib_h+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21287 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21288 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
21290 # Is the header compilable?
21291 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
21292 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
21293 cat >conftest.
$ac_ext <<_ACEOF
21296 cat confdefs.h
>>conftest.
$ac_ext
21297 cat >>conftest.
$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21302 rm -f conftest.
$ac_objext
21303 if { (ac_try
="$ac_compile"
21304 case "(($ac_try" in
21305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21306 *) ac_try_echo=$ac_try;;
21308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21309 (eval "$ac_compile") 2>conftest.er1
21311 grep -v '^ *+' conftest.er1 >conftest.err
21313 cat conftest.err >&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); } && {
21316 test -z "$ac_c_werror_flag" ||
21317 test ! -s conftest.err
21318 } && test -s conftest.$ac_objext; then
21319 ac_header_compiler=yes
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21324 ac_header_compiler=no
21327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21328 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21329 echo "${ECHO_T}$ac_header_compiler" >&6; }
21331 # Is the header present?
21332 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
21333 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
21334 cat >conftest.$ac_ext <<_ACEOF
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21342 if { (ac_try="$ac_cpp conftest.$ac_ext"
21343 case "(($ac_try" in
21344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21345 *) ac_try_echo
=$ac_try;;
21347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21350 grep -v '^ *+' conftest.er1
>conftest.err
21352 cat conftest.err
>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } >/dev
/null
&& {
21355 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21356 test ! -s conftest.err
21358 ac_header_preproc
=yes
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.
$ac_ext >&5
21363 ac_header_preproc
=no
21366 rm -f conftest.err conftest.
$ac_ext
21367 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21368 echo "${ECHO_T}$ac_header_preproc" >&6; }
21370 # So? What about this header?
21371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21373 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21374 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21376 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21377 ac_header_preproc
=yes
21380 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21381 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21382 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21383 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21385 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21387 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21389 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21391 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21395 { echo "$as_me:$LINENO: checking for zlib.h" >&5
21396 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
21397 if test "${ac_cv_header_zlib_h+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 ac_cv_header_zlib_h
=$ac_header_preproc
21402 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21403 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
21406 if test $ac_cv_header_zlib_h = yes; then
21409 if test "$enable_zip" != no
; then
21410 { echo "$as_me:$LINENO: WARNING: cannot find zlib.h -- zip/jar support in bootclasspath is disabled" >&5
21411 echo "$as_me: WARNING: cannot find zlib.h -- zip/jar support in bootclasspath is disabled" >&2;}
21418 if test "${ac_cv_header_ffi_h+set}" = set; then
21419 { echo "$as_me:$LINENO: checking for ffi.h" >&5
21420 echo $ECHO_N "checking for ffi.h... $ECHO_C" >&6; }
21421 if test "${ac_cv_header_ffi_h+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21424 { echo "$as_me:$LINENO: result: $ac_cv_header_ffi_h" >&5
21425 echo "${ECHO_T}$ac_cv_header_ffi_h" >&6; }
21427 # Is the header compilable?
21428 { echo "$as_me:$LINENO: checking ffi.h usability" >&5
21429 echo $ECHO_N "checking ffi.h usability... $ECHO_C" >&6; }
21430 cat >conftest.
$ac_ext <<_ACEOF
21433 cat confdefs.h
>>conftest.
$ac_ext
21434 cat >>conftest.
$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436 $ac_includes_default
21439 rm -f conftest.
$ac_objext
21440 if { (ac_try
="$ac_compile"
21441 case "(($ac_try" in
21442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21443 *) ac_try_echo=$ac_try;;
21445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446 (eval "$ac_compile") 2>conftest.er1
21448 grep -v '^ *+' conftest.er1 >conftest.err
21450 cat conftest.err >&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } && {
21453 test -z "$ac_c_werror_flag" ||
21454 test ! -s conftest.err
21455 } && test -s conftest.$ac_objext; then
21456 ac_header_compiler=yes
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21461 ac_header_compiler=no
21464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21466 echo "${ECHO_T}$ac_header_compiler" >&6; }
21468 # Is the header present?
21469 { echo "$as_me:$LINENO: checking ffi.h presence" >&5
21470 echo $ECHO_N "checking ffi.h presence... $ECHO_C" >&6; }
21471 cat >conftest.$ac_ext <<_ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21479 if { (ac_try="$ac_cpp conftest.$ac_ext"
21480 case "(($ac_try" in
21481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21482 *) ac_try_echo
=$ac_try;;
21484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21487 grep -v '^ *+' conftest.er1
>conftest.err
21489 cat conftest.err
>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } >/dev
/null
&& {
21492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21493 test ! -s conftest.err
21495 ac_header_preproc
=yes
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.
$ac_ext >&5
21500 ac_header_preproc
=no
21503 rm -f conftest.err conftest.
$ac_ext
21504 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21505 echo "${ECHO_T}$ac_header_preproc" >&6; }
21507 # So? What about this header?
21508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21510 { echo "$as_me:$LINENO: WARNING: ffi.h: accepted by the compiler, rejected by the preprocessor!" >&5
21511 echo "$as_me: WARNING: ffi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21512 { echo "$as_me:$LINENO: WARNING: ffi.h: proceeding with the compiler's result" >&5
21513 echo "$as_me: WARNING: ffi.h: proceeding with the compiler's result" >&2;}
21514 ac_header_preproc
=yes
21517 { echo "$as_me:$LINENO: WARNING: ffi.h: present but cannot be compiled" >&5
21518 echo "$as_me: WARNING: ffi.h: present but cannot be compiled" >&2;}
21519 { echo "$as_me:$LINENO: WARNING: ffi.h: check for missing prerequisite headers?" >&5
21520 echo "$as_me: WARNING: ffi.h: check for missing prerequisite headers?" >&2;}
21521 { echo "$as_me:$LINENO: WARNING: ffi.h: see the Autoconf documentation" >&5
21522 echo "$as_me: WARNING: ffi.h: see the Autoconf documentation" >&2;}
21523 { echo "$as_me:$LINENO: WARNING: ffi.h: section \"Present But Cannot Be Compiled\"" >&5
21524 echo "$as_me: WARNING: ffi.h: section \"Present But Cannot Be Compiled\"" >&2;}
21525 { echo "$as_me:$LINENO: WARNING: ffi.h: proceeding with the preprocessor's result" >&5
21526 echo "$as_me: WARNING: ffi.h: proceeding with the preprocessor's result" >&2;}
21527 { echo "$as_me:$LINENO: WARNING: ffi.h: in the future, the compiler will take precedence" >&5
21528 echo "$as_me: WARNING: ffi.h: in the future, the compiler will take precedence" >&2;}
21532 { echo "$as_me:$LINENO: checking for ffi.h" >&5
21533 echo $ECHO_N "checking for ffi.h... $ECHO_C" >&6; }
21534 if test "${ac_cv_header_ffi_h+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 ac_cv_header_ffi_h
=$ac_header_preproc
21539 { echo "$as_me:$LINENO: result: $ac_cv_header_ffi_h" >&5
21540 echo "${ECHO_T}$ac_cv_header_ffi_h" >&6; }
21543 if test $ac_cv_header_ffi_h = yes; then
21546 if test "$enable_ffi" != no
; then
21547 { { echo "$as_me:$LINENO: error: cannot find ffi.h" >&5
21548 echo "$as_me: error: cannot find ffi.h" >&2;}
21549 { (exit 1); exit 1; }; }
21555 if test "$enable_zip" != no
; then
21557 cat >>confdefs.h
<<\_ACEOF
21571 if test "$enable_ffi" != no
; then
21573 cat >>confdefs.h
<<\_ACEOF
21584 for ac_header
in sys
/time.h unistd.h endian.h sys
/param.h locale.h
21586 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21587 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21590 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 ac_res
=`eval echo '${'$as_ac_Header'}'`
21594 { echo "$as_me:$LINENO: result: $ac_res" >&5
21595 echo "${ECHO_T}$ac_res" >&6; }
21597 # Is the header compilable?
21598 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21600 cat >conftest.
$ac_ext <<_ACEOF
21603 cat confdefs.h
>>conftest.
$ac_ext
21604 cat >>conftest.
$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 $ac_includes_default
21607 #include <$ac_header>
21609 rm -f conftest.
$ac_objext
21610 if { (ac_try
="$ac_compile"
21611 case "(($ac_try" in
21612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21613 *) ac_try_echo=$ac_try;;
21615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21616 (eval "$ac_compile") 2>conftest.er1
21618 grep -v '^ *+' conftest.er1 >conftest.err
21620 cat conftest.err >&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); } && {
21623 test -z "$ac_c_werror_flag" ||
21624 test ! -s conftest.err
21625 } && test -s conftest.$ac_objext; then
21626 ac_header_compiler=yes
21628 echo "$as_me: failed program was:" >&5
21629 sed 's/^/| /' conftest.$ac_ext >&5
21631 ac_header_compiler=no
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21636 echo "${ECHO_T}$ac_header_compiler" >&6; }
21638 # Is the header present?
21639 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21641 cat >conftest.$ac_ext <<_ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 #include <$ac_header>
21649 if { (ac_try="$ac_cpp conftest.$ac_ext"
21650 case "(($ac_try" in
21651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21652 *) ac_try_echo
=$ac_try;;
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21657 grep -v '^ *+' conftest.er1
>conftest.err
21659 cat conftest.err
>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } >/dev
/null
&& {
21662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21665 ac_header_preproc
=yes
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.
$ac_ext >&5
21670 ac_header_preproc
=no
21673 rm -f conftest.err conftest.
$ac_ext
21674 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21675 echo "${ECHO_T}$ac_header_preproc" >&6; }
21677 # So? What about this header?
21678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21684 ac_header_preproc
=yes
21687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21704 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 eval "$as_ac_Header=\$ac_header_preproc"
21709 ac_res
=`eval echo '${'$as_ac_Header'}'`
21710 { echo "$as_me:$LINENO: result: $ac_res" >&5
21711 echo "${ECHO_T}$ac_res" >&6; }
21714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21715 cat >>confdefs.h
<<_ACEOF
21716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21724 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21725 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21726 if test "${ac_cv_c_const+set}" = set; then
21727 echo $ECHO_N "(cached) $ECHO_C" >&6
21729 cat >conftest.
$ac_ext <<_ACEOF
21732 cat confdefs.h
>>conftest.
$ac_ext
21733 cat >>conftest.
$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21739 /* FIXME: Include the comments suggested by Paul. */
21740 #ifndef __cplusplus
21741 /* Ultrix mips cc rejects this. */
21742 typedef int charset[2];
21744 /* SunOS 4.1.1 cc rejects this. */
21745 char const *const *pcpcc;
21747 /* NEC SVR4.0.2 mips cc rejects this. */
21748 struct point {int x, y;};
21749 static struct point const zero = {0,0};
21750 /* AIX XL C 1.02.0.0 rejects this.
21751 It does not let you subtract one const X* pointer from another in
21752 an arm of an if-expression whose if-part is not a constant
21754 const char *g = "string";
21755 pcpcc = &g + (g ? g-g : 0);
21756 /* HPUX 7.0 cc rejects these. */
21758 ppc = (char**) pcpcc;
21759 pcpcc = (char const *const *) ppc;
21760 { /* SCO 3.2v4 cc rejects this. */
21762 char const *s = 0 ? (char *) 0 : (char const *) 0;
21767 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21768 int x[] = {25, 17};
21769 const int *foo = &x[0];
21772 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21773 typedef const int *iptr;
21777 { /* AIX XL C 1.02.0.0 rejects this saying
21778 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21779 struct s { int j; const int *ap[3]; };
21780 struct s *b; b->j = 5;
21782 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21783 const int foo = 10;
21784 if (!foo) return 0;
21786 return !cs[0] && !zero.x;
21793 rm -f conftest.
$ac_objext
21794 if { (ac_try
="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21802 grep -v '^ *+' conftest.er1 >conftest.err
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21812 echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21821 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21822 if test $ac_cv_c_const = no; then
21824 cat >>confdefs.h <<\_ACEOF
21830 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21831 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21832 if test "${ac_cv_header_time+set}" = set; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 cat >conftest.$ac_ext <<_ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841 #include <sys/types.h>
21842 #include <sys/time.h>
21848 if ((struct tm *) 0)
21854 rm -f conftest.$ac_objext
21855 if { (ac_try="$ac_compile"
21856 case "(($ac_try" in
21857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21858 *) ac_try_echo
=$ac_try;;
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_compile") 2>conftest.er1
21863 grep -v '^ *+' conftest.er1
>conftest.err
21865 cat conftest.err
>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } && {
21868 test -z "$ac_c_werror_flag" ||
21869 test ! -s conftest.err
21870 } && test -s conftest.
$ac_objext; then
21871 ac_cv_header_time
=yes
21873 echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.
$ac_ext >&5
21876 ac_cv_header_time
=no
21879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21881 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21882 echo "${ECHO_T}$ac_cv_header_time" >&6; }
21883 if test $ac_cv_header_time = yes; then
21885 cat >>confdefs.h
<<\_ACEOF
21886 #define TIME_WITH_SYS_TIME 1
21892 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21893 # for constant arguments. Useless!
21894 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
21895 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
21896 if test "${ac_cv_working_alloca_h+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 cat >conftest.
$ac_ext <<_ACEOF
21902 cat confdefs.h
>>conftest.
$ac_ext
21903 cat >>conftest.
$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905 #include <alloca.h>
21909 char *p = (char *) alloca (2 * sizeof (int));
21915 rm -f conftest.
$ac_objext conftest
$ac_exeext
21916 if { (ac_try
="$ac_link"
21917 case "(($ac_try" in
21918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_link") 2>conftest.er1
21924 grep -v '^ *+' conftest.er1 >conftest.err
21926 cat conftest.err >&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } && {
21929 test -z "$ac_c_werror_flag" ||
21930 test ! -s conftest.err
21931 } && test -s conftest$ac_exeext &&
21932 $as_test_x conftest$ac_exeext; then
21933 ac_cv_working_alloca_h=yes
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21938 ac_cv_working_alloca_h=no
21941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21942 conftest$ac_exeext conftest.$ac_ext
21944 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21945 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
21946 if test $ac_cv_working_alloca_h = yes; then
21948 cat >>confdefs.h <<\_ACEOF
21949 #define HAVE_ALLOCA_H 1
21954 { echo "$as_me:$LINENO: checking for alloca" >&5
21955 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
21956 if test "${ac_cv_func_alloca_works+set}" = set; then
21957 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 cat >conftest.$ac_ext <<_ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21966 # define alloca __builtin_alloca
21969 # include <malloc.h>
21970 # define alloca _alloca
21972 # ifdef HAVE_ALLOCA_H
21973 # include <alloca.h>
21978 # ifndef alloca /* predefined by HP cc +Olibcalls */
21989 char *p = (char *) alloca (1);
21995 rm -f conftest.$ac_objext conftest$ac_exeext
21996 if { (ac_try="$ac_link"
21997 case "(($ac_try" in
21998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21999 *) ac_try_echo
=$ac_try;;
22001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002 (eval "$ac_link") 2>conftest.er1
22004 grep -v '^ *+' conftest.er1
>conftest.err
22006 cat conftest.err
>&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } && {
22009 test -z "$ac_c_werror_flag" ||
22010 test ! -s conftest.err
22011 } && test -s conftest
$ac_exeext &&
22012 $as_test_x conftest
$ac_exeext; then
22013 ac_cv_func_alloca_works
=yes
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.
$ac_ext >&5
22018 ac_cv_func_alloca_works
=no
22021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22022 conftest
$ac_exeext conftest.
$ac_ext
22024 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
22025 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
22027 if test $ac_cv_func_alloca_works = yes; then
22029 cat >>confdefs.h
<<\_ACEOF
22030 #define HAVE_ALLOCA 1
22034 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
22035 # that cause trouble. Some versions do not even contain alloca or
22036 # contain a buggy version. If you still want to use their alloca,
22037 # use ar to extract alloca.o from them instead of compiling alloca.c.
22039 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
22041 cat >>confdefs.h
<<\_ACEOF
22046 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
22047 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
22048 if test "${ac_cv_os_cray+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 cat >conftest.
$ac_ext <<_ACEOF
22054 cat confdefs.h
>>conftest.
$ac_ext
22055 cat >>conftest.
$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 #if defined CRAY && ! defined CRAY2
22064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22065 $EGREP "webecray" >/dev
/null
2>&1; then
22073 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
22074 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
22075 if test $ac_cv_os_cray = yes; then
22076 for ac_func
in _getb67 GETB67 getb67
; do
22077 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22078 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22080 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22081 echo $ECHO_N "(cached) $ECHO_C" >&6
22083 cat >conftest.
$ac_ext <<_ACEOF
22086 cat confdefs.h
>>conftest.
$ac_ext
22087 cat >>conftest.
$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22091 #define $ac_func innocuous_$ac_func
22093 /* System header to define __stub macros and hopefully few prototypes,
22094 which can conflict with char $ac_func (); below.
22095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22096 <limits.h> exists even on freestanding compilers. */
22099 # include <limits.h>
22101 # include <assert.h>
22106 /* Override any GCC internal prototype to avoid an error.
22107 Use char because int might match the return type of a GCC
22108 builtin and then its argument prototype would still apply. */
22113 /* The GNU C library defines this for functions which it implements
22114 to always fail with ENOSYS. Some functions are actually named
22115 something starting with __ and the normal name is an alias. */
22116 #if defined __stub_$ac_func || defined __stub___$ac_func
22123 return $ac_func ();
22128 rm -f conftest.
$ac_objext conftest
$ac_exeext
22129 if { (ac_try
="$ac_link"
22130 case "(($ac_try" in
22131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_link") 2>conftest.er1
22137 grep -v '^ *+' conftest.er1 >conftest.err
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && {
22142 test -z "$ac_c_werror_flag" ||
22143 test ! -s conftest.err
22144 } && test -s conftest$ac_exeext &&
22145 $as_test_x conftest$ac_exeext; then
22146 eval "$as_ac_var=yes"
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22151 eval "$as_ac_var=no"
22154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22155 conftest$ac_exeext conftest.$ac_ext
22157 ac_res=`eval echo '${'$as_ac_var'}'`
22158 { echo "$as_me:$LINENO: result: $ac_res" >&5
22159 echo "${ECHO_T}$ac_res" >&6; }
22160 if test `eval echo '${'$as_ac_var'}'` = yes; then
22162 cat >>confdefs.h <<_ACEOF
22163 #define CRAY_STACKSEG_END $ac_func
22172 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
22173 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
22174 if test "${ac_cv_c_stack_direction+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 if test "$cross_compiling" = yes; then
22178 ac_cv_c_stack_direction=0
22180 cat >conftest.$ac_ext <<_ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 $ac_includes_default
22188 find_stack_direction ()
22190 static char *addr = 0;
22195 return find_stack_direction ();
22198 return (&dummy > addr) ? 1 : -1;
22204 return find_stack_direction () < 0;
22207 rm -f conftest$ac_exeext
22208 if { (ac_try="$ac_link"
22209 case "(($ac_try" in
22210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22211 *) ac_try_echo
=$ac_try;;
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_link") 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22218 { (case "(($ac_try" in
22219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22220 *) ac_try_echo=$ac_try;;
22222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22223 (eval "$ac_try") 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 ac_cv_c_stack_direction=1
22229 echo "$as_me: program exited with status $ac_status" >&5
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22233 ( exit $ac_status )
22234 ac_cv_c_stack_direction=-1
22236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22241 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
22242 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
22244 cat >>confdefs.h <<_ACEOF
22245 #define STACK_DIRECTION $ac_cv_c_stack_direction
22253 for ac_header in stdlib.h unistd.h
22255 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
22256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22259 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 ac_res=`eval echo '${'$as_ac_Header'}'`
22263 { echo "$as_me:$LINENO: result: $ac_res" >&5
22264 echo "${ECHO_T}$ac_res" >&6; }
22266 # Is the header compilable?
22267 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22269 cat >conftest.$ac_ext <<_ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 #include <$ac_header>
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22282 *) ac_try_echo
=$ac_try;;
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22287 grep -v '^ *+' conftest.er1
>conftest.err
22289 cat conftest.err
>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && {
22292 test -z "$ac_c_werror_flag" ||
22293 test ! -s conftest.err
22294 } && test -s conftest.
$ac_objext; then
22295 ac_header_compiler
=yes
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.
$ac_ext >&5
22300 ac_header_compiler
=no
22303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22304 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22305 echo "${ECHO_T}$ac_header_compiler" >&6; }
22307 # Is the header present?
22308 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22310 cat >conftest.
$ac_ext <<_ACEOF
22313 cat confdefs.h
>>conftest.
$ac_ext
22314 cat >>conftest.
$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 #include <$ac_header>
22318 if { (ac_try
="$ac_cpp conftest.$ac_ext"
22319 case "(($ac_try" in
22320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22326 grep -v '^ *+' conftest.er1 >conftest.err
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } >/dev/null && {
22331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22334 ac_header_preproc=yes
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.$ac_ext >&5
22339 ac_header_preproc=no
22342 rm -f conftest.err conftest.$ac_ext
22343 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22344 echo "${ECHO_T}$ac_header_preproc" >&6; }
22346 # So? What about this header?
22347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22353 ac_header_preproc=yes
22356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 eval "$as_ac_Header=\$ac_header_preproc"
22378 ac_res=`eval echo '${'$as_ac_Header'}'`
22379 { echo "$as_me:$LINENO: result: $ac_res" >&5
22380 echo "${ECHO_T}$ac_res" >&6; }
22383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22384 cat >>confdefs.h <<_ACEOF
22385 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
22393 for ac_func in getpagesize
22395 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22398 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 cat >conftest.$ac_ext <<_ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22409 #define $ac_func innocuous_$ac_func
22411 /* System header to define __stub macros and hopefully few prototypes,
22412 which can conflict with char $ac_func (); below.
22413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22414 <limits.h> exists even on freestanding compilers. */
22417 # include <limits.h>
22419 # include <assert.h>
22424 /* Override any GCC internal prototype to avoid an error.
22425 Use char because int might match the return type of a GCC
22426 builtin and then its argument prototype would still apply. */
22431 /* The GNU C library defines this for functions which it implements
22432 to always fail with ENOSYS. Some functions are actually named
22433 something starting with __ and the normal name is an alias. */
22434 #if defined __stub_$ac_func || defined __stub___$ac_func
22441 return $ac_func ();
22446 rm -f conftest.$ac_objext conftest$ac_exeext
22447 if { (ac_try="$ac_link"
22448 case "(($ac_try" in
22449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22450 *) ac_try_echo
=$ac_try;;
22452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22453 (eval "$ac_link") 2>conftest.er1
22455 grep -v '^ *+' conftest.er1
>conftest.err
22457 cat conftest.err
>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && {
22460 test -z "$ac_c_werror_flag" ||
22461 test ! -s conftest.err
22462 } && test -s conftest
$ac_exeext &&
22463 $as_test_x conftest
$ac_exeext; then
22464 eval "$as_ac_var=yes"
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22469 eval "$as_ac_var=no"
22472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22473 conftest
$ac_exeext conftest.
$ac_ext
22475 ac_res
=`eval echo '${'$as_ac_var'}'`
22476 { echo "$as_me:$LINENO: result: $ac_res" >&5
22477 echo "${ECHO_T}$ac_res" >&6; }
22478 if test `eval echo '${'$as_ac_var'}'` = yes; then
22479 cat >>confdefs.h
<<_ACEOF
22480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22486 { echo "$as_me:$LINENO: checking for working mmap" >&5
22487 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
22488 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22489 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 if test "$cross_compiling" = yes; then
22492 ac_cv_func_mmap_fixed_mapped
=no
22494 cat >conftest.
$ac_ext <<_ACEOF
22497 cat confdefs.h
>>conftest.
$ac_ext
22498 cat >>conftest.
$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 /* malloc might have been renamed as rpl_malloc. */
22504 /* Thanks to Mike Haertel and Jim Avera for this test.
22505 Here is a matrix of mmap possibilities:
22506 mmap private not fixed
22507 mmap private fixed at somewhere currently unmapped
22508 mmap private fixed at somewhere already mapped
22509 mmap shared not fixed
22510 mmap shared fixed at somewhere currently unmapped
22511 mmap shared fixed at somewhere already mapped
22512 For private mappings, we should verify that changes cannot be read()
22513 back from the file, nor mmap's back from the file at a different
22514 address. (There have been systems where private was not correctly
22515 implemented like the infamous i386 svr4.0, and systems where the
22516 VM page cache was not coherent with the file system buffer cache
22517 like early versions of FreeBSD and possibly contemporary NetBSD.)
22518 For shared mappings, we should conversely verify that changes get
22519 propagated back to all the places they're supposed to be.
22521 Grep wants private fixed already mapped.
22522 The main things grep needs to know about mmap are:
22523 * does it exist and is it safe to write into the mmap'd area
22524 * how to use it (BSD variants) */
22527 #include <sys/mman.h>
22529 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22533 /* This mess was copied from the GNU getpagesize.h. */
22534 #ifndef HAVE_GETPAGESIZE
22535 /* Assume that all systems that can run configure have sys/param.h. */
22536 # ifndef HAVE_SYS_PARAM_H
22537 # define HAVE_SYS_PARAM_H 1
22540 # ifdef _SC_PAGESIZE
22541 # define getpagesize() sysconf(_SC_PAGESIZE)
22542 # else /* no _SC_PAGESIZE */
22543 # ifdef HAVE_SYS_PARAM_H
22544 # include <sys/param.h>
22545 # ifdef EXEC_PAGESIZE
22546 # define getpagesize() EXEC_PAGESIZE
22547 # else /* no EXEC_PAGESIZE */
22549 # define getpagesize() NBPG * CLSIZE
22552 # endif /* no CLSIZE */
22553 # else /* no NBPG */
22555 # define getpagesize() NBPC
22556 # else /* no NBPC */
22558 # define getpagesize() PAGESIZE
22559 # endif /* PAGESIZE */
22560 # endif /* no NBPC */
22561 # endif /* no NBPG */
22562 # endif /* no EXEC_PAGESIZE */
22563 # else /* no HAVE_SYS_PARAM_H */
22564 # define getpagesize() 8192 /* punt totally */
22565 # endif /* no HAVE_SYS_PARAM_H */
22566 # endif /* no _SC_PAGESIZE */
22568 #endif /* no HAVE_GETPAGESIZE */
22573 char *data, *data2, *data3;
22577 pagesize = getpagesize ();
22579 /* First, make a file with some known garbage in it. */
22580 data = (char *) malloc (pagesize);
22583 for (i = 0; i < pagesize; ++i)
22584 *(data + i) = rand ();
22586 fd = creat ("conftest.mmap", 0600);
22589 if (write (fd, data, pagesize) != pagesize)
22593 /* Next, try to mmap the file at a fixed address which already has
22594 something else allocated at it. If we can, also make sure that
22595 we see the same garbage. */
22596 fd = open ("conftest.mmap", O_RDWR);
22599 data2 = (char *) malloc (2 * pagesize);
22602 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
22603 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22604 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22606 for (i = 0; i < pagesize; ++i)
22607 if (*(data + i) != *(data2 + i))
22610 /* Finally, make sure that changes to the mapped area do not
22611 percolate back to the file as seen by read(). (This is a bug on
22612 some variants of i386 svr4.0.) */
22613 for (i = 0; i < pagesize; ++i)
22614 *(data2 + i) = *(data2 + i) + 1;
22615 data3 = (char *) malloc (pagesize);
22618 if (read (fd, data3, pagesize) != pagesize)
22620 for (i = 0; i < pagesize; ++i)
22621 if (*(data + i) != *(data3 + i))
22627 rm -f conftest
$ac_exeext
22628 if { (ac_try
="$ac_link"
22629 case "(($ac_try" in
22630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_link") 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22638 { (case "(($ac_try" in
22639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22640 *) ac_try_echo
=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_try") 2>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); }; }; then
22647 ac_cv_func_mmap_fixed_mapped
=yes
22649 echo "$as_me: program exited with status $ac_status" >&5
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.
$ac_ext >&5
22653 ( exit $ac_status )
22654 ac_cv_func_mmap_fixed_mapped
=no
22656 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22661 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22662 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
22663 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22665 cat >>confdefs.h
<<\_ACEOF
22666 #define HAVE_MMAP 1
22670 rm -f conftest.mmap
22675 for ac_func
in gettimeofday strtol setlocale
22677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22680 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22681 echo $ECHO_N "(cached) $ECHO_C" >&6
22683 cat >conftest.
$ac_ext <<_ACEOF
22686 cat confdefs.h
>>conftest.
$ac_ext
22687 cat >>conftest.
$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22691 #define $ac_func innocuous_$ac_func
22693 /* System header to define __stub macros and hopefully few prototypes,
22694 which can conflict with char $ac_func (); below.
22695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22696 <limits.h> exists even on freestanding compilers. */
22699 # include <limits.h>
22701 # include <assert.h>
22706 /* Override any GCC internal prototype to avoid an error.
22707 Use char because int might match the return type of a GCC
22708 builtin and then its argument prototype would still apply. */
22713 /* The GNU C library defines this for functions which it implements
22714 to always fail with ENOSYS. Some functions are actually named
22715 something starting with __ and the normal name is an alias. */
22716 #if defined __stub_$ac_func || defined __stub___$ac_func
22723 return $ac_func ();
22728 rm -f conftest.
$ac_objext conftest
$ac_exeext
22729 if { (ac_try
="$ac_link"
22730 case "(($ac_try" in
22731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22732 *) ac_try_echo=$ac_try;;
22734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22735 (eval "$ac_link") 2>conftest.er1
22737 grep -v '^ *+' conftest.er1 >conftest.err
22739 cat conftest.err >&5
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); } && {
22742 test -z "$ac_c_werror_flag" ||
22743 test ! -s conftest.err
22744 } && test -s conftest$ac_exeext &&
22745 $as_test_x conftest$ac_exeext; then
22746 eval "$as_ac_var=yes"
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22751 eval "$as_ac_var=no"
22754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22755 conftest$ac_exeext conftest.$ac_ext
22757 ac_res=`eval echo '${'$as_ac_var'}'`
22758 { echo "$as_me:$LINENO: result: $ac_res" >&5
22759 echo "${ECHO_T}$ac_res" >&6; }
22760 if test `eval echo '${'$as_ac_var'}'` = yes; then
22761 cat >>confdefs.h <<_ACEOF
22762 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
22768 if test $ac_cv_header_locale_h = yes; then
22769 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22770 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
22771 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22772 echo $ECHO_N "(cached) $ECHO_C" >&6
22774 cat >conftest.$ac_ext <<_ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 #include <locale.h>
22789 rm -f conftest.$ac_objext conftest$ac_exeext
22790 if { (ac_try="$ac_link"
22791 case "(($ac_try" in
22792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22793 *) ac_try_echo
=$ac_try;;
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_link") 2>conftest.er1
22798 grep -v '^ *+' conftest.er1
>conftest.err
22800 cat conftest.err
>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && {
22803 test -z "$ac_c_werror_flag" ||
22804 test ! -s conftest.err
22805 } && test -s conftest
$ac_exeext &&
22806 $as_test_x conftest
$ac_exeext; then
22807 am_cv_val_LC_MESSAGES
=yes
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.
$ac_ext >&5
22812 am_cv_val_LC_MESSAGES
=no
22815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22816 conftest
$ac_exeext conftest.
$ac_ext
22818 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22819 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
22820 if test $am_cv_val_LC_MESSAGES = yes; then
22822 cat >>confdefs.h
<<\_ACEOF
22823 #define HAVE_LC_MESSAGES 1
22829 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
22830 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
22831 # Check whether --enable-maintainer-mode was given.
22832 if test "${enable_maintainer_mode+set}" = set; then
22833 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
22835 USE_MAINTAINER_MODE
=no
22838 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
22839 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
22840 if test $USE_MAINTAINER_MODE = yes; then
22841 MAINTAINER_MODE_TRUE
=
22842 MAINTAINER_MODE_FALSE
='#'
22844 MAINTAINER_MODE_TRUE
='#'
22845 MAINTAINER_MODE_FALSE
=
22848 MAINT
=$MAINTAINER_MODE_TRUE
22852 ac_config_links
="$ac_config_links src/arch.h:src/arch/$arch.h"
22855 ac_config_files
="$ac_config_files Makefile src/Makefile src/interp/Makefile src/interp/engine/Makefile src/arch/Makefile src/os/Makefile src/os/linux/Makefile src/os/darwin/Makefile src/os/bsd/Makefile src/os/linux/powerpc/Makefile src/os/linux/arm/Makefile src/os/linux/i386/Makefile src/os/linux/x86_64/Makefile src/os/linux/avr32/Makefile src/os/linux/parisc/Makefile src/os/linux/mips/Makefile src/os/darwin/i386/Makefile src/os/darwin/powerpc/Makefile src/os/bsd/powerpc/Makefile src/os/bsd/arm/Makefile src/os/bsd/i386/Makefile src/os/bsd/x86_64/Makefile lib/Makefile lib/java/Makefile lib/java/lang/Makefile lib/jamvm/Makefile lib/jamvm/java/Makefile lib/jamvm/java/lang/Makefile lib/java/lang/reflect/Makefile lib/java/security/Makefile lib/gnu/Makefile lib/sun/reflect/annotation/Makefile lib/sun/reflect//Makefile lib/sun/Makefile lib/gnu/classpath/Makefile"
22858 cat >confcache
<<\_ACEOF
22859 # This file is a shell script that caches the results of configure
22860 # tests run on this system so they can be shared between configure
22861 # scripts and configure runs, see configure's option --config-cache.
22862 # It is not useful on other systems. If it contains results you don't
22863 # want to keep, you may remove or edit it.
22865 # config.status only pays attention to the cache file if you give it
22866 # the --recheck option to rerun configure.
22868 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22869 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22870 # following values.
22874 # The following way of writing the cache mishandles newlines in values,
22875 # but we know of no workaround that is simple, portable, and efficient.
22876 # So, we kill variables containing newlines.
22877 # Ultrix sh set writes to stderr and can't be redirected directly,
22878 # and sets the high bit in the cache file unless we assign to the vars.
22880 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22881 eval ac_val
=\$
$ac_var
22885 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22886 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22889 _ | IFS | as_nl
) ;; #(
22890 *) $as_unset $ac_var ;;
22896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22897 *${as_nl}ac_space
=\
*)
22898 # `set' does not quote correctly, so add quotes (double-quote
22899 # substitution turns \\\\ into \\, and sed turns \\ into \).
22902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22905 # `set' quotes correctly as required by POSIX, so do not add quotes.
22906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22919 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22920 if test -w "$cache_file"; then
22921 test "x$cache_file" != "x/dev/null" &&
22922 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22923 echo "$as_me: updating cache $cache_file" >&6;}
22924 cat confcache
>$cache_file
22926 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22927 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22932 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22933 # Let make expand exec_prefix.
22934 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22936 DEFS
=-DHAVE_CONFIG_H
22940 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22941 # 1. Remove the extension, and $U if already installed.
22942 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22943 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22944 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22945 # will be set to the directory where LIBOBJS objects are built.
22946 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22947 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22949 LIBOBJS
=$ac_libobjs
22951 LTLIBOBJS
=$ac_ltlibobjs
22954 if test -z "${COMPILE_TIME_RELOC_CHECKS_TRUE}" && test -z "${COMPILE_TIME_RELOC_CHECKS_FALSE}"; then
22955 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_TIME_RELOC_CHECKS\" was never defined.
22956 Usually this means the macro was only invoked conditionally." >&5
22957 echo "$as_me: error: conditional \"COMPILE_TIME_RELOC_CHECKS\" was never defined.
22958 Usually this means the macro was only invoked conditionally." >&2;}
22959 { (exit 1); exit 1; }; }
22961 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22962 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22963 Usually this means the macro was only invoked conditionally." >&5
22964 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22965 Usually this means the macro was only invoked conditionally." >&2;}
22966 { (exit 1); exit 1; }; }
22968 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22969 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22970 Usually this means the macro was only invoked conditionally." >&5
22971 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22972 Usually this means the macro was only invoked conditionally." >&2;}
22973 { (exit 1); exit 1; }; }
22975 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22976 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22977 Usually this means the macro was only invoked conditionally." >&5
22978 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22979 Usually this means the macro was only invoked conditionally." >&2;}
22980 { (exit 1); exit 1; }; }
22982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22983 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22984 Usually this means the macro was only invoked conditionally." >&5
22985 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22986 Usually this means the macro was only invoked conditionally." >&2;}
22987 { (exit 1); exit 1; }; }
22989 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
22990 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
22991 Usually this means the macro was only invoked conditionally." >&5
22992 echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
22993 Usually this means the macro was only invoked conditionally." >&2;}
22994 { (exit 1); exit 1; }; }
22996 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22997 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22998 Usually this means the macro was only invoked conditionally." >&5
22999 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23000 Usually this means the macro was only invoked conditionally." >&2;}
23001 { (exit 1); exit 1; }; }
23004 : ${CONFIG_STATUS=./config.status}
23005 ac_clean_files_save
=$ac_clean_files
23006 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23007 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23008 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23009 cat >$CONFIG_STATUS <<_ACEOF
23011 # Generated by $as_me.
23012 # Run this file to recreate the current configuration.
23013 # Compiler output produced by configure, useful for debugging
23014 # configure, is in config.log if it exists.
23017 ac_cs_recheck=false
23019 SHELL=\${CONFIG_SHELL-$SHELL}
23022 cat >>$CONFIG_STATUS <<\_ACEOF
23023 ## --------------------- ##
23024 ## M4sh Initialization. ##
23025 ## --------------------- ##
23027 # Be more Bourne compatible
23028 DUALCASE
=1; export DUALCASE
# for MKS sh
23029 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23032 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23033 # is contrary to our usage. Disable this feature.
23034 alias -g '${1+"$@"}'='"$@"'
23035 setopt NO_GLOB_SUBST
23037 case `(set -o) 2>/dev/null` in
23038 *posix
*) set -o posix
;;
23047 # Avoid depending upon Character Ranges.
23048 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23049 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23050 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23051 as_cr_digits
='0123456789'
23052 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23054 # The user is always right.
23055 if test "${PATH_SEPARATOR+set}" != set; then
23056 echo "#! /bin/sh" >conf$$.sh
23057 echo "exit 0" >>conf$$.sh
23059 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23067 # Support unset when possible.
23068 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23076 # We need space, tab and new line, in precisely that order. Quoting is
23077 # there to prevent editors from complaining about space-tab.
23078 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23079 # splitting by setting IFS to empty value.)
23084 # Find who we are. Look in the path if we contain no directory separator.
23086 *[\\/]* ) as_myself
=$0 ;;
23087 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23088 for as_dir
in $PATH
23091 test -z "$as_dir" && as_dir
=.
23092 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23098 # We did not find ourselves, most probably we were run as `sh COMMAND'
23099 # in which case we are not to be found in the path.
23100 if test "x$as_myself" = x
; then
23103 if test ! -f "$as_myself"; then
23104 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23105 { (exit 1); exit 1; }
23108 # Work around bugs in pre-3.0 UWIN ksh.
23109 for as_var
in ENV MAIL MAILPATH
23110 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23118 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23119 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23120 LC_TELEPHONE LC_TIME
23122 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23123 eval $as_var=C
; export $as_var
23125 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23129 # Required to use basename.
23130 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23131 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23137 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23138 as_basename
=basename
23144 # Name of the executable.
23145 as_me
=`$as_basename -- "$0" ||
23146 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23147 X"$0" : 'X\(//\)$' \| \
23148 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23150 sed '/^.*\/\([^/][^/]*\)\/*$/{
23169 as_lineno_1
=$LINENO
23170 as_lineno_2
=$LINENO
23171 test "x$as_lineno_1" != "x$as_lineno_2" &&
23172 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23174 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23175 # uniformly replaced by the line number. The first 'sed' inserts a
23176 # line-number line after each line using $LINENO; the second 'sed'
23177 # does the real work. The second script uses 'N' to pair each
23178 # line-number line with the line containing $LINENO, and appends
23179 # trailing '-' during substitution so that $LINENO is not a special
23180 # case at line end.
23181 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23182 # scripts with optimization help from Paolo Bonzini. Blame Lee
23183 # E. McMahon (1931-1989) for sed's syntax. :-)
23195 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23198 ' >$as_me.lineno
&&
23199 chmod +x
"$as_me.lineno" ||
23200 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23201 { (exit 1); exit 1; }; }
23203 # Don't try to exec as it changes $[0], causing all sort of problems
23204 # (the dirname of $[0] is not the place where we might find the
23205 # original and so on. Autoconf is especially sensitive to this).
23206 .
"./$as_me.lineno"
23207 # Exit status is that of the last command.
23212 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23218 ECHO_C
= ECHO_N
= ECHO_T
=
23219 case `echo -n x` in
23221 case `echo 'x\c'` in
23222 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23229 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23230 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23236 rm -f conf$$ conf$$.exe conf$$.
file
23237 if test -d conf$$.dir
; then
23238 rm -f conf$$.dir
/conf$$.
file
23244 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23246 # ... but there are two gotchas:
23247 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23248 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23249 # In both cases, we have to default to `cp -p'.
23250 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23252 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23257 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23258 rmdir conf$$.dir
2>/dev
/null
23260 if mkdir
-p .
2>/dev
/null
; then
23263 test -d .
/-p && rmdir .
/-p
23267 if test -x / >/dev
/null
2>&1; then
23268 as_test_x
='test -x'
23270 if ls -dL / >/dev
/null
2>&1; then
23277 if test -d "$1"; then
23283 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23284 ???[sx]*):;;*)false;;esac;fi
23288 as_executable_p
=$as_test_x
23290 # Sed expression to map a string onto a valid CPP name.
23291 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23293 # Sed expression to map a string onto a valid variable name.
23294 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23299 # Save the log message, to keep $[0] and so on meaningful, and to
23300 # report actual input values of CONFIG_FILES etc. instead of their
23301 # values after options handling.
23303 This file was extended by $as_me, which was
23304 generated by GNU Autoconf 2.61. Invocation command line was
23306 CONFIG_FILES = $CONFIG_FILES
23307 CONFIG_HEADERS = $CONFIG_HEADERS
23308 CONFIG_LINKS = $CONFIG_LINKS
23309 CONFIG_COMMANDS = $CONFIG_COMMANDS
23312 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23317 cat >>$CONFIG_STATUS <<_ACEOF
23318 # Files that config.status was made for.
23319 config_files="$ac_config_files"
23320 config_headers="$ac_config_headers"
23321 config_links="$ac_config_links"
23322 config_commands="$ac_config_commands"
23326 cat >>$CONFIG_STATUS <<\_ACEOF
23328 \`$as_me' instantiates files from templates according to the
23329 current configuration.
23331 Usage: $0 [OPTIONS] [FILE]...
23333 -h, --help print this help, then exit
23334 -V, --version print version number and configuration settings, then exit
23335 -q, --quiet do not print progress messages
23336 -d, --debug don't remove temporary files
23337 --recheck update $as_me by reconfiguring in the same conditions
23338 --file=FILE[:TEMPLATE]
23339 instantiate the configuration file FILE
23340 --header=FILE[:TEMPLATE]
23341 instantiate the configuration header FILE
23343 Configuration files:
23346 Configuration headers:
23349 Configuration links:
23352 Configuration commands:
23355 Report bugs to <bug-autoconf@gnu.org>."
23358 cat >>$CONFIG_STATUS <<_ACEOF
23361 configured by $0, generated by GNU Autoconf 2.61,
23362 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23364 Copyright (C) 2006 Free Software Foundation, Inc.
23365 This config.status script is free software; the Free Software Foundation
23366 gives unlimited permission to copy, distribute and modify it."
23374 cat >>$CONFIG_STATUS <<\_ACEOF
23375 # If no file are specified by the user, then we need to provide default
23376 # value. By we need to know if files were specified by the user.
23382 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23383 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23394 # Handling of the options.
23395 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23397 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23398 echo "$ac_cs_version"; exit ;;
23399 --debug |
--debu |
--deb |
--de |
--d |
-d )
23401 --file |
--fil |
--fi |
--f )
23403 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23404 ac_need_defaults
=false
;;
23405 --header |
--heade |
--head |
--hea )
23407 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23408 ac_need_defaults
=false
;;
23410 # Conflict between --help and --header
23411 { echo "$as_me: error: ambiguous option: $1
23412 Try \`$0 --help' for more information." >&2
23413 { (exit 1); exit 1; }; };;
23414 --help |
--hel |
-h )
23415 echo "$ac_cs_usage"; exit ;;
23416 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23417 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23420 # This is an error.
23421 -*) { echo "$as_me: error: unrecognized option: $1
23422 Try \`$0 --help' for more information." >&2
23423 { (exit 1); exit 1; }; } ;;
23425 *) ac_config_targets
="$ac_config_targets $1"
23426 ac_need_defaults
=false
;;
23432 ac_configure_extra_args
=
23434 if $ac_cs_silent; then
23436 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23440 cat >>$CONFIG_STATUS <<_ACEOF
23441 if \$ac_cs_recheck; then
23442 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23443 CONFIG_SHELL=$SHELL
23444 export CONFIG_SHELL
23445 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23449 cat >>$CONFIG_STATUS <<\_ACEOF
23453 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23454 ## Running $as_me. ##
23460 cat >>$CONFIG_STATUS <<_ACEOF
23464 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23468 cat >>$CONFIG_STATUS <<\_ACEOF
23470 # Handling of arguments.
23471 for ac_config_target
in $ac_config_targets
23473 case $ac_config_target in
23474 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
23475 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23476 "src/arch.h") CONFIG_LINKS
="$CONFIG_LINKS src/arch.h:src/arch/$arch.h" ;;
23477 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23478 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23479 "src/interp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/interp/Makefile" ;;
23480 "src/interp/engine/Makefile") CONFIG_FILES
="$CONFIG_FILES src/interp/engine/Makefile" ;;
23481 "src/arch/Makefile") CONFIG_FILES
="$CONFIG_FILES src/arch/Makefile" ;;
23482 "src/os/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/Makefile" ;;
23483 "src/os/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/Makefile" ;;
23484 "src/os/darwin/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/darwin/Makefile" ;;
23485 "src/os/bsd/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/bsd/Makefile" ;;
23486 "src/os/linux/powerpc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/powerpc/Makefile" ;;
23487 "src/os/linux/arm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/arm/Makefile" ;;
23488 "src/os/linux/i386/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/i386/Makefile" ;;
23489 "src/os/linux/x86_64/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/x86_64/Makefile" ;;
23490 "src/os/linux/parisc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/parisc/Makefile" ;;
23491 "src/os/linux/avr32/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/avr32/Makefile" ;;
23492 "src/os/linux/mips/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/linux/mips/Makefile" ;;
23493 "src/os/darwin/i386/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/darwin/i386/Makefile" ;;
23494 "src/os/darwin/powerpc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/darwin/powerpc/Makefile" ;;
23495 "src/os/bsd/powerpc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/bsd/powerpc/Makefile" ;;
23496 "src/os/bsd/arm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/bsd/arm/Makefile" ;;
23497 "src/os/bsd/i386/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/bsd/i386/Makefile" ;;
23498 "src/os/bsd/x86_64/Makefile") CONFIG_FILES
="$CONFIG_FILES src/os/bsd/x86_64/Makefile" ;;
23499 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
23500 "lib/java/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/java/Makefile" ;;
23501 "lib/java/lang/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/java/lang/Makefile" ;;
23502 "lib/jamvm/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/jamvm/Makefile" ;;
23503 "lib/jamvm/java/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/jamvm/java/Makefile" ;;
23504 "lib/jamvm/java/lang/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/jamvm/java/lang/Makefile" ;;
23505 "lib/java/lang/reflect/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/java/lang/reflect/Makefile" ;;
23506 "lib/java/security/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/java/security/Makefile" ;;
23507 "lib/gnu/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/gnu/Makefile" ;;
23508 "lib/sun/reflect/annotation/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/sun/reflect/annotation/Makefile" ;;
23509 "lib/sun/reflect//Makefile") CONFIG_FILES
="$CONFIG_FILES lib/sun/reflect//Makefile" ;;
23510 "lib/sun/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/sun/Makefile" ;;
23511 "lib/gnu/classpath/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/gnu/classpath/Makefile" ;;
23513 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23514 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23515 { (exit 1); exit 1; }; };;
23520 # If the user did not use the arguments to specify the items to instantiate,
23521 # then the envvar interface is used. Set only those that are not.
23522 # We use the long form for the default assignment because of an extremely
23523 # bizarre bug on SunOS 4.1.3.
23524 if $ac_need_defaults; then
23525 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23526 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23527 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
23528 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23531 # Have a temporary directory for convenience. Make it in the build tree
23532 # simply because there is no reason against having it here, and in addition,
23533 # creating and moving files from /tmp can sometimes cause problems.
23534 # Hook for its removal unless debugging.
23535 # Note that there is a small window in which the directory will not be cleaned:
23536 # after its creation but before its name has been assigned to `$tmp'.
23540 trap 'exit_status=$?
23541 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23543 trap '{ (exit 1); exit 1; }' 1 2 13 15
23545 # Create a (secure) tmp directory for tmp files.
23548 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23549 test -n "$tmp" && test -d "$tmp"
23552 tmp
=.
/conf$$
-$RANDOM
23553 (umask 077 && mkdir
"$tmp")
23556 echo "$me: cannot create a temporary directory in ." >&2
23557 { (exit 1); exit 1; }
23561 # Set up the sed scripts for CONFIG_FILES section.
23564 # No need to generate the scripts if there are no CONFIG_FILES.
23565 # This happens for instance when ./config.status config.h
23566 if test -n "$CONFIG_FILES"; then
23573 for ac_last_try
in false false false false false
:; do
23574 cat >conf$
$subs.
sed <<_ACEOF
23575 SHELL!$SHELL$ac_delim
23576 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23577 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23578 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23579 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23580 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23581 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23582 exec_prefix!$exec_prefix$ac_delim
23583 prefix!$prefix$ac_delim
23584 program_transform_name!$program_transform_name$ac_delim
23585 bindir!$bindir$ac_delim
23586 sbindir!$sbindir$ac_delim
23587 libexecdir!$libexecdir$ac_delim
23588 datarootdir!$datarootdir$ac_delim
23589 datadir!$datadir$ac_delim
23590 sysconfdir!$sysconfdir$ac_delim
23591 sharedstatedir!$sharedstatedir$ac_delim
23592 localstatedir!$localstatedir$ac_delim
23593 includedir!$includedir$ac_delim
23594 oldincludedir!$oldincludedir$ac_delim
23595 docdir!$docdir$ac_delim
23596 infodir!$infodir$ac_delim
23597 htmldir!$htmldir$ac_delim
23598 dvidir!$dvidir$ac_delim
23599 pdfdir!$pdfdir$ac_delim
23600 psdir!$psdir$ac_delim
23601 libdir!$libdir$ac_delim
23602 localedir!$localedir$ac_delim
23603 mandir!$mandir$ac_delim
23604 DEFS!$DEFS$ac_delim
23605 ECHO_C!$ECHO_C$ac_delim
23606 ECHO_N!$ECHO_N$ac_delim
23607 ECHO_T!$ECHO_T$ac_delim
23608 LIBS!$LIBS$ac_delim
23609 build_alias!$build_alias$ac_delim
23610 host_alias!$host_alias$ac_delim
23611 target_alias!$target_alias$ac_delim
23612 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23613 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23614 INSTALL_DATA!$INSTALL_DATA$ac_delim
23615 am__isrc!$am__isrc$ac_delim
23616 CYGPATH_W!$CYGPATH_W$ac_delim
23617 PACKAGE!$PACKAGE$ac_delim
23618 VERSION!$VERSION$ac_delim
23619 ACLOCAL!$ACLOCAL$ac_delim
23620 AUTOCONF!$AUTOCONF$ac_delim
23621 AUTOMAKE!$AUTOMAKE$ac_delim
23622 AUTOHEADER!$AUTOHEADER$ac_delim
23623 MAKEINFO!$MAKEINFO$ac_delim
23624 install_sh!$install_sh$ac_delim
23625 STRIP!$STRIP$ac_delim
23626 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23627 mkdir_p!$mkdir_p$ac_delim
23629 SET_MAKE!$SET_MAKE$ac_delim
23630 am__leading_dot!$am__leading_dot$ac_delim
23631 AMTAR!$AMTAR$ac_delim
23632 am__tar!$am__tar$ac_delim
23633 am__untar!$am__untar$ac_delim
23634 build!$build$ac_delim
23635 build_cpu!$build_cpu$ac_delim
23636 build_vendor!$build_vendor$ac_delim
23637 build_os!$build_os$ac_delim
23638 host!$host$ac_delim
23639 host_cpu!$host_cpu$ac_delim
23640 host_vendor!$host_vendor$ac_delim
23641 host_os!$host_os$ac_delim
23642 arch!$arch$ac_delim
23644 interp_cflags!$interp_cflags$ac_delim
23645 COMPILE_TIME_RELOC_CHECKS_TRUE!$COMPILE_TIME_RELOC_CHECKS_TRUE$ac_delim
23646 COMPILE_TIME_RELOC_CHECKS_FALSE!$COMPILE_TIME_RELOC_CHECKS_FALSE$ac_delim
23647 AVR32_JAVA_EXTENSION_SUPPORT_TRUE!$AVR32_JAVA_EXTENSION_SUPPORT_TRUE$ac_delim
23648 AVR32_JAVA_EXTENSION_SUPPORT_FALSE!$AVR32_JAVA_EXTENSION_SUPPORT_FALSE$ac_delim
23649 with_classpath_install_dir!$with_classpath_install_dir$ac_delim
23651 CFLAGS!$CFLAGS$ac_delim
23652 LDFLAGS!$LDFLAGS$ac_delim
23653 CPPFLAGS!$CPPFLAGS$ac_delim
23654 ac_ct_CC!$ac_ct_CC$ac_delim
23655 EXEEXT!$EXEEXT$ac_delim
23656 OBJEXT!$OBJEXT$ac_delim
23657 DEPDIR!$DEPDIR$ac_delim
23658 am__include!$am__include$ac_delim
23659 am__quote!$am__quote$ac_delim
23660 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23661 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23662 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23663 CCDEPMODE!$CCDEPMODE$ac_delim
23664 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23665 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23667 GREP!$GREP$ac_delim
23668 EGREP!$EGREP$ac_delim
23669 LN_S!$LN_S$ac_delim
23670 ECHO!$ECHO$ac_delim
23672 RANLIB!$RANLIB$ac_delim
23676 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 99; then
23678 elif $ac_last_try; then
23679 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23680 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23681 { (exit 1); exit 1; }; }
23683 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23687 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23688 if test -n "$ac_eof"; then
23689 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23690 ac_eof
=`expr $ac_eof + 1`
23693 cat >>$CONFIG_STATUS <<_ACEOF
23694 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23695 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23698 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23699 s/^/s,@/; s/!/@,|#_!!_#|/
23702 s/'"$ac_delim"'$/,g/; t
23704 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23705 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23706 rm -f conf$
$subs.
sed
23707 cat >>$CONFIG_STATUS <<_ACEOF
23713 for ac_last_try
in false false false false false
:; do
23714 cat >conf$
$subs.
sed <<_ACEOF
23716 CXXFLAGS!$CXXFLAGS$ac_delim
23717 ac_ct_CXX!$ac_ct_CXX$ac_delim
23718 CXXDEPMODE!$CXXDEPMODE$ac_delim
23719 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23720 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23721 CXXCPP!$CXXCPP$ac_delim
23723 FFLAGS!$FFLAGS$ac_delim
23724 ac_ct_F77!$ac_ct_F77$ac_delim
23725 LIBTOOL!$LIBTOOL$ac_delim
23726 CCAS!$CCAS$ac_delim
23727 CCASFLAGS!$CCASFLAGS$ac_delim
23728 CCASDEPMODE!$CCASDEPMODE$ac_delim
23729 am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
23730 am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
23731 JAVAC!$JAVAC$ac_delim
23732 use_zip_yes!$use_zip_yes$ac_delim
23733 use_zip_no!$use_zip_no$ac_delim
23734 ALLOCA!$ALLOCA$ac_delim
23735 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23736 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23737 MAINT!$MAINT$ac_delim
23738 LIBOBJS!$LIBOBJS$ac_delim
23739 LTLIBOBJS!$LTLIBOBJS$ac_delim
23742 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
23744 elif $ac_last_try; then
23745 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23746 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23747 { (exit 1); exit 1; }; }
23749 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23753 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23754 if test -n "$ac_eof"; then
23755 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23756 ac_eof
=`expr $ac_eof + 1`
23759 cat >>$CONFIG_STATUS <<_ACEOF
23760 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23764 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23765 s/^/s,@/; s/!/@,|#_!!_#|/
23768 s/'"$ac_delim"'$/,g/; t
23770 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23771 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23772 rm -f conf$
$subs.
sed
23773 cat >>$CONFIG_STATUS <<_ACEOF
23780 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23781 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23782 # trailing colons and then remove the whole line if VPATH becomes empty
23783 # (actually we leave an empty line to preserve line numbers).
23784 if test "x$srcdir" = x.
; then
23785 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23786 s/:*\$(srcdir):*/:/
23787 s/:*\${srcdir}:*/:/
23789 s/^\([^=]*=[ ]*\):*/\1/
23795 cat >>$CONFIG_STATUS <<\_ACEOF
23796 fi # test -n "$CONFIG_FILES"
23799 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :L
$CONFIG_LINKS :C
$CONFIG_COMMANDS
23802 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23804 case $ac_mode$ac_tag in
23806 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23807 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23808 { (exit 1); exit 1; }; };;
23809 :[FH
]-) ac_tag
=-:-;;
23810 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23827 -) ac_f
="$tmp/stdin";;
23828 *) # Look for the file first in the build tree, then in the source tree
23829 # (if the path is not absolute). The absolute path cannot be DOS-style,
23830 # because $ac_f cannot contain `:'.
23834 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23836 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23837 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23838 { (exit 1); exit 1; }; };;
23840 ac_file_inputs
="$ac_file_inputs $ac_f"
23843 # Let's still pretend it is `configure' which instantiates (i.e., don't
23844 # use $as_me), people would be surprised to read:
23845 # /* config.h. Generated by config.status. */
23846 configure_input
="Generated from "`IFS=:
23847 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23848 if test x
"$ac_file" != x-
; then
23849 configure_input
="$ac_file. $configure_input"
23850 { echo "$as_me:$LINENO: creating $ac_file" >&5
23851 echo "$as_me: creating $ac_file" >&6;}
23855 *:-:* |
*:-) cat >"$tmp/stdin";;
23860 ac_dir
=`$as_dirname -- "$ac_file" ||
23861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23862 X"$ac_file" : 'X\(//\)[^/]' \| \
23863 X"$ac_file" : 'X\(//\)$' \| \
23864 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23870 /^X\(\/\/\)[^/].*/{
23885 -*) as_dir
=.
/$as_dir;;
23887 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23891 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23892 *) as_qdir
=$as_dir;;
23894 as_dirs
="'$as_qdir' $as_dirs"
23895 as_dir
=`$as_dirname -- "$as_dir" ||
23896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23897 X"$as_dir" : 'X\(//\)[^/]' \| \
23898 X"$as_dir" : 'X\(//\)$' \| \
23899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23905 /^X\(\/\/\)[^/].*/{
23918 test -d "$as_dir" && break
23920 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23921 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23922 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23923 { (exit 1); exit 1; }; }; }
23927 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23929 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23930 # A ".." for each directory in $ac_dir_suffix.
23931 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23932 case $ac_top_builddir_sub in
23933 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23934 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23937 ac_abs_top_builddir
=$ac_pwd
23938 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23939 # for backward compatibility:
23940 ac_top_builddir
=$ac_top_build_prefix
23943 .
) # We are building in place.
23945 ac_top_srcdir
=$ac_top_builddir_sub
23946 ac_abs_top_srcdir
=$ac_pwd ;;
23947 [\\/]* | ?
:[\\/]* ) # Absolute name.
23948 ac_srcdir
=$srcdir$ac_dir_suffix;
23949 ac_top_srcdir
=$srcdir
23950 ac_abs_top_srcdir
=$srcdir ;;
23951 *) # Relative name.
23952 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23953 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23954 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23956 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23966 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23967 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23969 ac_MKDIR_P
=$MKDIR_P
23971 [\\/$
]* | ?
:[\\/]* ) ;;
23972 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23976 cat >>$CONFIG_STATUS <<\_ACEOF
23977 # If the template does not know about datarootdir, expand it.
23978 # FIXME: This hack should be removed a few years after 2.60.
23979 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23981 case `sed -n '/datarootdir/ {
23990 ' $ac_file_inputs` in
23991 *datarootdir
*) ac_datarootdir_seen
=yes;;
23992 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23993 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23994 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23996 cat >>$CONFIG_STATUS <<_ACEOF
23997 ac_datarootdir_hack='
23998 s&@datadir@&$datadir&g
23999 s&@docdir@&$docdir&g
24000 s&@infodir@&$infodir&g
24001 s&@localedir@&$localedir&g
24002 s&@mandir@&$mandir&g
24003 s&\\\${datarootdir}&$datarootdir&g' ;;
24007 # Neutralize VPATH when `$srcdir' = `.'.
24008 # Shell code in configure.ac might set extrasub.
24009 # FIXME: do we really want to maintain this feature?
24010 cat >>$CONFIG_STATUS <<_ACEOF
24014 cat >>$CONFIG_STATUS <<\_ACEOF
24016 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24017 s
&@configure_input@
&$configure_input&;t t
24018 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24019 s
&@srcdir@
&$ac_srcdir&;t t
24020 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24021 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24022 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24023 s
&@builddir@
&$ac_builddir&;t t
24024 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24025 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24026 s
&@INSTALL@
&$ac_INSTALL&;t t
24027 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24028 $ac_datarootdir_hack
24029 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24031 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24032 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24033 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24034 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24035 which seems to be undefined. Please make sure it is defined." >&5
24036 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24037 which seems to be undefined. Please make sure it is defined." >&2;}
24041 -) cat "$tmp/out"; rm -f "$tmp/out";;
24042 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24051 # Transform confdefs.h into a sed script `conftest.defines', that
24052 # substitutes the proper values into config.h.in to produce config.h.
24053 rm -f conftest.defines conftest.
tail
24054 # First, append a space to every undef/define line, to ease matching.
24055 echo 's/$/ /' >conftest.defines
24056 # Then, protect against being on the right side of a sed subst, or in
24057 # an unquoted here document, in config.status. If some macros were
24058 # called several times there might be several #defines for the same
24059 # symbol, which is useless. But do not sort them, since the last
24060 # AC_DEFINE must be honored.
24061 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24062 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24063 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24064 # PARAMS is the parameter list in the macro definition--in most cases, it's
24065 # just an empty string.
24066 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24067 ac_dB
='\\)[ (].*,\\1define\\2'
24075 s/^[ ]*#[ ]*define[ ][ ]*//
24080 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24081 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24082 ' >>conftest.defines
24084 # Remove the space that was appended to ease matching.
24085 # Then replace #undef with comments. This is necessary, for
24086 # example, in the case of _POSIX_SOURCE, which is predefined and required
24087 # on some systems where configure will not decide to define it.
24088 # (The regexp can be short, since the line contains either #define or #undef.)
24090 s,^[ #]*u.*,/* & */,' >>conftest.defines
24092 # Break up conftest.defines:
24093 ac_max_sed_lines
=50
24095 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24096 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24097 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24099 ac_in
='$ac_file_inputs'
24100 ac_out
='"$tmp/out1"'
24101 ac_nxt
='"$tmp/out2"'
24105 # Write a here document:
24106 cat >>$CONFIG_STATUS <<_ACEOF
24107 # First, check the format of the line:
24108 cat >"\$tmp/defines.sed" <<\\CEOF
24109 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24110 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24114 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24116 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24117 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24118 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24119 grep . conftest.
tail >/dev
/null ||
break
24120 rm -f conftest.defines
24121 mv conftest.
tail conftest.defines
24123 rm -f conftest.defines conftest.
tail
24125 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24126 cat >>$CONFIG_STATUS <<\_ACEOF
24127 if test x
"$ac_file" != x-
; then
24128 echo "/* $configure_input */" >"$tmp/config.h"
24129 cat "$ac_result" >>"$tmp/config.h"
24130 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24131 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24132 echo "$as_me: $ac_file is unchanged" >&6;}
24135 mv "$tmp/config.h" $ac_file
24138 echo "/* $configure_input */"
24142 # Compute $ac_file's index in $config_headers.
24144 for _am_header
in $config_headers :; do
24145 case $_am_header in
24146 $ac_file |
$ac_file:* )
24149 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24152 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24153 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24154 X$ac_file : 'X\(//\)[^/]' \| \
24155 X$ac_file : 'X\(//\)$' \| \
24156 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24162 /^X\(\/\/\)[^/].*/{
24174 s/.*/./; q'`/stamp-h
$_am_stamp_count
24181 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
24182 echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
24184 if test ! -r "$srcdir/$ac_source"; then
24185 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
24186 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
24187 { (exit 1); exit 1; }; }
24191 # Try a relative symlink, then a hard link, then a copy.
24193 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
24194 *) ac_rel_source
=$ac_top_build_prefix$srcdir/$ac_source ;;
24196 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
24197 ln "$srcdir/$ac_source" "$ac_file" 2>/dev
/null ||
24198 cp -p "$srcdir/$ac_source" "$ac_file" ||
24199 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
24200 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
24201 { (exit 1); exit 1; }; }
24203 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24204 echo "$as_me: executing $ac_file commands" >&6;}
24209 case $ac_file$ac_mode in
24210 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24211 # Strip MF so we end up with the name of the file.
24212 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24213 # Check whether this is an Automake generated Makefile or not.
24214 # We used to match only the files named `Makefile.in', but
24215 # some people rename them; so instead we look at the file content.
24216 # Grep'ing the first line is not enough: some people post-process
24217 # each Makefile.in and add a new line on top of each file to say so.
24218 # Grep'ing the whole file is not good either: AIX grep has a line
24219 # limit of 2048, but all sed's we know have understand at least 4000.
24220 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
24221 dirpart
=`$as_dirname -- "$mf" ||
24222 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24223 X"$mf" : 'X\(//\)[^/]' \| \
24224 X"$mf" : 'X\(//\)$' \| \
24225 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24231 /^X\(\/\/\)[^/].*/{
24247 # Extract the definition of DEPDIR, am__include, and am__quote
24248 # from the Makefile without running `make'.
24249 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24250 test -z "$DEPDIR" && continue
24251 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24252 test -z "am__include" && continue
24253 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24254 # When using ansi2knr, U may be empty or an underscore; expand it
24255 U
=`sed -n 's/^U = //p' < "$mf"`
24256 # Find all dependency output files, they are included files with
24257 # $(DEPDIR) in their names. We invoke sed twice because it is the
24258 # simplest approach to changing $(DEPDIR) to its actual value in the
24260 for file in `sed -n "
24261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24263 # Make sure the directory exists.
24264 test -f "$dirpart/$file" && continue
24265 fdir
=`$as_dirname -- "$file" ||
24266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24267 X"$file" : 'X\(//\)[^/]' \| \
24268 X"$file" : 'X\(//\)$' \| \
24269 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24275 /^X\(\/\/\)[^/].*/{
24288 { as_dir
=$dirpart/$fdir
24290 -*) as_dir
=.
/$as_dir;;
24292 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24296 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24297 *) as_qdir
=$as_dir;;
24299 as_dirs
="'$as_qdir' $as_dirs"
24300 as_dir
=`$as_dirname -- "$as_dir" ||
24301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24302 X"$as_dir" : 'X\(//\)[^/]' \| \
24303 X"$as_dir" : 'X\(//\)$' \| \
24304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24310 /^X\(\/\/\)[^/].*/{
24323 test -d "$as_dir" && break
24325 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24326 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24327 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24328 { (exit 1); exit 1; }; }; }
24329 # echo "creating $dirpart/$file"
24330 echo '# dummy' > "$dirpart/$file"
24339 { (exit 0); exit 0; }
24341 chmod +x
$CONFIG_STATUS
24342 ac_clean_files
=$ac_clean_files_save
24345 # configure is writing to config.log, and then calls config.status.
24346 # config.status does its own redirection, appending to config.log.
24347 # Unfortunately, on DOS this fails, as config.log is still kept open
24348 # by configure, so config.status won't be able to write to it; its
24349 # output is simply discarded. So we exec the FD to /dev/null,
24350 # effectively closing config.log, so it can be properly (re)opened and
24351 # appended to by config.status. When coming back to configure, we
24352 # need to make the FD available again.
24353 if test "$no_create" != yes; then
24355 ac_config_status_args
=
24356 test "$silent" = yes &&
24357 ac_config_status_args
="$ac_config_status_args --quiet"
24359 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24361 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24362 # would make configure fail if this is the last instruction.
24363 $ac_cs_success ||
{ (exit 1); exit 1; }